Commit graph

176 commits

Author SHA1 Message Date
jeefo
d8ed0e565c
bot: more correct clearance for lost hostages
fix: bot sometime stuck in shoot breakable task (ref #606)
refactor: fix task names in debug mode
2024-08-06 09:02:35 +03:00
jeefo
68993aa434
fix: prevent hearing player entities with some flags (ref #605) 2024-08-01 14:19:56 +03:00
jeefo
0e91a7e61c
bot: creature bots should hunt for enemies more frequently 2024-07-04 21:27:05 +03:00
jeefo
8c0e603e55
bot: allow bots to ignore more than one item on the ground per-round 2024-07-03 11:48:56 +03:00
jeefo
26e374d3f5
fix: bots doesn't forgets unreachable items (ref #589)
crlib: update submodule
2024-07-03 09:52:52 +03:00
commandcobra7
405955d03f aim fix: conditions for failure in enemy prediction 2024-07-02 01:05:11 +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
4743d52d96
aim: force offset-based enemy part detection in hearing code
fix: engine pvs checking isn't do anything
2024-06-05 23:56:35 +03:00
jeefo
3a026b1d4b
fix: condition order for creatures in task filtering (resolves #583) 2024-06-04 22:58:21 +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
jeefo
06c2243d58
fix: flush radio queue if became creature 2024-05-27 23:19:02 +03:00
Владислав Сухов
279b1e50d3 fix: radio order checking condition after merging master branch 2024-05-26 06:34:57 +00:00
Владислав Сухов
de38555aa1 Merge branch 'master' into chatter-fixes-and-improvements 2024-05-26 06:26:03 +00:00
jeefo
eec4101daa
fix: zombies should not emit any radio or chatter events 2024-05-25 23:42:55 +03:00
Владислав Сухов
92af7495ea Merge branch 'master' into chatter-fixes-and-improvements 2024-05-22 19:48:24 +00:00
jeefo
9bc72e90c4
fix: typo [skip ci] 2024-05-22 22:04:15 +03:00
jeefo
5b63690986
bot: reduce items ignorance after donating bomb
refactor: fix some typos
2024-05-22 19:57:02 +03:00
jeefo
778d14b755
bot: transfer c4 to humans (if any) when ignore_objectives is on 2024-05-22 13:33:26 +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
Владислав Сухов
332a962ad4 Merge branch 'master' into chatter-fixes-and-improvements 2024-05-08 04:19:37 +00:00
jeefo
6663cdab7b
bot: some fixes to radio handling (ref #560) 2024-05-07 22:01:57 +03:00
Владислав Сухов
9e24eb6be4 Merge branch 'master' into chatter-fixes-and-improvements 2024-05-07 09:15:48 +00:00
jeefo
009bdf2f3e
refactor: reformat the code 2024-05-05 01:06:56 +03:00
Владислав Сухов
7ad54c55be add: report of the enemies' count 2024-05-03 17:23:36 +00:00
Владислав Сухов
9c5de623dc Merge branch 'master' into chatter-fixes-and-improvements 2024-05-03 14:06:38 +00:00
jeefo
79320802bb
nav: directly reach the next node if bot lost the path
chatter: increase minimum voice pitch
radio : probably fix for cycling ``hold this position`` message (ref #560)
2024-05-03 00:11:14 +03:00
Владислав Сухов
09dbba82cf Merge branch 'master' into chatter-fixes-and-improvements 2024-05-02 20:02:11 +00:00
jeefo
e6b192a80d
bot: prevent creature-bots from flashlight usage (ref #563) 2024-05-02 20:43:17 +03: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
Владислав Сухов
ffb92ca962 fix: report about hostage rescuing when the bot is leading them 2024-04-26 18:23:20 +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
9ce8913c2c
fix: resolve some chatter overuse reported in #555
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2024-04-17 21:36:39 +03: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
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
Владислав Сухов
c0b32cfb02 fix: wording 2024-03-31 21:30:01 +00: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
c5ed52eb09
nav: improved ladder handling
fix: bots can stuck when destroying breakables
2024-03-29 16:46:32 +03:00
jeefo
3b916362a4
revert c298e60, that should probably fix the #547 2024-03-27 23:25:24 +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
4128b27cf4
nav: destroy breakables not only when touching them (ref #541)
build: use symbol versioning only with glibc (ref #540)
2024-03-25 14:25:44 +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
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