Author Topic: Phydeoux's Alligator and Skeleton bots (NOW ON RTB)  (Read 9635 times)

Alligator doesn't attack as well on land for some reason.

Alligator doesn't attack as well on land for some reason.
Based on what I just expiremented with it on land, it seems to be because of the jittering bug, he said he would fix that in an update.

what about a lego monkey and dog? we need a dog ai also!

Now make the zombie tank.

Please!


what about a lego monkey and dog? we need a dog ai also!

i wonder how hard it would be to convert bots from the old bot system to this new bot system...

If somebody could help me figure out how to script the skeletons so that when you name the bot "Archer" it will change the bot appearance to that of the archer I would be most grateful.

Ideally I want there to be only 1 skeleton bot hole, but when you event the bot to have certain names it will have different appearances.

3spooky5me
Totally going to use these.

If somebody could help me figure out how to script the skeletons so that when you name the bot "Archer" it will change the bot appearance to that of the archer I would be most grateful.

Ideally I want there to be only 1 skeleton bot hole, but when you event the bot to have certain names it will have different appearances.

You can package this function and do checks after the parent.

Code: [Select]
package somePackage
{
function serverCmdSetWrenchData(%client,%data)
{
parent::serverCmdSetWrenchData(%client,%data);

//brick name
%bn = strReplace(getField(%data,0),"N ","");
%bn = trim(strReplace(%bn,"_"," "));

%brick = %client.wrenchBrick;

if(%bn $= "archer")
{
//code
}
}
};
activatePackage(somePackage);


PS:

I wish you answered your PMS.

Your models never cease to impress me.

You can package this function and do checks after the parent.

-snip-


PS:

I wish you answered your PMS.
I think he wants it like how the sharks change if named "Cool Shark."
In which case you'd use this:
Code: [Select]
function BotName::onAdd(%this,%obj)
{
armor::onAdd(%this,%obj);
        scheduleNoQuota(10,%obj,functionName,%obj);
}

function functionName(%obj)
{
if(isObject(%obj))
{
if(%obj.name $= "NAME")
{
                        //STUFF HERE
}
}
}

Always good to have more bots!

The skeleton models are so good they should be default along with the skeleton face decal.
tophius made a better one, http://forum.blockland.us/index.php?topic=61695.msg5114952#msg5114952 it's complete with every node so you're able to customize it the way you wish

Surprise easter egg! (?)

Alligators can be infected with the zombie plague, being turned into ZOMBIE ALLIGATORS ',' Resident Evil has nothing on us

I think he wants it like how the sharks change if named "Cool Shark."
In which case you'd use this:
Code: [Select]
function BotName::onAdd(%this,%obj)
{
armor::onAdd(%this,%obj);
        scheduleNoQuota(10,%obj,functionName,%obj);
}

function functionName(%obj)
{
if(isObject(%obj))
{
if(%obj.name $= "NAME")
{
                        //STUFF HERE
}
}
}
Exactly what I want, however I can't seem to get it to work and I don't know why. I mean, it works fine for the shark.

Surprise easter egg! (?)

Alligators can be infected with the zombie plague, being turned into ZOMBIE ALLIGATORS ',' Resident Evil has nothing on us
Haha, well I don't have a whole lot of control on the matter; unless there is a variable to toggle whether the bot can be infected or not. If there is then I would only turn zombification off for the skeletons, because zombie alligators sound awesome, lol.