.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Ideas (http://forums.bots-united.com/forumdisplay.php?f=50)
-   -   Restricting on specific weapons. (http://forums.bots-united.com/showthread.php?t=4830)

Ancient 15-05-2006 00:13

Re: Restricting on specific weapons.
 
Well being able to restrict weapons for bots only like the way Condition Zero has it would be nice.
Like in pod_bot.cfg list the weapons allowed etc... like:
pb_wpon_gilal 0
pb_wpon_m4a 1
pb_wpon_machinegun 0 etc...

Just a thought.

KWo 15-05-2006 08:47

Re: Restricting on specific weapons.
 
Read carefully about weapon restriction in podbot.cfg included in beta zip. You can even control it from console during the game.

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"

# 0 - vest
# 1 - vest and helmet
# 2 - flashbang
# 3 - he grenade
# 4 - smoke grenade
# 5 - defuser
# 6 - night vision googles
# 7 - primary ammo
# 8 - secondary ammo
pb_restrequipammo "000000000"

If You just want to restrict a shield and awp You need to write:

pb_restrweapons "00000000000000000000010001"

woot woot 16-05-2006 02:53

Re: Restricting on specific weapons.
 
Omg, I think I was restricting wrong then... v.v Because I wanted to restrict shield, I went:

Quote:

pb_restrweapons "000000000000000000000000025" xD
Now I know that it was only 1 or 0... I don't recall getting instructions for it lol. :) At least no errors came up.

KWo 16-05-2006 10:46

Re: Restricting on specific weapons.
 
It's done so to solve easy way the compatibility for weapon restrictions between podbot mm and AMX/AMXX/ClanMod. If You asre using all-in-one beta (with AMX X 1.71) - there is rewritten restrict.sma plugin to work with human players and podbot mm (once the admin decides to ban some weapon/equipement - it is unavailable now for human-players and bots - before it wasn't working for bots at all).

Quote:

Originally Posted by KWo
+ Changed: all settings in podbot.cfg are cvars since now.
+ Changed: addbot is replace by add command (the syntax is the same)
+ Added: access to podbot menu when the game is created on a dedicated server.
+ Changed: Bots detect friend/enemy according to the TeamInfo messages instead checking the model (it should work correctly with such mods as SuperHero, ChickenMod etc). Thanks to T(+)rget (AMX), Bailopan (AMX MOD X) and THE_STORM.
+ Added: support for compatibility with weapon restriction management done by fan mods (as AMX , AMX X, AdminMod, ClanMod) - if weapon is restricted for human-players - bots will not buy that item , too :)
(...)



All times are GMT +2. The time now is 13:39.

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