Commit Graph

29 Commits

Author SHA1 Message Date
Marco Cawthorne 33853accbe
WEAPON_MP5: show the grenade icon in the obituary messages instead for the secondary fire. 2022-11-08 20:05:30 -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 8eb5a1fbc6
Clean up our player enumflags. 2022-08-07 14:14:16 -07:00
Marco Cawthorne 7bb5660f09
Shared: Give the rest of the weapons an empty clicking sound. 2022-08-06 11:30:41 -07:00
Marco Cawthorne 51e9a7d851
Shared: WEAPON_PYTHON, WEAPON_EGON, WEAPON_GAUSS, WEAPON_MP5, WEAPON_SHOTGUN and WEAPON_SNARK no longer allow for firing underwater. 2022-08-05 14:10:04 -07:00
Marco Cawthorne d699ac570f
WEAPON_MP5: Adjust firing rate to be closer to original HL.
WEAPON_RPG: Start with laser enabled.
WEAPON_SHOTGUN: Force reload on empty fire.
2022-05-02 08:32:42 -07:00
Marco Cawthorne 7bbecdfe8f
WEAPON_MP5: Start with 50 in mag under GEARBOX. 2022-05-01 19:54:17 -07:00
Marco Cawthorne 78eb9a04b2
WEAPON_MP5: Randomize between the three firing animations the _right_ way 2022-05-01 19:47:05 -07:00
Marco Cawthorne f238fd41e4
Client: Tweaks to the crosshairs by Theuaredead` 2022-05-01 18:51:44 -07:00
Marco Cawthorne d1962767b4
Rebased against the latest Nuclide commit. 2022-03-15 19:34:26 -07:00
Marco Cawthorne 2979bd82f1
WEAPON_MP5: shell ejection is now done here instead of inheriting the WEAPON_GLOCK
shell ejection. Results in mods like They Hunger also looking snazzier.
2022-03-14 12:00:22 -07:00
Marco Cawthorne fd71e623f7
Fix some warnings and indentation. 2022-03-14 11:18:05 -07:00
Marco Cawthorne 6efa7487ee
WEAPON_MP5: Add a precache for the modelevent shell ejection sound shader,
in case a game does not compile with w_glock.qc included.
2022-03-13 17:04:59 -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 4f573b1571
Give all weapons an .isempty and .type definition to help the botlib AI
a little more
2022-03-10 18:59:25 -08:00
Marco Cawthorne 8d1dbdd79c
Shared: Go over the weapon pickup logic for all the weapons to ensure
we guarantee new pickups properly.
2022-01-03 16:45:24 -08:00
Marco Cawthorne 8535399f7b
Update WEAPON_EGON to work with .predraw instead of CBaseFX (deprecated)
which will allow for streamlined weapon visuals for first and thirdperson
modes.
2021-09-02 09:40:47 +02:00
Marco Cawthorne 7f9f3c7d9a Tweak reload-timers in case we got a race condition between think and
input.
2021-08-29 20:01:58 +02:00
Marco Cawthorne f9aa283592 Weapons: Add weapon reload timers. 2021-05-22 16:41: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 fe4bfc455f Handle player model weapon attachments & animation for all the weapons! 2021-04-06 09:20:12 +02:00
Marco Cawthorne 5ad23eb22a Change pSeat references to pSeatLocal where applicable. 2021-03-31 13:42:24 +02:00
Marco Cawthorne 12183f669f Add m_flEventFrame to the player seat struct 2021-03-30 07:32:24 +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 bfb660db02 Client: Add shell ejection code to WEAPON_GLOCK and WEAPON_MP5 2021-03-17 14:35:56 +01:00
Marco Cawthorne 1a25ccc334 Initial commit, carried over from Nuclide's Git on March 8th 2021 2021-03-08 10:53:48 +01:00