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
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
Comment