You don't need to mod the animations. Just add a "setPosition" to the LOD object. Such as this:
[Objects.rfa/Objects/HandFireArms/GunName/Objects]
ObjectTemplate.addTemplate GunNameLod
ObjectTemplate.setPosition 0/0/0
This is what the coordinates do when setting the position of the LOD:
(As if moving the gun around in front of the camera)
Code: Select all
rem 0/-/- Right [+] and Left [-]
rem -/0/- Up [+] and Down [-]
rem -/-/0 Forward [+] and Backward [-]
Remember that the hands do not move when using this. So the gun can be lined up with the hands using this line of code.
You can also rotate that LOD if you want to:
ObjectTemplate.addTemplate GunNameLod
ObjectTemplate.setRotation 0/0/0
This is what the rotations do. Notice how the [-] and [+] are different on some of them:
(In perspective as if moving the tip of the barrel up/down/right/etc)
Code: Select all
rem 0/-/- Right [+] and Left [-]
rem -/0/- Up [-] and Down [+]
rem -/-/0 Roll Right [-] and Roll Left [+]