Commit graph

224 commits

Author SHA1 Message Date
jeefo
855fb903b6
chatlib: do not send chat messages to controlled bots
graph: first try more memory friendly bsp size check
build: restore ssse3 & ssse3 instructions (use nosmid version if needed)
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2025-02-28 00:39:52 +03:00
jeefo
30013702c7
nav: improve player avoidance once more
nav: try to repath our ways if stuck with other bot
combat: a little improvement in knife usage
control: enable/disable regame's round infinite when editing graph
chatlib: replace say/say_team for older hlds to fix buffer overruns in gamelib
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2025-02-22 15:46:56 +03:00
jeefo
d965d7677f
bot: some tweaks for zombie mode (ref #664) 2025-02-17 15:03:38 +03:00
jeefo
9fe9e08dfa
combat: increase check-wall distance when attacking enemies (ref #620) 2025-02-15 21:47:05 +03:00
jeefo
b8fb2e8845
cvars: allow to set very long descriptions
cvars: added full descriptions to yb+restricted_weapons (closes #659)
crlib: update submodule
fix: send server messages should split as string and not stringref to keep null-terminated chunks
2025-02-15 13:51:45 +03:00
jeefo
c322e36d9b
fix: descending ladder triggers nav fall recovery
nav: various fixes to player avoiding
build: fix cmake postfix when building as part of cs16-client
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2025-02-14 20:28:36 +03:00
jeefo
ecb1f20303
conf: get decal indices during config load
combat: do not init hitbox aiming if disabled
nav: reverted some last changes
nav: fixed check fall on ladders
chat: added %g keyword that is replaced with graph author
2025-02-05 21:28:29 +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
003fd33d59
some changes 2025-01-22 20:14:11 +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
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
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
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
3d0bb4d7da
bot: disrupt bot vision in dark areas 2024-10-17 22:21:22 +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
18fe797c7b
fix: disabled frame skipping on xash3d still works partially (ref #593) 2024-07-14 15:01:36 +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
commandcobra7
405955d03f aim fix: conditions for failure in enemy prediction 2024-07-02 01:05:11 +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
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