Mosin Nagant reload animations not working

Ask questions, discuss ideas, get answers
Post Reply
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Mosin Nagant reload animations not working

Post by Swaffy »

I need some help (or at least insight) on what's causing the FHSW Mosin's reload animations to not work in my mod. Every time the weapon is fired the animations freeze. And when it's reloaded the gun flips all around.

The 1p reload animations are bugged. Currently this is the biggest thing holding me back from finishing some work. I am baffled as to what's wrong.

This is what it's supposed to look like: https://www.youtube.com/watch?v=bUJUMt6twZ0
Here is my code -

AnimationStatesReload.con

Code: Select all

AnimationStateMachine.setActiveState Ub_FireNagantSniper
AnimationStateMachine.addTransitionWhenDone Ub_StandBoltOperateNagantSniper
AnimationStateMachine.setActiveState Ub_FireMosinNagant
AnimationStateMachine.addTransitionWhenDone Ub_StandBoltOperateMosinNagant
AnimationStateMachine.setActiveState Ub_LieFireNagantSniper
AnimationStateMachine.addTransitionWhenDone Ub_LieBoltOperateNagantSniper
AnimationStateMachine.setActiveState Ub_LieFireMosinNagant
AnimationStateMachine.addTransitionWhenDone Ub_LieBoltOperateMosinNagant

AnimationStateMachine.setActiveState WeaponReloadMosinNagant
AnimationStateMachine.copyState2 NagantSniper MosinNagant
AnimationStatesShoot.con

Code: Select all

rem ----- [Mosin Nagant M91/30 & Sniper] -----
AnimationStateMachine.setActiveState Ub_FireNagantSniper
AnimationStateMachine.addTransitionWhenDone Ub_StandBoltOperateNagantSniper
AnimationStateMachine.setActiveState Ub_FireMosinNagant
AnimationStateMachine.addTransitionWhenDone Ub_StandBoltOperateMosinNagant
AnimationStateMachine.setActiveState Ub_LieFireNagantSniper
AnimationStateMachine.addTransitionWhenDone Ub_LieBoltOperateNagantSniper
AnimationStateMachine.setActiveState Ub_LieFireMosinNagant
AnimationStateMachine.addTransitionWhenDone Ub_LieBoltOperateMosinNagant
singleShotWeaponsMod.con

Code: Select all

AnimationStateMachine.copyState MosinNagant v_arg1 No4 1.0 MosinNagant 1.0
AnimationStateMachine.copyState NagantSniper v_arg1 No4 1.0 NagantSniper 1.0
WeapTweakMosins.con (loaded from copyToAllWeapons)
SPOILER

Code: Select all

rem * Mosin Nagant M91/30
rem * Mosin Nagant Sniper

rem ----- [Mosin Nagant M91/30] -----

AnimationStateMachine.setActiveState Ub_FireMosinNagant
AnimationStateMachine.addTransitionWhenDone Ub_StandBoltOperateMosinNagant
AnimationStateMachine.setActiveState Ub_LieFireMosinNagant
AnimationStateMachine.addTransitionWhenDone Ub_LieBoltOperateMosinNagant

AnimationStateMachine.set3pAnimationSpeed WeaponReloadMosinNagant 0.25
AnimationStateMachine.set1pAnimationSpeed Ub_StandReloadMosinNagant 0.25
AnimationStateMachine.set1pAnimationSpeed Ub_LieReloadMosinNagant 0.25

AnimationStateMachine.set3pAnimationSpeed WeaponBoltOperateMosinNagant 1.01
AnimationStateMachine.set1pAnimationSpeed Ub_StandBoltOperateMosinNagant 1.01
AnimationStateMachine.set1pAnimationSpeed Ub_LieBoltOperateMosinNagant 1.01

