Difference between revisions of "VehicleTypes"
m (added category: VehicleTypes Flags (did it right this time!); see also: how object arrays work) |
(Appendix - Listing Applicable INI flags) |
||
Line 6: | Line 6: | ||
And you shouldn't expect help on an unlisted object from anyone, either. | And you shouldn't expect help on an unlisted object from anyone, either. | ||
+ | |||
+ | == 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}} | ||
+ | {{:ObjectTypes}} | ||
+ | {{:TechnoTypes}} | ||
+ | <onlyinclude> | ||
+ | {| class="table_descrow sortable" width="90%" | ||
+ | |+'''VehicleType''' | ||
+ | ! width="10%" | INI File | ||
+ | ! width="15%" | Section | ||
+ | !Key | ||
+ | !Value Type | ||
+ | !Default Value | ||
+ | !Adds to list | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|CrateGoodie}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|DeployToFire}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|IsSimpleDeployer}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|Harvester}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|Weeder}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|SpeedType}} || SpeedType || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|IsTilter}} || boolean || 1 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|CarriesCrate}} || boolean || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|TooBigToFitUnderBridge}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|HalfDamageSmokeLocation}} || XYZ || {0;0;0} || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|UseTurretShadow}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|WalkFrames}} || int || 12 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|FiringFrames}} || int || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|Passive}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|MovementRestrictedTo}} || LandType || -1 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|CanBeach}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|SmallVisceroid}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|LargeVisceroid}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|NonVehicle}} || boolean || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|StandingFrames}} || int || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|DeathFrames}} || int || 0 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|DeathFrameRate}} || int || 1 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|Facings}} || int || 8 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|StartStandFrame}} || int || -1 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|StartWalkFrame}} || int || -1 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|StartFiringFrame}} || int || -1 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|StartDeathFrame}} || int || -1 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|MaxDeathCounter}} || int || -1 || || | ||
+ | |- | ||
+ | | {{Ini|Art}} || Object's Image || {{TTL|FiringSyncFrameX}} || int || -1 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|BurstDelayX}} || int || -1 || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|AltImage}} || filename.shp || 0 || || | ||
+ | |} | ||
+ | </onlyinclude> | ||
+ | |||
+ | {| class="table_descrow sortable" width="90%" | ||
+ | |+'''[FV]''' | ||
+ | ! width="10%" | INI File | ||
+ | ! width="15%" | Section | ||
+ | !Key | ||
+ | !Value Type | ||
+ | !Default Value | ||
+ | !Adds to list | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|NormalTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|NormalTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|RepairTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|RepairTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|MachineGunTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|MachineGunTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|FlakTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|FlakTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|PistolTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|PistolTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|SniperTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|SniperTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|ShockTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|ShockTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|ExplodeTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|ExplodeTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|BrainBlastTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|BrainBlastTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|RadCannonTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|RadCannonTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|ChronoTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|ChronoTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|TerroristExplodeTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|TerroristExplodeTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|CowTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|CowTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|InitiateTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|InitiateTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|VirusTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|VirusTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|YuriPrimeTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|YuriPrimeTurretWeapon}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|GuardianTurretIndex}} || int || || | ||
+ | |- | ||
+ | | {{Ini|Rules}} || Object's ID || {{TTL|GuardianTurretWeapon}} || int || || | ||
+ | |} | ||
==See also== | ==See also== |
Revision as of 11:59, 13 April 2008
This section of rules(md).ini lists all VehicleTypes the game should be able to use. VehicleTypes not listed here cannot be accessed by the game - they don't exist.
Okay, that's actually not entirely true. It seems like objects that are parsed by other objects, like BuildingTypes being called by DeploysInto or InfantryTypes being referenced by Enslaves are added into the internal *Types arrays as well. However, there is no reason to rely on this method, and you really, really should add your objects to their respective lists.
And you shouldn't expect help on an unlisted object from anyone, either.
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.
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) | "" |
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 |
INI File | Section | Key | Value Type | Default Value | Adds to list | |
---|---|---|---|---|---|---|
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 | 0 | ||
Rules(md).ini | Object's ID | Template:TTL | boolean | 0 | ||
Rules(md).ini | Object's ID | Template:TTL | SpeedType | |||
Rules(md).ini | Object's ID | Template:TTL | boolean | 1 | ||
Rules(md).ini | Object's ID | Template:TTL | boolean | |||
Rules(md).ini | Object's ID | Template:TTL | boolean | 0 | ||
Rules(md).ini | Object's ID | Template:TTL | XYZ | {0;0;0} | ||
Rules(md).ini | Object's ID | Template:TTL | boolean | 0 | ||
Art(md).ini | Object's Image | Template:TTL | int | 12 | ||
Art(md).ini | Object's Image | Template:TTL | int | 0 | ||
Rules(md).ini | Object's ID | Template:TTL | boolean | 0 | ||
Rules(md).ini | Object's ID | Template:TTL | LandType | -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 | 0 | ||
Art(md).ini | Object's Image | Template:TTL | int | 0 | ||
Art(md).ini | Object's Image | Template:TTL | int | 0 | ||
Art(md).ini | Object's Image | Template:TTL | int | 1 | ||
Art(md).ini | Object's Image | Template:TTL | int | 8 | ||
Art(md).ini | Object's Image | Template:TTL | int | -1 | ||
Art(md).ini | Object's Image | Template:TTL | int | -1 | ||
Art(md).ini | Object's Image | Template:TTL | int | -1 | ||
Art(md).ini | Object's Image | Template:TTL | int | -1 | ||
Art(md).ini | Object's Image | Template:TTL | int | -1 | ||
Art(md).ini | Object's Image | Template:TTL | int | -1 | ||
Rules(md).ini | Object's ID | Template:TTL | int | -1 | ||
Rules(md).ini | Object's ID | Template:TTL | filename.shp | 0 |