I decided to make walk animations for my weapons,BUT there are several problems which I faced after I made the animations:
1-st: My idle animation is long about 25 seconds (so it's long).ok,the idel animation is playing OK,but the problems is not in te idle animation,but in the idle to walk. What's the problem: When I choose the weapon it starts to play the idle animation while I'm standing still,but when I start walking I expect the animation to change to the walking animation,but nothing happens. Why? Because the walking animation starts to play right after the idle animation is finnished,no matter how long it is.So I have to walk for a really long time in order the weapon to play the walking animation,than when I stop,the same thing happens - the walking animation continues to execute till it's over and then the idle animation starts again.I want when my player walks,the weapong to play the walking animation and when the player is standing still - the idle one.I have no idea why is this happening...for example the shooting animation executes as soon as the player presses the shooting button,no matter the current animation.I know that they are different things,but the player has this in the playersetup.ini:
Code: Select all
; number of seconds in each transition animation
; default is 1 seconds if undefined
;
idletowalktime = 0.1
idletoruntime = 0.1
walktoidletime = 0.5
runtoidletime = 0.5
crawltoidletime = 0.5
idletocrouchtime = 1
crouchtoidletime = 1
swimtotreadtime = 1
treadtoswimtime = 1
idletotreadtime = 1
treadtoidletime = 1
swimtowalktime = 0.2
walktoswimtime = 1
jumptofalltime = 0.2
jumptotreadtime = 1
falltotreadtime = 1
slidetocrouchtime = 0.5
slidetoidletime = 0.5
falltocrawltime = 0.2
falltojumptime = 0.2
falltowalktime = 0.2
walktojumptime = 0.2
walktocrawltime = 0.2
crawltowalktime = 0.2
idletocrawltime = 0.1
2nd: While playing the idle or walking animations,which are being loop,there's that short interval of time between each loop,that the weapon doesn't move . And that looks terrible for the walking animation,because the walking animation should be looping without any intervals before the animation has start again.
Will I need to make scripted weapons in order to fix this? And if yes...I don't know what I'm gonna do.