Preventing Force Sprint

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
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Preventing Force Sprint

Post by RED51 »

I having some difficulty trying to prevent one of my melee units from using the force sprint. I know its possible for melee units to use the regular sprint, since Jendo7 or KinetosImpetus was able to do it with the BX commando droid in Jendo's Tatooine: Outpost map. I've looked over the BX's odfs, but I haven't found anything... I tried giving the melee weapon the BX sword's combo file, but that didn't work. Does anyone know how it was done?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Preventing Force Sprint

Post by Maveritchell »

Always ask yourself if you are trying to change what something does or what something simply looks like it does. In this case, are you trying to change the speed of the sprint or are you trying to change what it looks like? What is the one thing that differentiates the appearance of a melee unit from a regular unit?
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: Preventing Force Sprint

Post by RED51 »

I was referring to the sprint animation itself.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Preventing Force Sprint

Post by Maveritchell »

RED51 wrote:I was referring to the sprint animation itself.
And how do you change an animation...?
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: Preventing Force Sprint

Post by RED51 »

I mean you know how when a saber wielding hero sprints, they do this jump-like motion? That's what I'm trying to change. The unit I mentioned earlier sprints normally.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Preventing Force Sprint

Post by DarthD.U.C.K. »

maveritchell knows that, like he said you have to change the sprintanimation. thats all.
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: Preventing Force Sprint

Post by CressAlbane »

Try looking through the animation sets and look for relevant animations.
Ooh! I found one:
human_rifle_sprint_full
Try munging a new animationset. (I think DarthD.U.C.K. has a tutorial if you need it.)
You can replace human_sabre_sprint_full.

EDIT: correctedDarthD.U.C.K.'s name
Last edited by CressAlbane on Sun Aug 28, 2011 10:09 pm, edited 1 time in total.
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: Preventing Force Sprint

Post by RED51 »

Alright, thanks for the help!
Post Reply