AnimationStateMachine.set1pAnimationSpeed Ub_StandMosinNagant 0.1
AnimationStateMachine.set1pAnimationSpeed Ub_TurnMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_StandAimMosinNagant 0.1
AnimationStateMachine.set1pAnimationSpeed Ub_WalkForwardMosinNagant 0.50
AnimationStateMachine.set1pAnimationSpeed Ub_WalkBackwardMosinNagant 0.50
AnimationStateMachine.set1pAnimationSpeed Ub_RunForwardMosinNagant 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_RunBackwardMosinNagant 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StrafeLeftMosinNagant 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StrafeRightMosinNagant 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StandJumpMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_RunJumpMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_FireMosinNagant 2.63
AnimationStateMachine.set1pAnimationSpeed Ub_LieFireMosinNagant 2.63
AnimationStateMachine.set1pAnimationSpeed Ub_IdleMosinNagant1 0.48
AnimationStateMachine.set1pAnimationSpeed Ub_IdleMosinNagant2 0.75
AnimationStateMachine.set1pAnimationSpeed Ub_IdleMosinNagant3 0.76
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleMosinNagant1 0.48
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleMosinNagant2 0.75
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleMosinNagant3 0.76
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchMosinNagant 0.32
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchTurnMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchForwardMosinNagant 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchBackwardMosinNagant 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchStrafeLeftMosinNagant 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchStrafeRightMosinNagant 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchToLieMosinNagant 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieToCrouchMosinNagant 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieToStandMosinNagant 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieMosinNagant 0.24
AnimationStateMachine.set1pAnimationSpeed Ub_LieForwardMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieBackwardMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieTurnLeftMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieTurnRightMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieStrafeLeftMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieStrafeRightMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_RunStandToLieMosinNagant 1.50
AnimationStateMachine.set1pAnimationSpeed Ub_StandRaiseWeaponMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchRaiseWeaponMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_LieRaiseWeaponMosinNagant 1.00

AnimationStateMachine.set3pAnimationSpeed Ub_StandMosinNagant 0.60
AnimationStateMachine.set3pAnimationSpeed Ub_TurnMosinNagant 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StandAimMosinNagant 0.80
AnimationStateMachine.set3pAnimationSpeed Ub_WalkForwardMosinNagant 1.0
AnimationStateMachine.set3pAnimationSpeed Ub_WalkBackwardMosinNagant -1.0
AnimationStateMachine.set3pAnimationSpeed Ub_RunForwardMosinNagant 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_RunBackwardMosinNagant -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StrafeLeftMosinNagant 1.30
AnimationStateMachine.set3pAnimationSpeed Ub_StrafeRightMosinNagant 1.30
AnimationStateMachine.set3pAnimationSpeed Ub_StandJumpMosinNagant 1.10
AnimationStateMachine.set3pAnimationSpeed Ub_RunJumpMosinNagant 1.22
AnimationStateMachine.set3pAnimationSpeed Ub_FireMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieFireMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_IdleMosinNagant1 0.50
AnimationStateMachine.set3pAnimationSpeed Ub_IdleMosinNagant2 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_IdleMosinNagant3 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleMosinNagant1 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleMosinNagant2 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleMosinNagant3 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchMosinNagant 0.80
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchTurnMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchForwardMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchBackwardMosinNagant -1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchStrafeLeftMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchStrafeRightMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchToLieMosinNagant 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_LieToCrouchMosinNagant -2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieToStandMosinNagant -3.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieForwardMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieBackwardMosinNagant -0.80
AnimationStateMachine.set3pAnimationSpeed Ub_LieTurnLeftMosinNagant 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieTurnRightMosinNagant 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieStrafeLeftMosinNagant 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieStrafeRightMosinNagant 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_RunStandToLieMosinNagant 1.40
AnimationStateMachine.set3pAnimationSpeed Ub_StandReloadMosinNagant 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_LieReloadMosinNagant 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_StandRaiseWeaponMosinNagant -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchRaiseWeaponMosinNagant -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_LieRaiseWeaponMosinNagant -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StandBoltOperateMosinNagant 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_LieBoltOperateMosinNagant 0.52

AnimationStateMachine.setactiveState Ub_FireMosinNagant
AnimationStateMachine.setCameraShakeRoll 0 0.25 800.0
AnimationStateMachine.setCameraShakePitch 0 0.5 900.0
AnimationStateMachine.setCameraShakeYaw 0 0.10 700.0
AnimationStateMachine.setCameraShakeLeftRight 0 0.03 4000
AnimationStateMachine.setCameraShakeInOut 0 0.3 3000
AnimationStateMachine.setCameraShakeUpDown 0 0.08 3500
AnimationStateMachine.setCameraShakeFadeOut 0 8

