Commit Graph

59 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 be16666be8
Replace any Hide() with calls to Disappear(), as that one will actually set the collision to no longer be solid. 2022-08-30 16:02:56 -07: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 cf9b3353bb
HLMultiplayerRules: mp_allowmonsters is now respected. 2022-08-06 00:15:23 -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 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 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 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 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 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 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 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 ea5ae651df
Clean up some warnings. 2022-02-01 13:38:01 -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
Marco Cawthorne beabae200d
Remove inclusion of gs-entbase/server/defs.h 2022-01-20 16:24:36 -08:00
Marco Cawthorne b9d9a1f79a
Server: Add UnUse functionality, required for the new and updated
momentary_rot_button.
2022-01-04 21:55:40 -08:00
Marco Cawthorne 000fb34006
Update call to FX_Corpse_Spawn 2021-12-13 12:57:10 -08:00
Marco Cawthorne e0c66406d9
Make use of FX_Corpse from Nuclide Base to handle body que corpses. 2021-12-13 11:48:33 -08:00
Marco Cawthorne b5950c5491
Multiplayer rules: Don't respect fraglimit cvar if it ain't set. 2021-12-13 10:38:29 -08:00
Marco Cawthorne 77a4d1b388
mp_fraglimit and mp_timelimit are now aliases to the original Quake cvars
to avoid confusion from anyone wondering why there's two of them
2021-12-12 21:04:15 -08:00
Marco Cawthorne 954867b435
Remove deprecated EV_CHAT_VOX. Change monster_gman to NSTalkMonster. 2021-10-20 01:20:11 +02:00
Marco Cawthorne 149693c735
Delete some junk left-over lines in some decorative NPCs 2021-09-30 23:32:07 +02:00
Marco Cawthorne 0c9811d3e3
Gamerules: Disable monster spawning in multiplayer, also fix draw being
called when the weapon is already selected.
2021-09-18 01:33:26 +02:00
Marco Cawthorne c8a493fb00
Use GetSpawnX() methods instead of peeking into some attribute that
may change.
2021-09-16 17:36:03 +02:00
Marco Cawthorne 724caae659
monster_scientist: Don't do pain sound when we're already dead. 2021-09-12 00:20:09 +02:00
Marco Cawthorne aa58233974
Spawns: Use setorigin_safe() 2021-09-12 00:13:49 +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 4f8c9ff3db Menu: Enable model preview.
Gamerules: Remove redundant game-rule check.
2021-08-29 13:26:37 +02:00
Marco Cawthorne 5d44660dfa Gamerules: ifdef the VALVE specific bits. 2021-08-01 11:21:58 +02:00
Marco Cawthorne c45b7e2b62 Gamerules: Fraglimit now being respected, also registering mp_timelimit and
mp_fraglimit officially.
2021-08-01 11:01:54 +02:00
Marco Cawthorne fdb258af2e Run Physics_Run() directly instead of PMove_Run(), which will be removed
eventually.
2021-06-18 09:27:27 +02:00
Marco Cawthorne 66e375f117 item_weaponbox: Support for GEARBOX ammo types 2021-05-22 20:26:53 +02:00
Marco Cawthorne 4c4be5946c Gamerules: When the player dies, the WEAPON_SATCHEL items will detonate
with him.
2021-05-22 16:41:07 +02:00
Marco Cawthorne 0116364803 item_weaponbox: Don't include ITEM_SATCHEL if ammo_satchels is 0, same for other throw and
placement weapons.
2021-05-22 16:40:07 +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 7290c631d8 Use PMove_SetSize() to get accurate bbox info. 2021-05-16 23:12:30 +02:00
Marco Cawthorne 7723261567 Fix that dead but spectating team members don't show up in the scoreboard.
Spectators already are team 0, so they wouldn't be queried here anyway!
2021-05-12 15:48:19 +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