InfantryTypes: Difference between revisions
Correcting to template |
Removing almost empty column |
||
Line 16: | Line 16: | ||
{{Applicable INI Flags Header|InfantryTypes}} | {{Applicable INI Flags Header|InfantryTypes}} | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Pip}} || Pip | | {{Ini|Rules}} || Object's ID || {{TTL|Pip}} || Pip | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|OccupyPip}} || Pip | | {{Ini|Rules}} || Object's ID || {{TTL|OccupyPip}} || Pip | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|OccupyWeapon}} || WeaponType || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|OccupyWeapon}} || WeaponType || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|EliteOccupyWeapon}} || WeaponType || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|EliteOccupyWeapon}} || WeaponType || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|VoiceComment}} || vector<Sound> || {} | | {{Ini|Rules}} || Object's ID || {{TTL|VoiceComment}} || vector<Sound> || {} | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|DeadBodies}} || vector<Animation> || {} | | {{Ini|Rules}} || Object's ID || {{TTL|DeadBodies}} || vector<Animation> || {} | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|DeathAnims}} || vector<Animation> || {} | | {{Ini|Rules}} || Object's ID || {{TTL|DeathAnims}} || vector<Animation> || {} | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Cyborg}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Cyborg}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|NotHuman}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|NotHuman}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|EnterWaterSound}} || Sound || "" | | {{Ini|Rules}} || Object's ID || {{TTL|EnterWaterSound}} || Sound || "" | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|LeaveWaterSound}} || Sound || "" | | {{Ini|Rules}} || Object's ID || {{TTL|LeaveWaterSound}} || Sound || "" | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Fearless}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Fearless}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Fraidycat}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Fraidycat}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Infiltrate}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Infiltrate}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Ivan}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Ivan}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Occupier}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Occupier}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Assaulter}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Assaulter}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|DetectionDistance}} || int || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|DetectionDistance}} || int || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|HarvestRate}} || int || 1 | | {{Ini|Rules}} || Object's ID || {{TTL|HarvestRate}} || int || 1 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|C4}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|C4}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Civilian}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Civilian}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Engineer}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Engineer}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|TiberiumProof}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|TiberiumProof}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Agent}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Agent}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Thief}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Thief}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|VehicleThief}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|VehicleThief}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Doggie}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Doggie}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|Deployer}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|Deployer}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|DeployedCrushable}} || boolean || 1 | | {{Ini|Rules}} || Object's ID || {{TTL|DeployedCrushable}} || boolean || 1 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|UseOwnName}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|UseOwnName}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Rules}} || Object's ID || {{TTL|JumpJetTurn}} || boolean || 0 | | {{Ini|Rules}} || Object's ID || {{TTL|JumpJetTurn}} || boolean || 0 | ||
|- | |- | ||
| {{Ini|Art}} || Object's Image || {{TTL|Crawls}} || boolean || 1 | | {{Ini|Art}} || Object's Image || {{TTL|Crawls}} || boolean || 1 | ||
|- | |- | ||
| {{Ini|Art}} || Object's Image || {{TTL|FireUp}} || int || 0 | | {{Ini|Art}} || Object's Image || {{TTL|FireUp}} || int || 0 | ||
|- | |- | ||
| {{Ini|Art}} || Object's Image || {{TTL|FireProne}} || int || 0 | | {{Ini|Art}} || Object's Image || {{TTL|FireProne}} || int || 0 | ||
|- | |- | ||
| {{Ini|Art}} || Object's Image || {{TTL|SecondaryFire}} || int || 0 | | {{Ini|Art}} || Object's Image || {{TTL|SecondaryFire}} || int || 0 | ||
|- | |- | ||
| {{Ini|Art}} || Object's Image || {{TTL|SecondaryProne}} || int || 0 | | {{Ini|Art}} || Object's Image || {{TTL|SecondaryProne}} || int || 0 | ||
|- | |- | ||
| {{Ini|Art}} || Object's Image || {{TTL|Sequence}} || Sequence Name || 0 | | {{Ini|Art}} || Object's Image || {{TTL|Sequence}} || Sequence Name || 0 | ||
|} | |} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 06:53, 14 April 2008
This section of rules(md).ini lists all InfantryTypes the game should be able to use. InfantryTypes 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 VehicleTypes being called by UndeploysInto 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
These tables show all INI flags applicable1 to InfantryTypes. 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.
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 | Pip | ||
Rules(md).ini | Object's ID | Template:TTL | Pip | ||
Rules(md).ini | Object's ID | Template:TTL | WeaponType | 0 | |
Rules(md).ini | Object's ID | Template:TTL | WeaponType | 0 | |
Rules(md).ini | Object's ID | Template:TTL | vector<Sound> | {} | |
Rules(md).ini | Object's ID | Template:TTL | vector<Animation> | {} | |
Rules(md).ini | Object's ID | Template:TTL | vector<Animation> | {} | |
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 | Sound | "" | |
Rules(md).ini | Object's ID | Template:TTL | Sound | "" | |
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 | boolean | 0 | |
Rules(md).ini | Object's ID | Template:TTL | int | 0 | |
Rules(md).ini | Object's ID | Template:TTL | int | 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 | |
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 | boolean | 1 | |
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 | boolean | 1 | |
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 | 0 | |
Art(md).ini | Object's Image | Template:TTL | int | 0 | |
Art(md).ini | Object's Image | Template:TTL | Sequence Name | 0 |