Commit graph

315 commits

Author SHA1 Message Date
Владислав Сухов
2d2ca5fd22
Some menu tweaks (#397)
* add: debug goal menu and new node flags to the flag selection menu

* translate: russian: translated new lines

* update: bump the year
2023-01-22 19:12:03 +06:00
jeefo
11c5e045d1
fix: flaws in previous commit 2023-01-18 22:46:07 +03:00
commandcobra7
50aecc1332
fix: don't allow to install a silencer if we have a visible enemy
aim: fixed the distortion of angles while camping
add: special ladder handling (code merged from podbotmm)
graph: reworked some node coloring and link color
2023-01-18 22:32:38 +03:00
Владислав Сухов
e29ddbf230 fix: remove redundant apostrophe 2022-12-27 12:13:29 +00:00
jeefo
69d2b88618
graph: raise yb_graph_draw_distance limit to 3072 units (resolves #390) 2022-12-22 21:34:39 +03:00
jeefo
879edf5a1d
Merge branch 'master' of https://github.com/yapb/yapb 2022-12-22 21:33:13 +03:00
jeefo
0a45ea6ad7
graph: add adjust_height per request (resolves #388)
this command adjusts height (z-component) of all the graph nodes on map with specified height offset, negative height offset can be passed as parameter as well.
2022-12-22 21:32:45 +03:00
commandcobra7
2865241b16
fix: fixed bots not being able to break through the breakable wall. (solves #383) (#389) 2022-12-10 21:43:19 +03:00
commandcobra7
65884329dc
ai::some tweaks to bot behavior. (#386)
desire: disable hunting desires if bots are now vip or have hostages.
bot: disallow item acquisition if we have a visible enemy.
2022-11-27 05:08:38 +03:00
jeefo
bbeb78137e
nav: ensure nearest search node visible from both sides 2022-11-11 21:36:05 +03:00
jeefo
1debbe3654
aim: use aiming node instead of nearest to predict enemy position (suggested by @commandcobra7) 2022-11-11 21:23:15 +03:00
commandcobra7
4160aa585d
fix: check the last enemy presence without looking at the wall (related to #303) (#377) 2022-10-18 22:23:29 +03:00
Владислав Сухов
b80bb538af
fix: do not write modified_by if the name matches the author (#375)
fix: do not write modified_by if the name matches the author
fix: missing empty author string check
2022-10-09 22:51:32 +03:00
Владислав Сухов
3c10cc0e67
fix: write "Official Navigation Graph" if graph author matches the product.name (#376)
which was broken after the commit a3288cc353
2022-10-09 22:51:00 +03:00
jeefo
a3288cc353
fix: prevent loading graphs with less than 8 nodes (brokes pathfinder)
fix: prevent running A* with less than 8 nodes (in case converted one)
fix: trying to play with graph author/modified stuff per #374
2022-10-06 17:01:18 +03:00
jeefo
18ee4ce38b
fix: only update modified field, if name of the author differs 2022-10-06 14:50:58 +03:00
jeefo
c411f1e777
fix: reset graph authors upon graph reset (should fix #373) 2022-10-04 12:30:14 +03:00
jeefo
e1d64b62ce
fix: revert graph version to 2
add: allow loading of graphs with different versions for future bot versions.
2022-10-03 11:20:06 +03:00
jeefo
fd7b722fd8
add: make graph author read-only if graph file already has author upon load (resolves #369) 2022-09-21 14:47:36 +03:00
commandcobra7
07a8a5c81e
fix: bots do not look at the wall while camping. (solves #303) 2022-09-13 10:57:59 +03:00
dmitry
10db943cdf
fix: unrelated client messages by resetting client command issuer, if not handled by the bot (related #360 ) 2022-09-10 15:47:41 +03:00
dmitry
5bef87900a
fix: possible fix for #330 by @commandcobra7 2022-09-10 02:31:53 +03:00
jeefo
b606b78cda
improve: use ScoreAttrib message to detect if bot is a VIP or not. (#356)
This should resolve problems with bot behavior, when plugins changes VIP player model to something else.
2022-08-03 23:59:57 +03:00
dmitry
659f69d0f0
graph: do not touch buckets while editing graph.
it's not necessary as buckets are created upon every graph load, so it's just waste of cpu cycles while editing graph.
2022-06-17 13:41:23 +03:00
Владислав Сухов
b42e4e312a
add: yb_pickup_best cvar (#344) 2022-06-10 23:18:06 +03:00
Владислав Сухов
a4bb513226
add: red and blue arrows pointing to danger index
for Terrorists and Counter-Terrorists respectively
2022-04-24 19:28:36 +06:00
dmitry
ad34b1e888
fix: chat percentage isn't working as expected (resolves #332) 2022-04-18 17:31:37 +03:00
jeefo
98704303ef
Merge pull request #329 from yapb/issue-326
fix: wrong data type for flash level (flashbat message) (resolves #326)
2022-04-14 15:49:15 +03:00
dmitry
af992c374c
fix: wrong data type for flash level (flashbat message) 2022-04-14 12:36:23 +03:00
dmitry
a49f95f506
fix: use memfile to use engines search paths for veryfying chatter files. 2022-04-14 11:55:37 +03:00
dmitry
1eac0f8be8
fix: do not remove player_weaponstrip on regamedll (not affected by this bug) 2022-04-08 17:57:19 +03:00
dmitry
06774a4282
fix: do not prevent buying on fy_* maps, (fix #325)
If you need to prevent bots buying on specific map use map-cfg with yb_botbuy 0.
2022-04-03 14:43:29 +03:00
Владислав Сухов
45992e3044
fix: prevent dropping weapons on "Drop C4" command 2022-03-20 15:43:05 +06:00
dmitry
7cde86e88c
fix: do not save bots names between levels when name prefix is set (fix #315) 2022-03-10 09:38:53 +03:00
dmitry
201626df91
fix: print queue isn't resetted on changelevel (fix #314) 2022-03-01 21:45:52 +03:00
dmitry
40116a201d
fix: command menu drop command causes crash with thirdparty bots (fixes #309) 2022-02-23 22:05:58 +03:00
dmitry
ce01e28be3
fix: prevent bots from staying forever trying to destroy breakable (fixes #288) 2022-02-22 13:51:59 +03:00
dmitry
5104508665
refactor: change comparison order in weapon pickup code 2022-02-22 10:21:21 +03:00
dmitry
51c645172a
fix: re-check ground weapon upon pickup to recheck weapon is nice to us (fix #301) 2022-02-21 11:03:59 +03:00
dmitry
2c523441ae
fix: look straight when picking up the hostages (fixes #305) 2022-02-21 10:43:39 +03:00
Владислав Сухов
e59ed4d48f
fix: display message about missing camp points
Related to: https://github.com/yapb/yapb/issues/306
2022-02-18 17:30:29 +06:00
dmitry
5d2a81f341
fix: make bots reach the debug goal node. 2022-02-12 23:22:54 +03:00
dmitry
4552ebd79c
graph: auto acquire editor rights via menu 2022-01-31 22:00:07 +03:00
dmitry
7dc34bd7fa
fix: do not update pings for any players that are not yapb or real players (related #284) 2022-01-31 20:24:50 +03:00
dmitry
5019b34426
add: made terrorist more offensive and cts more defensive on es_ maps (#295 related) 2022-01-29 12:26:25 +03:00
dmitry
81a308de21
fix: clear out graph editor upon player disconnect 2022-01-29 12:20:11 +03:00
Владислав Сухов
c0e417cca7
add: option to disable autosaving
fix: autosave nodes 1 more than specified in cvar.
Now, if the value of cvar is 15, then every 15th node will be autosaved.
2022-01-23 21:15:21 +06:00
dmitry
26edd7e35b
fix: do not override other bots ping value (resolves #284) 2022-01-21 23:45:20 +03:00
dmitry
c0d2ae4915
fix: removed duplicate messages with cache points in console command (resolves #286)
fix: massive message overflow when displaying nodes info (resolves #287)
add: yb_graph_draw_distance,cvar so you can specify visible nodes draw distance in editing mode
2022-01-21 23:39:26 +03:00
dmitry
f6cbc49ca9
fix: bomb plant chat section is mistakenly assigned to kill chat section (fixes #281) 2022-01-19 01:11:01 +03:00