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

ObjectTypes: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m Oops
m Replacing Template:TTL with Template:F.
 
(4 intermediate revisions by 4 users not shown)
Line 3: Line 3:
== Applicable INI Flags ==
== Applicable INI Flags ==


This table is only valid for YR 1.001. Other games/versions might use a different table. Be sure to check the flag's own page for more detailed information.
{{Applicable INI Flags}}
 
{{:AbstractTypes}}
{{:AbstractTypes}}
<onlyinclude>
<onlyinclude>
{| class="table_descrow sortable" width="90%"
{{Applicable INI Flags Header|ObjectTypes}}
|+'''ObjectType'''
! width="10%" | INI File
! width="15%" | Section
!Key
!Value Type
!Default Value
!Adds to list
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Image}} || string (31 symbol) || Object's ID ||  
| {{Ini|Rules}} || Object's ID || {{f|Image|link}} || string (31 symbol) || Object's ID ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|AlphaImage}} || string (31 symbol) || "" ||  
| {{Ini|Rules}} || Object's ID || {{f|AlphaImage|link}} || string (31 symbol) || "" ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|CrushSound}} || Sound (128 symbols) || "" ||  
| {{Ini|Rules}} || Object's ID || {{f|CrushSound|link}} || Sound (128 symbols) || "" ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|AmbientSound}} || Sound (128 symbols) || "" ||  
| {{Ini|Rules}} || Object's ID || {{f|AmbientSound|link}} || Sound (128 symbols) || "" ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Crushable}} || boolean || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|Crushable|link}} || boolean || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Bombable}} || boolean || 1 ||  
| {{Ini|Rules}} || Object's ID || {{f|Bombable|link}} || boolean || 1 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|NoSpawnAlt}} || boolean || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|NoSpawnAlt|link}} || boolean || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|AlternateArcticArt}} || boolean || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|AlternateArcticArt|link}} || boolean || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|RadarInvisible}} || boolean || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|RadarInvisible|link}} || boolean || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Selectable}} || boolean || 1 ||  
| {{Ini|Rules}} || Object's ID || {{f|Selectable|link}} || boolean || 1 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|LegalTarget}} || boolean || 1 ||  
| {{Ini|Rules}} || Object's ID || {{f|LegalTarget|link}} || boolean || 1 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Armor}} || Armor || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|Armor|link}} || Armor || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Strength}} || int || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|Strength|link}} || int || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Immune}} || boolean || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|Immune|link}} || boolean || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Insignificant}} || boolean || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|Insignificant|link}} || boolean || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|HasRadialIndicator}} || boolean || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|HasRadialIndicator|link}} || boolean || 0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|RadialColor}} || Color || 0,0,0 ||  
| {{Ini|Rules}} || Object's ID || {{f|RadialColor|link}} || Color || 0,0,0 ||
|-
|-
| {{Ini|Rules}} || Object's ID || {{TTL|IgnoresFirestorm}} || boolean || 0 ||  
| {{Ini|Rules}} || Object's ID || {{f|IgnoresFirestorm|link}} || boolean || 0 ||
|-
|-
| {{Ini|Art}} || Object's Image || {{TTL|UseLineTrail}} || boolean || 0 ||  
| {{Ini|Art}} || Object's Image || {{f|UseLineTrail|link}} || boolean || 0 ||
|-
|-
| {{Ini|Art}} || Object's Image || {{TTL|LineTrailColor}} || Color || 0,0,0 ||  
| {{Ini|Art}} || Object's Image || {{f|LineTrailColor|link}} || Color || 0,0,0 ||
|-
|-
| {{Ini|Art}} || Object's Image || {{TTL|LineTrailColorDecrement}} || int || 16 ||  
| {{Ini|Art}} || Object's Image || {{f|LineTrailColorDecrement|link}} || int || 16 ||
|-
|-
| {{Ini|Art}} || Object's Image || {{TTL|Theater}} || boolean || 0 ||  
| {{Ini|Art}} || Object's Image || {{f|Theater|link}} || boolean || 0 ||
|-
|-
| {{Ini|Art}} || Object's Image || {{TTL|NewTheater}} || boolean || 0 ||  
| {{Ini|Art}} || Object's Image || {{f|NewTheater|link}} || boolean || 0 ||
|-
|-
| {{Ini|Art}} || Object's Image || {{TTL|Voxel}} || boolean || 0 ||  
| {{Ini|Art}} || Object's Image || {{f|Voxel|link}} || boolean || 0 ||
|}
|}
</onlyinclude>
</onlyinclude>

Latest revision as of 08:22, 27 November 2009

ObjectTypes is the class from which all objects that can be seen on the map, such as Animations, Particles, Overlays, are derived. No object of this class is ever directly created. The main four object types - Infantry, Vehicles, Aircraft and Buildings - are derived from TechnoTypes which derives from this one.

Applicable INI Flags

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