Page 1 of 1

Controlspeed [Solved]

Posted: Wed Oct 26, 2011 7:21 pm
by Noobasaurus
What determines how well you can move when falling in the air? Is it the controlspeed, and if so, what values mean what and do what?

Re: Controlspeed

Posted: Wed Oct 26, 2011 7:29 pm
by DarthD.U.C.K.
no, it is the maximum speed for a stance. from com_inf_default:
Hidden/Spoiler:
// Movement defaults
// These are values for an average class - some soldiers will override these
MaxSpeed = 7.0 // base forward speed
MaxStrafeSpeed = 5.25 // base right/left speed
MaxTurnSpeed = 5.0 // base turn speed
JumpHeight = 1.78 // base jump height in meters
// Speed multipliers for various actions
JumpForwardSpeedFactor = 1.3 // boost forward part of velocity by this factor when jumping
JumpStrafeSpeedFactor = 1.0 // boost side/backward part of velocity by this factor when jumping
RollSpeedFactor = 1.5 // in forward arc, boost speed by this factor when rolling
// Apparently contant for all or most classes:
Acceleration = 70.0 // accelerate to full run in about 7/70 = 0.1 seconds
SprintAccelerateTime = 0.35 // accelerate from run to sprint in this time

// ControlSpeed = "<stance> <thrustfactor> <strafefactor> <turnfactor>"
// For grounded states (stand, crouch, prone, sprint) and jet state,
// in which the thrust/strafe stick controls the player's velocity,
// these values are multipliers on the max speed and acceleration.
// For flying states (jump, roll, tumble), in which the thrust/strafe stick
// applies an acceleration, these values only multiply the acceleration.
ControlSpeed = "stand 1.00 1.00 1.00"
ControlSpeed = "crouch 0.70 0.60 1.00"
ControlSpeed = "prone 0.30 0.20 0.50"
ControlSpeed = "sprint 1.50 0.50 0.35"
ControlSpeed = "jet 0.30 0.30 1.00"
ControlSpeed = "jump 0.03 0.03 0.35"
ControlSpeed = "roll 0.02 0.02 0.35"
ControlSpeed = "tumble 0.00 0.00 0.10"
these are all movement values avaible, i think its impossible to maneuver when you are falling, its hardcoded i suppose.

Re: Controlspeed

Posted: Wed Oct 26, 2011 7:31 pm
by Noobasaurus
DarthD.U.C.K. wrote:these are all movement values avaible, i think its impossible to maneuver when you are falling, its hardcoded i suppose.
Not neccessarily falling, more like a bomb went off and you got pushed and you are flying through the air...and can navigate perfectly well.

EDIT: I am conducting a test with the tumble, roll, and jet values changed. I will be back soon with the results.

EDIT2: Timer for test number two, number one didn't work because my person had the dumb jedi recover from fall.

Re: Controlspeed

Posted: Wed Oct 26, 2011 7:41 pm
by Fiodis
DarthD.U.C.K. wrote:i think its impossible to maneuver when you are falling, its hardcoded i suppose.
In his Boras II stunt course map, Dann enabled "tumble control" or something to that effect, so you could direct yourself while falling. I always assumed he changed up some odf values; it seemed simply enough. Isn't there also a Fake Console command for tumble control? I never tried it to see what it did, but I'm pretty sure I saw it.

Re: Controlspeed

Posted: Wed Oct 26, 2011 7:43 pm
by Noobasaurus
Fiodis wrote:Isn't there also a Fake Console command for tumble control?
Enable Tumble Recovery I believe it is...just the jedi getup thing.

EDIT: Test number two results are in! Results: Nothing. I will change all the values for test number 3.

EDIT2: Nothing.

EDIT3: Adding

Code: Select all

ControlSpeed            = "tumble   1.0 1.0 1.00"
to the unit's odf did it.

Re: Controlspeed

Posted: Thu Oct 27, 2011 4:46 pm
by Dakota
Hidden/Spoiler:
ControlSpeed = "stand 1.00 1.00 1.00" - sets how much control you have while walking
ControlSpeed = "crouch 0.70 0.60 1.00" - sets how much control you have while crouched
ControlSpeed = "prone 0.30 0.20 0.50" - doesn't do anything in BF2 but in BF1 is would set how much control you have while in prone
ControlSpeed = "sprint 1.50 0.50 0.35" - this is how darth vader is so fast when sprinting, this sets your contol for sprint
ControlSpeed = "jet 0.30 0.30 1.00" - this sets you control for if you are flying with a jetpack
ControlSpeed = "jump 0.03 0.03 0.35" - this sets you control for when you have jumped
ControlSpeed = "roll 0.02 0.02 0.35" - this sets how much control you have when you roll
ControlSpeed = "tumble 0.00 0.00 0.10" - this sets how much control you have when you are pushed back, have fallen down, are falling, or knocked back or down in anyway
the control speed values tend to let you control what direction and speed you want to go, for example if you set roll to 5.0 5.0 5.0 then you can press the forward key while rolling to boost ahead or the backwards key to go back or the side arrows to go to the sides. i would recommend also testing some of these out because they can be pretty fun and could make some interesting effects for gameplay.

i came in a bit late but i just wanted to say what some of these do, i tested these on a ninja unit i made and it was pretty fun.

Re: Controlspeed [Solved]

Posted: Thu Nov 03, 2011 6:46 pm
by DarthXeon
more proof that it is possible because in Pepperland you could control where u (literally) flew when u died

Re: Controlspeed [Solved]

Posted: Thu Nov 03, 2011 6:48 pm
by Noobasaurus
DarthXeon wrote:more proof that it is possible because in Pepperland you could control where u (literally) flew when u died
Exactly what I was basing it off of.