Commit graph

1,022 commits

Author SHA1 Message Date
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
Владислав Сухов
9f927f687e fix: use correct define for Chatter_HeardEnemy chatter event 2024-04-21 05:43:14 +00:00
Владислав Сухов
dcb74bcbbe
chatter.cfg: remove chatter phrases from Radio_NeedBackup event
Change phrases for Chatter_DefendingBombsite event
2024-04-21 10:17:51 +05:00
jeefo
8e81eb1c96
Merge pull request #558 from yapb/dev
bot: various fixes to bots navigation and aiming
2024-04-19 21:03:12 +03:00
jeefo
2968a0adff
fix: bots never rer-route their path in some situations
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2024-04-19 13:20:17 +03:00
jeefo
ffa882a295
aim: do not look for danger places when no enemies left
combat: increase  new enemy update timers
combat: reduce penetrate level for last enemies detection
nav: allow camp nodes to have desired reachability distance
fix: mgr: addhs (high skilled) bot do nothing
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2024-04-17 23:40:37 +03: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
Владислав Сухов
3949ee0204 cfg: ru_lang.cfg: translated new line 2024-04-16 12:06:34 +00:00
Владислав Сухов
1174989fcc fix: indefinite article in cvar description (**an** should be used before the vowel,
and the article **a** is used before consonant.)
2024-04-16 12:02:38 +00: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
b790e7a4bb
nav: allow bots to duck on goal and camp nodes if it's a route end 2024-04-13 15:04:04 +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
Владислав Сухов
867abdb288 cfg: ru_lang.cfg: translated new line 2024-03-31 21:33:24 +00: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
Владислав Сухов
ccb1735511 graph: slightly change the radius color 2024-03-30 12:49:54 +03:00
jeefo
c5ed52eb09
nav: improved ladder handling
fix: bots can stuck when destroying breakables
2024-03-29 16:46:32 +03:00
jeefo
8a22f03640
Merge pull request #548 from yapb/issue-542
fix: node selection when there's too less important nodes (fix #542)
2024-03-29 00:21:59 +03:00
jeefo
b8b8ee07fe
fix: node selection when there's too less important nodes (fix #542) 2024-03-29 00:21:26 +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
7bb5a7d6f1
fix: musl build due to missing RTLD_DEEPBIND (ref #540) 2024-03-23 21:18:24 +03:00
Владислав Сухов
627f1f48d0
cfg: ru_lang.cfg: some translation corrections 2024-03-23 19:26:09 +05:00
jeefo
464e2a5268
build: use PROJECT_VERSION in CMakeLists 2024-03-21 16:27:00 +03:00
Bohdan Shulyar
dce06629ef
build: use PROJECT_VERSION in CMakeLists 2024-03-21 15:21:20 +02:00
jeefo
dfa46578c6
fix: check if arm neon is supported on target (fix #538) 2024-03-21 13:49:16 +03:00
jeefo
c03d8ac790
fix: bots can't plant bomb on multi-scenario maps (fix #537) 2024-03-19 23:38:48 +03:00
Владислав Сухов
61407341a0 cfg: ru_lang.cfg: translated new line 2024-03-18 20:20:47 +00:00
jeefo
cbcb4a7ff0
fix: missing world time when surprising enemies (ref #534) 2024-03-15 21:23:17 +03:00
jeefo
7fa4cc5f70
mgr: fix bot quota overflow when adding manually 2024-03-14 14:53:55 +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
0873975678
bot: fix think fps limiter when running on xash3d
aim: simplify enemy origin compensation when moving
2024-03-11 08:06:39 +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
0b119c0389
aim: do not adjust enemy spot dir for hard bots 2024-03-09 22:18:12 +03:00
jeefo
642493089e
build: disable lto on legacy macos build 2024-03-09 11:53:06 +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
a94886f8f7
combat: do not throw any grenades if just saw enemy 2024-03-04 11:29:04 +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
b56a598876
build: fix copyright years 2024-02-24 02:20:02 +03:00
jeefo
b77fae8a0e
nav: do not use 2d distance in node reachability checking
nav: increase reachability distance for a goal on hostage rescue maps
2024-02-22 00:36:46 +03:00
jeefo
9ebb7fd4a7
fix: prevent starting seek cover task if it's failed few moments ago 2024-02-21 23:18:43 +03:00
jeefo
de8c200a30
linkage: prevent crashes on very ancient metamod versions
linkage: use metamod logger for spewing errors, since our logger isn't initialized at this point
2024-02-20 13:02:49 +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
Владислав Сухов
ccfbb5479d cfg: ru_lang.cfg: translated new line 2024-02-19 15:42:37 +00:00