Author Topic: What is the standard speed of default playertypes?  (Read 929 times)

Hi, I've been trying to figure out the number of the "Player_Nojet" or "Player_standard" but there doesn't seem to be a code in the .cs file..
I am editing another playertype and I want to replace this quick speed which is "15" to the normal run speed. Please help.

The code is this: "maxForwardSpeed = 18;"
What number should I change it to?
« Last Edit: February 03, 2015, 02:40:54 PM by Death The Kid »

Bump. Please help, someone..

You can just parent your player data to the default player type example:
Code: [Select]
datablock PlayerData(T_Bandit : PlayerStandardArmor)
{
maxHealth=80;

jumpForce=10 * 90;
jumpDelay=0;

minJetEnergy=0;
jetEnergyDrain=0;
canJet=0;

uiName = "T Bandit";
showEnergyBar=false;
};

This one will alter only what you see, the speed shall remain the same as the default playertype.
Also, don't expect help so quickly, you can also post coding-related help in the coding help topic and it will get answered quicker than general modification help.

You can just parent your player data to the default player type example:
Code: [Select]
datablock PlayerData(T_Bandit : PlayerStandardArmor)
{
maxHealth=80;

jumpForce=10 * 90;
jumpDelay=0;

minJetEnergy=0;
jetEnergyDrain=0;
canJet=0;

uiName = "T Bandit";
showEnergyBar=false;
};

This one will alter only what you see, the speed shall remain the same as the default playertype.
Also, don't expect help so quickly, you can also post coding-related help in the coding help topic and it will get answered quicker than general modification help.
Oh thanks.