Commit graph

201 commits

Author SHA1 Message Date
jeefo
690c4d660c
msg: use StatusIcon message to detect if bot has a defusal kit (ref #589) 2024-06-24 11:37:24 +03:00
jeefo
91073ddf5d refactor: back some things into an order 2024-06-06 20:46:25 +03:00
commandcobra7
ece83734a1 nav: return to everything visible in finding the nearest node. (resolve previously solved problem #432)
nav: checks whether the robot is blocked in the direction of movement. (excluded in hostages)
2024-06-06 20:46:25 +03:00
jeefo
8dece62df6
aim: added optional hitbox-based aiming for bots (ref #579) 2024-06-02 23:03:12 +03:00
jeefo
87cbd144c2
mgr: random bot kick is now more even across teams 2024-06-01 13:58:48 +03:00
jeefo
587064e897
combat: only move back if there's no wall behind the bot 2024-06-01 13:52:04 +03:00
jeefo
4aa6aff8b6
bot: improved logic when in freezetime
fix: full reset entvars of  fakeclient upon entity creation
fix: high skilled bots can't shoot with sniper weapons on short distances (ref #582)
fix: fill server will not overflow number of bots anymore
fix: do  not treat dormant  entites as valid clients for bots
mgr: : single bot kick is now working in non-sequential order
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2024-06-01 10:57:57 +03:00
Владислав Сухов
de38555aa1 Merge branch 'master' into chatter-fixes-and-improvements 2024-05-26 06:26:03 +00:00
jeefo
b72f8a2ef9 bot: disable fake bot features by default (ref #575) 2024-05-24 20:00:07 +03:00
Владислав Сухов
92af7495ea Merge branch 'master' into chatter-fixes-and-improvements 2024-05-22 19:48:24 +00:00
jeefo
778d14b755
bot: transfer c4 to humans (if any) when ignore_objectives is on 2024-05-22 13:33:26 +03:00
jeefo
ee964e0c9a
fix: pingfaker overwrites pings for real players (resolves #572)
fix: crash bug introduced in #569
2024-05-22 11:13:52 +03:00
Владислав Сухов
9d7b037e05 add: OnARoll chatter event with phrases that bots will say when completing a kill streak in a short amount of time 2024-05-20 19:58:59 +00:00
Владислав Сухов
f049391637 Merge branch 'master' into chatter-fixes-and-improvements 2024-05-17 18:33:56 +00:00
commandcobra7
30df1a5726
control: text changes in the control menu. replaced `waypoint with node` (#569)
Co-authored-by: jeefo <dmitry@jeefo.net>
2024-05-16 21:15:41 +03:00
jeefo
dedbf8ab82
bot: add more support for zombie mod scenario (ref #563)
added multiple items to custom.cfg, so game delay timer cvar is now configurable, the infected team is configurable as well.

creature (well, just zombies) now correctly detects their "creature" status even with custom model names (assumes that bot is on an infected team = zombie)

Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2024-05-15 22:56:35 +03:00
jeefo
1df9da852c
fix: build on recent gcc14 2024-05-15 10:14:18 +03:00
Владислав Сухов
332a962ad4 Merge branch 'master' into chatter-fixes-and-improvements 2024-05-08 04:19:37 +00:00
jeefo
68a906e32d
fix: build on recent gcc13 (ref #561) 2024-05-07 23:11:21 +03:00
jeefo
6663cdab7b
bot: some fixes to radio handling (ref #560) 2024-05-07 22:01:57 +03:00
Владислав Сухов
7ad54c55be add: report of the enemies' count 2024-05-03 17:23:36 +00:00
Владислав Сухов
09dbba82cf Merge branch 'master' into chatter-fixes-and-improvements 2024-05-02 20:02:11 +00:00
jeefo
dca15519b7 bot: some reverts and fixes to the pr 2024-05-02 20:35:43 +03:00
commandcobra7
b720eaf51e nav: added fall control so that bots now take a new path when falling from heights.
nav: increase player avoidance distance.
combat: added zoom check for better use of the sniper gun (inspired by podbot).
2024-05-02 20:35:43 +03:00
Владислав Сухов
b0e98d0e3f fix: report that a bot has heard an enemy 2024-04-30 16:19:10 +00:00
Владислав Сухов
89ea866dcb fix: corrected phrases about guarding the planted bomb 2024-04-30 15:49:24 +00:00
jeefo
d76e0e1ba2
Merge branch 'master' into chatter-fixes-and-improvements 2024-04-25 15:09:37 +03:00
jeefo
3358168fad
aim: look at last enemy origin when just loosed focus
fix: saving bot practice took enormous amount of time when changing level on large practice database
refactor: changed random number generator usage
2024-04-25 15:03:39 +03:00
Владислав Сухов
35def2ab05 add: new chatter events 2024-04-22 14:23:56 +00:00
jeefo
38551eae21
vistable: fix long-standing bug with saving vis counts
vistable: bumped version to 4, so all vistables will be rebuilded
bot: reworked bot think mechanism timers
fix: gimbal lock within bot aiming code on ladders
fix: some fixes to aiming code that prevent bots 360 degree rotations
fix: some mistakes in next and next-next node aiming when in idle state
fix: improved seek covering from attack task
nav: improved bot's crouch on marred-crouch nodes
nav: overall improvements to ladder handling code
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2024-04-17 21:20:45 +03:00
jeefo
0de53173f0
nav: fixed lift usage as much as possible without full rewrite
mgr: end round with ``endround`` regamedll command if available (menus only)
aim: prevent look angles overflows in some situations
2024-04-14 17:13:22 +03:00
jeefo
cc01693de9
hearing: randomize listen position for heard sounds
graph: restore cvar variables values to initial values when disabling graph editor
cfg: update primary config with actual cvars
vision: remove unnecessary angles clamp
combat: allow to disable engine potential visibility checks
combat: do not aim to head on long distances with AWP, shotguns or with high recoil
bot: set the minimum think fps to 30.0
2024-04-11 16:26:12 +03:00
jeefo
f9bae83466
fix: low-skilled bots aiming overflows on ladders (ref #543)
nav: ignore first collision if we are in ladder node (by @commandcobra7).
bot: backported csbot function to check is enemy behind smoke.
bot: added ``yb_smoke_grenade_checks`` to control which method to use (2-csbot, 1-podbot, 0-disabled).
2024-03-31 23:23:01 +03:00
jeefo
df9bc66023
fix: bot kick menu isn't functional
nav: probably fix for ladder climbing (ref #544 ref #319)
bot: implemented [RSE] Neoptolemus's fix for msec calculation (round vs int cast)
2024-03-27 23:21:00 +03:00
jeefo
99aac1b2ee
fix: typo in function name 2024-03-12 09:36:32 +03:00
jeefo
6e09cee0ee
fix: bots use buttons too extensively
nav: added more cpu-friendly version to check if bot will fall in combat
2024-03-11 15:26:11 +03:00
jeefo
1736bd9c8a
aim: remeber last edict for whom head spot was set
... so the bots will not shake their crosshair between chest and head when fighting acquired/current enemy
2024-03-09 22:41:48 +03:00
jeefo
2caa65f6ad
fix: bots not throwing grenades since last commit
combat: various fixes to combat movements
combat: tweaked grenade throwing code
refactor: convert some arrays initializations  to initializer lists
build: switch docker image to clang 18.1
2024-03-09 01:06:11 +03:00
jeefo
9201daf9f9
fix: allow to plant bomb only when icon blinking (ref #323)
fix: random bots shoots and enemy ignorance on es_industrial (ref #323)
2024-02-27 12:31:37 +03:00
jeefo
a4233dfaf8
fix: zero out bots pings prior bot disconnection
fix: do not hook pfnCmdStart if game doesn't support fake pings
2024-02-19 23:43:25 +03:00
jeefo
c298e607ae
fix: do not update fakeclient bit on every frame
cfg: allow bots to have name with at least one character
2024-02-19 23:16:03 +03:00
jeefo
67eb6334f6
fix: problems with picking up grenades on the ground (ref #529)
fix: picking up m249 ammo from the ground
fix: make bots respect camping_time_min/max when guarding bomb/hostages
nav: make normal and rusher bots less defensive on hostage maps (ref #528)
2024-02-19 09:36:15 +03:00
jeefo
375a64b861
nav: reworked bot dropping on pathfinder failure 2024-02-15 23:57:54 +03:00
jeefo
259dd18330
mgr: added `yb exec` command for debugging purposes 2024-02-15 08:37:02 +03:00
jeefo
7b7ae7020b
bot: added basic support for zombie plague warmup mode
Controllable via yb_ignore_enemies_after_spawn_time, and automatically set from zp_delay cvar.
2024-02-15 05:42:52 +03:00
jeefo
ad5352b041
combat: minor fixes to the grenade throwing conditions 2024-02-12 16:04:22 +03:00
jeefo
e7a67347f1
graph: enable graph c collection by default
bot: bump version to 4.5
2024-02-10 22:50:53 +03:00
jeefo
9b9d4b6558
combat: force grenade war if have only grenade in hands
fix: crash bug when in some situations sv_gravity is zero
2024-02-10 21:58:10 +03:00
jeefo
80e59c2c24
fix: use real teams when joining the games 2024-01-31 13:04:02 +03:00
jeefo
46ebbeea57
graph: allow graphs to be auto-collected (controlled via yb_graph_auto_collect_db)
By default it's off, but it's allow bot to scan graph directory, do a diff with a graph db server and upload every single graph file that do not exist in central database. This is done in a separate thread and do not block server process, and only once server/game is started, not on change level. Also, it's not working on currently started map.
2024-01-30 14:37:14 +03:00