Commit Graph

26 Commits

Author SHA1 Message Date
Marco Cawthorne cf50584211
Player: Streamline networking code by using the new macros Nuclide provides 2022-11-08 20:35:27 -08:00
Marco Cawthorne ab31ae0242
Fix player animations and attachment from not showing up since player drawing is handled much differently. 2022-11-08 20:29:10 -08:00
Marco Cawthorne 15fa5a8f12
Update codebase to be in line with upstream Nuclide. Add scripts/decals.txt and other shenanigans. 2022-11-08 19:49:53 -08:00
Marco Cawthorne f8f9703df3
Minor tweaks to the weapons, notably WEAPON_GAUSS. 2022-08-12 14:29:08 -07:00
Marco Cawthorne 21d4c7dab5
player class: Use parent method OptimiseChangedFlags() to cull some fields from being networked to players other than yourself 2022-08-09 09:31:54 -07:00
Marco Cawthorne 8eb5a1fbc6
Clean up our player enumflags. 2022-08-07 14:14:16 -07:00
Marco Cawthorne 3df43be002
Remove references to pmove_water.qc 2022-07-14 21:28:27 -07:00
Marco Cawthorne 454da78b0c
Add missing wrappers for ammo_9mmARclip and ammo_glockclip.
Add 'weaponbox' pickup, which may not be fully complete.
Some FX_ effects make proper use of env_sprite APIs now.
Edited default.cfg to parse skill.cfg itself.
Removed GS_RENDERFX flag in progs.src.
2022-07-07 09:13:16 -07:00
Marco Cawthorne d15d83faa5
Go over all major classes to fix precaches. 2022-06-01 17:40:41 -07:00
Marco Cawthorne bba57cb7ef
Adjust naming against upstream. 2022-05-11 12:51:12 -07:00
Marco Cawthorne fef95603e7
Clean up some of the monster code, document and simplify viewmodel bob code.
Just general cleanups.
2022-04-26 11:23:21 -07:00
Marco Cawthorne d1962767b4
Rebased against the latest Nuclide commit. 2022-03-15 19:34:26 -07:00
Marco Cawthorne 0293f9a441
Update copyright information
Remove pmodel attributes from the player class.
Sound shaders for weapon firing now call alerts to AI.
2022-03-13 16:57:51 -07:00
Marco Cawthorne 3117e979d6
Client: Add damage and item pickup notifications to the HUD. This is the
last stretch of the HUD stuff (now we only need the tracktrain UI!)
2021-12-17 18:22:02 -08:00
Marco Cawthorne 2f8bdaa32b
Client: Handle ammo notifications for GEARBOX, ifdefd 2021-12-16 17:19:31 -08:00
Marco Cawthorne f1fdad0bb7
Client: Added ammo pickup notifications, fix some impact effect assignments
and change the fadeout time on weapon pickup notifications.
2021-12-16 15:39:11 -08:00
Marco Cawthorne 065bbcd339
Shared: Add Save/Restore function to our player class for working saves. 2021-10-28 04:29:39 +02:00
Marco Cawthorne 3c040996c7
Remove input_sequence definition. 2021-09-15 22:45:46 +02:00
Marco Cawthorne 8f051dd406 Updated the game-specific PMove code to be part of our player class 2021-06-08 15:31:21 +02:00
Marco Cawthorne 243b3f29bc Add support for top/bottom color on players and viewmodels.
Added weapon weights values (thanks scripts/weapons_?.txt from HL:S)
2021-05-20 16:04:11 +02:00
Marco Cawthorne f43ad5d661 Shared: Inherit weapon_common from Nuclide's base game 2021-05-10 08:16:22 +02:00
Marco Cawthorne ced4cb5bf8 Simplify prediction code with the help from upstream changes. 2021-05-08 17:45:58 +02:00
Marco Cawthorne 4dd9923a05 kill some old/unused enumerations. we need to fix SendEntity() if we want
to ever use them.
2021-05-07 13:33:38 +02:00
Marco Cawthorne fe4bfc455f Handle player model weapon attachments & animation for all the weapons! 2021-04-06 09:20:12 +02:00
Marco Cawthorne eb543c189d Use the new View_AddEvent() function for handling shell ejections 2021-03-29 21:54:23 +02:00
Marco Cawthorne 1a25ccc334 Initial commit, carried over from Nuclide's Git on March 8th 2021 2021-03-08 10:53:48 +01:00