With this patch you can change the speed of Fighter swarms in combat.
Their default speed is 10,000 (following the same scale as ship speed,
which ranges from 1500-4200).
The speed can be changed in two separate ways - either modifying the set
speed, or creating Fighter Engine technologies. Fighter technologies supercede
the set speed, or to put it another way, if a race has researched any Fighter
Engine technologies, then the set speed is no longer used.
A sample tech entry (with each line being a separate column entry):
Fighter Engine I TAFtrE01 TBFtrE01 None Ship, KEEPTHIS FtrEng01 Achieve Energ_00 TFEngine None MaxSpeed = 5000
The most important cell there is the "FtrEng01" entry in the Type_ID column. This
is what the dll will search for to determine if you have researched the technology.
You can have up to 10 Fighter Engines from "FtrEng01" to "FtrEng10". The other important
cell is the last containing the MaxSpeed entry (in the Tag_Values column). This
tag must be present for a speed to be obtained. Finally, keeping the tech as "Achieve"
in the Application_Class column is necessary. It should not be be changed to any of
the ship techs, because the game does not know how to handle it as such. All of the
rest of the columns can be changed based on your preference.
The way the techs are handled when combat is launched is they are each scanned. The
MaxSpeed value is compared, and the highest (that you researched) will be what is used.
If, however, you have not researched any, or none exist, it will fall back to the set
value.
|