AnimationStateMachine.setactiveState Ub_LieFireMosinNagant
AnimationStateMachine.setCameraShakeRoll 0 0.25 800.0
AnimationStateMachine.setCameraShakePitch 0 0.5 900.0
AnimationStateMachine.setCameraShakeYaw 0 0.10 700.0
AnimationStateMachine.setCameraShakeLeftRight 0 0.03 4000
AnimationStateMachine.setCameraShakeInOut 0 0.3 3000
AnimationStateMachine.setCameraShakeUpDown 0 0.08 3500
AnimationStateMachine.setCameraShakeFadeOut 0 8

rem * 1p

AnimationStateMachine.set1pAnimationSpeed Ub_StandMosinNagant 0.1
AnimationStateMachine.set1pAnimationSpeed Ub_TurnMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_StandAimMosinNagant 0.1
AnimationStateMachine.set1pAnimationSpeed Ub_WalkForwardMosinNagant 0.50
AnimationStateMachine.set1pAnimationSpeed Ub_WalkBackwardMosinNagant 0.50
AnimationStateMachine.set1pAnimationSpeed Ub_RunForwardMosinNagant 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_RunBackwardMosinNagant 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StrafeLeftMosinNagant 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StrafeRightMosinNagant 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StandJumpMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_RunJumpMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_FireMosinNagant 2.63
AnimationStateMachine.set1pAnimationSpeed Ub_LieFireMosinNagant 2.63
AnimationStateMachine.set1pAnimationSpeed Ub_IdleMosinNagant1 0.48
AnimationStateMachine.set1pAnimationSpeed Ub_IdleMosinNagant2 0.75
AnimationStateMachine.set1pAnimationSpeed Ub_IdleMosinNagant3 0.76
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleMosinNagant1 0.48
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleMosinNagant2 0.75
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleMosinNagant3 0.76
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchMosinNagant 0.32
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchTurnMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchForwardMosinNagant 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchBackwardMosinNagant 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchStrafeLeftMosinNagant 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchStrafeRightMosinNagant 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchToLieMosinNagant 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieToCrouchMosinNagant 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieToStandMosinNagant 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieMosinNagant 0.24
AnimationStateMachine.set1pAnimationSpeed Ub_LieForwardMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieBackwardMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieTurnLeftMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieTurnRightMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieStrafeLeftMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieStrafeRightMosinNagant 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_RunStandToLieMosinNagant 1.50
AnimationStateMachine.set1pAnimationSpeed Ub_StandReloadMosinNagant 0.3
AnimationStateMachine.set1pAnimationSpeed Ub_LieReloadMosinNagant 0.3
AnimationStateMachine.set1pAnimationSpeed Ub_StandRaiseWeaponMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchRaiseWeaponMosinNagant 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_LieRaiseWeaponMosinNagant 1.00

AnimationStateMachine.set1pAnimationSpeed Ub_StandBoltOperateMosinNagant 1.05
AnimationStateMachine.set1pAnimationSpeed Ub_LieBoltOperateMosinNagant 0.9

rem * 3p

AnimationStateMachine.set3pAnimationSpeed Ub_StandMosinNagant 0.60
AnimationStateMachine.set3pAnimationSpeed Ub_TurnMosinNagant 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StandAimMosinNagant 0.80
AnimationStateMachine.set3pAnimationSpeed Ub_WalkForwardMosinNagant 1.0
AnimationStateMachine.set3pAnimationSpeed Ub_WalkBackwardMosinNagant -1.0
AnimationStateMachine.set3pAnimationSpeed Ub_RunForwardMosinNagant 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_RunBackwardMosinNagant -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StrafeLeftMosinNagant 1.30
AnimationStateMachine.set3pAnimationSpeed Ub_StrafeRightMosinNagant 1.30
AnimationStateMachine.set3pAnimationSpeed Ub_StandJumpMosinNagant 1.10
AnimationStateMachine.set3pAnimationSpeed Ub_RunJumpMosinNagant 1.22
AnimationStateMachine.set3pAnimationSpeed Ub_FireMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieFireMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_IdleMosinNagant1 0.50
AnimationStateMachine.set3pAnimationSpeed Ub_IdleMosinNagant2 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_IdleMosinNagant3 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleMosinNagant1 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleMosinNagant2 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleMosinNagant3 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchMosinNagant 0.80
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchTurnMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchForwardMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchBackwardMosinNagant -1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchStrafeLeftMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchStrafeRightMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchToLieMosinNagant 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_LieToCrouchMosinNagant -2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieToStandMosinNagant -3.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieForwardMosinNagant 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieBackwardMosinNagant -0.80
AnimationStateMachine.set3pAnimationSpeed Ub_LieTurnLeftMosinNagant 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieTurnRightMosinNagant 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieStrafeLeftMosinNagant 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieStrafeRightMosinNagant 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_RunStandToLieMosinNagant 1.40
AnimationStateMachine.set3pAnimationSpeed Ub_StandReloadMosinNagant 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_LieReloadMosinNagant 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_StandRaiseWeaponMosinNagant -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchRaiseWeaponMosinNagant -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_LieRaiseWeaponMosinNagant -1.60

