Community Forum

controlI3DAnim help please

Forum Overview >> Scripting

Created28.04.2021 21:32

Davis Vvv (veinbergs1994) 28.04.2021 21:32
Can someone help me i create container and using this(down you can se) create a animation that i can play in editor but the problem starts i dont know how make animation work when i am standing next to container (like open door) i try find all in difrent mods but no luck i copy all from difrent mods and change all to my mod but not working i dont even see the help menu when i am next to container i find most mods are using controlI3DAnim.lua
but there are no tutorial how to set it up can someone tell me what i need add to xml and moddesc also mybe i need add something in useratributes?(FS17)

<AnimationSet name="Your animation set name">
<Clip name="ForkASource" duration="your time duration of animation">
<Keyframes nodeId="node id of animated part">
<Keyframe time="time 1" scale="1 1 1"/>
<Keyframe time="time 2 if needed" rotation="1 1 1"/>
<Keyframe time="final time(duration)" translation="1 1 1"/>

Note: Log in to post. Create a new account here.