Commit graph

526 commits

Author SHA1 Message Date
jeefo
f22f495940
nav: avoid players that are in view cone only 2025-02-01 17:15:25 +03:00
jeefo
abb50a64c4
build: fix build on non-msvc 2025-02-01 16:20:46 +03:00
jeefo
2a6ca1d914
fix: breakable problems on some maps
nav: do not consider busy nodes as long-radii
nav: more fixes to player avoidance
2025-02-01 16:17:11 +03:00
jeefo
f0b74452d3
nav: break camp task if avoiding 2025-01-31 23:45:35 +03:00
jeefo
4c5cf2503e
ctrl: allow to erasing training data leaving graph files 2025-01-31 20:40:08 +03:00
jeefo
9b80517eda
graph: do not spam about problem
nav: tweaked stuck values and timers
2025-01-31 19:58:28 +03:00
jeefo
e820527703
bot: disable spray logo task on xash3d engine
fix: crash on aarch64 builds (ref #667)
nav: improved player avoidance
nav: improved handling of short path radii
conf: control min and max cvar values
build: probably fix i386 build when building with cmake (untested)
2025-01-31 19:32:24 +03:00
jeefo
582beb0978
nav: give bots with move task higher priority when avoiding each other 2025-01-25 22:24:18 +03:00
jeefo
003fd33d59
some changes 2025-01-22 20:14:11 +03:00
jeefo
44567766be
fix: crash introduced in pr #656 2025-01-18 19:53:27 +03:00
jeefo
5eab5dfb3c
nav: fallback to whole map search if buckets fails
bot: improved breakable destroying
aim: improved short-range firing
ctrl: prevent commands execution while disconnected from server
build: fix cmake for apple silicon builds
2025-01-17 22:43:35 +03:00
jeefo
7238fe76f5
fix: more breakable fixes 2025-01-14 14:53:38 +03:00
jeefo
c07d02c14e
fix: breakable headache (ref #660)
fix: bots firing rates on short distances (ref #658)
2025-01-14 14:17:53 +03:00
commandcobra7
e717710bd1
nav: fall controls are not good. (#656)
nav: fall controls are not good.
nav: increased behavior rate in finding the best goal.
nav: avoiding the door after hitting it.
combat: if the enemy is using a sniper rifle, move.
combat: enemy group functionality has been improved.
combat: if we are doing a camping task, do not switch to a knife at close range.
aim: slight changes to enemy prediction.

---------

Co-authored-by: jeefo <dmitry@jeefo.net>
2025-01-09 21:53:16 +03:00
jeefo
6152a2d2ce
aim: allow to not ignore glass when tracing for enemies (ref #654)
this thing is controllable via yb_aim_trace_consider_glass cvar, and by default is off
2024-12-20 23:56:35 +03:00
jeefo
3a014e471b
fix: crash with lift handling
fix: some random crashes with some maps
fix: do not look at breakable until totally sure we're can break it
fix: wrong distance calculation in last enemy position randomizer
fix: problems with cs 1.5 won when built with ``nosmid`` switch (still crashes from time to time)
ctrl: add  bots death count to``yb list`` command
graph: disable buckets for small number of nodes graphs
graph: verify graph consistency and select appropriate pathfinding algorithm
misc: added mor vox sentences to welcome a player
2024-12-20 01:04:59 +03:00
jeefo
01b176ad00
linkage: disable threading on legacy games 2024-11-17 15:33:04 +03:00
jeefo
2d088efabe
bot: some fixes to enemy predictions again 2024-11-15 20:15:05 +03:00
commandcobra7
1d60f19402 nav: minor change in ladder use.
aim: slight improvement in enemy prediction node recruitment.
2024-11-15 19:59:48 +03:00
jeefo
c7c5e0eaf9
fix: startup on hlds_l 3111e (still needs nosmid)
build: add option to build bot without any smid instructions
refactor: fix static analyzer warnings
crlib: update submodule (fix double anglevectors call)
2024-10-27 20:51:37 +03:00
jeefo
3d84b96534
fix: crash bug introduced in latest commit (resolves #630)
fix: unnecessary assignments here and there
2024-10-20 17:31:45 +03:00
jeefo
3d0bb4d7da
bot: disrupt bot vision in dark areas 2024-10-17 22:21:22 +03:00
jeefo
d05b6c8507
combat: do not retreat at all when with knife 2024-09-18 16:06:40 +03:00
jeefo
21db11d071
fix: try bots jittering between walls (ref #620)
fix: more tweaks to bot's don't attack with knife problem (ref #617)
2024-09-16 23:49:13 +03:00
jeefo
ed64062098
fix: too long distance for knife reachability (ref #617) 2024-09-16 22:35:07 +03:00
jeefo
2a967a8dff
fix: too shaky predilected aiming 2024-08-29 23:54:06 +03:00
commandcobra7
e8992f96b7 bot: do a real vector cleanup 2024-08-27 13:49:57 +03:00
jeefo
fe85aecbda
graph: do not mark too far facing nodes
.. so respect the max draw distance variable
2024-08-06 09:14:23 +03:00
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
c7d02f3f1d
fix: game freezes when starting without internet connection (ref #600) 2024-07-24 23:49:30 +03:00
jeefo
18fe797c7b
fix: disabled frame skipping on xash3d still works partially (ref #593) 2024-07-14 15:01:36 +03:00
jeefo
c63cccb1a2
nav: fix some door opening glitches 2024-07-10 23:48:20 +03:00
jeefo
0e91a7e61c
bot: creature bots should hunt for enemies more frequently 2024-07-04 21:27:05 +03:00
jeefo
78d9e88caf
bot: always remove bomb entities from ignore item list 2024-07-03 22:00:58 +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
jeefo
8ac9b6c379
msg: fix conditions (ref #589) 2024-06-24 11:39:56 +03:00
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
b0da38b2ab
mgr: fixes to quota managenent 2024-06-12 23:04:53 +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
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
94fcb8b5b5
fix: wrong condition 2024-06-05 19:01:47 +03:00
jeefo
3a026b1d4b
fix: condition order for creatures in task filtering (resolves #583) 2024-06-04 22:58:21 +03:00
jeefo
61036ecadc
build: fix clang builds 2024-06-02 23:08:38 +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