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 Added to category
Listing Applicable INI flags
Line 1: Line 1:
ObjectTypes is a generic term that refers to the lists of various objects in the game that are listed in [[rules.ini]]. There are 4 main object lists to be concerned with and several lists that are less often looked at.
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.


[[BuildingTypes]] are buildings in the game.
== Applicable INI Flags ==


[[VehicleTypes]] are the vehicles (and in RA2 the naval units and some aircraft).
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.
 
{{:AbstractTypes}}
[[InfantryTypes]] are the infantry and animal units.
<onlyinclude>
 
{| class="table_descrow sortable" width="90%"
[[AircraftTypes]] are the true aircraft objects.
|+'''ObjectType'''
 
! width="10%" | INI File
[[Category:General_Editing_Information]]
! 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 || {{TTL|AlphaImage}} || string (31 symbol) || "" ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|CrushSound}} || Sound (128 symbols) || "" ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|AmbientSound}} || Sound (128 symbols) || "" ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Crushable}} || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Bombable}} || boolean || 1 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|NoSpawnAlt}} || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|AlternateArcticArt}} || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|RadarInvisible}} || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Selectable}} || boolean || 1 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|LegalTarget}} || boolean || 1 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Armor}} || Armor || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Strength}} || int || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Immune}} || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|Insignificant}} || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|HasRadialIndicator}} || boolean || 0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|RadialColor}} || Color || 0,0,0 ||
|-
| {{Ini|Rules}} || Object's ID || {{TTL|IgnoresFirestorm}} || boolean || 0 ||
|-
| {{Ini|Art}} || Object's Image || {{TTL|UseLineTrail}} || boolean || 0 ||
|-
| {{Ini|Art}} || Object's Image || {{TTL|LineTrailColor}} || Color || 0,0,0 ||
|-
| {{Ini|Art}} || Object's Image || {{TTL|LineTrailColorDecrement}} || int || 16 ||
|-
| {{Ini|Art}} || Object's Image || {{TTL|Theater}} || boolean || 0 ||
|-
| {{Ini|Art}} || Object's Image || {{TTL|NewTheater}} || boolean || 0 ||
|-
| {{Ini|Art}} || Object's Image || {{TTL|Voxel}} || boolean || 0 ||
|}

Revision as of 09:40, 13 April 2008

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

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.

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) ""


ObjectType
INI File Section Key Value Type Default Value Adds to list
Rules(md).ini Object's ID Template:TTL string (31 symbol) Object's ID
Rules(md).ini Object's ID Template:TTL string (31 symbol) ""
Rules(md).ini Object's ID Template:TTL Sound (128 symbols) ""
Rules(md).ini Object's ID Template:TTL Sound (128 symbols) ""
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 1
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 1
Rules(md).ini Object's ID Template:TTL boolean 1
Rules(md).ini Object's ID Template:TTL Armor 0
Rules(md).ini Object's ID Template:TTL int 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL boolean 0
Rules(md).ini Object's ID Template:TTL Color 0,0,0
Rules(md).ini Object's ID Template:TTL boolean 0
Art(md).ini Object's Image Template:TTL boolean 0
Art(md).ini Object's Image Template:TTL Color 0,0,0
Art(md).ini Object's Image Template:TTL int 16
Art(md).ini Object's Image Template:TTL boolean 0
Art(md).ini Object's Image Template:TTL boolean 0
Art(md).ini Object's Image Template:TTL boolean 0