EnergyBar = 0.0 // Max energy
EnergyRestore = 0.0 // energy regained per second if moving
EnergyRestoreIdle = 0.0 // energy regained per second if not
What are the .msh names for the rolling animation? I added any that contained the word dive but that did not help.
Does anyone know why this might be happening? This is the one thing preventing me from uploading it.
Re: Game crashes when I try to roll
Posted: Sat Aug 01, 2015 5:22 pm
by razac920
Messing with the IDLE state is risky and can cause crashes. Does your rancor jump? If not, then you could remove the energy bar entirely to stop jumping and rolling:
EnergyBar = 0.0 // Max energy
EnergyRestore = 0.0 // energy regained per second if moving
EnergyRestoreIdle = 0.0 // energy regained per second if not
Re: Game crashes when I try to roll
Posted: Sat Aug 01, 2015 5:23 pm
by MileHighGuy
thats exactly what i have in my post. No it does not jump.
Re: Game crashes when I try to roll
Posted: Sat Aug 01, 2015 5:24 pm
by razac920
Oh, i mean, only use those lines in your ODF. Make the IDLE state back to normal, and the crashes should stop.
Re: Game crashes when I try to roll
Posted: Sat Aug 01, 2015 5:25 pm
by MileHighGuy
Yes they were only in the odf where they belong. edited the first post for clarity.
Re: Game crashes when I try to roll
Posted: Sat Aug 01, 2015 5:29 pm
by razac920
Did you try fixing the IDLE state?
Re: Game crashes when I try to roll
Posted: Sat Aug 01, 2015 5:32 pm
by MileHighGuy
AFAIK there is nothing wrong with it. I have experience with combos but I could have made a mistake. here is my whole .combo
Why don't you delete the Posture line from the IDLE state, change the InputLock line back to InputLock(0.15, "Sprint", "Jump", "Crouch"), and try again?
Re: Game crashes when I try to roll
Posted: Sun Aug 02, 2015 6:59 am
by thelegend
What about RollSpeed set to 0.0? This would remove rolling from your unit.
Re: Game crashes when I try to roll
Posted: Tue Aug 04, 2015 11:56 pm
by MileHighGuy
razac you were right there was something wrong with the posture line! I had the posture set to only allow standing so when I tried to roll it crashed. I changed it to all and it works now. Idle state must have all postures but other states work fine with just 1.