Blockland Forums > Help
Changing the Spped of a Playertype
(1/3) > >>
-Blok-:
I am trying to change the speed of this first-person playertype, but I'm stupid. How would I do this?

Here is the server.cs for the first-person playertype:


datablock PlayerData(PlayerFirstPerson : PlayerStandardArmor)
{
   minJetEnergy = 0;
   jetEnergyDrain = 0;
   canJet = 0;
   firstPersonOnly = 1;

   uiName = "First-Person Player";
   showenergybar = false;
};
Mold:
maxforwardspeed = ...
maxbackwardspeed = ...

Do playerstandardarmor.save("config/blah.cs");
and open thefileto see a listof all variables.
Pacnet2012²:
runForce = "this";


Faster than normal is a value greater than "4320"


Slower than normal is a value slower than "4320"
Mold:

--- Quote from: Pacnet2012² on August 08, 2012, 10:53:05 AM ---runForce = "this";


Faster than normal is a value greater than "4320"


Slower than normal is a value slower than "4320"

--- End quote ---
runForce doesn't change max speed does it
-Blok-:

--- Quote from: Mold on August 08, 2012, 10:39:59 AM ---maxforwardspeed = ...
maxbackwardspeed = ...

--- End quote ---
Where exactly would I put these?


--- Quote from: Mold on August 08, 2012, 10:39:59 AM ---Do playerstandardarmor.save("config/blah.cs");
and open thefileto see a listof all variables.

--- End quote ---
Do I have to do this?
Navigation
Message Index
Next page

Go to full version