AnimationStateMachine.set3pAnimationSpeed WeaponReloadMosinNagant 1.67

AnimationStateMachine.set3pAnimationSpeed Ub_StandBoltOperateMosinNagant 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_LieBoltOperateMosinNagant 0.52



rem ----- [Mosin Nagant Sniper] -----

AnimationStateMachine.setActiveState Ub_FireNagantSniper
AnimationStateMachine.addTransitionWhenDone Ub_StandBoltOperateNagantSniper
AnimationStateMachine.setActiveState Ub_LieFireNagantSniper
AnimationStateMachine.addTransitionWhenDone Ub_LieBoltOperateNagantSniper

AnimationStateMachine.set3pAnimationSpeed WeaponReloadNagantSniper 0.25
AnimationStateMachine.set1pAnimationSpeed Ub_StandReloadNagantSniper 0.25
AnimationStateMachine.set1pAnimationSpeed Ub_LieReloadNagantSniper 0.25

AnimationStateMachine.set3pAnimationSpeed WeaponBoltOperateNagantSniper 1.01
AnimationStateMachine.set1pAnimationSpeed Ub_StandBoltOperateNagantSniper 1.01
AnimationStateMachine.set1pAnimationSpeed Ub_LieBoltOperateNagantSniper 1.01

AnimationStateMachine.set1pAnimationSpeed Ub_StandNagantSniper 0.1
AnimationStateMachine.set1pAnimationSpeed Ub_TurnNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_StandAimNagantSniper 0.1
AnimationStateMachine.set1pAnimationSpeed Ub_WalkForwardNagantSniper 0.50
AnimationStateMachine.set1pAnimationSpeed Ub_WalkBackwardNagantSniper 0.50
AnimationStateMachine.set1pAnimationSpeed Ub_RunForwardNagantSniper 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_RunBackwardNagantSniper 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StrafeLeftNagantSniper 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StrafeRightNagantSniper 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StandJumpNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_RunJumpNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_FireNagantSniper 2.63
AnimationStateMachine.set1pAnimationSpeed Ub_LieFireNagantSniper 2.63
AnimationStateMachine.set1pAnimationSpeed Ub_IdleNagantSniper1 0.48
AnimationStateMachine.set1pAnimationSpeed Ub_IdleNagantSniper2 0.75
AnimationStateMachine.set1pAnimationSpeed Ub_IdleNagantSniper3 0.76
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleNagantSniper1 0.48
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleNagantSniper2 0.75
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleNagantSniper3 0.76
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchNagantSniper 0.32
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchTurnNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchForwardNagantSniper 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchBackwardNagantSniper 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchStrafeLeftNagantSniper 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchStrafeRightNagantSniper 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchToLieNagantSniper 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieToCrouchNagantSniper 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieToStandNagantSniper 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieNagantSniper 0.24
AnimationStateMachine.set1pAnimationSpeed Ub_LieForwardNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieBackwardNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieTurnLeftNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieTurnRightNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieStrafeLeftNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieStrafeRightNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_RunStandToLieNagantSniper 1.50
AnimationStateMachine.set1pAnimationSpeed Ub_StandRaiseWeaponNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchRaiseWeaponNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_LieRaiseWeaponNagantSniper 1.00

