DeployFireWeapon: Difference between revisions
m 8 revisions imported |
first pass to remove redundant/off-topic links |
||
| Line 31: | Line 31: | ||
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. | 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). | *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}} | {{Bugs}} | ||
| Line 39: | Line 37: | ||
**Even if it should not and cannot lower the stage due to '''{{f|RateDown|-1|link}}''' or other negative numbers. | **Even if it should not and cannot lower the stage due to '''{{f|RateDown|-1|link}}''' or other negative numbers. | ||
{{f|DESO|link}} and all infantry deployments with {{f|IsDesolator|yes|link}} can only release secondary weapons and do not follow the DeployFireWeapon setting | |||
*However, the deployment effect of simulating DESO using [[Immune G.I. Bug]] can be specified using this statement, [https://t.bilibili.com/811527585196408853 although the effect is also quite strange.] | *However, the deployment effect of simulating DESO using [[Immune G.I. Bug]] can be specified using this statement, [https://t.bilibili.com/811527585196408853 although the effect is also quite strange.] | ||
| Line 46: | Line 44: | ||
[[DeployFire]] | [[DeployFire]] | ||
[[IsGattling]] | [[IsGattling]] | ||
[[Immune G.I. Bug]] | [[Immune G.I. Bug]] | ||
Revision as of 03:59, 10 April 2025
|
|
|
|
|
|
| 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 an object that has the ability to deploy through DeployFire=yes,IsSimpleDeployer=yes this specifies which weapon this object uses when it is deployed.
0=Primary,ElitePrimary,Weapon1,EliteWeapon1
1=Secondary,EliteSecondary,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
11=Weapon12,EliteWeapon12
12=Weapon13,EliteWeapon13
13=Weapon14,EliteWeapon14
14=Weapon15,EliteWeapon15
15=Weapon16,EliteWeapon16
16=Weapon17,EliteWeapon17
17=Weapon18,EliteWeapon18
18=Weapon19,EliteWeapon19
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 (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.
DESO and all infantry deployments with IsDesolator=yes can only release secondary weapons and do not follow the DeployFireWeapon setting
- However, the deployment effect of simulating DESO using Immune G.I. Bug can be specified using this statement, although the effect is also quite strange.





