Preventing a unit from rolling

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
GitFinda
Recruit Womprat Killer
Posts: 7
Joined: Fri May 08, 2020 12:16 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Preventing a unit from rolling

Post by GitFinda »

I am making a lore-friendly CIS side and so far i'm almost happy with it.

My issue is that i really don't want my SBD's to be able to roll around the battlefield. I tried changing his scripting so that he only has 50 max stamina in his bar and increased the minimum staminga needed to roll to 80.

Sadly it doesn't solve it. It just makes it so that the bar gets filled up from a negative number instead of from 0.

I also tried changing the stamina bar max to 0.0. It sort of helped. Now he can only roll once per life unless he picks up a stamina vial. But i'm still not 100% satisfied with it.

Is there any way for me to completely prevent him from rolling?

Thanks in advance :)
Sporadia
Corporal
Corporal
Posts: 152
Joined: Thu Jan 24, 2019 11:02 pm
Projects :: No Mod project currently
Games I'm Playing :: None
xbox live or psn: No gamertag set

Re: Preventing a unit from rolling

Post by Sporadia »

If "How do I stop a guy from rolling?" is anything like "How do I stop a guy from jumping?" it's probably really hard. Might have to use IsAcklay = 1 then modify the msh to add the right collision like what this person had to do: http://www.gametoast.com/viewtopic.php?p=537454#p537454

Edit: But wait, that will obviously disable jump too.
GitFinda
Recruit Womprat Killer
Posts: 7
Joined: Fri May 08, 2020 12:16 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Re: Preventing a unit from rolling

Post by GitFinda »

Sporadia wrote:
Sun May 31, 2020 10:13 am
If "How do I stop a guy from rolling?" is anything like "How do I stop a guy from jumping?" it's probably really hard. Might have to use IsAcklay = 1 then modify the msh to add the right collision like what this person had to do: http://www.gametoast.com/viewtopic.php?p=537454#p537454

Edit: But wait, that will obviously disable jump too.
Darn that does seem like alot of work. But atleast it's possible.

And no jumping? In the SBD's case that should be stated as an upside
Post Reply