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

Artillary: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
m Oops. I shouldn't rush things.
Askhati (talk | contribs)
No edit summary
Line 18: Line 18:


<i>'''Note''': This tag '''is''' valid despite the spelling error. Using 'Artillery' instead of 'Artillary' will not work.</i>
<i>'''Note''': This tag '''is''' valid despite the spelling error. Using 'Artillery' instead of 'Artillary' will not work.</i>
{{bugs}}
In {{ts}} and {{fs}}, there is a sequencing bug here which can cause graphical discrepancies when the unit is undeploying from structure form back to vehicle form:
* step 1: the undeploy anim plays (i.e. the deploying anim but in reverse) until it is done
* step 2: the base structure are is shown again
* step 3: the building turret returns to its neutral position (pointing top-right by default); for a low ROT, this could take a while
* step 4: the structure object turns into an unit object
In {{ts}} this is particularly visible on the Nod Artillery unit when it undeploys:
* the undeploy anim will play, where the Artillery piece pulls the outrigger legs back into its body
* it then reverts to the normal "deployed artillery" structure image - which shows the outrigger legs back out again - while the turret turns back to its neutral orientation
* ...and then only does it turn into a vehicle.

Revision as of 22:54, 5 March 2023

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: Artillary
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: 0
Applicable to: BuildingTypes


This flag acts similar to TickTank and IsJuggernaut as they control the direction a unit will turn to before deploying into a structure. When enabled on a BuildingType, any unit that deploys into said building will turn to face the Nort-East direction before deploying.

Note: This tag is valid despite the spelling error. Using 'Artillery' instead of 'Artillary' will not work.

Bugs/Side-Effects/Unexpected Limitations

In Tiberian Sun and Firestorm, there is a sequencing bug here which can cause graphical discrepancies when the unit is undeploying from structure form back to vehicle form:

  • step 1: the undeploy anim plays (i.e. the deploying anim but in reverse) until it is done
  • step 2: the base structure are is shown again
  • step 3: the building turret returns to its neutral position (pointing top-right by default); for a low ROT, this could take a while
  • step 4: the structure object turns into an unit object

In Tiberian Sun this is particularly visible on the Nod Artillery unit when it undeploys:

  • the undeploy anim will play, where the Artillery piece pulls the outrigger legs back into its body
  • it then reverts to the normal "deployed artillery" structure image - which shows the outrigger legs back out again - while the turret turns back to its neutral orientation
  • ...and then only does it turn into a vehicle.