Commit graph

916 commits

Author SHA1 Message Date
Владислав Сухов
c5e233304d
cfg: ru_lang.cfg: translated new line 2023-09-21 17:36:51 +06:00
jeefo
cfac2ab472
nav: disable player avoidance when in csdm free for all mode 2023-09-19 10:24:06 +03:00
jeefo
948b441541
fix: bad maxspeed after respawn with csdm (ref #482)
fix: free for all mode has no friends or foes
chat: disable dead chat on csdm
2023-09-14 16:48:36 +03:00
jeefo
4d82de8375
fix: update immediately on player connect and disconnect 2023-09-10 13:08:18 +03:00
commandcobra7
ae9beff151
fix: texts have been corrected. (#477)
task: normal: skip sniper node if no sniper weapon.
task: normal: don't walk if there are no enemies left and they are using knives.
task: attack: get proper function if bots lose close node after attack task.
nav: unnecessary codes cleared.
combat: attack movements reviewed.
bot: enemy hearing is now better. (thanks for the @spodlesniy idea)
desire: increased desire to seek cover by distance. (made for zombie plague mod)
---------
Co-authored-by: jeefo <jeefo@rwsh.ru>
2023-09-10 11:12:15 +03:00
jeefo
e753efd678
nav: allow to disable player avoidance via yb_has_team_semiclip cvar (ref #478) 2023-09-10 11:10:31 +03:00
Владислав Сухов
5fcfb3df40
fix: typo in comment 2023-08-22 17:59:23 +06:00
jeefo
5fddfed5ce
refactor: move wave length calculation to util class 2023-08-22 09:45:29 +03:00
Владислав Сухов
659db9b063 cfg: ru_lang.cfg: translated new line 2023-08-14 20:40:43 +00:00
Владислав Сухов
723a2c93c4 control: removed an unnecessary apostrophe ( ' ) and slightly changed the wording of the path_clean command description 2023-08-14 20:36:01 +00:00
jeefo
c927812c3b
crlib: update submodule 2023-08-08 11:48:52 +03:00
jeefo
fb301b7b19
control: add g path_clean to remove all links from node (#475)
refactor: small cosmetic changes
2023-08-08 11:48:37 +03:00
jeefo
fe5c8ef053
fix: do not break translation in favour of us english 2023-07-27 01:46:55 +03:00
jeefo
0cf7c65a9b
Merge branch 'master' of https://github.com/yapb/yapb 2023-07-27 01:44:36 +03:00
jeefo
8f688b1bc7
graph: always use lowercase map name when downloading graph
package: use default graph endpoint instead of cdn
2023-07-27 01:44:32 +03:00
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
Владислав Сухов
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