Commit Graph

524 Commits

Author SHA1 Message Date
RGreenlees 3a1a92c505 Alien Combat 2024-03-20 22:10:55 -04:00
RGreenlees f31e2bbf1c Alien assault AI 2024-03-20 22:10:55 -04:00
RichardGreenlees ccf180d9a3 Iterate Capper Logic 2024-03-20 22:10:55 -04:00
RGreenlees f59de3b88f Adjusted base node definitions 2024-03-20 22:10:55 -04:00
RGreenlees bb810972c5 More alien role work 2024-03-20 22:10:55 -04:00
RGreenlees 9e4c531346 Continuing alien building and other non-combat logic 2024-03-20 22:10:55 -04:00
RichardGreenlees d3e1d18e11 Start alien tactical decisioning 2024-03-20 22:10:55 -04:00
RGreenlees 07f488af9a Implement gorge building behaviours 2024-03-20 22:10:55 -04:00
RGreenlees 083f1ad3ac Start reimplementing alien AI 2024-03-20 22:10:55 -04:00
RGreenlees 933ed063f0 Reimplemented regular marine AI 2024-03-20 22:10:55 -04:00
RGreenlees 32e7a74db5 Commander scanning tweak 2024-03-20 22:10:55 -04:00
RGreenlees eec967b707 Improve commander sieging 2024-03-20 22:10:55 -04:00
RGreenlees aa314842ce Commander improvements 2024-03-20 22:10:55 -04:00
RGreenlees b78629738d Re-implement commander AI 2024-03-20 22:10:55 -04:00
RGreenlees 7440810699 Fix crash with path finding 2024-03-20 22:10:55 -04:00
RGreenlees 72f48fe4ee Improved skulk ladder usage and lerk lift usage 2024-03-20 22:10:55 -04:00
RGreenlees 81320dd2dc Fixed dodgy path finding 2024-03-20 22:10:55 -04:00
RGreenlees c63ad98c14 Finish lift movement 2024-03-20 22:10:55 -04:00
RGreenlees f5ca613a4f Fixed bug with multiple off-mesh connections close together 2024-03-20 22:10:55 -04:00
RGreenlees af54f6816b Tweak lift and welder usage 2024-03-20 22:10:55 -04:00
RGreenlees 39f183864c Lift improvements
* Bots avoid getting crushed under a lift when summoning it
* Bots are better at judging which stop a platform needs to be at
2024-03-20 22:10:55 -04:00
RGreenlees 6ebe05483c Added lift and moving platform support 2024-03-20 22:10:55 -04:00
RGreenlees 80b9c4035d Fixed trigger types and links to doors 2024-03-20 22:10:55 -04:00
RGreenlees 086a87c308 Redid population of door triggers 2024-03-20 22:10:55 -04:00
RGreenlees 12fb10f998 Implement new off-mesh connection system 2024-03-20 22:10:55 -04:00
RGreenlees 97b87089f6 Push before trying to fix long-range connections 2024-03-20 22:10:55 -04:00
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 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
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
RGreenlees 23760a7df7 Generate debug symbols for client dll
* This change now means that cl_dll can be properly debugged
2023-09-03 17:17:25 -04:00
pierow 5cb0039a41 add hud_drawwaypoints to adv options 2023-08-31 18:57:06 -04:00
pierow 223dbfa988 disable cheats by default on listen server settings 2023-08-31 18:57:06 -04:00
pierow 2ca087b76c sayings can be used twice in succession 2023-08-31 18:57:06 -04:00
pierow 6598ac870a spectators can see hive and research info
-could use some clean up
2023-08-31 18:57:06 -04:00
pierow 98b815da57 fix server crash on HLTV join 2023-08-31 18:57:06 -04:00
pierow 6ee8db7f9e fix rings drawn around hurt gorge being spectated 2023-08-31 18:57:06 -04:00
pierow 152869e6b1 add hud_drawwaypoints 2023-08-31 18:57:06 -04:00
pierow b443eeb5a1 fix welder name tag showing on alien players 2023-08-31 18:57:06 -04:00
pierow 62206c3bdb v3.3b6 2023-08-31 18:57:06 -04:00
pierow 1cee337d22 add ns_askr_b5, remove b4 2023-08-31 18:57:06 -04:00
pierow 7791ebd8d2 update adv options with new commands 2023-08-23 17:29:04 -04:00
pierow dbf3b84ab7 add hud_nameinfo; welder text on client 2023-08-23 17:29:04 -04:00
pierow 60c4e0901c research tracker info in demo/hltv
-not sure if there's a demo verison that needs to be updated
2023-08-23 17:29:04 -04:00
pierow 93d134dca4 Added mp_parasiteonmap playtest cvar 2023-08-23 17:29:04 -04:00
pierow 97ea2a098c Add hud_minimapnames
-Original code by alien bird/eternium. Thanks!
-Removed names for self and other team
-Default off due to black background on text
2023-08-23 17:29:04 -04:00
pierow 0e90cd5414 Parasite indicator on player names
-Added indicator if looking at a parasited player
-Changed commander parasited player indicator and color to always show, regardless if selected
2023-08-23 17:29:04 -04:00
pierow a8f20956c4 add welder indicator to names status bar 2023-08-23 17:29:04 -04:00
pierow e17bd9f3de add echodev command 2023-08-23 17:29:04 -04:00
pierow edfee609fc add hud_teamhealthalert
-update ring UI logic to show weldable/healable players rings
2023-08-23 17:29:04 -04:00
pierow 3117a9f990 add cl_weaponswap
-refactored from alienbird's autoswap with new features
2023-08-23 17:29:04 -04:00
pierow ff051cab8e add mp_randomresfromkill 2023-08-23 17:29:04 -04:00
pierow c270808c43 fix being stuck reloading if reload was held while shooting sg or gl 2023-08-23 17:29:04 -04:00
pierow cab8803828 fix reload animation not showing on client
-occured if empty on reserve ammo and walking over an ammo pack while holding reload
2023-08-23 17:29:04 -04:00
pierow bd57692b55 add ns_askr_b4 minimap sprite 2023-08-23 17:29:04 -04:00
pierow 07bba9caa6 add ns_askr_b4
-missing some minimap sprites
2023-08-23 17:29:04 -04:00
pierow 8a12a11fd5 Jetpacks 15 res, by popular demand. 2023-08-23 17:29:04 -04:00
pierow 96a268a91f Fixed weapon spread for fake clients (bots). Thanks Neoptolemus! 2023-08-23 17:29:04 -04:00
pierow 52630598ad Debug build config. Works on server dll. Thanks Neoptolemus! 2023-08-23 17:29:04 -04:00
pierow c7acee5e87 Removed v3.2 backwards compatability and some playtest cvars
- Fork is now too different to maintain backwards compatability
2023-08-23 17:29:04 -04:00