commandcobra7
a06418b3b3
aim: now looks at next node while navigating ( #472 )
2023-07-27 01:19:19 +03:00
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
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
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
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
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
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
6daa0a3cd2
bot: enable query hooking on xash3d-fwgs
2023-06-10 02:19:54 +03:00
jeefo
132e1b1585
bot: fix: blind navigation interruption (thanks @spodlesniy )
2023-06-09 20:23:54 +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
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
spodlesniy
dd1adab3b6
fix: enemy selection when several shielded enemies are visible. ( #451 )
...
opt: minor optimizations in conditions (changed sequence of OR checks).
2023-05-30 08:47:28 +03:00
jeefo
e016fa299e
fix: lightlevel calculation crash on 64bit xash
2023-05-25 15:19:08 +03:00
jeefo
b816cd39aa
aim: fix: ensure pathfinder succeeded when predicting
...
bot: support for x64 xash fwgs builds
2023-05-25 05:20:30 +03:00
jeefo
fcda101224
aim: fix: check last enemy not current enemy in prediction
2023-05-25 00:07:03 +03:00
jeefo
9ff97c1997
aim: wipe prediction if destination is not index isn't exists
...
bot: remove copyright year, and provide original author nickname
lang: fix some spelling
2023-05-24 23:41:23 +03:00
commandcobra7
9ae7c38b80
fix: removed unnecessary codes in ladder handling
...
fix: collision case the bot can jump if it's not on the ladder, so it won't press the jump button when going up the ladder
2023-05-15 11:44:02 +03:00
jeefo
48fba9a6b7
refactor: move config reader into right class
2023-05-14 14:48:06 +03:00
jeefo
b722b2d327
nav: make bot use computed jumps on analyzed maps
2023-05-13 00:08:53 +03:00
jeefo
5a6dc52956
aim: do not change look at at dest origin when failing predict
2023-05-12 23:21:18 +03:00
jeefo
57f5c1f323
nav: pause a little if doing jump sequence
2023-05-12 22:41:53 +03:00
jeefo
7f4d4748fa
fix: center-screen messages not appearing ( fix : #446 )
...
fix: crash when creating too much threads
refactor: fix typos in comments in headers
2023-05-12 22:12:22 +03:00
Владислав Сухов
b946cbdcbf
add: creating a jump path via menu and console command
2023-05-12 21:19:07 +03:00