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

InfantryTypes: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Vinifera7 (talk | contribs)
m added category: InfantryTypes Flags; see also: how object arrays work
Line 2: Line 2:


This section of [[Rules|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.
This section of [[Rules|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 <tt>[[UndeploysInto]]</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 [[VehicleTypes]] being called by <tt>[[UndeploysInto]]</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.


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:InfantryTypes Flags]][[Category:Rules(md).ini Sections]]
<!-- [[Category:General Editing Information]] -->

Revision as of 07:20, 25 August 2006

This page should correctly be named "[InfantryTypes]"; it is wrong due to technical restrictions.



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.

See also