 |
|  |
 |
|
Hutak
|
 |
Escaped AI Message-Bot
Apr 2001 time: 05:17
|
|
I'm trying to kill crawlers, because I find them to be a game breaking factor, especially against the A.I., but there's just a problem: SMAC doesn't want to let me do it!
Here's the 2 relevent entries for crawlers in alpha.txt:
#WEAPONS:
Supply Transport, Supply, 0,10, 8, -1, IndAuto,
#UNITS
Supply Crawler, Infantry, Supply, Scout, 10, 0, 0, IndAuto, -1, 000000000000000000000000
Now, one would be led to believe that the #UNITS entries are the one controling the arrival of those new * prototypes into the unit workshop, right?
Wrong. When Industrial Automation (IndAuto) is discovered, SMAC ignores whatever is contained in the Supply crawler line of the #UNITS subsection and instead creates a new * prototype unit with an Infantry chassis and whatever weapon is contained in the Supply Transport line of the #WEAPONS subsection, regardless of the actual technology prerequisite of that line.
Example:
Let's say I change the Supply Transport line of the #WEAPONS subsection from:
Supply Transport, Supply, 0,10, 8, -1, IndAuto,
to:
Hand Weapons, Gun, 1, 0, 1, -1, None,
What will happen when IndAuto is discovered? SMAC will create a new * prototype with an infantry chassis and a Gun weapon, effectively making a Scout Infantry. But, there's just one problem: the damn thing can still crawl!!!. That's right, even without a Supply weapon module, the unit still is a crawler!
Am I doing something wrong here? Or should I just give up and simply don't build the unit, since the A.I. doesn't build them anyway?
Slightly confused,
-Hutak
|
|
|  |
 |
|  |
 |
|
gwillybj
|
 |
Eurytion Mining Colony: 165°C dayside, 165°F nightside
Mar 2001 time: 00:17
|
|
Please forgive me for butting in here , but, as informative as this thread is, it could be unclear what the solution is . You need change only the prerequisite tech (IndAuto) to "Disable". All other items can remain as-is. Here are the two simple changes needed to prevent crawlers from appearing in the game (the examples are from the unedited original (v4.0) alpha.txt).
(1) under
#WEAPONS
change
Supply Transport, Supply, 0,10, 8, -1, IndAuto,
to
Supply Transport, Supply, 0,10, 8, -1, Disable,
(2) under
#UNITS
change
Supply Crawler, Infantry, Supply, Scout, 10, 0, 0, IndAuto, -1, 000000000000000000000000
to
Supply Crawler, Infantry, Supply, Scout, 10, 0, 0, Disable, -1, 000000000000000000000000
|
|
|  |
 |
|  |
 |
|
Capt Dizle
|
|
Hmm......no. That doesn't work. I think Hutek is right. I would love to be proved wrong as I am trying to delay or eliminate crawlers for a mod I am working on.
Disable doesn't work. I tried to change the req tech to Matter Transmisson. That didn't work either. Still came in at Ind. Auto.
Need some help here folks.
|
|
|  |
 |
|
AnnC
|
 |
State & Ontario
Sep 1999 time: 23:17
|
|
Or better yet, one of the unused User Technologies.
Last edited by AnnC on 05-04-2002 at 12:48
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:17. Apolyton Time is 00:17. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|