| Blockland Forums > Help |
| Changing the Spped of a Playertype |
| << < (2/3) > >> |
| Aide33:
Ingore both of these guys Runforce is the acceleration --- Code: ---datablock PlayerData(PlayerFirstPerson : PlayerStandardArmor) { minJetEnergy = 0; jetEnergyDrain = 0; canJet = 0; firstPersonOnly = 1; uiName = "First-Person Player"; showenergybar = false; maxforwardspeed = something; maxbackwardspeed = something; maxsidewaysspeed = something; }; --- End code --- |
| Aide33:
--- Quote from: Aide33 on August 08, 2012, 02:14:20 PM ---Ingore both of these guys Runforce is the acceleration --- Code: ---datablock PlayerData(PlayerFirstPerson : PlayerStandardArmor) { minJetEnergy = 0; jetEnergyDrain = 0; canJet = 0; firstPersonOnly = 1; uiName = "First-Person Player"; showenergybar = false; maxforwardspeed = something; maxbackwardspeed = something; maxsidewaysspeed = something; runforce = the acceleration speed of the player; }; --- End code --- --- End quote --- |
| -Blok-:
So just copy that^ and paste it into the file (and add the numbers of course)? |
| Mold:
--- Quote from: -Blok- on August 08, 2012, 02:18:02 PM ---So just copy that^ and paste it into the file (and add the numbers of course)? --- End quote --- Um Yes Of course ... |
| -Blok-:
I used the code above and I set my numbers to these: maxforwardspeed = 3 maxbackwardsspeed = 2 maxsidewaysspeed = 0 The forward and backward speeds are perfect, but the sideways speed is the same as a no-jet player or standard player. I have tried it at 1, 2, and 3, but it's always the same speed. Any way to fix this? |
| Navigation |
| Message Index |
| Next page |
| Previous page |