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

Projectile

From ModEnc
Revision as of 16:49, 30 June 2021 by Belonit (talk | contribs)
Jump to navigation Jump to search

As a Flag

On Weapons

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: Strings: Normal text. (Limited to: Projectiles)
Applicable to: Weapons



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

In [Maximums]

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: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: Maximums


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.

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.

Note: While there is no [Projectiles] list in the rules, the game does construct one internally from the projectiles refered to by active weapons. You might find references to this list in the more technical parts of the documentation.


Applicable INI Flags

These tables show all INI flags applicable1 to Projectile. The flags are grouped by the internal classes the flags are inherited from, and then listed in the order they are read in by the game. You can re-sort the rows by column values by clicking the arrow icons in the column headings. Each flag can be clicked to visit its page for detailed information.

Please note that this section is accurate only for Yuri's Revenge. All other C&C games use different sets of flags.

1 "Applicable" in this context means "read from the INI files". Certain flags listed here don't have any effect ingame , but they are read and in certain cases cause a crash if not present. Again, refer to each flag's individual page for detailed information.


AbstractTypes
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID Name string(48 symbols) ID
Rules(md).ini Object's ID UIName string(31 symbol) ""


ObjectTypes
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID Image string (31 symbol) Object's ID
Rules(md).ini Object's ID AlphaImage string (31 symbol) ""
Rules(md).ini Object's ID CrushSound Sound (128 symbols) ""
Rules(md).ini Object's ID AmbientSound Sound (128 symbols) ""
Rules(md).ini Object's ID Crushable boolean 0
Rules(md).ini Object's ID Bombable boolean 1
Rules(md).ini Object's ID NoSpawnAlt boolean 0
Rules(md).ini Object's ID AlternateArcticArt boolean 0
Rules(md).ini Object's ID RadarInvisible boolean 0
Rules(md).ini Object's ID Selectable boolean 1
Rules(md).ini Object's ID LegalTarget boolean 1
Rules(md).ini Object's ID Armor Armor 0
Rules(md).ini Object's ID Strength int 0
Rules(md).ini Object's ID Immune boolean 0
Rules(md).ini Object's ID Insignificant boolean 0
Rules(md).ini Object's ID HasRadialIndicator boolean 0
Rules(md).ini Object's ID RadialColor Color 0,0,0
Rules(md).ini Object's ID IgnoresFirestorm boolean 0
Art(md).ini Object's Image UseLineTrail boolean 0
Art(md).ini Object's Image LineTrailColor Color 0,0,0
Art(md).ini Object's Image LineTrailColorDecrement int 16
Art(md).ini Object's Image Theater boolean 0
Art(md).ini Object's Image NewTheater boolean 0
Art(md).ini Object's Image Voxel boolean 0


ProjectileType
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID Arm int 0
Rules(md).ini Object's ID ROT int 0
Rules(md).ini Object's ID CourseLockDuration int 0
Rules(md).ini Object's ID Elasticity float 1.8125
Rules(md).ini Object's ID Acceleration float 3
Rules(md).ini Object's ID Color Color 0
Rules(md).ini Object's ID Arcing boolean 0
Rules(md).ini Object's ID Floater boolean 0
Rules(md).ini Object's ID SubjectToCliffs boolean 0
Rules(md).ini Object's ID SubjectToElevation boolean 0
Rules(md).ini Object's ID SubjectToWalls boolean 0
Rules(md).ini Object's ID VeryHigh boolean 0
Rules(md).ini Object's ID Shadow boolean 1
Rules(md).ini Object's ID Dropping boolean 0
Rules(md).ini Object's ID Level boolean 0
Rules(md).ini Object's ID Inviso boolean 0
Rules(md).ini Object's ID Proximity boolean 0
Rules(md).ini Object's ID Ranged boolean 0
Rules(md).ini Object's ID Inaccurate boolean 0
Rules(md).ini Object's ID FlakScatter boolean 0
Rules(md).ini Object's ID AA boolean 0
Rules(md).ini Object's ID AG boolean 1
Rules(md).ini Object's ID Degenerates boolean 0
Rules(md).ini Object's ID Bouncy boolean 0
Rules(md).ini Object's ID Airburst int 0
Rules(md).ini Object's ID Cluster boolean 1
Rules(md).ini Object's ID Scalable boolean 0
Rules(md).ini Object's ID Image string ""
Art(md).ini Object's Image Trailer Animation * 0 +
Art(md).ini Object's Image SpawnDelay int 0
Art(md).ini Object's Image Rotates boolean 1
Art(md).ini Object's Image Flat boolean 0
Rules(md).ini Object's ID AirburstWeapon WeaponType * 0
Rules(md).ini Object's ID ShrapnelWeapon WeaponType * 0
Rules(md).ini Object's ID ShrapnelCount int 0
Rules(md).ini Object's ID DetonationAltitude int 0
Rules(md).ini Object's ID Vertical boolean 0
Rules(md).ini Object's ID FirersPalette boolean 0
Art(md).ini Object's Image AnimLow int 0
Art(md).ini Object's Image AnimHigh int 0
Art(md).ini Object's Image AnimRate int 0
Art(md).ini Object's Image AnimPalette boolean 0


 Armament System related Flags on ModEnc