.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   Bots joining/leaving (http://forums.bots-united.com/showthread.php?t=7483)

midnite8 13-01-2010 04:58

Bots joining/leaving
 
I know this question must have been asked many times and I have searched but sorry beforehand.

I am trying to just have 4 bots in the server when there are NO PLAYERS, but when players join I want ALL bots or however many players join, the number of bots be removed.

I kept changing values in the minbot/maxbot/quota but I couldn't get to work.

KWo 13-01-2010 20:55

Re: Bots joining/leaving
 
http://podbotmm.bots-united.com/doc_v3/html/pbmm.html

There is a paragraph about auto add/kick bot function. There are the only features they are directly included in podbot mm. If You need another way of adding/kicking bots, You have to use external plugins - like this one I wrote for AMX X:
http://forums.alliedmods.net/showthread.php?t=71959

midnite8 13-01-2010 21:33

Re: Bots joining/leaving
 
after messing around with the numbers I finally got it.

Sorry but here is the last question, I am trying to restrict awp/autos for the bots. I looked at the restrictions but I don't get it, each weapon has a different number and at the end there is the command

pb_restrweapons "000000000000000000000000"

How exactly do I restrict awp and auto, they are numbers 21 and 22

KWo 14-01-2010 20:50

Re: Bots joining/leaving
 
Quote:

Originally Posted by podbot.cfg
# Weapons, equipment and ammo restriction (for buying)
# bit numbers meaning - the left one is the 0 in that string cvar
# Pistols restriction
# 0 - KNIFE
# 1 - USP
# 2 - GLOCK18
# 3 - DEAGLE
# 4 - P228
# 5 - ELITE
# 6 - FIVESEVEN
# Shotgun restrictions
# 7 - M3
# 8 - XM1014
# SMG restrictions
# 9 - MP5NAVY
# 10 - TMP
# 11 - P90
# 12 - MAC10
# 13 - UMP45
# Rifles restrictions
# 14 - AK47
# 15 - SG552
# 16 - M4A1
# 17 - GALIL
# 18 - FAMAS
# 19 - AUG
# 20 - SCOUT
# 21 - AWP
# 22 - G3SG1
# 23 - SG550
# Machine Gun restriction
# 24 - M249
# Shield restriction
# 25 - SHIELD
pb_restrweapons "00000000000000000000000000"

The knife cannot be actually restricted, so the setting:
pb_restrweapons "10000000000000000000000000"
has no sens.

To restrict USP:
pb_restrweapons "01000000000000000000000000"

To restrict GLOCK18:
pb_restrweapons "00100000000000000000000000"

To restrict DEAGLE:
pb_restrweapons "00010000000000000000000000"

(...)
To restrict AWP:
pb_restrweapons "00000000000000000000010000"

To restrict G3SG1:
pb_restrweapons "00000000000000000000001000"

To restict SG550:
pb_restrweapons "00000000000000000000000100"

To restrict M249:
pb_restrweapons "00000000000000000000000010"

To restrict shield:
pb_restrweapons "00000000000000000000000001"

If You want to restrict 2 or more weapons, You need to combine those bits, i.e. - if You want to restrict M249 and DEAGLE, You need to do it so:
pb_restrweapons "00010000000000000000000010"

That's it. If You have troubles to count to 25, I cannot help. Sorry.
If You are using AMX X and You want podbots to follow the restrictions humans have, You need to install this plugin:
http://filebase.bots-united.com/inde...ct=view&id=423


All times are GMT +2. The time now is 19:52.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.