Author Topic: Playertype Suggestion  (Read 631 times)

Sorry if this is a lengthy request at all, but I would need a playertype that:
  • Walks a little slower than the default, but can sprint for a short period of time
  • Can't jet (that should be sorta obvious anyway i guess)
  • Can't jump
  • Can't use third person
  • Has 10 slots
And I'd also like to know if it's possible to make another playertype, with all these but it can't move. If I had items in the extra slots, and switched to the playertype which can't move, will the items be unaffected?
« Last Edit: June 15, 2016, 11:56:59 PM by SCP - 096 »

That doesn't looks very hard.  There are examples of each of those attributes in other playertypes.

Items do transfer just fine.

hmmmmmm

Quote from: thoughts
//playertype suggestion thingie
datablock PlayerData(Player???Armor : PlayerStandardArmor)
{
//how much items you can hold or something
   maxTools = "9";
   maxWeapons = "9";

jumpForce = 0; //no jump
   
   canJet = 0; //no jet


   maxForwardSpeed = 6; //speed slightly reduced
   maxBackwardSpeed = 3;
   maxSideSpeed = 5; //if you wanted the player to not move just switch all numbers to 0
maxForwardCrouchSpeed = "3";
maxBackwardCrouchSpeed = "2";
maxSideCrouchSpeed = "2";

   uiName = "???";
   showEnergyBar = false;
firstPersonOnly = "1"; //forces first person


//not enough effort to figure out the sprinting thing besides copy and paste
};
« Last Edit: June 19, 2016, 11:59:57 AM by The Resonte! »

Thank you. I'll try to do something with this I guess