Kill bots for a movie

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Kill bots for a movie

Post by small_sumo »

Yeah bro I need to kill all bots when I go to my ending movie cos they kinda run onto the set acting all stoopid hehe.

Thanks
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Simply kick them all :wink: Does give an annoying lot of messages though.. :?

setcvar "jvbot_kickall" "1"
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Never mind drawhud 0 should fix that. Thanks mate, your contribution is again noted.


:)
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Hmmm yeah that didnt fly, oh well it wont matter when the server is full of real players.

:)
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Can I freeeze the bots? Is there a command for that? Or a command to hide bots?

Pleasee help, thanks mate.
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

maybe we can make a simple script that glues each bot to their ass on command.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm glueing might work :wink: but it's not very bug proof :?

I know a quick solution but it's dirty as hell: make a big box around your map (a non-solid script_object) with a targetname (or use a complex entity with multiple brushes if your skybox requires it). Then in your script type:

$targetnameofobject disconnect_paths

It'll completely disable their ability to navigate around the map...
Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

ugh man thats nasty! Doesnt all of your bots have the same name, like $bot? We could just glue them easily like this:

Code: Select all

for (local.i = 1; local.i <= $bot.size; local.i++)
{
    local.subject = $bot[local.i]
    local.stay= spawn script_origin
    local.stay.origin = local.subject.origin
    local.subject glue local.stay
    local.subject.stuck = local.stay
}
Then later on we make another for loop to unglue the bots, and delete the script objects "self.stuck
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

I might kill them with a mortar field............. When you see the movie you will know what I mean.

:)
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Post Reply