Author Topic: Some questions about bots  (Read 3071 times)

So I'm working on a project that will involve a bunch of bots and I've got a few questions:

Is it possible to give bots more health than they start with? I've tried OnBotSpawn > SetHealth > [value] but they still seem to only have their default health. I want to be able to give blockheads over 100 health and zombies over 50.

Is there a way to make bots hold still while attacking WITHOUT having to fence them in with invisible bricks? Failing that, would it be possible for me to whip up a custom playertype that can't move, only look around and shoot?

Ok another question now, is it possible to make bots not attempt to charge players? Like, if I give a bot a gun I don't want them running up to point blank, is there a way to fix that behavior?
« Last Edit: July 12, 2015, 06:19:19 PM by Qwepir »

question 1: not with default events. augh. perhaps with this thread
zombies's maximum health is 50? never knew

question 2: there are a few methods, like making it so that the bot falls into a rowboat or stationary vehicle, as long as they don't leave. i'm fairly certain that a playertype that doesn't move exists but is lost, so you probably can
« Last Edit: July 11, 2015, 02:00:52 PM by The Resonte! »

You can make a script that sets all of the bot's movement speeds to zero, in order to make him stand still. You can also override jumping so it doesn't do anything.


Use this: http://lugnut.co.vu/add_ons/Player_NoMove.zip
Thanks.

question 1: not with default events. augh. perhaps with this thread
zombies's maximum health is 50? never knew
Would I have to do that for every single bot? Because if so, I'll only want to do that as a last resort.

You could get the boss player types and sethealth to how much you need on each bot. Although that would require another event line of setting the playertype if you're up for that.

You could get the boss player types and sethealth to how much you need on each bot. Although that would require another event line of setting the playertype if you're up for that.
Do you have a link? I'm trying to use the search function but it's not being helpful.

Set Wander distance to stay at spawn, then where ever you place them they can't move but they can look at you to shoot.

Set Wander distance to stay at spawn, then where ever you place them they can't move but they can look at you to shoot.
no they will chase you down as soon as they notice you

Do you have a link? I'm trying to use the search function but it's not being helpful.
It's called Player_Boss in here.

It's called Player_Boss in here.
Thanks, that works for what I need.

Use this: http://lugnut.co.vu/add_ons/Player_NoMove.zip
This does too, the bots are a bit stupid and like to shoot the walls instead of through the firing slit but nothing can be done about that so it's all good.


I think this mod works with bots

http://forum.blockland.us/index.php?topic=262818.0
nice, that helps too

Ok another question now, is it possible to make bots not attempt to charge players? Like, if I give a bot a gun I don't want them running up to point blank, is there a way to fix that behavior?

Am I going crazy? I thought there was already a Frozen_Playertype in default blockland. Maybe it was a slayer exclusive thing.

nice, that helps too

Ok another question now, is it possible to make bots not attempt to charge players? Like, if I give a bot a gun I don't want them running up to point blank, is there a way to fix that behavior?

I wish there was some way to set the bot's attack range but I don't really think there is currently an easy way to do this