.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   question about weapon priority (http://forums.bots-united.com/showthread.php?t=8673)

iluvbot 20-05-2011 13:23

question about weapon priority
 
1. i wonder the weapon priority in botweapons.cfg is from left to right or from right to left ?
i means bot prefer to choose weapon from left to right,or on the contrary ,from right to left
for example if i have settings like this

00,02,01,04,05,06,03,16,14,19,15,17,18,21,25,20,12 ,22,23,10,09,13,11,08,07,24
look at primary weapon ,bot will prefer to choose m4a1(number16),then ak47(14),then 19,15... ? (from left to right)
or on the contrary ,from right to left ? (first m249(24) ...) ?
which is correct ?

2 .and is it correct to yapb ,e[pod]bot ?

3. will bot follow this settings in csdm when :
a. when bot is allowed to buy ?
b. when bot is not allowed to buy?

4.in csdm : if bots are allowed to buy , if bots haven't enough money to buy their favorite weapon (but have enough to buy others ),
will it choose from weapon giving menu to get their favorite weapon ,or they will buy a cheaper weapon ?

# 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

KWo 20-05-2011 21:28

Re: question about weapon priority
 
1 Bots are trying to buy the most possible (according to having money) right weapon, but... The weapon code is preselecting 3-4 most right weapon from those they are possible to buy and then random one is selected from that preselection. Thus there is some kind of randomization, so they don't bahve exactly the same with the same money and the same weapon preferences.

2. From that what I remember it is the same for yapb and epodbot, but I. m not supporting those bots, so it's better if You ask at these bots forums.

3. When th bot is allowed to buy - he is just buying (with money) the weapon still according to its weapon priority table. If the bot is not allowed to buy and he is using CSDM gun menu the selection is done random from these weapons they are for bots in csdm.cfg:
Code:

;List weapons here the bots can randomly have
;The short name must match one in the list above
[botsecondary]
deagle
usp
elite
fiveseven

[botprimary]
ak47
m4a1
aug
sg552
galil
famas
scout
awp
sg550
m249
g3sg1
mp5navy
m3
xm1014

If You don't wish they are using a certain weapon - just remove it from the list above.

4. Same as for 3 - they are selecting a random weaon from these above csdm lists.

iluvbot 21-05-2011 11:36

Re: question about weapon priority
 
Thanks for help , KWo :)


All times are GMT +2. The time now is 01:59.

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