Usage:
ObjectTemplate.SetAnimatedTextureSpeed
x/y
Argument values:
argument 1: | -0.006/0, -0.008/0, -0.01/0, -0.012/0, -0.015/0, -0.02/0, 0.005/0, 0.006/0, 0.01/0 |
Description: Sets the amount the u/v texture coordinates change per update. It is used for texture animation. For example, this can be used to move the UV coordinates of a tank tread to make it look like it's moving based on the speed of the track.
Related properties: AddTemplate, CreateSkeleton, Geometry, HasMobilePhysics, SetBoneOriginOffset, SetPosition
Used in object types (and how often in each type): AnimatedBundle (16%)
Used in a total of 26 .con files: Objects.con
Parent directory of these .con files: objects/Vehicles
Example: (from objects/Vehicles/Land/SturmGeschutz/Objects.con)
rem -------------------------------
rem ***
rem *** SturmGeschutzTracks
rem ***
rem ObjectTemplate.create AnimatedBundle SturmGeschutzTrackL
ObjectTemplate.Create AnimatedBundle SturmGeschutzTrackL
ObjectTemplate.Geometry StuGIII_Track_Left_m1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.LoadSoundScript Sounds/SturmGeschutzTrackL.ssc
ObjectTemplate.CreateSkeleton animations/StuGIII_Track_Left_m1.ske
ObjectTemplate.SetAnimatedTextureSpeed -0.015/0
rem -----------------------------------
ObjectTemplate.AddTemplate SturmGeschutzMediumWheelLDummySmoke
ObjectTemplate.SetPosition -0.1/-0.6/-1.818
ObjectTemplate.UseAsBone 0/-0.14/0
ObjectTemplate.SetBoneOriginOffset 0/-0.12/0
ObjectTemplate.AddTemplate SturmGeschutzMediumWheelL
ObjectTemplate.SetPosition -0.1/-0.6/-1.093
ObjectTemplate.UseAsBone 0/-0.14/0
ObjectTemplate.SetBoneOriginOffset 0/-0.12/0
ObjectTemplate.AddTemplate SturmGeschutzMediumWheelLDummy
ObjectTemplate.SetPosition -0.1/-0.6/-0.411
ObjectTemplate.UseAsBone 0/-0.14/0
ObjectTemplate.SetBoneOriginOffset 0/-0.12/0
ObjectTemplate.AddTemplate SturmGeschutzMediumWheelLDummy
ObjectTemplate.SetPosition -0.1/-0.6/0.316
ObjectTemplate.UseAsBone 0/-0.14/0
ObjectTemplate.SetBoneOriginOffset 0/-0.12/0
ObjectTemplate.AddTemplate SturmGeschutzMediumWheelL
ObjectTemplate.SetPosition -0.1/-0.6/1.005
ObjectTemplate.UseAsBone 0/-0.14/0
ObjectTemplate.SetBoneOriginOffset 0/-0.12/0
ObjectTemplate.AddTemplate SturmGeschutzMediumWheelLDummy
ObjectTemplate.SetPosition -0.1/-0.6/1.732
ObjectTemplate.UseAsBone 0/-0.14/0
ObjectTemplate.SetBoneOriginOffset 0/-0.12/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.