Jump to content

DeployFireWeapon: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 9: Line 9:
|ares=yes
|ares=yes
}}
}}
On an object that has the ability to deploy through {{Tt|DeployFire}}, this specifies which weapon this object uses when it is deployed. Only '0' (meaning [[Primary]] and [[ElitePrimary]]) and '1' ([[Secondary]] and [[EliteSecondary]]) are valid.
On an object that has the ability to deploy through {{f|DeployFire|yes|link}},{{f|IsSimpleDeployer|yes|link}} this specifies which weapon this object uses when it is deployed.<br>
<br>
'''0'''=[[Primary]],[[ElitePrimary]],[[Weapon1]],[[EliteWeapon1]]<br>
'''1'''=[[Secondary]],[[EliteSecondary]],[[Weapon2]],[[EliteWeapon2]]<br>
'''2'''=[[Weapon3]],[[EliteWeapon3]]<br>
'''3'''=[[Weapon4]],[[EliteWeapon4]]<br>
'''4'''=[[Weapon5]],[[EliteWeapon5]]<br>
'''5'''=[[Weapon6]],[[EliteWeapon6]]<br>
'''6'''=[[Weapon7]],[[EliteWeapon7]]<br>
'''7'''=[[Weapon8]],[[EliteWeapon8]]<br>
'''8'''=[[Weapon9]],[[EliteWeapon9]]<br>
'''9'''=[[Weapon10]],[[EliteWeapon10]]<br>
'''10'''=[[Weapon11]],[[EliteWeapon11]]<br>
'''11'''=[[Weapon12]],[[EliteWeapon12]]<br>
'''12'''=[[Weapon13]],[[EliteWeapon13]]<br>
'''13'''=[[Weapon14]],[[EliteWeapon14]]<br>
'''14'''=[[Weapon15]],[[EliteWeapon15]]<br>
'''15'''=[[Weapon16]],[[EliteWeapon16]]<br>
'''16'''=[[Weapon17]],[[EliteWeapon17]]<br>
'''17'''=[[Weapon18]],[[EliteWeapon18]]<br>
'''18'''=[[Weapon19]],[[EliteWeapon19]]<br>
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}}

Revision as of 16:18, 7 January 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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

[DESO] and all infantry deployments with IsDesolator=yes can only release secondary weapons and do not follow the DeployFireWeapon setting

See also

Deployer

DeployFire

UndeployDelay


IsGattling

Gattling Weapon System

RateUp

RateDown

WeaponStages


DESO

Immune G.I. Bug