Raised This Month: $51 Target: $400
 12% 

Kill Bots - kills bots when all humans are dead


Post New Thread Reply   
 
Thread Tools Display Modes
DaSilva
Senior Member
Join Date: Oct 2005
Location: Germany
Old 11-01-2005 , 14:46  
Reply With Quote #21

How can I configure this Plugin to kill all PodBots automatically after all humans are dead?
DaSilva is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 11-02-2005 , 03:45  
Reply With Quote #22

Quote:
Originally Posted by MistaGee
Code:
amx_killbots_cmd "pb killbots"
Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
DaSilva
Senior Member
Join Date: Oct 2005
Location: Germany
Old 11-02-2005 , 08:29  
Reply With Quote #23

But this does not kill them automatically if not admin is on the server and no one can type this!?

At start of a round in the middle of the screen is a blinking message "CT-Bot will be added"
Why?
DaSilva is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 11-02-2005 , 08:38  
Reply With Quote #24

this is bcuz I implemented a team size management which autoadds bots if there's too few players. you can disable this by setting amx_killbots_enableadd 0.

All those settings should be done in server.cfg or amxx.cfg, then you won't have probs giving the commands. once you set the correct command in the config, the server will execute it automatically to kill the bots. you won't need an admin then...

Set the CVars correctly and you'll see how nicely this works

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 11-02-2005 , 09:47  
Reply With Quote #25

How does it do if no humans are in the server but they come in and all the bots are stuck and there dead does it react to that. Sorry for not testing
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 11-02-2005 , 11:15  
Reply With Quote #26

what do you mean? Well sooner or later the round is gonna be over anyway, then the problem should fix itself, if I understand you correctly...

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
DaSilva
Senior Member
Join Date: Oct 2005
Location: Germany
Old 11-02-2005 , 12:51  
Reply With Quote #27

Now I have

Code:
amx_killbots_enableadd 0
amx_killbots_cmd "pb killbots"
in my amxx.cfg but the last living PodBot was not killed (has this something to do with the bomb which was planted?) after he killed me and noone else was living!
DaSilva is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 11-02-2005 , 12:59  
Reply With Quote #28

Quote:
Originally Posted by DaSilva
(has this something to do with the bomb which was planted?)
that's right it, after the bomb was planted the plugin goes idle to allow the bots to defuse / defend the bomb or w/e even if the last human dies...

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 11-02-2005 , 21:44  
Reply With Quote #29

Quote:
Originally Posted by MistaGee
what do you mean? Well sooner or later the round is gonna be over anyway, then the problem should fix itself, if I understand you correctly...

Greetz MGee
Na cause some maps go to 0 and stay
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 11-02-2005 , 22:10  
Reply With Quote #30

I must say, your method is extremely strange. A simple for loop could do it.

Code:
new playersnum = get_playersnum(), i; for(i = 0;i <= playersnum;i++) {     if(is_user_bot(i) && is_user_alive(i))         user_slay(i) }

I think that's much better than depending on the bot app to have a command to slay all of them.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode