Commit graph

376 commits

Author SHA1 Message Date
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
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
Владислав Сухов
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
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
c03d8ac790
fix: bots can't plant bomb on multi-scenario maps (fix #537) 2024-03-19 23:38:48 +03: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
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
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
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
5d0d522c17
fix: famas burst-fire change is not detected due to missing handling of message 2024-02-17 22:14:31 +03: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
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
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