.:: Bots United ::.

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

Burnt Powder 22-06-2004 20:41

Weapon Proirities
 
Hello, I was wondering. I have my DS set up to load 10 bots on startup and on a map change. I have in my botweapon.cfg this:

Quote:

# The following Tables stores the Weapon Priorities of the Bots depending on
# Personality (it affects buying & picking up better weapons from the
# ground).
# Weapon Priorities for a Normal Standard Bot
[NORMAL]
0,1,2,3,4,6,5,9,13,17,16,14,18,19,15,21,22,23,20,7 ,8,24,11,10,12,25
# Weapon Priorities for an Agressive Bot
[AGRESSIVE]
0,1,2,3,4,6,5,9,13,17,16,14,18,19,15,21,22,23,20,7 ,8,24,11,10,12,25
# Weapon Priorities for a Defensive Bot
[DEFENSIVE]
0,1,2,3,4,6,5,9,13,17,16,14,18,19,15,21,22,23,20,7 ,8,24,11,10,12,25
As you can see, the proirity is the same for all three and is basicly the priority of any CS player regardless if they were being agressive, defensive, or normal. My problem is no matter what order I put in, the bots buy POS guns like the shottys and the MAC10/TMP which are at the very bottom of the priority list.

Since I installed "The Ultimate POD-Bot Menu v1.1" (Great Plugin), I can change the buy modes to rifle, sniper rifle, shotty, pistol, and so on. This is nice because I want it to be on rifle all the time however, as soon as the map changed, it is right back to the POS shottys and MAC10/TMP buying.

Is there any way I can make it so that it is always on RIFLE even after map changes or server restarts?

Would it be ok to set guns I do not EVER want to bots to buy to -1 in the botweapons.cfg file or is that a no-no?

TIA

DarthInsinuate 23-06-2004 00:28

Re: Weapon Proirities
 
there's a little section in the .cfg to disallow buying of certain weapons:

# Standard Weapon Tab for CS & DE Maps
[STANDARD]
-1,-1,-1,2,2,0,1,2,2,2,1,2,0,2,0,0,1,1,2,2,0,1,2,0,1,1

Burnt Powder 23-06-2004 01:52

Re: Weapon Proirities
 
Quote:

Originally Posted by DarthInsinuate
there's a little section in the .cfg to disallow buying of certain weapons:

# Standard Weapon Tab for CS & DE Maps
[STANDARD]
-1,-1,-1,2,2,0,1,2,2,2,1,2,0,2,0,0,1,1,2,2,0,1,2,0,1,1

Ok so it is fine to do that then because in my last post I said asked......Would it be ok to set guns I do not EVER want to bots to buy to -1 in the botweapons.cfg file or is that a no-no?

sPlOrYgOn 23-06-2004 02:38

Re: Weapon Proirities
 
yes you can change it

doom777 24-07-2004 00:56

Re: Weapon Proirities
 
i tryed editing my botweapons.cfg so the bots want buy any snipers and mostly buy ak's & m4's but when i did the server wouldn't start i got podbot_mm.dll has causes errors
and server needs to close
it worked fine when i put the original cfg back in
anyone got this file pre edited laying around sence i'm unable to do it myself

Burnt Powder 24-07-2004 01:15

Re: Weapon Proirities
 
I no longer have the original but I have edited mine so that they can only buy MP5's, AK's, and M4's and I know that it works just fine. I also have it edited so that they will not pick up a sniper rifle.

Code:

# This File holds some Tables for buying of weapons
# and configuration of Weapon Prefs for Personalities
#
# The Tables start from the least desired Weapon
# to the best.
# BE EXTREMELY CAREFULL WITH THESE TABLES BECAUSE A WRONG NUMBER
# OF ENTRIES OR A SCREWED UP FORMAT CAN EASILY CRASH POD, THERE'S
# NO ERROR PARSING DONE!
# Numbering of the weapons:
# 0 - KNIFE
# 1 - USP
# 2 - GLOCK18
# 3 - DEAGLE
# 4 - P228
# 5 - ELITE
# 6 - FIVESEVEN
# 7 - M3
# 8 - XM1014
# 9 - MP5NAVY
# 10 - TMP
# 11 - P90
# 12 - MAC10
# 13 - UMP45
# 14 - AK47
# 15 - SG552
# 16 - M4A1
# 17 - GALIL
# 18 - FAMAS
# 19 - AUG
# 20 - SCOUT
# 21 - AWP
# 22 - G3SG1
# 23 - SG550
# 24 - M249
# 25 - SHIELD
# Following are Tables which specify which Team is allowed
# to buy a weapon on a Map. You can also use it to allow/disallow
# Weapons for a Team or a Map/Gamemode (remember that some
# Weapons are team-specific and can't be bought by another team).
# -1 = Disallow Buying for any Team
# 0 = Terrorist Team only
# 1 = CT Team only
# 2 = Can be bought by both Teams
# Standard Weapon Tab for CS & DE Maps
[STANDARD]
-1,-1,-1,-1,-1,-1,-1,-1,-1,2,-1,-1,-1,-1,0,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# Weapon Tab for AS Maps
[AS]
-1,-1,-1,2,2,0,1,1,1,1,1,1,0,2,0,-1,1,0,1,1,0,0,-1,1,1,-1
# Escape & Knife Arena Maps aren't supported by CS and
# so I don't care about them in POD-Bot neither !
# Some example Tables:
# Pistols Only
#-1,-1,-1,2,2,0,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# Shotguns Only
#-1,-1,-1,-1,-1,-1,-1,2,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# SubMachine-Guns Only
#-1,-1,-1,-1,-1,-1,-1,-1,-1,2,1,2,0,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
 
# The following Tables stores the Weapon Priorities of the Bots depending on
# Personality (it affects buying & picking up better weapons from the
# ground).
# Weapon Priorities for a Normal Standard Bot
[NORMAL]
0,3,1,2,4,6,5,14,16,18,17,19,15,9,13,11,7,8,12,10,25,24,23,22,20,21
# Weapon Priorities for an Agressive Bot
[AGRESSIVE]
0,3,1,2,4,6,5,14,16,18,17,19,15,9,13,11,7,8,12,10,25,24,23,22,20,21
# Weapon Priorities for a Defensive Bot
[DEFENSIVE]
0,3,1,2,4,6,5,14,16,18,17,19,15,9,13,11,7,8,12,10,25,24,23,22,20,21

NOTE: There are to be NO spaces between 10, and 25 in any of the Weapon Priorities.....it is just a forum error.

I think this cfg will do exactily what you were trying to do.

Huntkillaz 24-07-2004 13:23

Re: Weapon Proirities
 
filebase has original configs...either the release2 or my presetup pack (slightly modified versions)

doom777 25-07-2004 20:43

Re: Weapon Proirities
 
thanks guyz 8)


All times are GMT +2. The time now is 14:02.

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