Commit graph

122 commits

Author SHA1 Message Date
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
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
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
8c0e603e55
bot: allow bots to ignore more than one item on the ground per-round 2024-07-03 11:48:56 +03:00
jeefo
8dece62df6
aim: added optional hitbox-based aiming for bots (ref #579) 2024-06-02 23:03:12 +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
Владислав Сухов
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
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
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
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
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
d82124e595
bot: return of the cheat cvar yb_whose_your_daddy (resolved #513)
combat: resolve strafe movement issues
combat: resolve bots always standing still with pistols and shotguns
vision: take a look at recent victim for some time before changing view angles
control: allow bots to be killed silently (ref #514) via commands
control: bots that are killed with auto kill timer are now killed silently
2024-01-29 08:08:07 +03:00