Jump to content

MuzzleFlashX: Difference between revisions

From ModEnc²
m 1 revision imported
ATHSE (talk | contribs)
cleanup, some monkey said it takes 3 integers
Line 2: Line 2:
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{categ|ini=art}}
|files={{categ|ini=art}}
|values=three comma-separated signed integers
|values=comma-separated signed integers (X,Y)
|default=0,0,0
|default=0,0
|types={{categ|BuildingTypes}}
|types={{categ|BuildingTypes}}
|ts=no
|fs=no
|ets=no
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|ares=yes
}}
}}
Specifies the pixel firing offset(s) from the center of the structure, when garrisoned by [[InfantryTypes|infantry]] with {{f|Occupier|yes|link}}. Applicable to all Civilian [[BuildingTypes|buildings]] with {{f|CanBeOccupied|yes|link}}.


Specifies the firing offset(s) ([[FLH]]) from the center of the structure for a [[BuildingType]] with {{f|CanBeOccupied|yes|link}} and {{f|CanOccupyFire|yes|link}} set, that are used for any infantry with {{f|Occupier|yes|link}} set when firing their [[OccupyWeapon]]/[[EliteOccupyWeapon]] from the building in question.
==In {{ra2}}==
Occupied (garrisoned) buildings in RA2 will use pre-determine Allied/Soviet occupation weapons when firing, determined by their {{f|Primary|link}} weapon for Allied, and {{f|Secondary|link}} for Soviet occupants.
 
==In {{yr}}==
The occupied building also requires {{f|CanOccupyFire|yes|link}} to actually fire in YR, and the weapon used must be defined on the infantry iself, by their [[OccupyWeapon]] and [[EliteOccupyWeapon]].

Revision as of 07:32, 23 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: MuzzleFlashX
File(s): art(md).ini
Values: comma-separated signed integers (X,Y)
Default: 0,0
Applicable to: BuildingTypes


Specifies the pixel firing offset(s) from the center of the structure, when garrisoned by infantry with Occupier=yes. Applicable to all Civilian buildings with CanBeOccupied=yes.

In Red Alert 2

Occupied (garrisoned) buildings in RA2 will use pre-determine Allied/Soviet occupation weapons when firing, determined by their Primary weapon for Allied, and Secondary for Soviet occupants.

In Yuri's Revenge

The occupied building also requires CanOccupyFire=yes to actually fire in YR, and the weapon used must be defined on the infantry iself, by their OccupyWeapon and EliteOccupyWeapon.