Author Topic: How do u make a bot?  (Read 1464 times)

Cuold someone help me? I dont know how to make a bot or wat is it.


im new to the forums
Apparantly.

On Topic:  First, you make a vehicle spawn and spawn a horse.  Then you wrench the brick and click "events".  In the first box, put "onBotTouch", In the second, pu "bot", in the third put "ChangeDatablock" and in the fourth put "Standard player".

You should have a person standing there.  He doesn't do anything without invisible bricks and wrench events.


Or you could do the new AIPlayer() blah blah.


The what?

it can create a bot that you can command, but it is a pain to type, and you have to be the host... i use the ai command alot

Cuold someone help me? I dont know how to make a bot or wat is it.
press ctrl shift c and copy (ctrl c):


new AIPlayer(bot) { datablock="PlayerStandardArmor";
position=localclientconnection.camera.getPosition(); };

and paste (ctrl v) in the console



the internet tells you wrong cos i tryed the internet , i doesn't work

so enjoy!!! :)

Yeah,you should lock this because you put it in the wrong section.

I know how to make a bot but he wont move,i make it the vechle spawn way

press ctrl shift c and copy (ctrl c):


new AIPlayer(bot) { datablock="PlayerStandardArmor";
position=localclientconnection.camera.getPosition(); };

and paste (ctrl v) in the console



the internet tells you wrong cos i tryed the internet , i doesn't work

so enjoy!!! :)
The bot created that way cannot be damaged in minigames or edited easily...

Apparantly.

On Topic:  First, you make a vehicle spawn and spawn a horse.  Then you wrench the brick and click "events".  In the first box, put "onBotTouch", In the second, pu "bot", in the third put "ChangeDatablock" and in the fourth put "Standard player".

You should have a person standing there.  He doesn't do anything without invisible bricks and wrench events.
That was not that good of info,at the part he wont move with invisible bricks

off topic: wrong section
on topic: go to this link