Blockland Forums > Suggestions & Requests
Multiple Speed No Jet Playertypes
Gen. Hothauser:
Basically, a pack of five playertypes, quarter speed, half speed, 3/4 speed, 1/3 speed, 2/3 speed, without jets. This would be useful.
Gen. Hothauser:
Bump.
If you aren't willing to do it, then I'll have to find some old program, called afterbrick I think, which I think had a playertype maker.
Katadeus:
It's actually extremely easy to do.
I think I may be able to entail everything necessary here.
Folder/file hierarchy
Add-ons - Player_MultiSpeed - Server.cs
- Namecheck.txt
- Description.txt
- Player_QuartSpeed.cs
- Player_HalfSpeed.cs
- Player_ThreeFourthSpeed.cs
- Player_OneThirdSpeed.cs
- Player_TwoThirdSpeed.cs
Server.cs
exec("./Player_QuartSpeed.cs");
exec("./Player_HalfSpeed.cs");
exec("./Player_ThreeFourthSpeed.cs");
exec("./Player_OneThirdSpeed.cs");
exec("./Player_TwoThirdSpeed.cs");
Then in each of the player cs files, use this format:
datablock PlayerData(PlayerINSERTNAMEHERE : PlayerStandardArmor)
{
runforce = RUNFORCEHERE;
minJetEnergy = 0;
jetEnergyDrain = 0;
canJet = 0;
uiName = "INGAMENAME";
showEnergyBar = false;
};
Now, unfortunately, I do not know the default runforce. I may figure that out in a moment if I decide not to be lazy. Something that I do not know whether or not it would work would be to use
runforce = runforce/2;
but since I'm an idiot that may not work.
If this doesn't work, then talk to lugnut or someone smart like that.
Freeze:
it'd be cooler if maybe like the 'set player scale' event there was a 'set player speed' event with a slider and such
Gen. Hothauser:
I tried looking for Afterblock, not brick, and the webpage that it said the download was posted on is gone, i had it a long time ago, then i rememberd Platinum Blockland, and same thing happened, so if anyone has afterblock or platinum blockland, then can you pm me the link?