Commit graph

242 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
pierow
30c66a434b GL staged reload and SG reload update 2021-10-30 19:09:10 -04:00
pierow
12a122af14 Disable unused libraries
-libcurl, libpng, zlib
2021-10-30 19:09:10 -04:00
pierow
0c18bffed4 fixed sg pellet visuals backwards compatibility 2021-03-01 20:39:18 -05:00
pierow
96f1cf2f28 client side weapon reload prediction update 2021-03-01 20:39:18 -05:00
pierow
b298eb9553 Fix popup menu costs not updating for 2nd round. 2021-02-12 07:32:45 -05:00
pierow
7f44ef2c8b fixed incorrect shotgun pellet visuals 2021-02-08 08:13:37 -05:00
pierow
68548a7af1
Reverting Gerhard's WIP minimap code (#96)
* revert Gerhard's minimap update. removing WIP code

* revert Gerhard's minimap alpha - removing WIP code from develop

* project file update

* fixed hl project mistake when reverting

* adding back Brett's changes lost in revert

* removed .wad checks for maps that are nolonger official
2021-02-05 22:00:14 -05:00
pierow
2586ec4c73 lerk gliding on ground 2021-02-05 16:18:16 -05:00
pierow
d4d05b21c5 Revert setmousevisibility showcursor change. Old piemenu showcursor code fixed. 2021-02-05 16:18:16 -05:00
pierow
418b053e61 fix popupmenu view spin regression 2021-02-05 16:18:16 -05:00
pierow
846ae6eece changed NS version to 3.3b1 2021-02-05 16:18:16 -05:00
pierow
ce5f18f1dc OS cursor over sprite cursor fix 2021-02-05 16:18:16 -05:00
pierow
5bbb473a44 cl_showspeed removed maxclimb and maxdive 2021-02-05 16:18:16 -05:00
pierow
86aef7782e pregame lifeforms update combat mode 2021-02-05 16:18:16 -05:00
pierow
a1f5c3ed0d playtest cvar additions 2021-02-05 16:18:16 -05:00
pierow
03bcd1f167 pregame lifeform update 2021-02-05 16:18:16 -05:00
pierow
50930aaa6e cl_ambientsound scales volume instead of bool
- Limited 1x scale because people have 2 in their configs from last patch.
2021-02-05 16:18:16 -05:00
pierow
95d0c38fdc backwards compatiblity update 2021-02-05 16:18:16 -05:00
pierow
99c40ae09e v3.2.3 features and fixes.
- Shotgun rework. Previously inconsistent shooting during reloads and desynced animations with server.
-- Shotgun reload can now be interrupted with a pump animation
-- Changed pellets 10 -> 17 and damage 17-> 10 to reduce inconsistency
- Networked ammo
- Client and server dll consistency checks added
- Backwards compatibility check for v3.2 servers to prevent prediction errors (popular demand)
- Players can change lifeform and use popupmenu in pregame warmup
- Fixed guns getting stuck in the air
- Reverted max speed to not be client cvar adjustable, fixing walk speed issues
- Added cl_mutemenu for players accidentally clicking on the scoreboard and going into squelch mode
- Removed default_fov as it did nothing but change sensitivty
- Fixed commander view scrolling keybinds
- cl_showspeed now works in readyroom and spectate
2021-02-05 16:18:16 -05:00
pierow
6d75594419 No build radius from structures changed to spherical instead of cylinder. Credit to AlienBird. 2021-02-05 16:18:16 -05:00
pierow
8ef9ff1f92 Commander selection cull distance increased to fix unupgradable structures that are vertically far from the commander. Credit to AlienBird. 2021-02-05 16:18:16 -05:00
pierow
dd3691c877 cl_showspeed no longer requires sv_cheats 1 2021-02-05 16:18:16 -05:00
pierow
ba32308dbc Recycling reward accounts for upgraded structures. Credit to AlienBird. 2021-02-05 16:18:16 -05:00
pierow
2fb18b989f
Merge pull request #69 from ENSL/pierow-changes
Changes/fixes to r_dynamic, cl_ambientsound, skulk walk speed, -attack
2020-07-11 21:34:37 -04:00
pierow
e5d4653cf3 cl_ambientsound corrected to be client side instead of server side. Works for mp3s. Wav ambient sound files in maps can't be toggled via client cvar due to engine limitation. 2020-07-11 20:07:00 -04:00
pierow
606f9765a0 corrected skulk walk speed (previous value changed with others to adress bug was incorrect) 2020-07-11 17:20:22 -04:00
Gerhard Klassen
ba163d233e Minimap update
+ Colored Players
+ Colored Structures / Different colors for unbuild/build structures
2020-03-29 17:47:47 +02:00
Gerhard Klassen
8674080504 minimap alpha 2020-03-28 20:16:47 +01:00
pierow
2a1a713c26 revert lightgamma changes - crash when connecting to dedicated server 2018-08-13 22:20:21 -04:00
pierow
10c6634b86 moved hud placement of armor to the left
quick fix for patch - to revisit this later
2018-08-13 17:30:53 -04:00
pierow
8623211c9f fixed hud_style 1 - uses correct sprite names 2018-08-13 17:29:39 -04:00
pierow
eae207d51c another change for lightgamma 1 being allowed 2018-08-13 02:04:22 -04:00
pierow
06e1017423 Addition of hud_style and cl_labelmaps changed to hud_mapstyle with additional maps 2018-08-12 22:27:24 -04:00
pierow
4b8318cad1 showcursor win32 only 2018-08-01 01:29:11 -04:00
pierow
22f6ab0c16 lightgamma 1 unrestricted 2018-08-01 01:02:21 -04:00
pierow
1cd1bf0522 sv_jumpmode queued and auto bunnyhop 2018-08-01 01:01:46 -04:00
pierow
bec0c1a46c cl_ambientsound and senslock commands 2018-08-01 00:59:34 -04:00
pierow
d2f9ceddd9 crosshair system update and merge with develop 2018-08-01 00:49:49 -04:00
pierow
8563f5b367
Merge pull request #17 from asmodev/asmo/vs2017
Code updates to support VS2017 compilation. Does not include project …
2018-07-31 23:04:13 -04:00
Asmo
b840fe80e0 Code updates to support VS2017 compilation. Does not include project updates. 2018-07-30 23:52:29 -04:00
pierow
b3fcf00ea8 FPS independent alien movement sounds 2018-06-06 18:56:58 -04:00
pierow
38e748c26a centers cursor with raw input in popup menu. half-working fix for OS cursor displaying over game cursor (reappears after esc menu is opened). 2018-06-06 18:54:37 -04:00
jonnypower
cfcde19373 Merge remote-tracking branch 'ensl/develop' into macos 2018-05-12 17:38:59 -07:00
pierow
b6862645ec added cl_widescreen and fix for commander item placement and background 2018-05-06 19:56:32 -04:00
jonnypower
84f75425e4 fix: Strongly typed collision tests for linux compile
- Regression from macos source changes
2018-04-29 22:14:05 -07:00
jonnypower
054f8d929b fix: Mem leak, use auto boxing for temp value 2018-04-29 22:14:05 -07:00
jonnypower
ea2a5833b7 feat: Compileable Mac OS 2018-04-29 22:14:05 -07:00
pierow
6a1e564bae Hor+ widescreen with commander fix, jetpack lateral accel not tied to FPS, and walk speed bug workaround 2018-04-22 12:43:44 -04:00
Ari Timonen
e31260376d Remove temp files 2018-04-22 18:56:29 +03:00
Ari Timonen
4f13237895 Update line endings
Change CRLF to LF in repo.
2018-04-22 18:55:55 +03:00