Author Topic: Potions download link  (Read 2259 times)

i'm very interested in a modification for Event_setPlayerScaleFull so that bots can also be scaled as well

so you can have giant bots, 5 times larger than normal

if a copy of it is needed, here
(link on the topic doesn't work any more apparently?)

HERE
http://forum.blockland.us/index.php?topic=291941.0


EDIT:

i also need a link to the Potions items, found in this topic
http://forum.blockland.us/index.php?topic=155962.0

the download links don't work, and these are rather important for me


Potions.

http://forum.blockland.us/index.php?topic=292400.0
« Last Edit: February 02, 2016, 12:07:19 PM by The Resonte! »


onrespawn -> bot -> setPlayerScaleFull


only affects bricks
I think he means "onBotSpawn"

All player events should work on bots.
Which includes setPlayerscale.

I think he means "onBotSpawn"

All player events should work on bots.
Which includes setPlayerscale.
does not appear

This should overwrite the current setPlayerScale with 0.1-5 scale and have a setScale that can set x y z scale.
Download: https://www.dropbox.com/s/ch2b7bey8fqvw05/Event_FullScale.zip?dl=0

Source: (looks simple)
Code: server.cs (25 lines)
//Overwrite the current setPlayerScale event, max is now 5 instead of 2
registerOutputEvent("Bot", "setPlayerScale", "float 0.1 5 0.1 1");
registerOutputEvent("Player", "setPlayerScale", "float 0.1 5 0.1 1");

//Sets scale x y z instead of all
function AIPlayer::setFullScale(%this, %x, %y, %z)
{
    %x = mFloatLength(mClampF(%x, 0.01, 5), 2);
    %y = mFloatLength(mClampF(%y, 0.01, 5), 2);
    %z = mFloatLength(mClampF(%z, 0.01, 5), 2);

    %this.setScale(%x SPC %y SPC %z);
}

function Player::setFullScale(%this, %x, %y, %z)
{
    %x = mFloatLength(mClampF(%x, 0.01, 5), 2);
    %y = mFloatLength(mClampF(%y, 0.01, 5), 2);
    %z = mFloatLength(mClampF(%z, 0.01, 5), 2);

    %this.setScale(%x SPC %y SPC %z);
}

registerOutputEvent("Bot", "setFullScale", "float 0.1 5 0.1 1" TAB "float 0.1 5 0.1 1" TAB "float 0.1 5 0.1 1");
registerOutputEvent("Player", "setFullScale", "float 0.1 5 0.1 1" TAB "float 0.1 5 0.1 1" TAB "float 0.1 5 0.1 1");

« Last Edit: January 23, 2016, 05:50:06 PM by Kyuande »

This should overwrite the current setPlayerScale with 0.1-5 scale and have a setScale that can set x y z scale.
Download: https://www.dropbox.com/s/ch2b7bey8fqvw05/Event_FullScale.zip?dl=0
that's amazing

you should post it in add-ons


so now that my first request has been finished, there's still the other: a download link to the Potions items. link doesn't work.

bump, i still need a link to a download for the Potions mod

if you pm me i'll post it here fyi




im pretty sure k9 kid has them, you could go on his server and ask him for them