AnimationStateMachine.set3pAnimationSpeed Ub_StandNagantSniper 0.60
AnimationStateMachine.set3pAnimationSpeed Ub_TurnNagantSniper 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StandAimNagantSniper 0.80
AnimationStateMachine.set3pAnimationSpeed Ub_WalkForwardNagantSniper 1.0
AnimationStateMachine.set3pAnimationSpeed Ub_WalkBackwardNagantSniper -1.0
AnimationStateMachine.set3pAnimationSpeed Ub_RunForwardNagantSniper 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_RunBackwardNagantSniper -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StrafeLeftNagantSniper 1.30
AnimationStateMachine.set3pAnimationSpeed Ub_StrafeRightNagantSniper 1.30
AnimationStateMachine.set3pAnimationSpeed Ub_StandJumpNagantSniper 1.10
AnimationStateMachine.set3pAnimationSpeed Ub_RunJumpNagantSniper 1.22
AnimationStateMachine.set3pAnimationSpeed Ub_FireNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieFireNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_IdleNagantSniper1 0.50
AnimationStateMachine.set3pAnimationSpeed Ub_IdleNagantSniper2 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_IdleNagantSniper3 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleNagantSniper1 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleNagantSniper2 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleNagantSniper3 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchNagantSniper 0.80
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchTurnNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchForwardNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchBackwardNagantSniper -1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchStrafeLeftNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchStrafeRightNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchToLieNagantSniper 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_LieToCrouchNagantSniper -2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieToStandNagantSniper -3.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieForwardNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieBackwardNagantSniper -0.80
AnimationStateMachine.set3pAnimationSpeed Ub_LieTurnLeftNagantSniper 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieTurnRightNagantSniper 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieStrafeLeftNagantSniper 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieStrafeRightNagantSniper 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_RunStandToLieNagantSniper 1.40
AnimationStateMachine.set3pAnimationSpeed Ub_StandReloadNagantSniper 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_LieReloadNagantSniper 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_StandRaiseWeaponNagantSniper -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchRaiseWeaponNagantSniper -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_LieRaiseWeaponNagantSniper -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StandBoltOperateNagantSniper 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_LieBoltOperateNagantSniper 0.52

AnimationStateMachine.setActiveState Ub_FireNagantSniper
AnimationStateMachine.setCameraShakeRoll 0 0.25 800.0
AnimationStateMachine.setCameraShakePitch 0 0.5 900.0
AnimationStateMachine.setCameraShakeYaw 0 0.10 700.0
AnimationStateMachine.setCameraShakeLeftRight 0 0.03 4000
AnimationStateMachine.setCameraShakeInOut 0 0.3 3000
AnimationStateMachine.setCameraShakeUpDown 0 0.08 3500
AnimationStateMachine.setCameraShakeFadeOut 0 8

AnimationStateMachine.setActiveState Ub_LieFireNagantSniper
AnimationStateMachine.setCameraShakeRoll 0 0.25 800.0
AnimationStateMachine.setCameraShakePitch 0 0.5 900.0
AnimationStateMachine.setCameraShakeYaw 0 0.10 700.0
AnimationStateMachine.setCameraShakeLeftRight 0 0.03 4000
AnimationStateMachine.setCameraShakeInOut 0 0.3 3000
AnimationStateMachine.setCameraShakeUpDown 0 0.08 3500
AnimationStateMachine.setCameraShakeFadeOut 0 8

rem * 1p

