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

Difference between revisions of "CrateRules"

From ModEnc
Jump to: navigation, search
 
(Appendix - Listing Applicable INI flags)
Line 2: Line 2:
  
 
This section of [[Rules|rules(md).ini]] controls the ''appearence'' of crates, i.e. how many appear, for how long they appear, what they look like, etc. For the bonuses given by crates see <tt>[[Powerups|[Powerups]]]</tt>.
 
This section of [[Rules|rules(md).ini]] controls the ''appearence'' of crates, i.e. how many appear, for how long they appear, what they look like, etc. For the bonuses given by crates see <tt>[[Powerups|[Powerups]]]</tt>.
 +
 +
== Applicable INI Flags ==
 +
 +
{{Applicable INI Flags}}
 +
 +
<onlyinclude>
 +
{{Applicable INI Flags Header|[CrateRules]}}
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|FreeMCV}}  || boolean || 0 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|WoodCrateImg}}  || OverlayType || 0 || +
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|CrateImg}}  || OverlayType || 0 || +
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|WaterCrateImg}}  || OverlayType || 0 || +
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|HealCrateSound}}  || Sound || -1 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|CrateMinimum}}  || int || 1 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|CrateMaximum}}  || int || 255 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|CrateRadius}}  || float || 640 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|CrateRegen}}  || float || 10.0 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|UnitCrateType}}  || VehicleType || 0 || +
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|SoloCrateMoney}}  || int || 2000 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|SilverCrate}}  || Powerup || 2 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|WoodCrate}}  || Powerup || 0 ||
 +
|-
 +
| {{Ini|Rules}} || [CrateRules] || {{TTL|WaterCrate}}  || Powerup || 0 ||
 +
|}
 +
</onlyinclude>
  
 
==See also==
 
==See also==

Revision as of 13:57, 13 April 2008

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


This section of rules(md).ini controls the appearence of crates, i.e. how many appear, for how long they appear, what they look like, etc. For the bonuses given by crates see [Powerups].

Applicable INI Flags

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


[CrateRules]
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini [CrateRules] Template:TTL boolean 0
Rules(md).ini [CrateRules] Template:TTL OverlayType 0 +
Rules(md).ini [CrateRules] Template:TTL OverlayType 0 +
Rules(md).ini [CrateRules] Template:TTL OverlayType 0 +
Rules(md).ini [CrateRules] Template:TTL Sound -1
Rules(md).ini [CrateRules] Template:TTL int 1
Rules(md).ini [CrateRules] Template:TTL int 255
Rules(md).ini [CrateRules] Template:TTL float 640
Rules(md).ini [CrateRules] Template:TTL float 10.0
Rules(md).ini [CrateRules] Template:TTL VehicleType 0 +
Rules(md).ini [CrateRules] Template:TTL int 2000
Rules(md).ini [CrateRules] Template:TTL Powerup 2
Rules(md).ini [CrateRules] Template:TTL Powerup 0
Rules(md).ini [CrateRules] Template:TTL Powerup 0


See also