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

Projectile

From ModEnc
Revision as of 17:20, 31 May 2005 by Renegade (talk | contribs) (Updated header-info and respective changes)
Jump to: navigation, search
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: Projectile
File(s): rules(md).ini
Values: Names of Projectiles
Special Values: None
Default: None
Applicable to: Weapons, [Maximums]


As a Flag

In all rules(md).ini based C&Cs, Projectile= determines which Projectile a Weapon should use.

In Red Alert, it is also a valid flag of the [Maximums] section, specifying the maximum amount of projectile types that can exist at the same time. (Note: In that case, the accepted values are probably unsigned integers. Definately not names of projectiles.)

As an Object

A projectile is the part of the weapon which, after graphically flying through a certain path, calls the Warhead that does the damage.

Some basic flags:

Image= the image used for the projectile

Rotates= does the image file have seperate frames for each direction?

ROT= how fast does the projectile adjust it's direction towards the target? 0 indicates a non-homing projectile

SubjectToCliffs= determines if the projectile is blocked by the cliffs on the map.

SubjectToElevation= determines if the projectile is blocked by variation in terrain height on the map (i.e. hills).

SubjectToWalls= determines if the projectile is blocked by walls

Arcing= defines if the projectile travels in a ballistic angle rather than in a straight line. This makes it inaccurate, the degree of which is set by BallisticScatter= in [CombatDamage]

AA= can this projectile be fired at air targets? (defaults to no)

AG= can this projectile be fired at ground targets? (defaults to yes)


A complete list of flags can be found in the RULES4 file of the Red Alert 2 & Yuris Revenge INI Editing Guide