Commit graph

175 commits

Author SHA1 Message Date
Владислав Сухов
4be2448626 add: 5th playerclass for condition zero 2023-02-07 10:19:40 +00:00
Владислав Сухов
fc493e288c
fix: toggling t and ct important flags when there are other flags on the node (#405)
fix: removed unnecessary condition for toggling the camp flag
2023-02-07 15:17:52 +06:00
jeefo
84c2794aed
fix: crash with menus and commands (resolves #292) 2023-02-02 16:52:28 +03:00
jeefo
2eb9582c74
Revert "fix: do not handle client commands from fakeclients (ref: #292)"
This reverts commit 544d858fe6.
2023-02-02 16:31:09 +03:00
jeefo
544d858fe6
fix: do not handle client commands from fakeclients (ref: #292) 2023-02-01 21:27:23 +03:00
jeefo
9d8318e584
fix: probably fix for duplicate bot names when save names active (ref #403) 2023-02-01 21:19:17 +03:00
Владислав Сухов
0d4fcdcf4d
fix: don't open the camp directions menu when removing the camp flag from a node created via the "Add Waypoint" menu (#402)
* fix: open the camp directions selection menu when adding the camp flag to nodes with crossing flag
2023-02-01 14:08:19 +06:00
jeefo
70c8af1464
add: new regamedll entity to legacy linkents 2023-01-28 19:04:11 +03:00
Владислав Сухов
6cac8f7381 fix: filling the server with bots one more than specified 2023-01-25 10:39:52 +00:00
Владислав Сухов
da574c11b3 add: teamkill chatter event 2023-01-24 14:38:08 +00:00
Владислав Сухов
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