Commit Graph

25 Commits

Author SHA1 Message Date
Marco Cawthorne 753af7e8fb
Ripping things out, move most weapon projectiles into EntityDef 2023-07-27 23:08:26 -07:00
Marco Cawthorne 6a8ac02add
Weapons now respect the startammo parameter passed over their pickup function. (needed by OP4CTF) 2023-06-28 08:52:39 -07:00
Marco Cawthorne 67d2f03a26
Remove QUAKED comments for weapon pickups (handled by build_game.sh and defs now) 2023-06-01 10:16:25 -07:00
Marco Cawthorne 0b2955695a
Use entityDefs instead of hard-coded item pickups 2023-05-08 11:17:52 -07:00
Marco Cawthorne dfeff42e6a
WEAPON_TRIPMINE: use Destroy() instead of remove() 2023-01-17 22:03:39 -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 8fad0d7dc1
WEAPON_TRIPMINE: Wiggle with SetBody and SetFrame on the pickup a bit. 2022-04-26 21:03:32 -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 dd4a063fd0
Unbreak WEAPON_SNARK and WEAPON_TRIPMINE that broke during a recent
refactor of the base monster class.
2021-12-12 20:50:29 -08:00
Marco Cawthorne e3dae1cc73
WEAPON_TRIPMINE: Remove old debug print 2021-09-16 19:26:06 +02: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 dc378c688b Use Base its damage.qc instead of FreeHL its. Go over the BloodFX to limit
the amount of decals one blood drop spawns. Make it so that Snarks can be
shot.
2021-05-10 11:35:48 +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 1a25ccc334 Initial commit, carried over from Nuclide's Git on March 8th 2021 2021-03-08 10:53:48 +01:00