Usage:
ObjectTemplate.SetBoneOriginOffset
x/y/z
Argument values:
argument 1: | 0/-0.12/0, 0/-0.2/0, 0/-0.3/0, 0/-0.4/0, 0/-0.5/0, 0/-1.6/0, 0/0/0; most commonly 0/0/0 |
Related properties: AddTemplate, CreateSkeleton, Geometry, HasMobilePhysics, SetAnimatedTextureSpeed, SetPosition
Used in object types (and how often in each type): AnimatedBundle (17%)
Used in a total of 28 .con files: Objects.con
Parent directory of these .con files: objects/Vehicles
Example: (from objects/Vehicles/Land/M10/Objects.con)
rem *** M10_TrackL ***
ObjectTemplate.Create AnimatedBundle M10_TrackL
ObjectTemplate.LoadSoundScript Sounds/m10TrackL.ssc
ObjectTemplate.Geometry M10_TrackL_M1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.CreateSkeleton animations/ShermanTrackL.ske
ObjectTemplate.SetAnimatedTextureSpeed -0.01/0
rem -------------------------------------
ObjectTemplate.AddTemplate M10WheelL1
ObjectTemplate.SetPosition -0.949/0.65/-2.599
ObjectTemplate.AddTemplate M10WheelL2
ObjectTemplate.SetPosition -0.899/0.72/2.43
ObjectTemplate.AddTemplate M10WheelL3Dummy
ObjectTemplate.SetPosition -0.999/0.12/2.05
ObjectTemplate.UseAsBone 0/-0.12/0
ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
ObjectTemplate.AddTemplate M10WheelL3
ObjectTemplate.SetPosition -0.999/0.12/1.2
ObjectTemplate.UseAsBone 0/-0.12/0
ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
ObjectTemplate.AddTemplate M10WheelL3DummyMiddle
ObjectTemplate.SetPosition -0.999/0.12/-0.449
ObjectTemplate.UseAsBone 0/-0.12/0
ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
ObjectTemplate.AddTemplate M10WheelL3Dummy
ObjectTemplate.SetPosition -0.999/0.12/0.3
ObjectTemplate.UseAsBone 0/-0.12/0
ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
ObjectTemplate.AddTemplate M10WheelL3
ObjectTemplate.SetPosition -0.999/0.12/-1.249
ObjectTemplate.UseAsBone 0/-0.12/0
ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
ObjectTemplate.AddTemplate M10WheelL3Dummy
ObjectTemplate.SetPosition -0.999/0.12/-2.049
ObjectTemplate.UseAsBone 0/-0.12/0
ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
ObjectTemplate.AddTemplate M10WheelL4
ObjectTemplate.SetPosition -1.099/0.8/1.15
ObjectTemplate.AddTemplate M10WheelL4
ObjectTemplate.SetPosition -1.099/0.8/-0.499
ObjectTemplate.AddTemplate M10WheelL4
ObjectTemplate.SetPosition -1.099/0.8/-2.099
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.