.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Common Questions
Common Questions Are you seeking help ? Get it here !

Reply
 
Thread Tools
question about weapon priority
Old
  (#1)
iluvbot
Member
 
Status: Offline
Posts: 25
Join Date: Dec 2010
Default question about weapon priority - 20-05-2011

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
  
Reply With Quote
Re: question about weapon priority
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: question about weapon priority - 20-05-2011

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.
  
Reply With Quote
Re: question about weapon priority
Old
  (#3)
iluvbot
Member
 
Status: Offline
Posts: 25
Join Date: Dec 2010
Default Re: question about weapon priority - 21-05-2011

Thanks for help , KWo
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com