Author Topic: A better player size event  (Read 4566 times)

At the moment there are only 3 setplayerscale events (that I have seen). One is the default and sets between .2 and 2 or something, one sets the same thing except easier, and one sets between 1 and 5. Can we get all of those in one? The ease of the second with the functionality of the first and third? Meaning can we get one that will set you anywhere between .2 and 5 for all three dimensions? It can be like any of them, whether it is typing it in or using sliders or whatever.

The default also ranges from 1 to 5.
.2 to 2? Never seen that before.

Well I don't know the exact #s but I know there is one that makes you be at the minimum .2 of the default size. I have played with it a lot. Muchos funno. But I cannot find one that allows all the sizes!

The OP in a nice organized manner
-The standard setplayerscale limits you to 0,2 - 2, while the max you could to in script is 5
-There is a mod, which lets you change your 3 different scale parameters, length, width and height, but also limited to 0,2 - 2
-There is a mod that increases the standard limit to 3
  -The OP wants a 3 axis player size changing event, that can achieve the max 5 in TS, with an event.

Thank you Dannu for summing up my scatterbrained thoughts. Yes that is what I would like^

The minimum via script is actually 0.1 - 5.

Apparently ive learned that anything higher then 3 could crash the game

but im not very sure tho.

Apparently ive learned that anything higher then 3 could crash the game

but im not very sure tho.
Say wot?

Apparently ive learned that anything higher then 3 could crash the game

but im not very sure tho.
With a physics vehicle, very possible.

With a player, no.

There IS a mod for this called SetPlayerScaleFull which is in the RTB Archives...

^that one can set from 1-5 but does not do decimals. that was one of the three I mentioned before

^that one can set from 1-5 but does not do decimals. that was one of the three I mentioned before
Code: [Select]
registerOutputEvent(Player, "setPlayerScaleBetter", "float 0.1 5 0.1 1" TAB "float 0.1 5 0.1 1" TAB "float 0.1 5 0.1 1");

function player::setPlayerScaleBetter(%player, %a, %b, %c)
{
    %player.setPlayerScale(%a SPC %b SPC %c);
}

Happy?

Yes, but just in case I never have learned anything about any of this, what do I do with that?

Yes, but just in case I never have learned anything about any of this, what do I do with that?
Create a folder in your add-ons directory, name it event_setPlayerScaleBetter create a description.txt, you don't need to write anything in it, just needs to be there. Then create a server.cs and put that code in it.

.2 to 2? Never seen that before.
that's for timescale. I guess OP got confused