Controlspeed [Solved]

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
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Controlspeed [Solved]

Post 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?
Last edited by Noobasaurus on Wed Oct 26, 2011 9:43 pm, edited 1 time in total.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Controlspeed

Post 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.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Controlspeed

Post 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.
Last edited by Noobasaurus on Wed Oct 26, 2011 7:42 pm, edited 1 time in total.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Controlspeed

Post 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.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Controlspeed

Post 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.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Controlspeed

Post 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.
User avatar
DarthXeon
Banned
Posts: 84
Joined: Mon Sep 19, 2011 5:41 pm
Projects :: I move fast... Lightning fast...
Games I'm Playing :: Hmm... I wonder...
Location: In A Nearby Solar System

Re: Controlspeed [Solved]

Post by DarthXeon »

more proof that it is possible because in Pepperland you could control where u (literally) flew when u died
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Controlspeed [Solved]

Post 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.
Post Reply