Page 1 of 1

Preventing a unit from rolling

Posted: Sat May 30, 2020 3:07 pm
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 :)

Re: Preventing a unit from rolling

Posted: Sun May 31, 2020 10:13 am
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.

Re: Preventing a unit from rolling

Posted: Sun May 31, 2020 12:52 pm
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