Author Topic: How to change health and size in a player type.  (Read 1031 times)

I know this is a small question, but how do I change the max health and size in a player type?

I'm not sure if you can set it in the datablock, but if you can it'd be something datablock.scale = "5 5 5";

For individual players you can use client.player.setScale("5 5 5"); Just set their scale when they spawn.

So how do I change the health?
I'm making a Saxton Hale playertype and I want it to have LOTS of health and a little bigger than normal.

So how do I change the health?
I'm making a Saxton Hale playertype and I want it to have LOTS of health and a little bigger than normal.
If your making it, you'd better stick to scripting one, instead of modifying the default one.

But anyways, I think this is how you do it...
%client.player.setHealth("Blah");

If you want an example, download an example AI and look at server.cs or AI_<Player>.cs

So I would need to make an AI for what I want to do?
So is maxdamage max health?
Is there anyway to make the player bigger without console?

So I would need to make an AI for what I want to do?
So is maxdamage max health?
Is there anyway to make the player bigger without console?
Uhh... I think it depends on the model.

I'm not entirely sure on this, but try using the line:
Code: [Select]
mass = X;
X is represented Value.
WARNNING:  Before inserting this line, search for it in case of it already existing.