Weird sprint animation bug [solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Weird sprint animation bug [solved]

Post by MileHighGuy »

I replaced the lightsaber sprint animation with the pistol sprint animation. Now when my unit sprints, the the unit moves from behind where he actually is to in front of where he actually is. It is like he is double running. It is hard to describe.

His sprint animation is just a loop of him running from behind the actual unit position to in front of him, all while the "position" moves normally.

Is there any way to fix this while still using the pistol sprint animation? thanks.
Last edited by MileHighGuy on Mon Jun 30, 2014 7:42 pm, edited 1 time in total.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Weird sprint animation bug

Post by AQT »

I'm assuming you're using human_pistol_sprint? Use either human_pistol_stand_runforward or human_pistol_standalert_runforward_full instead.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Weird sprint animation bug

Post by MileHighGuy »

Those work, but they are just normal running sped up, they don't look as good as the normal pistol sprint animation. Why is this bug specific to that .msh?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Weird sprint animation bug

Post by AQT »

You're absolutely certain 100% that human_pistol_sprint is indeed the stock pistol sprint animation?
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Weird sprint animation bug

Post by MileHighGuy »

yes, I tried both of what you suggested, they looked different compared to stock sprinting with a pistol.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Weird sprint animation bug

Post by AQT »

Is it different because of the way the unit holds its weapon, or is it something else? I think that because there are walkforward and runforward animations, sprint is actually unused (and buggy for some reason), although I am not quite certain.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Weird sprint animation bug

Post by MileHighGuy »

They are different, I just tested them both and compared them to sprinting with a stock trooper.

human_pistol_stand_runforward is just the normal moving foreward animation, with the gun held at belly height. the lower half is unanimated (needs _upper). Can't use.

human_pistol_standalert_runforward_full is just the normal moving foreward animation, with the gun up in the alert position. looks goofy as a sprint anim.

human_pistol_sprint has the unit move both arms moving up and down in like a normal person would sprint. But for some reason it has the bug described above.

EDIT: and also I used human_tool_sprint and it has the same thing.

EDIT: also tried rifle sprint, it works fine, but it's not what i need.

LAST EDIT: I fixed the pistol sprint animation in xsi, i just flattened out the posx part of the bone_root in the animation editor. if anyone wants it pm me.
Post Reply