ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

DeployFireWeapon: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Testid123 (talk | contribs)
mNo edit summary
DeathFish (talk | contribs)
mNo edit summary
Line 10: Line 10:
}}
}}
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>
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>
'''0'''=[[Primary]],[[ElitePrimary]],[[Weapon1]],[[EliteWeapon1]]<br>
{| class="wikitable"
'''1'''=[[Secondary]],[[EliteSecondary]],[[Weapon2]],[[EliteWeapon2]]<br>
! Index !! Weapon
'''2'''=[[Weapon3]],[[EliteWeapon3]]<br>
|-
'''3'''=[[Weapon4]],[[EliteWeapon4]]<br>
| 0 || (Elite)[[Primary]]/(Elite)[[Weapon1]]
'''4'''=[[Weapon5]],[[EliteWeapon5]]<br>
|-
'''5'''=[[Weapon6]],[[EliteWeapon6]]<br>
| 1 || (Elite)[[Secondary]]/(Elite)[[Weapon2]]
'''6'''=[[Weapon7]],[[EliteWeapon7]]<br>
|-
'''7'''=[[Weapon8]],[[EliteWeapon8]]<br>
| 2 || (Elite)[[Weapon3]]
'''8'''=[[Weapon9]],[[EliteWeapon9]]<br>
|-
'''9'''=[[Weapon10]],[[EliteWeapon10]]<br>
| 3 || (Elite)[[Weapon4]]
'''10'''=[[Weapon11]],[[EliteWeapon11]]<br>
|-
'''11'''=[[Weapon12]],[[EliteWeapon12]]<br>
| 4 || (Elite)[[Weapon5]]
'''12'''=[[Weapon13]],[[EliteWeapon13]]<br>
|-
'''13'''=[[Weapon14]],[[EliteWeapon14]]<br>
| ... || Etc...
'''14'''=[[Weapon15]],[[EliteWeapon15]]<br>
|}
'''15'''=[[Weapon16]],[[EliteWeapon16]]<br>
For non release weapons, you can also specify which weapon the unit will use (not release) in deployment mode, for example, adding {{f|DeployFireWeapon|0}} to [SCHP] will also use [[Primary]] in deployment mode.
'''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.
*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 41: Line 34:
[{{f|DESO|link}}] and all infantry deployments with {{f|IsDesolator|yes|link}} can only release secondary weapons and do not follow the DeployFireWeapon setting
[{{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.]
==Note==
In the original game, this caused Infantry to be restricted to using only one weapon while in a deployed state.
Starting from [[Phobos]] Build#26, it allows the use of {{f|DeployFireWeapon|-1}} to enable Infantry in this situation to normally choose between different weapons as they would when undeployed.


==See also==
==See also==

Revision as of 11:48, 10 April 2025

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.

Index Weapon
0 (Elite)Primary/(Elite)Weapon1
1 (Elite)Secondary/(Elite)Weapon2
2 (Elite)Weapon3
3 (Elite)Weapon4
4 (Elite)Weapon5
... 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.

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

Note

In the original game, this caused Infantry to be restricted to using only one weapon while in a deployed state.

Starting from Phobos Build#26, it allows the use of DeployFireWeapon=-1 to enable Infantry in this situation to normally choose between different weapons as they would when undeployed.

See also

Deployer

DeployFire

UndeployDelay


IsGattling

Gattling Weapon System

RateUp

RateDown

WeaponStages


DESO

Immune G.I. Bug