AnimationStateMachine.set1pAnimationSpeed Ub_StandNagantSniper 0.1
AnimationStateMachine.set1pAnimationSpeed Ub_TurnNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_StandAimNagantSniper 0.1
AnimationStateMachine.set1pAnimationSpeed Ub_WalkForwardNagantSniper 0.50
AnimationStateMachine.set1pAnimationSpeed Ub_WalkBackwardNagantSniper 0.50
AnimationStateMachine.set1pAnimationSpeed Ub_RunForwardNagantSniper 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_RunBackwardNagantSniper 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StrafeLeftNagantSniper 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StrafeRightNagantSniper 1.54
AnimationStateMachine.set1pAnimationSpeed Ub_StandJumpNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_RunJumpNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_FireNagantSniper 2.63
AnimationStateMachine.set1pAnimationSpeed Ub_LieFireNagantSniper 2.63
AnimationStateMachine.set1pAnimationSpeed Ub_IdleNagantSniper1 0.48
AnimationStateMachine.set1pAnimationSpeed Ub_IdleNagantSniper2 0.75
AnimationStateMachine.set1pAnimationSpeed Ub_IdleNagantSniper3 0.76
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleNagantSniper1 0.48
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleNagantSniper2 0.75
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchIdleNagantSniper3 0.76
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchNagantSniper 0.32
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchTurnNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchForwardNagantSniper 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchBackwardNagantSniper 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchStrafeLeftNagantSniper 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchStrafeRightNagantSniper 0.83
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchToLieNagantSniper 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieToCrouchNagantSniper 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieToStandNagantSniper 0.60
AnimationStateMachine.set1pAnimationSpeed Ub_LieNagantSniper 0.24
AnimationStateMachine.set1pAnimationSpeed Ub_LieForwardNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieBackwardNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieTurnLeftNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieTurnRightNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieStrafeLeftNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_LieStrafeRightNagantSniper 0.73
AnimationStateMachine.set1pAnimationSpeed Ub_RunStandToLieNagantSniper 1.50
AnimationStateMachine.set1pAnimationSpeed Ub_StandReloadNagantSniper 0.3
AnimationStateMachine.set1pAnimationSpeed Ub_LieReloadNagantSniper 0.3
AnimationStateMachine.set1pAnimationSpeed Ub_StandRaiseWeaponNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_CrouchRaiseWeaponNagantSniper 1.00
AnimationStateMachine.set1pAnimationSpeed Ub_LieRaiseWeaponNagantSniper 1.00

AnimationStateMachine.set1pAnimationSpeed Ub_StandBoltOperateNagantSniper 1.05
AnimationStateMachine.set1pAnimationSpeed Ub_LieBoltOperateNagantSniper 0.9

rem * 3p

AnimationStateMachine.set3pAnimationSpeed Ub_StandNagantSniper 0.60
AnimationStateMachine.set3pAnimationSpeed Ub_TurnNagantSniper 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StandAimNagantSniper 0.80
AnimationStateMachine.set3pAnimationSpeed Ub_WalkForwardNagantSniper 1.0
AnimationStateMachine.set3pAnimationSpeed Ub_WalkBackwardNagantSniper -1.0
AnimationStateMachine.set3pAnimationSpeed Ub_RunForwardNagantSniper 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_RunBackwardNagantSniper -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_StrafeLeftNagantSniper 1.30
AnimationStateMachine.set3pAnimationSpeed Ub_StrafeRightNagantSniper 1.30
AnimationStateMachine.set3pAnimationSpeed Ub_StandJumpNagantSniper 1.10
AnimationStateMachine.set3pAnimationSpeed Ub_RunJumpNagantSniper 1.22
AnimationStateMachine.set3pAnimationSpeed Ub_FireNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieFireNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_IdleNagantSniper1 0.50
AnimationStateMachine.set3pAnimationSpeed Ub_IdleNagantSniper2 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_IdleNagantSniper3 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleNagantSniper1 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleNagantSniper2 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchIdleNagantSniper3 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchNagantSniper 0.80
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchTurnNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchForwardNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchBackwardNagantSniper -1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchStrafeLeftNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchStrafeRightNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchToLieNagantSniper 1.60
AnimationStateMachine.set3pAnimationSpeed Ub_LieToCrouchNagantSniper -2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieToStandNagantSniper -3.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieForwardNagantSniper 1.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieBackwardNagantSniper -0.80
AnimationStateMachine.set3pAnimationSpeed Ub_LieTurnLeftNagantSniper 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieTurnRightNagantSniper 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieStrafeLeftNagantSniper 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_LieStrafeRightNagantSniper 2.00
AnimationStateMachine.set3pAnimationSpeed Ub_RunStandToLieNagantSniper 1.40
AnimationStateMachine.set3pAnimationSpeed Ub_StandReloadNagantSniper 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_LieReloadNagantSniper 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_StandRaiseWeaponNagantSniper -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_CrouchRaiseWeaponNagantSniper -1.60
AnimationStateMachine.set3pAnimationSpeed Ub_LieRaiseWeaponNagantSniper -1.60

