Game Engine Object Templates

From BF2 Technical Information Wiki
Jump to: navigation, search

This is a list of "object templates" that can be used in the bf2.objectManager.getObjectsOfTemplate method to access certain C game engine objects. As an example, to get a list of all U.S. medics in the game, you could use:

 medics = bf2.objectManager.getObjectsOfTemplate('us_medic')
 for medic in medics:
     # do stuff to each medic


Templates used for VehicleObjects:


Templates used for SoldierObjects:


Templates used for WeaponObjects:


Templates used for KitObjects:

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox