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

Warheads: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Vinifera7 (talk | contribs)
Added Applicable INI Flags section
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{WrongTitle|[{{PAGENAME}}]}}
Allows you to set an object heap maximum on warhead types, although it is not known quite how (or even if) this gets used. This number should never be lower than the number of warheads defined in the [Warheads] list or bad crashiness will result.
 
This section of [[Rules|rules(md).ini]] is a list of all available warheads in the game. Rumor has it that weapons' warheads work even if not listed, however, this will prevent other game and map functions from working properly.
 
There is no logical reason for omitting the list entry, and as such you should not expect help on an unlisted warhead.
 
'''''Note:''' Several sources, including [[The Guide]] mention a mysterious <tt>Warheads</tt> flag in the [Maximums] section. There is a flag called <tt>[[Warhead]]</tt> (sans the s) in RA's rules controlling that, but this revision's author was unable to find proof for a flag called "Warheads" in both TS's and YR's rules(md).ini.''
 
== Applicable INI Flags ==
 
{{Applicable INI Flags}}
 
{{:AbstractTypes}}
<onlyinclude>
{{Applicable INI Flags Header|WarheadType}}
|-
| {{Ini|Rules}} || Object's ID || {{f|CellSpread|link}}  || float || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|CellInset|link}}  || float || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|PercentAtMax|link}}  || float || 1.0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|CausesDelayKill|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|DelayKillFrames|link}}  || int || 5 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|DelayKillAtMax|link}}  || float || 1.0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|CombatLightSize|link}}  || float || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Particle|link}}  || ParticleSystem || 0 || +
|-
| {{Ini|Rules}} || Object's ID || {{f|Conventional|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Wall|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|WallAbsoluteDestroyer|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|PenetratesBunker|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Wood|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Tiberium|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Sparky|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Sonic|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Rocker|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|DirectRocker|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Fire|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Bright|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|CLDisableRed|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|CLDisableGreen|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|CLDisableBlue|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|AnimList|link}}  || vector<Animation> || {} || +
|-
| {{Ini|Rules}} || Object's ID || {{f|InfDeath|link}}  || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Deform|link}}  || float || 0.0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|DeformThreshold|link}}  || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|EMEffect|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|MindControl|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Poison|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|IvanBomb|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|ElectricAssault|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Parasite|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Temporal|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|IsLocomotor|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Locomotor|link}}  || CLSID || Teleport ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Airstrike|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Psychedelic|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|BombDisarm|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Paralyzes|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Culling|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|MakesDisguise|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|NukeMaker|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|ProneDamage|link}}  || float || 1.0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Radiation|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|PsychicDamage|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|AffectsAllies|link}}  || boolean || 1 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Bullets|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Veinhole|link}}  || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|ShakeXlo|link}}  || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|ShakeXhi|link}}  || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|ShakeYlo|link}}  || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|ShakeYhi|link}}  || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|MaxDebris|link}}  || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|MinDebris|link}}  || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{f|DebrisTypes|link}}  || vector<VoxelAnimation> || {} || +
|-
| {{Ini|Rules}} || Object's ID || {{f|DebrisMaximums|link}}  || vector<int> || {} ||
|-
| {{Ini|Rules}} || Object's ID || {{f|Verses|link}}  || float[11] || {1.0} ||
|}
</onlyinclude>
 
[[Category:Rules(md).ini Sections]]
<!-- [[Category:General Editing Information]] -->

Latest revision as of 11:52, 7 January 2011

This page should correctly be named "[Warheads]"; it is wrong due to technical restrictions.



This section of rules(md).ini is a list of all available warheads in the game. Rumor has it that weapons' warheads work even if not listed, however, this will prevent other game and map functions from working properly.

There is no logical reason for omitting the list entry, and as such you should not expect help on an unlisted warhead.