AnimationStateMachine.set3pAnimationSpeed WeaponReloadNagantSniper 1.67

AnimationStateMachine.set3pAnimationSpeed Ub_StandBoltOperateNagantSniper 0.52
AnimationStateMachine.set3pAnimationSpeed Ub_LieBoltOperateNagantSniper 0.52
Animations:
StandWalkRun/1p/MosinNagant
StandWalkRun/1p/NagantSniper
WeaponHandling/1p/MosinNagant
WeaponHandling/1p/NagantSniper
Weapons/MosinNagant
Weapons/NagantSniper

The setup I'm going for is the 3p animations being copied from the No4 and the 1p animations are not copied (new files).
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Mosin Nagant reload animations not working

Post by Swaffy »

I found some extra code I was missing. After importing a few Thompson animations I gained some progress but still the animations are mostly broken.

AnimationStatesReload.con
SPOILER

Code: Select all

rem * Thompson BOLT
AnimationStateMachine.createState Ub_StandBoltOperateThompson
AnimationStateMachine.setOtherState c_AsmWeaponState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/WeaponHandling/3p/Thompson/3PReloadThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addAnimation Animations/WeaponHandling/1p/Thompson/1pBoltOperateThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionOne c_PIFire 0.5 1 Ub_FireThompson
AnimationStateMachine.addTransitionWhenDone _POSE_
AnimationStateMachine.setMorphFactor 10000.0
AnimationStateMachine.setFlag c_AsmIsCrouching
include copyToallWeapons.inc Thompson

rem * Thompson BOLT
AnimationStateMachine.createState Ub_LieBoltOperateThompson
AnimationStateMachine.setOtherState c_AsmWeaponState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/WeaponHandling/3p/Thompson/3PReloadLieThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addAnimation Animations/WeaponHandling/1p/Thompson/1pLieBoltOperateThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionOne c_PIFire 0.5 1 Ub_LieFireThompson
AnimationStateMachine.addTransitionWhenDone _POSE_
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson

rem * Thompson BOLT
AnimationStateMachine.createState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/Weapons/Thompson/ThompsonBoltOperate.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionWhenDone StopDummyState
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson

AnimationStateMachine.createState WeaponLieBoltOperateThompson
AnimationStateMachine.addAnimation Animations/Weapons/Thompson/ThompsonLieBoltOperate.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionWhenDone StopDummyState
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson
I'll make a video when I can, if anyone's willing to help. I don't want to make a video just for it to be ignored.

- 1p animations no longer freeze after firing and return to idle/run/etc like normal.
- Bolt animation works between firing rounds but it wobbles weirdly.
- Reload animation still spins around wildly like before, no change here.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
buschhans
Posts: 338
Joined: Wed Jul 18, 2012 12:50 pm

Re: Mosin Nagant reload animations not working

Post by buschhans »

Swaffy wrote:I found some extra code I was missing. After importing a few Thompson animations I gained some progress but still the animations are mostly broken.

AnimationStatesReload.con
SPOILER

Code: Select all

rem * Thompson BOLT
AnimationStateMachine.createState Ub_StandBoltOperateThompson
AnimationStateMachine.setOtherState c_AsmWeaponState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/WeaponHandling/3p/Thompson/3PReloadThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addAnimation Animations/WeaponHandling/1p/Thompson/1pBoltOperateThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionOne c_PIFire 0.5 1 Ub_FireThompson
AnimationStateMachine.addTransitionWhenDone _POSE_
AnimationStateMachine.setMorphFactor 10000.0
AnimationStateMachine.setFlag c_AsmIsCrouching
include copyToallWeapons.inc Thompson

rem * Thompson BOLT
AnimationStateMachine.createState Ub_LieBoltOperateThompson
AnimationStateMachine.setOtherState c_AsmWeaponState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/WeaponHandling/3p/Thompson/3PReloadLieThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addAnimation Animations/WeaponHandling/1p/Thompson/1pLieBoltOperateThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionOne c_PIFire 0.5 1 Ub_LieFireThompson
AnimationStateMachine.addTransitionWhenDone _POSE_
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson

