Commit graph

950 commits

Author SHA1 Message Date
jeefo
18456c2a28
bot: remove repeated, hardcoded prefixes for cvars 2023-07-21 21:43:36 +03:00
Владислав Сухов
e14c91bb36
fix: cvars bounds (#471) 2023-07-20 01:50:37 +03:00
jeefo
5d6efef494
cfg: update primary config with actual cvars and descriptions 2023-07-19 13:30:55 +03:00
jeefo
9e67232c07
graph: light levels are now recalculated on every level change 2023-07-18 15:59:15 +03:00
Владислав Сухов
d11f071b72 ctrl: added save_map argument for cvars command help 2023-07-10 14:42:40 +00:00
Владислав Сухов
b2fdf1c641 cfg: ru_lang.cfg: translated new line 2023-07-10 14:30:12 +00:00
Владислав Сухов
303c5cebc8 cfg: ru_lang.cfg: translated new lines 2023-07-10 14:04:36 +00:00
jeefo
7a7a9c3146
fix: nav: overlap between occupied node check and player avoid distance
fix: bot: debug overlay flickering in some situations
2023-07-06 14:00:48 +03:00
jeefo
5019e0f872
build: fix build on aarch64 2023-07-03 17:29:08 +03:00
jeefo
c36755c2db
build: disable flto partition on arm as well
build: properly detect arm32 build target
2023-07-03 17:18:42 +03:00
jeefo
a9bb29a3ae
cfg: allow to save cvars to map-specific config files via `cvars save_map` command 2023-07-03 11:38:52 +03:00
jeefo
cb11409435
aim: predict: use local copy of last predicted node 2023-07-02 19:27:25 +03:00
jeefo
bb6117feb0
nav: do not switch back to primary weapon, if escaping from bomb
revert: some of thread-workers stuff done previous commits due to stability issues
2023-07-02 19:25:18 +03:00
jeefo
93d9187f6d
fix: crash on predicted node index use after wiped
refactor: reworked prediction to calc prediction for all bots at one job, instead of firing it for every bot
2023-06-29 20:17:46 +03:00
jeefo
5ce2032acd
bot: switch look/body angles updates to thread worker
build: msvc projects now again targets msvc by default
2023-06-28 19:48:51 +03:00
jeefo
52bfac2b09
build: switch to msvc as default release builder
build: add separate extra dll from msvc with support for windows xp
2023-06-27 14:20:23 +03:00
jeefo
aef3ff0b36
refactor: remove ignore fov parameter from enemy see check 2023-06-27 09:45:04 +03:00
jeefo
7bc1704d6a
bot: revert simd-string changes 2023-06-26 10:28:01 +03:00
jeefo
c1d045828e
aim: add more fail conditions t to fail enemy prediction
bot: allow to disable think-per-frame optimization on xash3d completely, to reduce view-lags. (controlled via  cv_think_fps_disable
2023-06-24 21:38:34 +03:00
jeefo
3d2579c7ea
graph: move light level calculation to thread worker
fix: nodes with light level 0.0 should trigger bots flashlight now
fix: gcc and msvc builds due to mistake in crlib
refactor: add more const-correctness (ongoing)
2023-06-24 03:23:22 +03:00
jeefo
4a35a87b25
refactor: use squared distance if possible
refactor: add some const-correctness to code
2023-06-24 02:36:51 +03:00
jeefo
a49a4000c9
aim: improved ladder handling view direction
aim: improved enemy prediction once again
nav: bots with hostages will try to take all hostages that are near with him instead of going directly to rescue zone
manager: fixed engine errors when removing bots with kickall with instant parameter
graph: strip http:// prefix from graph upload url, it should be always http for now
bot: improve handling of smoke grenades on ground (restored code from old yapb2 branch)
2023-06-23 19:52:46 +03:00
jeefo
5a2d0748c0
fix: bots on csdm never respawning thus never resets their states (fixes #459) 2023-06-20 22:00:15 +03:00
jeefo
b38c29af84
fix: windows-gcc build 2023-06-20 15:23:41 +03:00
jeefo
214b56f37b
fix: make ammo pickups actually to work
fix: buy: bots never buy enough ammo for secondary weapons
fix: yb_pickup_best disabling all pickups instead of weapons only
add: yb_pickup_ammo_and_kits, that allows to enable ammos medkits and kevlars
refactor: switched to crlib strings where possible
refactor: fix some compiler warnings at high levels
refactor: move constants to separate header (thx @spodlesniy)
2023-06-20 15:18:35 +03:00
jeefo
290a74f5b3
math: use sse3 for dot product by default 2023-06-18 21:49:17 +03:00
jeefo
5e5d037dbe
bot: allow to ignore forced game mod based on map prefix (related #458)
build: recover builds under android, cmake script still pending
2023-06-18 20:06:18 +03:00
jeefo
2a07092457
license: remove project years from license 2023-06-15 22:15:57 +03:00
jeefo
04503963c5
nav: re-added goal history for a round in some reworked way 2023-06-14 19:36:46 +03:00
jeefo
e24db4c27d
ctrl: display default menus on xash3d 2023-06-14 11:40:56 +03:00
jeefo
690d09a5d7
nav: do not avoid anyone in narrow places
nav: increase recent-probe repeat time
bot: allow to camp with secondary weapon if enough friends alive
bot:  think runs now at minimum 50fps, instead of every frame on xash3d
bot: make multilingual system work on xash3d (except menus right now)
engine: mark xash3d engine as modern game version
engine: add xash3d-specific cvars that are not  registered on goldsrc
cfg: do not spam on logs if multilingual or chatter configs not loaded because of game version
2023-06-13 19:55:03 +03:00
jeefo
6b508b1775
Merge branch 'master' of https://github.com/yapb/yapb 2023-06-10 02:20:01 +03:00
jeefo
6daa0a3cd2
bot: enable query hooking on xash3d-fwgs 2023-06-10 02:19:54 +03:00
jeefo
4c43f97d49
build: switch builder to ghcr 2023-06-09 21:09:57 +03:00
jeefo
132e1b1585
bot: fix: blind navigation interruption (thanks @spodlesniy ) 2023-06-09 20:23:54 +03:00
jeefo
cea1ec5d13
math: added complete-smid version of angle vectors for x86 2023-06-09 19:59:07 +03:00
jeefo
c767096fb7
fix: try to fix darwin build 2023-06-09 06:32:57 +03:00
jeefo
0b8cd9a01c
bot: benefit from sse4.x intrinsics if cpu capable
bot: speed some string functions if sse 4.x available
build: allow to build with native optimizations by settings -Dnative=true
2023-06-09 06:27:04 +03:00
jeefo
7f07817c52
fix: query hook not working on linux 2023-06-08 16:59:52 +03:00
jeefo
64aa02955c
fix: bot: some static-analyzer warnings fixed 2023-06-07 23:31:03 +03:00
jeefo
2928ba34fd
fix: nav: remove trace channel stuff completely 2023-06-07 23:27:11 +03:00
jeefo
f7785e2424
fix: nav: fix: nav: correct player feet in calculated jump direction (fix of previous commit) 2023-06-07 23:23:50 +03:00
jeefo
c3f9c02ec5
fix: nav: correct player feet in calculated jump direction
fix: planner: correct radius checking in astar path smoothing
2023-06-07 23:22:30 +03:00
jeefo
d2ded6f0a4
fix: windows build 2023-06-05 21:55:47 +03:00
jeefo
617ddd2498
bot: update submodules 2023-06-05 20:44:33 +03:00
jeefo
5d94dec74c
logger: allow to disable logging into the file 2023-06-04 22:19:08 +03:00
jeefo
fb672e70d4
redo: aim: remove redundant code 2023-06-04 22:14:30 +03:00
jeefo
50e6939cd0
Revert "fix: enemy selection when several shielded enemies are visible. (#451)"
This reverts commit dd1adab3b6.
2023-06-04 22:11:26 +03:00
jeefo
8523d6b5ab
Revert "aim: remove redundant code"
This reverts commit 5d5c3a5b23.
2023-06-04 22:11:18 +03:00
jeefo
5d5c3a5b23
aim: remove redundant code 2023-05-31 10:34:27 +03:00