Commit Graph

78 Commits

Author SHA1 Message Date
Marco Cawthorne 9d3ec2b89c
monster_alien_grunt: Fix health value. 2024-03-04 18:40:57 -08:00
Marco Cawthorne f3596f2aef
Corpses: Ensure frame1time is reset whenever we inherit someones corpse.
Items: Ensure we re-adjust our position post-spawn so we don't fall through
yet-to-spawn geometry.
Delete a whole bunch of now unused code.
2024-03-02 00:43:10 -08:00
Marco Cawthorne 24a8c78367
Move skill files around to the new conventions, tweak various sounds/particles and definitions. 2024-02-23 14:00:41 -08:00
Marco Cawthorne a8aa141778
Client: Remove duplicate g_specmodes[] definition 2024-01-08 15:28:44 -08:00
Marco Cawthorne 7d27c29c07
Updates to the sound definitions and other minor fixes against upstream Nuclide. 2023-11-17 19:44:34 -08:00
Marco Cawthorne 64887cdabf
Remove view.qc and modelevent.qc 2023-10-12 14:41:00 -07:00
Marco Cawthorne b1365cce22
Client: support game title fade-in 2023-09-27 14:07:45 -07:00
Marco Cawthorne 1d00e324dc
Client: Explicit precache of the muzzleflash models. 2023-09-18 18:46:19 -07:00
Marco Cawthorne 753af7e8fb
Ripping things out, move most weapon projectiles into EntityDef 2023-07-27 23:08:26 -07:00
Marco Cawthorne 24964d27c9
Get rid of FX_GibHuman and FX_GibAlien, use PropData system instead 2023-07-17 11:32:59 -07:00
Marco Cawthorne e49810be8b
Restructuring of monster/weapon entitydef files 2023-07-16 22:47:01 -07:00
Marco Cawthorne dde42e481c
Yank out the monster's out of the codebase. Use entityDefs instead. 2023-06-20 21:23:15 -07:00
Marco Cawthorne 30ecbd1453
Multiplayer: Load and display a server message of the day if present. 2023-03-25 17:34:26 -07:00
Marco Cawthorne 2daaf2b1ad
Client: use frametime over clframetime for the bob. 2023-02-17 12:24:51 -08:00
Marco Cawthorne 07453056a4
Remove dependency from base/src. 2023-02-12 12:54:57 -08:00
Marco Cawthorne c8397d2474
Client: clamp the armor subpic size to 1.0 (fixes graphical artifacts in TFC) 2023-02-07 09:08:00 -08:00
Marco Cawthorne e152392132
Client: don't dictate g_hud_color when in TFC 2023-01-17 22:02:06 -08:00
Marco Cawthorne 0452916719
Client: add a vertical camera bobbing effect. 2023-01-12 16:50:37 -08:00
Marco Cawthorne 9544c98f04
Slight cleanups and cvar changes. 2023-01-05 23:35:43 -08:00
Marco Cawthorne 54f7918edc
Fix misc warnings 2022-11-30 14:25:14 -08:00
Marco Cawthorne b1ce1b7bee
More cleanups by shoving functions that we used to have in client/player.qc into shared/player.qc. 2022-11-22 16:31:40 -08:00
Marco Cawthorne ab31ae0242
Fix player animations and attachment from not showing up since player drawing is handled much differently. 2022-11-08 20:29:10 -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 d579defc89
HUD_DrawWeaponSelect: Avoid crash when we've got only empty weapons and try switching. 2022-08-24 14:20:17 -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 c4e3745288
...facepalm. 2022-08-05 23:28:31 -07:00
Marco Cawthorne 64048e9b32
HUD: sanity check before calling isempty... 2022-08-05 22:36:12 -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 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 bba57cb7ef
Adjust naming against upstream. 2022-05-11 12:51:12 -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 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 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 27c69ffecc
ClientGame_EventParse() now has returns either 0 or 1 to signal successful overrides. 2022-03-03 14:11:27 -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 ad7b2a0586
Client: Add hack to make ammo notifications for WEAPON_HORNET only appear
when under a certain condition.
2021-12-17 21:51:59 -08:00
Marco Cawthorne 3117e979d6
Client: Add damage and item pickup notifications to the HUD. This is the
last stretch of the HUD stuff (now we only need the tracktrain UI!)
2021-12-17 18:22:02 -08:00
Marco Cawthorne 2f8bdaa32b
Client: Handle ammo notifications for GEARBOX, ifdefd 2021-12-16 17:19:31 -08:00
Marco Cawthorne f1fdad0bb7
Client: Added ammo pickup notifications, fix some impact effect assignments
and change the fadeout time on weapon pickup notifications.
2021-12-16 15:39:11 -08:00
Marco Cawthorne 06af7f9e33
Use Font_GetID() in the places where drawfont is used. 2021-11-04 22:49:53 +01:00
Marco Cawthorne 44a90e3bcf
Move the damage indicator drawing/caching code into the client module
here from Nuclide-SDK.
2021-10-21 23:32:01 +02:00