Commit Graph

257 Commits

Author SHA1 Message Date
Marco Cawthorne f82bef274a
WEAPON_SATCHEL: isempty had a nonsense check 2022-08-05 22:17:35 -07:00
Marco Cawthorne 0e4baba0cd
Client: Skip over empty weapons when scrolling through the weapon selection 2022-08-05 22:14:14 -07:00
Marco Cawthorne 21a1a67b84
Move the MUZZLE_ definitions over from Nuclide. As they belong here instead. 2022-08-05 14:43:04 -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 e373af4ca5
Updated various monster code to use IsAlive() and things 2022-07-19 16:28:10 -07:00
Marco Cawthorne b8f2ca446f
monster_barney: Reworking some bits to deal with the new states... 2022-07-17 00:04:35 -07:00
Marco Cawthorne 92c2b54ef0
Cleanup: Some CGameRules methods are now of type 'bool'
Remove rules.qc
2022-07-16 15:09:00 -07:00
Marco Cawthorne 58ef5dc162
Add mp_teamplay, mp_teamlist cvars, as well as the 'chooseteam' command because guess what, we have initial teamplay support. 2022-07-14 23:18:21 -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 ef43ac3f50
PMove: Define the PMOVE variables to match the WON cvar defaults. 2022-05-12 20:42:40 -07:00
Marco Cawthorne aec649a115
SoundDef: Define player.spraylogo. 2022-05-12 20:36:34 -07:00
Marco Cawthorne bba57cb7ef
Adjust naming against upstream. 2022-05-11 12:51:12 -07:00
Marco Cawthorne ee17e3b7a4
Convert all classes to use the new parent names. The old ones were marked for deprecation long ago. 2022-05-10 15:00:15 -07:00
Marco Cawthorne 27028a834b
Client: Make HUD_ItemNotify use a seperate cache for old health/armor/item values. 2022-05-05 21:02:41 -07:00
Marco Cawthorne f33d95f731
WEAPON_CROSSBOW: leave behind a bolt whenever appropriate. 2022-05-04 09:38:15 -07:00
Marco Cawthorne df942ab5a0
WEAPON_CROSSBOW: Do hitscan/traceline based shooting when zoomed in (only in multiplayer) 2022-05-03 22:55:08 -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 82557ee0b0
WEAPON_CROSSBOW & WEAPON_PYTHON: Undo zoom upon reload. 2022-05-01 19:14:11 -07:00
Marco Cawthorne f238fd41e4
Client: Tweaks to the crosshairs by Theuaredead` 2022-05-01 18:51:44 -07:00
Marco Cawthorne 3077b70734
WEAPON_CROSSBOW: Don't allow explosive bolts in singleplayer. 2022-05-01 16:47:59 -07:00
Marco Cawthorne 39471c1fb7
item_suit: Tweak SetSize() call and do DropToFloor() 2022-05-01 16:47:27 -07:00
Marco Cawthorne f61311cb32
item_battery: disable pickup when ITEM_SUIT isn't present 2022-05-01 15:56:43 -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 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 440f67d349
Server: unreference player.h 2022-04-25 13:35:26 -07:00
Marco Cawthorne d39a8f1c0b
Gamerules: Fix dead flag in multiplayer. 2022-04-24 16:54:13 -07:00
Marco Cawthorne 98a7151ab2
FX_Blood: Work on this effect a bit more to make it look like the real HL 2022-04-23 22:36:01 -07:00
Marco Cawthorne 4cda2628e6
Extend FX_GibHuman with a dir (euler) and force parameter. 2022-04-05 20:46:11 -07:00
Marco Cawthorne fdd706526f
Various changes to enable use of the new Touch(entity) method. 2022-04-03 14:06:23 -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 5120a63a50
materials.txt: Remove an obsolete entry. 2022-03-10 18:59:53 -08: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 150d5a2541
FX_Impact: Spawn water splash sprite when shooting at water volumes. 2022-03-10 18:58:40 -08:00
Marco Cawthorne 31e6ff118a
Small update to materials_valve.txt 2022-03-03 14:11:39 -08:00
Marco Cawthorne 27c69ffecc
ClientGame_EventParse() now has returns either 0 or 1 to signal successful overrides. 2022-03-03 14:11:27 -08:00
Marco Cawthorne 8b55c8acef
HLMultiplayerRules: Call pl.Death() to take care of most of the work
declaring a client dead.
2022-03-02 20:38:29 -08:00
Marco Cawthorne 2087fae53b
Add Xylemon's CC0-licensed material definitions file for Half-Life.
Adding over 2100 texture property definitions to make sure bullet impacts,
foot steps etc. all do a better job.
2022-03-02 09:21:40 -08:00
Marco Cawthorne a02b5a85e2
Client: Fix typo that the compiler gracefully cleaned up for us. 2022-02-23 01:17:57 -08:00
Marco Cawthorne ddc7eb54c3
Client: Fix explosion sprite rendermode. 2022-02-22 12:01:55 -08:00
Marco Cawthorne ea5ae651df
Clean up some warnings. 2022-02-01 13:38:01 -08:00
Marco Cawthorne 8edb6984cf
Client: Get rid of .pitch reference
Shared: Tweak player animations a bit.
2022-02-01 09:45:53 -08:00
Marco Cawthorne 92f0844156
Creditsfont should now be marked as additive, fixes to some melee timers
in monster_alien_slave, monster_human_grunt and monster_zombie
2022-01-31 17:46:56 -08:00