Commit graph

192 commits

Author SHA1 Message Date
pierow
5fc8493b9a Fix crash in debug mode when spectating aliens. Credit to Neoptolemus. 2023-11-21 03:43:56 -05:00
pierow
9f324e47b0 Fix crash when player completes a commander order. Credit to @RGreenlees
- The crash possibly only occured in debug mode?
2023-10-22 23:24:42 -04:00
pierow
a04cc4fd40 add check for recent saying counter not resetting 2023-10-04 18:10:53 -04:00
pierow
61f3c7be61 fix mouse centering not working correctly with non-native fullscreen resolutions 2023-10-01 17:48:57 -04:00
RGreenlees
bf37abf714 Gorge web fixes for collision detection
* Webs placed on the floor now correctly connect with marines walking over them
* Allies and structures no longer block the web's effect if they're between the enemy and the web origin point
2023-09-26 14:37:11 -04:00
pierow
bebb696e50 fix health rings showing on the gorge being spectated while dead 2023-09-26 08:36:11 -04:00
pierow
e85d296092 fix ns_cvar_float returning int 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
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
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
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
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
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
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
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
pierow
21e6edcf2e Fix lerk fly animation not showing if they walked off a ledge 2023-08-23 17:29:04 -04:00
pierow
99bf170e7e Weapon/item drop rework
-Fix crash from plugins.
-Add spawn offsets for items.
-Improvements to anti-stuck falling weapon code.
2023-08-23 17:29:04 -04:00
pierow
5202080232 research tracker update 2021-11-12 10:35:11 -05:00
pierow
ea279fb321 reload while using armory 2021-11-12 10:35:11 -05:00
pierow
5a42d00ce4 fixed cursor disappearing after alt tab 2021-10-30 19:09:10 -04:00
pierow
039f01e42c Marine UI updates 2021-10-30 19:09:10 -04:00