rem * Thompson BOLT
AnimationStateMachine.createState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/Weapons/Thompson/ThompsonBoltOperate.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionWhenDone StopDummyState
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson

AnimationStateMachine.createState WeaponLieBoltOperateThompson
AnimationStateMachine.addAnimation Animations/Weapons/Thompson/ThompsonLieBoltOperate.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionWhenDone StopDummyState
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson
I'll make a video when I can, if anyone's willing to help. I don't want to make a video just for it to be ignored.

- 1p animations no longer freeze after firing and return to idle/run/etc like normal.
- Bolt animation works between firing rounds but it wobbles weirdly.
- Reload animation still spins around wildly like before, no change here.
Try for your work the FHSW Objects.rfa development File, it isnt finishes, and have some bugs:
https://drive.google.com/file/d/0Bxu4kH ... sp=sharing

Possible you will find the rifle animation inside, and some any not released content.
If do you like the BF 1942 Mods or search a Download please visit: http://hg-clan.blogspot.de/
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Mosin Nagant reload animations not working

Post by Swaffy »

buschhans wrote:
Swaffy wrote:I found some extra code I was missing. After importing a few Thompson animations I gained some progress but still the animations are mostly broken.

AnimationStatesReload.con
SPOILER

Code: Select all

rem * Thompson BOLT
AnimationStateMachine.createState Ub_StandBoltOperateThompson
AnimationStateMachine.setOtherState c_AsmWeaponState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/WeaponHandling/3p/Thompson/3PReloadThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addAnimation Animations/WeaponHandling/1p/Thompson/1pBoltOperateThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionOne c_PIFire 0.5 1 Ub_FireThompson
AnimationStateMachine.addTransitionWhenDone _POSE_
AnimationStateMachine.setMorphFactor 10000.0
AnimationStateMachine.setFlag c_AsmIsCrouching
include copyToallWeapons.inc Thompson

rem * Thompson BOLT
AnimationStateMachine.createState Ub_LieBoltOperateThompson
AnimationStateMachine.setOtherState c_AsmWeaponState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/WeaponHandling/3p/Thompson/3PReloadLieThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addAnimation Animations/WeaponHandling/1p/Thompson/1pLieBoltOperateThompson.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionOne c_PIFire 0.5 1 Ub_LieFireThompson
AnimationStateMachine.addTransitionWhenDone _POSE_
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson

rem * Thompson BOLT
AnimationStateMachine.createState WeaponBoltOperateThompson
AnimationStateMachine.addAnimation Animations/Weapons/Thompson/ThompsonBoltOperate.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionWhenDone StopDummyState
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson

AnimationStateMachine.createState WeaponLieBoltOperateThompson
AnimationStateMachine.addAnimation Animations/Weapons/Thompson/ThompsonLieBoltOperate.baf 0.4 c_AsmPlayOnce
AnimationStateMachine.addTransitionWhenDone StopDummyState
AnimationStateMachine.setMorphFactor 10000.0
include copyToallWeapons.inc Thompson
I'll make a video when I can, if anyone's willing to help. I don't want to make a video just for it to be ignored.

- 1p animations no longer freeze after firing and return to idle/run/etc like normal.
- Bolt animation works between firing rounds but it wobbles weirdly.
- Reload animation still spins around wildly like before, no change here.
Try for your work the FHSW Objects.rfa development File, it isnt finishes, and have some bugs:
https://drive.google.com/file/d/0Bxu4kH ... sp=sharing

Possible you will find the rifle animation inside, and some any not released content.
I'll have a look at it, but I think I dug up the correct code from their normal Objects.con ... I will double-check just to be sure.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Mosin Nagant reload animations not working

Post by Swaffy »

I most likely have all the Objects.con stuff. It's all taken straight from FHSW. My issue is the animations not working. Here is a video of what I am currently seeing:

(alt link)
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
buschhans
Posts: 338
Joined: Wed Jul 18, 2012 12:50 pm

Re: Mosin Nagant reload animations not working

Post by buschhans »

You could ask the fhsw.forumatic.com japan community? They could help you there? Don't be worry about, the forum is in Japanese language. It doesn't matter where do you entry the post, after register. For help, you can use a translator.
If do you like the BF 1942 Mods or search a Download please visit: http://hg-clan.blogspot.de/
Post Reply