BFSoldier Type

The BFSoldier object type is created by ObjectTemplate.Create.

BFSoldier describes a new soldier in the BattleField engine. This object defines not only the skeleton used, but also what radio audio tracks and what flags are associated with the soldier.

Used in a total of 36 .con files: Objects.con

Parent directory of these .con files: objects/Soldiers

Example: (from objects/Soldiers/GermanDesertSoldier/Objects.con)
   ObjectTemplate.Create BFSoldier GermanDesertSoldier
   ObjectTemplate.CreateSkeleton animations/UsSoldier.ske

Properties used with this type of object:
   ObjectTemplate.AddTemplate
   ObjectTemplate.BindToSkeletonPart
   ObjectTemplate.Create
   ObjectTemplate.CreateSkeleton
   ObjectTemplate.HeadIcon
   ObjectTemplate.SetIsFirstPersonPart
   ObjectTemplate.SetLodValue
   ObjectTemplate.SkinIcon


Go to the ObjectTemplate type list page, ObjectTemplate page, All Types list, Class list, CON file list, or Main scripting page.