DeployFireWeapon
|
|
|
|
|
|
| Flag: | DeployFireWeapon |
| File(s): | rules(md).ini |
| Values: | Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. |
| Default: | 1 |
| Applicable to: | InfantryTypes,VehicleTypes |
On a unit that can deploy through DeployFire=yes or IsSimpleDeployer=yes, this specifies which weapon it uses when it is deployed.
Units typically have their Primary as their undeployed weapon, and use their Secondary when deployed, like the GI, but in cases where the unit has more weapons, see the table below for acceptable values:
| Index | Weapon Slot |
|---|---|
| 0 | Primary/ElitePrimary or Weapon1/EliteWeapon1 |
| 1 | Secondary/EliteSecondary or Weapon2/EliteWeapon2 |
| 2 | Weapon3/EliteWeapon3 |
| 3 | Weapon4/EliteWeapon4 |
| 4 | Weapon5/EliteWeapon5 |
| 5 | Weapon6/EliteWeapon6 |
| 6 | Weapon7/EliteWeapon7 |
| 7 | Weapon8/EliteWeapon8 |
| 8 | Weapon9/EliteWeapon9 |
| 9 | Weapon10/EliteWeapon10 |
| 10 | Weapon11/EliteWeapon11 |
| ... | Etc... |
For non release weapons, you can also specify which weapon the unit will use (not release) in deployment mode, for example, adding DeployFireWeapon=0 to [SCHP] will also use Primary in deployment mode.
- In the Phobos environment, DeployFireWeapon=-1 can be added to Infantry to allow them to use two types of weapons in deployment mode (based on weapon selection and usage rules).
Bugs/Side-Effects/Unexpected Limitations
VehicleTypes which have DeployFire=yes and IsGattling=yes will always It will exhibit some confusing effects,
such as suddenly changing to using Weapon1/Primary (specified for DeployFireWeapon in Phobos environment) once or twice.
- Even if it should not and cannot lower the stage due to RateDown=-1 or other negative numbers.
The Desolator and any other deployable infantry with IsDesolator=yes will only fire secondary weapons, and do not follow the DeployFireWeapon setting. However, the deployed behaviour from simulating the Desolator using Immune G.I. Bug can be specified using this statement, although the effect is also quite strange.





