Author Topic: New Player Type Help  (Read 3896 times)

Is there any way to make a player type that when the player is clicked on he drops his current weapon?



This is for HELP like, "I don't know the No jet player type Armor name, could someone tell me please?"
Not for tutorials.

This is for HELP like, "I don't know the No jet player type Armor name, could someone tell me please?"
Not for tutorials.
No, this is coding help. He wants help making this, therefore his topic is valid. This is HELP, not yell at someone for not asking the way you want them to.

To me it looks like he is asking for a tutorial

To me it looks like he is asking for a tutorial
Butler, why do you think you have a say in this matter?

This is help. For all coders. If he needs a tutorial then he should be able to request one.

Butler, why do you think you have a say in this matter?

This is help. For all coders. If he needs a tutorial then he should be able to request one.
Im sorry then.

I can show you a few simple things:
Code: [Select]
datablock PlayerData(PlayerHaloArmor : PlayerStandardArmor)
{
   runForce = 100 * 100;     //How fast it runs
   runEnergyDrain = 0;     //make this higher than "0" and it will get slower the more you run
   minRunEnergy = 0;     //I honestly Have no idea what this does..
   maxForwardSpeed = 20;     //How fast it moves going forward
   maxBackwardSpeed = 15;     //How fast it moves going backwards
   maxSideSpeed = 18;     //How fast it runs strafing

   maxForwardCrouchSpeed = 7;     //How fast it goes forward while crouching
   maxBackwardCrouchSpeed = 7;     //How fast it goes backwards while crouching
   maxSideCrouchSpeed = 7;     //How fast it strafes while crouching

   jumpForce = 13 * 90; //8.3 * 90;     //The power in the jump
   jumpEnergyDrain = 0;     //Make this higher that "0" and it will jump lower, and lower
   minJumpEnergy = 0;     //How low it jumps
   jumpDelay = 0;     //Make this, let's say "5". Then when you hot the spacebar to jump, it will wait 5 seconds

minJetEnergy = 0;     //Self Explanatory
jetEnergyDrain = 0;     //make this higher than "0" and the Jet is limited
canJet = 0;     //Self explanatory

uiName = "Halo Player";     //This is the fie name In the Blockland
showEnergyBar = true;     //This determines if you want that blue energy bar at the top right of the HUD, replace "true" with "false"

   runSurfaceAngle  = 55;     //Idk what this does
   jumpSurfaceAngle = 55;     //Idk what this does either
};

I can show you a few simple things:
Code: [Select]
datablock PlayerData(PlayerHaloArmor : PlayerStandardArmor)
{
   runForce = 100 * 100;     //How fast it runs
   runEnergyDrain = 0;     //make this higher than "0" and it will get slower the more you run
                                        //incorrect, it drains the energy bar.
   minRunEnergy = 0;     //I honestly Have no idea what this does..
                                       //Minimum ammount of energy required to run.
   maxForwardSpeed = 20;     //How fast it moves going forward
   maxBackwardSpeed = 15;     //How fast it moves going backwards
   maxSideSpeed = 18;     //How fast it runs strafing

   maxForwardCrouchSpeed = 7;     //How fast it goes forward while crouching
   maxBackwardCrouchSpeed = 7;     //How fast it goes backwards while crouching
   maxSideCrouchSpeed = 7;     //How fast it strafes while crouching

   jumpForce = 13 * 90; //8.3 * 90;     //The power in the jump
   jumpEnergyDrain = 0;     //Make this higher that "0" and it will jump lower, and lower
                                           //Incorrect, this drains energy from the bar when you jump.
   minJumpEnergy = 0;     //How low it jumps
                                         //Incorrect, this is the minimum ammount of energy you need to jump
   jumpDelay = 0;     //Make this, let's say "5". Then when you hot the spacebar to jump, it will wait 5 seconds
                               //5000 would be 5 seconds.

minJetEnergy = 0;     //Self Explanatory
jetEnergyDrain = 0;     //make this higher than "0" and the Jet is limited
canJet = 0;     //Self explanatory

uiName = "Halo Player";     //This is the fie name In the Blockland
showEnergyBar = true;     //This determines if you want that blue energy bar at the top right of the HUD, replace "true" with "false"

   runSurfaceAngle  = 55;     //Idk what this does
                                             //The angle of the slope that the player can walk on, highest obviously being whatever doesn't bring it down by gravity.
   jumpSurfaceAngle = 55;     //Idk what this does either
                                              //Above, except what you can jump off of. Will not work on anything 90 or higher, no matter what you set it to.
};

Fixed.

I didn't know the console was milliseconds, but in proud, I got most of them correct.

Thanks for the help, but no one has answered my first question, Is there any way to make a player type that when the player is clicked on he drops his current weapon?
« Last Edit: February 28, 2010, 12:59:59 PM by samashi123 »

Actually someone already answered. The answer was yes.

Well then can someone tell me how?

Try actually looking at a related script, and see if you can figure it out.