Commit Graph

23 Commits

Author SHA1 Message Date
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 b0dbd92aca
WEAPON_SATCHEL: Draw satchel viewmodel again if there's no more satchels we can detonate. 2022-08-06 12:05:51 -07:00
Marco Cawthorne 120e6988c4
Shared: Avoid use of 'self' in weapon code where applicable. Leftovers from older times. 2022-08-06 11:39:42 -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 d1962767b4
Rebased against the latest Nuclide commit. 2022-03-15 19:34:26 -07:00
Marco Cawthorne fd71e623f7
Fix some warnings and indentation. 2022-03-14 11:18:05 -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 fb11cb5f8f
Remove the timer hacks I did when I was figuring out the timing
problem
2021-09-15 22:59:53 +02: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 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 67191ac794 WEAPON_SHOTGUN its reload sequence can now be interrupted by either primary or secondary fire 2021-05-10 13:39:32 +02:00
Marco Cawthorne 061ea05c05 Fix precache warnings for some client-side shells. Not exactly necessary
but pleases the compiler.
2021-05-10 13:25:57 +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 1a25ccc334 Initial commit, carried over from Nuclide's Git on March 8th 2021 2021-03-08 10:53:48 +01:00