Author Topic: Jet player in gamemode  (Read 1857 times)

Game-mode Download: :https://www.dropbox.com/s/p9g365uk7oigpk1/DespairSydrome-Admin.zip?dl=1
Hello. I am using a game-mode (Thats quite alike murder mystery), And Im having a problem
The players can jet. In the code:

Code: [Select]
datablock PlayerData(PlayerDSArmor : PlayerStandardArmor)
{
shapeFile = "base/data/shapes/player/m_ds.dts";
uiName = "Despair Syndrome Player";

cameraMaxDist = 2;
cameraVerticalOffset = 1.25;
maxFreelookAngle = 2;

[b]       [size=15pt]canJet = 0;[/size][/b]
mass = 120;
maxTools = 4;
isDSPlayer = 1;

//minImpactSpeed = 15;
// minImpactSpeed = 18;
// speedDamageScale = 2.3;
// speedDamageScale = 1.6;

jumpEnergyDrain = 30;
minJumpEnergy = 30;
ShowEnergyBar = true;
jumpForce = 1200;
regenStamina = 0.5;
rechargeRate = 0;
jumpSound = "";

convertRatio0 = 0.01;  // stamina to exhaustion ratio
};

It still lets the players jet, which gets really annoying in the hallways of the map
Can you find out how this works- or make it to where the players don't jet?
Thanks

NOTE: It doesn't actully have that [b/] and the [size:15] in the code

Game-mode Download: [url*=http://:https://www.dropbox.com/s/p9g365uk7oigpk1/DespairSydrome-Admin.zip?dl=1]:https://www.dropbox.com/s/p9g365uk7oigpk1/DespairSydrome-Admin.zip?dl=1[/url]

You seriously humped that url in the buttocks there. I suggest just doing

[url*]https://www.dropbox.com/s/p9g365uk7oigpk1/DespairSydrome-Admin.zip?dl=1[/url]

Also, it appears you've taken advantage of my addons pack! I'm flattered.

Anyway, you seem to have just about the same issue as Bloo Kirby had. A common one. First things first, leave the playertype code as it is. You see, the reason players can jet is because the DS playertype failed to load at all. That's because you forgot to do one important thing: Install the playertype model and some special colors!

To do this, you need to get into the Gamemode_Despair_Syndrome.rar file, and navigate to res/shapes/player. You will find an m_ds.dts playertype model, an Orange D.png color and a Red Deep.png color. Also a readme file that tells you to extract these files but nevermind that, keep reading this guide. Take the model and the colors and extract them to your base Blockland folder at Blockland/base/data/shapes/player. Now you're all set!

Start the gamemode like before, without touching anything else. If you did the simple procedure correctly, the playertype should work fully without jetting and you shall be able to host Despair Syndrome! Congratulations!

nobb is a thing btw

If you have coding issues I recommend posting in mod help

nobb is a thing btw

If you have coding issues I recommend posting in mod help

It's not a coding issue. See here:

[...] First things first, leave the playertype code as it is. You see, the reason players can jet is because the DS playertype failed to load at all. That's because you forgot to do one important thing: Install the playertype model and some special colors!

I had this issue and I solved it by doing that. Bloo Kirby the 2nd also had this issue and it was the same solution.


Hahaha there is a readme and no one read it

Hahaha there is a readme and no one read it
To be fair. The readme is stuffed in the folder that contains the files you have to move.

Thanks a lot, I really appreciate the help.