Note: Several sources, including The Guide mention a mysterious Warheads flag in the [Maximums] section. There is a flag called Warhead (sans the s) in RA's rules controlling that, but this revision's author was unable to find proof for a flag called "Warheads" in both TS's and YR's rules(md).ini.

Applicable INI Flags

These tables show all INI flags applicable1 to Warheads. 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) ""


WarheadType
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID CellSpread float 0
Rules(md).ini Object's ID CellInset float 0
Rules(md).ini Object's ID PercentAtMax float 1.0
Rules(md).ini Object's ID CausesDelayKill boolean 0
Rules(md).ini Object's ID DelayKillFrames int 5
Rules(md).ini Object's ID DelayKillAtMax float 1.0
Rules(md).ini Object's ID CombatLightSize float 0
Rules(md).ini Object's ID Particle ParticleSystem 0 +
Rules(md).ini Object's ID Conventional boolean 0
Rules(md).ini Object's ID Wall boolean 0
Rules(md).ini Object's ID WallAbsoluteDestroyer boolean 0
Rules(md).ini Object's ID PenetratesBunker boolean 0
Rules(md).ini Object's ID Wood boolean 0
Rules(md).ini Object's ID Tiberium boolean 0
Rules(md).ini Object's ID Sparky boolean 0
Rules(md).ini Object's ID Sonic boolean 0
Rules(md).ini Object's ID Rocker boolean 0
Rules(md).ini Object's ID DirectRocker boolean 0
Rules(md).ini Object's ID Fire boolean 0
Rules(md).ini Object's ID Bright boolean 0
Rules(md).ini Object's ID CLDisableRed boolean 0
Rules(md).ini Object's ID CLDisableGreen boolean 0
Rules(md).ini Object's ID CLDisableBlue boolean 0
Rules(md).ini Object's ID AnimList vector<Animation> {} +
Rules(md).ini Object's ID InfDeath int 0
Rules(md).ini Object's ID Deform float 0.0
Rules(md).ini Object's ID DeformThreshold int 0
Rules(md).ini Object's ID EMEffect boolean 0
Rules(md).ini Object's ID MindControl boolean 0
Rules(md).ini Object's ID Poison boolean 0
Rules(md).ini Object's ID IvanBomb boolean 0
Rules(md).ini Object's ID ElectricAssault boolean 0
Rules(md).ini Object's ID Parasite boolean 0
Rules(md).ini Object's ID Temporal boolean 0
Rules(md).ini Object's ID IsLocomotor boolean 0
Rules(md).ini Object's ID Locomotor CLSID Teleport
Rules(md).ini Object's ID Airstrike boolean 0
Rules(md).ini Object's ID Psychedelic boolean 0
Rules(md).ini Object's ID BombDisarm boolean 0
Rules(md).ini Object's ID Paralyzes boolean 0
Rules(md).ini Object's ID Culling boolean 0
Rules(md).ini Object's ID MakesDisguise boolean 0
Rules(md).ini Object's ID NukeMaker boolean 0
Rules(md).ini Object's ID ProneDamage float 1.0
Rules(md).ini Object's ID Radiation boolean 0
Rules(md).ini Object's ID PsychicDamage boolean 0
Rules(md).ini Object's ID AffectsAllies boolean 1
Rules(md).ini Object's ID Bullets boolean 0
Rules(md).ini Object's ID Veinhole boolean 0
Rules(md).ini Object's ID ShakeXlo int 0
Rules(md).ini Object's ID ShakeXhi int 0
Rules(md).ini Object's ID ShakeYlo int 0
Rules(md).ini Object's ID ShakeYhi int 0
Rules(md).ini Object's ID MaxDebris int 0
Rules(md).ini Object's ID MinDebris int 0
Rules(md).ini Object's ID DebrisTypes vector<VoxelAnimation> {} +
Rules(md).ini Object's ID DebrisMaximums vector<int> {}
Rules(md).ini Object's ID Verses float[11] {1.0}