ARC_Troopa_Nate Clone Trooper Lietenant Colonel
Messages : 203 Registration Date : 2011-07-07 Age : 26 Location : Behind you...
| Subject: [solved]Energy Bar 6/17/2012, 6:24 pm | |
| Certain stock vehicles cannot sprint, or use their energy bars, I'm trying to make a Super Battle Droid and I'm trying to make it so he cannot sprint or roll, I looked through the odfs of command vehicles but I couldn't find anything. What would I put in my odf to make it so a unit cannot use it's stamina bar? |
|
Marth8880 Private
Messages : 18 Registration Date : 2012-04-23 Age : 30 Location : M:\BF2_ModTools\data_ME5\
| Subject: Re: [solved]Energy Bar 6/17/2012, 7:38 pm | |
| I can't remember the parameters exactly, but I think you want to set Acceleration to 0, and then for roll, you need to alter the ControlSpeed factors. I'll add to this once I get home in a few minutes. Staff: This site is EXTREMELY laggy when I browse it on my smart phone (HTC Inspire with Opera, OS is Android "Gingerbread"). EDIT: Alright, I'm home now. So, you need to add ControlSpeed = "sprint 1.0 1.0 1.0" to your unit's ODF; the three numbers represent <thrustfactor>, <strafefactor>, and <turnfactor>. Also, I was wrong above; don't change the Acceleration parameter; change the SprintAccelerationTime to 0.0. To get rid of rolling, set the unit's "roll" stance factors to 0.0 in the ControlSpeed parameter. In the end, everything should look like this: - Code:
-
SprintAccelerationTime = 0.0
ControlSpeed = "sprint 1.00 1.00 1.00" ControlSpeed = "roll 0.00 0.00 0.00" |
|
ARC_Troopa_Nate Clone Trooper Lietenant Colonel
Messages : 203 Registration Date : 2011-07-07 Age : 26 Location : Behind you...
| Subject: Re: [solved]Energy Bar 6/18/2012, 1:38 am | |
| Great! How would I also get rid of jump? |
|
Marth8880 Private
Messages : 18 Registration Date : 2012-04-23 Age : 30 Location : M:\BF2_ModTools\data_ME5\
| Subject: Re: [solved]Energy Bar 6/18/2012, 1:45 am | |
| - Code:
-
ControlSpeed = "jump 0.00 0.00 0.00" and - Code:
-
JumpHeight = 0.0 |
|
Sponsored content
| Subject: Re: [solved]Energy Bar | |
| |
|