Commit graph

1,145 commits

Author SHA1 Message Date
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
jeefo
ef23d16004
ci: replace some actions with `gh` cli commands 2024-02-19 14:20:52 +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
fe1bca4fcc
Merge branch 'master' of https://github.com/yapb/yapb 2024-02-17 22:14:36 +03:00
jeefo
5d0d522c17
fix: famas burst-fire change is not detected due to missing handling of message 2024-02-17 22:14:31 +03:00
Владислав Сухов
74b6f0cbfd cfg: ru_lang.cfg: translated new line 2024-02-17 09:49:37 +00:00
jeefo
475d290767
fix: allow to pickup ammo and kits regardless of weapon 2024-02-17 00:09:32 +03:00
jeefo
816e020978
fix: bots re-pickup same weapon multiple times (fiex #523)
fix: ammo pickup isn't working due to mistake between numbers and indexes
2024-02-16 22:01:01 +03:00
jeefo
c662f4a08f
refactor: break some very long conditions 2024-02-16 00:57:41 +03:00
jeefo
375a64b861
nav: reworked bot dropping on pathfinder failure 2024-02-15 23:57:54 +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
c0715714d6
combat: throw explosive near friends when friendly fire is off 2024-02-15 05:04:02 +03:00
jeefo
ad5352b041
combat: minor fixes to the grenade throwing conditions 2024-02-12 16:04:22 +03:00
jeefo
d2ba4b6ab6
combat: remove excessive ducking 2024-02-12 08:01:06 +03:00
jeefo
e7a67347f1
graph: enable graph c collection by default
bot: bump version to 4.5
2024-02-10 22:50:53 +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
f05091d6cc
Merge pull request #520 from commandcobra7/master
nav: rusher bots does not care any danger (idea from pbmm) nav: some changes in collision motion
2024-02-10 21:21:13 +03:00
jeefo
78a5dd50a1
revert: some changes that are broke behavior
nav: fix: can strafe left is doing wrong things
2024-02-10 21:20:25 +03:00
Владислав Сухов
734eb82fba
bot: enable speech at server startup for xash3d (#522) 2024-02-10 20:08:35 +03:00
Владислав Сухов
e110419c2f control: added 'defaults' argument to yb cvars command help 2024-02-10 16:20:14 +00:00
Владислав Сухов
19b50cadd2 fix: remove an unnecessary apostrophe in the description of yb_graph_auto_collect_db (grammar correction) 2024-02-10 16:00:14 +00:00
Владислав Сухов
dbd90d0cce cfg: ru_lang.cfg: translated new lines 2024-02-10 15:55:52 +00:00
commandcobra7
eea78ac031
nav: rusher bots does not care any danger (idea from pbmm) nav: some changes in collision motion 2024-02-04 15:32:13 +03:00
jeefo
9e48175e67
crlib: update submodule 2024-02-03 12:01:23 +03:00
jeefo
bc2b19ab70
build: fix gcc warnings 2024-02-01 14:28:15 +03:00
jeefo
e1777b900f
fix: attack movement with knives 2024-02-01 08:08:00 +03:00
jeefo
80e59c2c24
fix: use real teams when joining the games 2024-01-31 13:04:02 +03:00