VehicleTypes: Difference between revisions
Appearance
en>Renegade No edit summary |
en>Vinifera7 m added category: VehicleTypes Flags (did it right this time!); see also: how object arrays work |
||
| Line 2: | Line 2: | ||
This section of [[Rules|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. | This section of [[Rules|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 <tt>[[DeploysInto]]</tt> or InfantryTypes being referenced by <tt>[[Enslaves]]</tt> 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. | Okay, that's actually not entirely true. It seems like objects that are parsed by other objects, like [[BuildingTypes]] being called by <tt>[[DeploysInto]]</tt> or InfantryTypes being referenced by <tt>[[Enslaves]]</tt> 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. | |||
==See also== | |||
*[[How Object Arrays Work]] | |||
[[Category:Rules(md).ini Sections]] | [[Category:VehicleTypes Flags| ]][[Category:Rules(md).ini Sections]] | ||
Revision as of 09:41, 25 August 2006
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.