Commit graph

969 commits

Author SHA1 Message Date
RGreenlees
e4d82bef2e Bots understand trigger_changetarget
Bots can now navigate doors operated with a trigger_changetarget so they understand the sequence in which triggers must be activated to make it work
2024-03-20 22:10:55 -04:00
RGreenlees
b336ec028c Started Bot Swimming 2024-03-20 22:10:55 -04:00
RGreenlees
e64cb51067 Replaced arrays with vectors for simpler code 2024-03-20 22:10:55 -04:00
RGreenlees
82ea559a7a Implemented fully dynamic off-mesh connections
Phase gates now use connections rather than custom path finding. Much more performant.
2024-03-20 22:10:55 -04:00
RGreenlees
46efcdaeda Implemented long-range off-mesh connections and dynamic off-mesh connections 2024-03-20 22:10:55 -04:00
RGreenlees
53b51d68a7 Added team-based reachability calculations
Reachabilities for structures and items are now based on the team, so bots understand when they can't reach a structure from their spawn point.
2024-03-20 22:10:55 -04:00
RGreenlees
d5e5a62968 Added dynamic reachability calculations
When barriers and doors are open/closed, new reachability calculations are done for structures and items so bots understand when items/structures become reachable or unreachable as the match progresses.
2024-03-20 22:10:55 -04:00
RGreenlees
410351149e Replaced fixed arrays with vectors
* Resource node and hive lists are now vectors.
* Further improved bot weld behaviour
2024-03-20 22:10:55 -04:00
RGreenlees
d15e7bfdad Added weldable obstacles back into navigation
Bots now understand how to get around weldable barriers
2024-03-20 22:10:55 -04:00
RGreenlees
e72addc6d1 Improved bot door usage 2024-03-20 22:10:55 -04:00
RGreenlees
b7db5adcaa Reworked nav profiles
Nav profiles for bots are now dynamically updated to take into account changing capabilities, such as picking up a welder
2024-03-20 22:10:55 -04:00
RGreenlees
f8951d672b Improved bot understanding of door triggers and weldables 2024-03-20 22:10:55 -04:00
RGreenlees
efcd2cb03a Initial bot integration
* Integrated all basic bot code for navigation and task performing
* Added support for multi_managers to better understand how buttons and triggers affect doors
2024-03-20 22:10:55 -04:00
RGreenlees
699396af06 Added round restart and new map detection for AI system
Push before new project added for detour
2024-03-20 22:10:55 -04:00
RGreenlees
777025e794 Initial bot commit
* Added server commands and cvars for adding AI players to the game.
* Added auto modes for automating the adding and removal of bots
* Bots connect to the server and join teams correctly
2024-03-20 22:10:55 -04:00
pierow
4b1ec43d81
Update README.md 2024-01-21 18:20:56 -05:00
pierow
2c339fb9fd
Update README.md 2024-01-07 10:24:40 -05:00
pierow
5b68b5a778
Update README.md 2023-11-17 14:08:33 -05:00
pierow
c2df0b2715
Update README.md 2023-09-16 14:19:25 -04:00
pierow
cdbfeeb219 add ns_askr_b6 2023-09-16 11:52:24 -04:00
pierow
e2b3d7f2b2 generate symbols in release server dll for plugin offsets 2023-09-16 11:36:34 -04:00
pierow
e85d296092 fix ns_cvar_float returning int 2023-09-16 11:36:34 -04:00
pierow
ca5246501b localization map update 2023-09-16 11:36:34 -04:00
RGreenlees
664a578775 Optimised Text Localisation
Added an unordered map to act as a cache for text that has already been localised
2023-09-16 11:36:34 -04:00
RGreenlees
eb91c70a75 Prevent duplicate tooltips appearing on screen
Tooltips will no longer be added to the screen if that message is already being displayed. This prevents the same message (e.g. the ready room F4 message) from appearing multiple times if the player keeps pressing F4.
2023-09-16 11:36:34 -04:00
pierow
f9a8db4963 fix mouse centering for windowed mode 2023-09-16 11:36:34 -04:00
pierow
e241e23752 disable old tooltip border 2023-09-16 11:36:34 -04:00
pierow
d40e6e15bc mapnames update
-fixed text transparency
-performance optimizations
-default to on
-renamed to hud_mapnames
2023-09-16 11:36:34 -04:00
pierow
7c60c0a1c8 tooltip rendering performance optimizations 2023-09-16 11:36:34 -04:00
pierow
77f9bb5625 version number to 3.3beta7 2023-09-16 11:36:34 -04:00
pierow
415de7fad2 Turret eye/barrel position fix 2023-09-16 11:36:34 -04:00
RGreenlees
1c2a421648 Reverted the ignore intangible check on building placement
This sadly means that buildings cannot be placed where destroyed func_breakables and func_weldables are. Unfortunately, the fix also meant structures could be placed inside railings which would immediately cause them to sink
2023-09-16 11:36:34 -04:00
RGreenlees
501fa5ab18 Fixed func_nobuild being invisible to clients
* The client build preview now respects func_nobuild, fixing situations where the client thought it could build somewhere, but nothing would appear when clicking.
2023-09-16 11:36:34 -04:00
pierow
193f417144 Scoreboard squelch raw input update.
-Also made showcursor code for comm fall within raw input check.
2023-09-16 11:36:34 -04:00
RGreenlees
c95aa67ca9 Fixed cursor decrement 2023-09-16 11:36:34 -04:00
RGreenlees
9c6f780336 Fixed pop-up menu and commander UI cursor centering 2023-09-16 11:36:34 -04:00
pierow
873c7b1403 scorepanel hit update, still WIP 2023-09-16 11:36:34 -04:00
pierow
1c8668638d expand scoreboard panel and hitpanel so cursor can hit anywhere on screen 2023-09-16 11:36:34 -04:00
pierow
b44a8b7f63 fix commander view angle not restoring on exiting CC 2023-09-16 11:36:34 -04:00
pierow
91daecffdb Scale ambient and music volumes to game volume
-cl_musicvolume changed to scalar
-cl_ambientsound changed back to scalar
2023-09-16 11:36:34 -04:00
RGreenlees
79d3e270a6 Fixed crouched Onos ladder logic
Forgot to add exception when Onos is crouching to previous commit
2023-09-16 11:36:34 -04:00
RGreenlees
fcaa98aefe Fixed Onos ladder code
Onos ladder detection was assuming player was 64 units high instead of actual 108. By correcting the assumed hull size for Onos players, it now detects ladders as reliably as other player sizes.
2023-09-16 11:36:34 -04:00
RGreenlees
d6c9aa93af Removed additional unneeded dependencies
And added SERVER preprocessor definition for debug/playtest
2023-09-16 11:36:34 -04:00
RGreenlees
b9fa136bef Overhauled Visual Studio Project
* Removed superfluous configurations
* Removed superfluous include directories and hard-coded library locations
* There are now only 3 configurations: Debug, Playtest and Release
* Debug and Playtest have the PLAYTEST and BALANCE_ENABLED preprocessor commands, while release doesn't
* Release has maximum optimisations enabled. Debug has none, and playtest has minimal
* Removed hard-coded output directories based on half-life installations, dlls are output in the solution folder (and user can customise as they see fit)
* All projects for all configurations compile without warnings or errors
2023-09-16 11:36:34 -04:00
pierow
5cf36cb28f add check for cl_musicenabled before initing fmod 2023-09-16 11:36:34 -04:00
pierow
a4970388ef Fix for hang on exit.
Also change fmod to not load if cl_ambientsoun is 0 and made this cvar 0-100 to match the music volume cvar.
2023-09-16 11:36:34 -04:00
pierow
3d5cb0bc6d Fixed func_breakable and func_weldable permanently blocking building placement
This is a fix for Issue #55. Changes made:

* Server ignores intangible entities when determining if a building placement is valid (fixes func_breakable issue)
* If a func_weldable has the "welds open" spawnflag set, then upon completing the weld when it plays the break effect, it will become fully intangible. It will reset upon round restart.

Fix by @RGreenlees
2023-09-16 11:36:34 -04:00
pierow
47f1f81bd7
Update README.md 2023-09-06 02:02:25 -04:00
pierow
d583cff875
Update README.md 2023-09-06 01:57:40 -04:00
RGreenlees
472e2c8d13 Fixed web hit detection
Fix for issue #94.

Gorge web strands now have hit detection which matches their visible component. This is for both ensnaring marines, and for cutting them with a welder.

This has the following impacts:

* Webs are easier for marines to avoid since they can safely jump or duck under angled strands, however...
* Webs are harder for marines to cut as they can no longer clear a while corridor with a single click but have to actually aim at each strand
2023-09-05 13:14:40 -04:00