Blockland Forums > Modification Help
Playertype crashing blockland. (new trouble)
slimabob:
I am just getting into scripting and was wondering why is my playertype crashing blockland when I try to start a server with it enabled? I will provide the code. It is just really a modified quake like player (if I recall)
--- Code: ---//slowPlayer.cs
//a new player datablock with slow movement
datablock PlayerData(playerQuakeArmor : PlayerStandardArmor)
{
runForce = 20 * 10;
runEnergyDrain = 0;
minRunEnergy = 0;
maxForwardSpeed = 15;
maxBackwardSpeed = 15;
maxSideSpeed = 15;
maxForwardCrouchSpeed = 5;
maxBackwardCrouchSpeed = 5;
maxSideCrouchSpeed = 5;
jumpForce = 9 * 90; //8.3 * 90;
jumpEnergyDrain = 0;
minJumpEnergy = 0;
jumpDelay = 0;
minJetEnergy = 0;
jetEnergyDrain = 0;
canJet = 0;
uiName = "Slow Player";
showEnergyBar = false;
runSurfaceAngle = 55;
jumpSurfaceAngle = 55;
};
--- End code ---
Thank you.
Chrono:
PlayerdStandardArmor
There seems to be a d that doesn't belong.
slimabob:
Thanks, i fixed that and am now starting a server "crosses fingers"
slimabob:
Ok, now the server starts up but it wont show up in the "playertype" list. Is there something that I am missing?
(double toast)
Chrono:
You might wanna change the datablock's name. The original quake player might be overwriting it.
playerQuakeArmor
Change that.