ObjectTemplate.AiTemplate

From Pilot_51's Wiki
Revision as of 01:55, 1 November 2008 by Jjxclan (talk | contribs) (New page: == MDT description == Set in the Objects.con and Weapons.con files for weapons and vehicles. This property links the object to the AI object made with ''AiTemplate.Create <name>'' in the c...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MDT description

Set in the Objects.con and Weapons.con files for weapons and vehicles. This property links the object to the AI object made with AiTemplate.Create <name> in the corresponding AI/Objects.con or AI/Weapons.con file.

Every PCO (Player Controlled Object, e.g. a weapon or vehicle) needs its own section in Ai/Objects.con, so that AI (bots) can know about it. This is also required if you include another object (i.e. a turret mounted MG) which has its own code. Similarly, every Firearm you create in Weapons.con needs its own section in its Ai/Weapons.con.

.
Source and more details

Additional Description