Jump to content

DeployFireWeapon: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
m 8 revisions imported
(No difference)

Revision as of 21:40, 31 March 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