Commit graph

149 commits

Author SHA1 Message Date
pierow
a6c6f8c8e9 add todo for health/ammo ultrawide inset 2024-05-10 16:24:44 -04:00
pierow
6fd6cb8b8b fix todo comments for task list 2024-05-10 16:24:44 -04:00
pierow
2f6ddf68bb add 4 digit health and armor support
- fix armor number spacing
2024-05-10 16:24:44 -04:00
pierow
92db73eb89 Fix side mouse buttons registering as left click when using the cursor.
- also allow mouse3/4/5 binds to be accessible as commander.
2024-05-10 16:24:44 -04:00
pierow
8835eb0a60 add cl_teamcfgs
- can change auto execution of team configs to be  0 =off, 1 = if playing only, 2 = also in spectate
2024-05-04 05:56:52 -04:00
pierow
710518f55a optimization to first person spec viewmodel loading 2024-05-04 05:56:52 -04:00
pierow
b5177e8e47 Additional spectator fixes
- fixed issues with piemenu cursor code being enabled when spectating
- the cursor is now enabled when in an observer mode that locks the view.
- fixed bugs/exploits where dead players could first person spectate the enemy team or travel around in freelook if all spectatable players on the team are dead.
2024-05-04 05:56:52 -04:00
pierow
e24041c64a Add spec crosshair
- Fix readyroom crosshairs not applying after leaving a team
2024-05-04 05:56:52 -04:00
RGreenlees
4f32271532 Fix broken roaming spectator mode
* Added server cvar (mp_freespectatormode) which controls when a player can enter a free spectator mode (orbit cam, or free roaming). 0 = never, 1 = only when spectator, 2 = Always
* Free roaming will now be part of the cycle when pressing the jump key
* The overlay is now toggled with the crouch button
* Strafing in free roaming no longer snaps to different players
* Fixed bug that would break spectating completely if returning to the ready room while in free roam
* You can no longer enter free roaming using the "specmode" and "spec_mode" console commands if it's disabled by the server
2024-05-04 05:56:52 -04:00
pierow
019045c5c7 fix unsafe type error 2024-05-04 05:55:53 -04:00
pierow
b53db7408f remove debug code that was left in 2024-05-04 05:55:53 -04:00
pierow
aa3ddd6017 revise hud waypoint command names and usage
-now hud_waypoint_draw and hud_waypoint_blink
2024-04-29 20:14:01 -04:00
pierow
c800522dcc fix typos and register cl_placebo to prevent error messages
- thanks @lameos for sending me the typos
2024-04-29 20:14:01 -04:00
pierow
af04d9a078 waypoints update
- hud_drawwaypoints was fixed in an earlier commit so waypoints don't show again when respawning
- add additional hud_waypointblinking code
2024-04-29 20:14:01 -04:00
pierow
c5153c4ab1 health and ammo HUD scaling
- Scale HUD with a modified version of @Toodles2You 's triapi HUD scaling
- Add commands for position, scale, and minimum alpha of heath and ammo
- Fixes sprite blurring
- Fixed nearby pixels bleeding in to the drawn sprites
- Fixed the health cross art being cut off at the edges
2024-04-29 20:14:01 -04:00
pierow
f39297efcb Fix gamma ramp and add hud_waypointblinking
- fix gamma ramp not working correctly on maps with no env_gamma entity
- add hud_waypointblinking
2024-04-29 20:14:01 -04:00
pierow
3b8049d226 fix crosshair circle rendering issues and added round dot option 2024-04-29 20:14:01 -04:00
pierow
68b7278072 weapon animation fixes
- Fixed animation issues with pistol binary trigger and moved the binary triggering to client code
- Fixed reload animation not always playing
- Fixed numerous incorrect or broken alien weapon animations on every class
- Added transitional animation out of gorge building
2024-04-17 22:41:10 -04:00
pierow
09c48fa653 config updates 2024-03-26 19:22:41 -04:00
pierow
417892f507 presets and 33b8 update
- adjust hivesight labels to be less visibile if they're not being attacked
- add crosshair scaling when above 1080p
- fix music not playing after the first map
- config updates
2024-03-13 09:10:50 -04:00
pierow
42346aee87 fix crash after getting kicked from a server 2024-03-12 08:04:52 -04:00
pierow
90ebbdda23 presets update
- add network rate presets
- add cl_intensityalt for alternative gamma ramp in env_gamma map entities
- separate welder flickering dynamic light setting
- crosshair updates
2024-03-10 16:58:37 -04:00
pierow
833eb0a792 merge in HL25 fixes 2024-03-04 23:29:53 -05:00
pierow
856e71f05a healspray +movement and cl_weaponcfgs improvements 2024-03-04 23:10:56 -05:00
pierow
3e404baff8 ns presets update
- add new default crosshairs, enabled with cl_weaponcfgs 2
- crosshair bugfixes
- add box crosshair and sub-pixel outline control
- cl_musicdelay -1 plays a track once at start of round
- removed title track from gameplay (main menu only)
- cl_bob cvars archived
- remove HL-style tilting weapon bob in spectate
- sv_randomrfk default off
- more gamma ramp removal
- remove valve shader hash check
- archive showspeed cvar
- update debug and playtest solutions for GLEW
- add HL25 wav file for button select (button rollover sound was removed in HL25)
2024-03-04 22:13:32 -05:00
pierow
0bdc52796f presets and postprocessing update 2024-02-29 01:33:35 -05:00
pierow
dcb4de963d merge in postprocessing 2024-02-28 22:46:22 -05:00
pierow
8ab1a69972 add postprocessing
- add GLSL postprocessing shader to world view and have it replicate the old gamma ramp
- clear framebuffer between frames to fix visual bugs outside map
- remove old gamma ramp code (was disabled) and remove gamma adjustments to hud elements as they're now unaffected by the shader
- additional visual preset config updates
2024-02-28 22:36:49 -05:00
pierow
0688b2ef65 fix pistol firing when closing game menu or tabbing in 2024-02-07 00:48:35 -05:00
pierow
5636d7a103 NS preset switcher update WIP 2024-02-04 04:08:01 -05:00
pierow
ceb814f4f6 weapons update
- add pistol binary trigger aka pistol script and attack queueing
- add gorge heal spray +movement
- lerk flap +movement update
- fix for onos attack release bugs with +movement
2024-02-04 04:05:28 -05:00
pierow
8fde5dc37c NS preset switcher WIP
- needs sv_allow_shaders and hl25 at the moment and it piggybacks off the hl25 overbright shader using the average gamma ramp setting for ns maps.
2024-01-30 01:02:16 -05:00
pierow
e59ea9b87f readd line deleted in error 2024-01-14 17:36:59 -05:00
pierow
ae447029c0 add cl_bobview 2024-01-14 16:57:25 -05:00
pierow
abef5c5cca fix view spin when disabling the cursor
-revisit this when HL25 SDK is released
2024-01-13 21:22:04 -05:00
pierow
48da9f7260 add lerk flap to +movement 2024-01-08 13:22:32 -05:00
pierow
56512a8f45 additional removal of old widescreen 2023-12-06 05:46:16 -05:00
pierow
0e88d368b9 HL25 fixes
-Add new widescreen method and exploit prevention
-disable old widescreen method and exploit prevention
-force sv_rollangle 0
-add sv_widescreenclamp to limit fov expansion to 16:9
2023-11-27 16:01:49 -05:00
pierow
bf34643be3 revise mouse paramater comments 2023-11-25 13:46:15 -05:00
pierow
61f3c7be61 fix mouse centering not working correctly with non-native fullscreen resolutions 2023-10-01 17:48:57 -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
pierow
f9a8db4963 fix mouse centering for windowed mode 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
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
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
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
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