.:: 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
podbot mm cvars
Old
  (#1)
chelseafc0512
Member
 
Status: Offline
Posts: 54
Join Date: Oct 2008
Default podbot mm cvars - 02-12-2010

hi,i have 2 problems would you like to help me :
1
.
hi there are some cvars that make the podbot mm shoot correctly ,
but my english is not good so i ask for sure , to make the bot shoot faster and more correct ,we have to decrease or increase the value of these cvars ?
please choose for me to make the bot shoot better :we should decrease (d) or increase (i) this value ?


VERTICAL (up/down) spring stiffness of the aiming system. This value affects
# the quickness of the crosshair movement, as well as the frequency of
# the resulting oscillations. (default: 13.0)
pb_aim_spring_stiffness_x 13.0 (we should decrease or increase (d or i) ?

# HORIZONTAL (left/right) spring stiffness of the aiming system. This value
# affects the quickness of the crosshair movement, as well as the frequency of
# the resulting oscillations. (default: 13.0)
pb_aim_spring_stiffness_y 13.0

# VERTICAL (up/down) damping coefficient of the aiming system. This value also
# affects the quickness of the crosshair movement, and the amplitude of
# the resulting oscillations. (default: 0.22)
pb_aim_damper_coefficient_x 0.22

# HORIZONTAL (left/right) damping coefficient of the aiming system. This value
# also affects the quickness of the crosshair movement, and the amplitude of
# the resulting oscillations. (default: 0.22)
pb_aim_damper_coefficient_y 0.22

# VERTICAL (up/down) error margin of the aiming system. This value affects how
# far (in game length units) the bot will allow its crosshair to derivate from
# the ideal direction when not targeting any player in particular.
# (default: 2.0)
pb_aim_deviation_x 0.0

# HORIZONTAL (left/right) error margin of the aiming system. This value affects
# how far (in game length units) the bot will allow its crosshair to derivate
# from the ideal direction when not targeting any player in particular.
# (default: 1.0)
pb_aim_deviation_y 0.0

# Perpendicular influence of the vertical axis on a HORIZONTAL movement. This
# value affects how much (in fraction of 1) the bot will be disturbed when
# moving its crosshair on an axis by the inherent movement on the other axis.
# (default: 0.25)
pb_aim_influence_x_on_y 0.25

# Perpendicular influence of the horizontal axis on a VERTICAL movement. This
# value affects how much (in fraction of 1) the bot will be disturbed when
# moving its crosshair on an axis by the inherent movement on the other axis.
# (default: 0.17)
pb_aim_influence_y_on_x 0.17

# Maximal value in seconds after which the aiming system will re-evaluate its
# ideal direction. This affects how often a bot will attempt to correct an
# imprecise crosshair placement by moving the crosshair inside the error
# margin bounds defined by the botaim_deviation CVARs. (default: 1.2)
pb_aim_offset_delay 0.1

# Fraction of the full speed the aiming system will adopt as speed when aiming
# at nothing in particular. This affects how slow the bot will move its
# crosshair when targeting nobody, relatively to its full speed capacity.
# (default: 0.5)
pb_aim_notarget_slowdown_ratio 0.01

# Fraction of the estimated target's velocity the aiming system will rely on
# when aiming at a moving target. This affects how well the bot will be able
# to track moving targets on the fly, and whether it will have a tendancy
# to aim ahead of it or behind it. (default: 2.2)
pb_aim_target_anticipation_ratio 2.2

2.
i see that the cvars in the cfgs file in the podbot folder only execute after the map loaded, but all the cvars in listenserver will execute each time when the map loaded,because i have try this :
if we set the "pb_minbotskill" in the cfg in podbot folder to "95" ,when the map loaded ,if we add bot before this command executed, we can see this bot skill will < 95 (such as 8 ),and after this command executed,(we can see in the console ) we add bot and the bot skill will >95 (such as 97)

so the question here is :
should we delete all the podbot config (.cfg file ) and add these cvars to listenserver.cfg files ? (i play offline) does it make the same effect to bots ?

so many question

any help will be appreciated ,thank you
  
Reply With Quote
hi,i have 2 problems would you like to help me :
Old
  (#2)
chelseafc0512
Member
 
Status: Offline
Posts: 54
Join Date: Oct 2008
Default hi,i have 2 problems would you like to help me : - 03-12-2010

hi,i have 2 problems would you like to help me :
1
.
hi there are some cvars in podbot.cfg that make the podbot mm shoot correctly ,
but my english is not good so i ask for sure , to make the bot shoot faster and more correct ,we have to decrease or increase the value of these cvars ?
please choose for me to make the bot shoot better :we should decrease (d) or increase (i) this value ?


VERTICAL (up/down) spring stiffness of the aiming system. This value affects
# the quickness of the crosshair movement, as well as the frequency of
# the resulting oscillations. (default: 13.0)
pb_aim_spring_stiffness_x 13.0 (we should decrease or increase (d or i) ?

# HORIZONTAL (left/right) spring stiffness of the aiming system. This value
# affects the quickness of the crosshair movement, as well as the frequency of
# the resulting oscillations. (default: 13.0)
pb_aim_spring_stiffness_y 13.0

# VERTICAL (up/down) damping coefficient of the aiming system. This value also
# affects the quickness of the crosshair movement, and the amplitude of
# the resulting oscillations. (default: 0.22)
pb_aim_damper_coefficient_x 0.22

# HORIZONTAL (left/right) damping coefficient of the aiming system. This value
# also affects the quickness of the crosshair movement, and the amplitude of
# the resulting oscillations. (default: 0.22)
pb_aim_damper_coefficient_y 0.22

# VERTICAL (up/down) error margin of the aiming system. This value affects how
# far (in game length units) the bot will allow its crosshair to derivate from
# the ideal direction when not targeting any player in particular.
# (default: 2.0)
pb_aim_deviation_x 0.0

# HORIZONTAL (left/right) error margin of the aiming system. This value affects
# how far (in game length units) the bot will allow its crosshair to derivate
# from the ideal direction when not targeting any player in particular.
# (default: 1.0)
pb_aim_deviation_y 0.0

# Perpendicular influence of the vertical axis on a HORIZONTAL movement. This
# value affects how much (in fraction of 1) the bot will be disturbed when
# moving its crosshair on an axis by the inherent movement on the other axis.
# (default: 0.25)
pb_aim_influence_x_on_y 0.25

# Perpendicular influence of the horizontal axis on a VERTICAL movement. This
# value affects how much (in fraction of 1) the bot will be disturbed when
# moving its crosshair on an axis by the inherent movement on the other axis.
# (default: 0.17)
pb_aim_influence_y_on_x 0.17

# Maximal value in seconds after which the aiming system will re-evaluate its
# ideal direction. This affects how often a bot will attempt to correct an
# imprecise crosshair placement by moving the crosshair inside the error
# margin bounds defined by the botaim_deviation CVARs. (default: 1.2)
pb_aim_offset_delay 0.1

# Fraction of the full speed the aiming system will adopt as speed when aiming
# at nothing in particular. This affects how slow the bot will move its
# crosshair when targeting nobody, relatively to its full speed capacity.
# (default: 0.5)
pb_aim_notarget_slowdown_ratio 0.01

# Fraction of the estimated target's velocity the aiming system will rely on
# when aiming at a moving target. This affects how well the bot will be able
# to track moving targets on the fly, and whether it will have a tendancy
# to aim ahead of it or behind it. (default: 2.2)
pb_aim_target_anticipation_ratio 2.2

2.
i see that the cvars in the cfgs file in the podbot folder only execute after the map loaded, but all the cvars in listenserver will execute each time when the map loaded,because i have try this :
if we set the "pb_minbotskill" in the cfg in podbot folder to "95" ,when the map loaded ,if we add bot before this command executed, we can see this bot skill will < 95 (such as 8 ),and after this command executed,(we can see in the console ) we add bot and the bot skill will >95 (such as 97)

so the question here is :
should we delete all the podbot config (.cfg file ) and add these cvars to listenserver.cfg files ? (i play offline) does it make the same effect to bots ?

so many question

any help will be appreciated ,thank you
  
Reply With Quote
Re: hi,i have 2 problems would you like to help me : podbot mm cvars
Old
  (#3)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: hi,i have 2 problems would you like to help me : podbot mm cvars - 03-12-2010

These:cvars may affect turning the bot faster - thus it make them shoot faster:
pb_aim_spring_stiffness_x,
pb_aim_spring_stiffness_y
You should increase slowly these parameters. I mean don't double nor triple them, but increase them by 10% i.e. and watch if they are acting correctly - then increase parameters again. You can do this from the server console - You don't need to change them in podbot.cfg and restart the server then. After finding good parameters - write them to podbot.cfg file.
Don't delete podbot.cfg file nor settings in it. The only place the bots should be loaded from (and their settings) is podbot.cfg file. If You are adding them from listenserver.cfg, it may happen You can see bots added with not right parameters (they are different than those from podbot.cfg).
  
Reply With Quote
Re: hi,i have 2 problems would you like to help me : podbot mm cvars
Old
  (#4)
chelseafc0512
Member
 
Status: Offline
Posts: 54
Join Date: Oct 2008
Default Re: hi,i have 2 problems would you like to help me : podbot mm cvars - 03-12-2010

yes,thank you
but...about other cvars, should we increase or decrease it to make the bot aim faster ? what is the min, max value of them ?
  
Reply With Quote
Re: hi,i have 2 problems would you like to help me : podbot mm cvars
Old
  (#5)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: hi,i have 2 problems would you like to help me : podbot mm cvars - 03-12-2010

pb_aim_damper_coefficient_x and pb_aim_damper_coefficient_y - decrease them slowly, but don't go with them to 0 or below. The rest - it's better don't touch them.
  
Reply With Quote
Reply


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

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