Commit graph

227 commits

Author SHA1 Message Date
c8ac0d596b spawn.qc remove this hack (for scientist hunt and other team mods) 2023-04-27 01:18:26 -07:00
422e57d3d8 weapon_gauss: Add special effect for overcharge, fix a mistake with overcharge damage, update gauss to use new weapon sound API 2023-04-26 17:33:12 -07:00
15e93d619b weapon_gauss: Secondary fire improvements
- move around velocity code so it's predicted and simpler, since we can't read gamerules here a simple MP check will do for now @eukara
- make sure we fire immediately if we release secondary fire after first spin cycle, with these changes the gauss should be nearly identical to Half-Life, minus the OP damage @xylemon
2023-04-25 23:51:18 -07:00
4d111ed96e Temp fix so snark doesn't do this hilarious bug anymore 2023-04-24 22:40:13 -07:00
c68d2d7c60
Tweak the UI color defaults a little. 2023-04-03 11:16:44 -07:00
30ecbd1453
Multiplayer: Load and display a server message of the day if present. 2023-03-25 17:34:26 -07:00
2daaf2b1ad
Client: use frametime over clframetime for the bob. 2023-02-17 12:24:51 -08:00
7d58725d76
PMove: change maxspeed to 270 for the time being, as that's the default for MP anyway. 2023-02-16 18:23:48 -08:00
9f9dd78458
Fix compiler warnings. 2023-02-14 12:54:45 -08:00
07453056a4
Remove dependency from base/src. 2023-02-12 12:54:57 -08:00
3a37d21257
item_pickup: Call respawn item sound in a separate method for sanity's sake 2023-02-07 17:35:47 -08:00
22d5b36d1c
Server: Shuffle some code inside the monster files around so that we re-set starting values after all constructors have executed 2023-02-07 09:08:55 -08:00
c8397d2474
Client: clamp the armor subpic size to 1.0 (fixes graphical artifacts in TFC) 2023-02-07 09:08:00 -08:00
dfeff42e6a
WEAPON_TRIPMINE: use Destroy() instead of remove() 2023-01-17 22:03:39 -08:00
ed30225de7
ITEM_SUIT: destroy when we're running on game 'bshift' 2023-01-17 22:03:29 -08:00
e152392132
Client: don't dictate g_hud_color when in TFC 2023-01-17 22:02:06 -08:00
Maxwell
4c1d6569a9 Made Gauss jumping MP only. 2023-01-17 18:39:18 -05:00
Maxwell
96324141cb Added Crossbow bolt trail on explosive MP bolt akin to Turok. This change is based upon documented cut content 2023-01-17 16:51:06 -05:00
0452916719
Client: add a vertical camera bobbing effect. 2023-01-12 16:50:37 -08:00
bef240a1de
HLMultiplayerRules: add PlayerRequestSpawn method override 2023-01-11 18:04:17 -08:00
70167ed233
Removal of Game_Input which has been made obsolete. 2023-01-11 17:44:32 -08:00
7637686ace
input: add a hacky quick-respawn (needs proper multiplayer separation...) 2023-01-07 17:00:34 -08:00
3db04eb85b
monster_snark: run physics using point sized bbox 2023-01-07 16:59:59 -08:00
9e62ff350a
WEAPON_RPG: Gives 2 rockets on pickup. 2023-01-06 13:00:43 -08:00
9544c98f04
Slight cleanups and cvar changes. 2023-01-05 23:35:43 -08:00
8652d02464
WEAPON_SATCHEL: Dropp satchel bbox causing issues, so compromise: make it thin, but retain the same height. 2023-01-05 23:33:33 -08:00
7c94b26fc8
Client: Use the new Crosshair drawing functions to help with cl_thirdperson and remove
obsolete routines.
2022-12-28 16:50:29 -08:00
54f7918edc
Fix misc warnings 2022-11-30 14:25:14 -08:00
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
cf50584211
Player: Streamline networking code by using the new macros Nuclide provides 2022-11-08 20:35:27 -08:00
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
33853accbe
WEAPON_MP5: show the grenade icon in the obituary messages instead for the secondary fire. 2022-11-08 20:05:30 -08:00
3f1821a760
impulse 101 will now fill MP5 nades too. 2022-11-08 20:04:36 -08:00
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
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
522e45b1ee
WEAPON_GLOCK: Don't play idle animations when empty. 2022-08-24 14:22:19 -07:00
d579defc89
HUD_DrawWeaponSelect: Avoid crash when we've got only empty weapons and try switching. 2022-08-24 14:20:17 -07:00
a542f7d121
WEAPON_GAUSS: Adjust the force applied to the players' velocity to make jumps easier. 2022-08-15 07:03:30 -07:00
f8f9703df3
Minor tweaks to the weapons, notably WEAPON_GAUSS. 2022-08-12 14:29:08 -07:00
21d4c7dab5
player class: Use parent method OptimiseChangedFlags() to cull some fields from being networked to players other than yourself 2022-08-09 09:31:54 -07:00
8eb5a1fbc6
Clean up our player enumflags. 2022-08-07 14:14:16 -07:00
b0dbd92aca
WEAPON_SATCHEL: Draw satchel viewmodel again if there's no more satchels we can detonate. 2022-08-06 12:05:51 -07:00
120e6988c4
Shared: Avoid use of 'self' in weapon code where applicable. Leftovers from older times. 2022-08-06 11:39:42 -07:00
7bb5660f09
Shared: Give the rest of the weapons an empty clicking sound. 2022-08-06 11:30:41 -07:00
cf9b3353bb
HLMultiplayerRules: mp_allowmonsters is now respected. 2022-08-06 00:15:23 -07:00
c4e3745288
...facepalm. 2022-08-05 23:28:31 -07:00
64048e9b32
HUD: sanity check before calling isempty... 2022-08-05 22:36:12 -07:00
f82bef274a
WEAPON_SATCHEL: isempty had a nonsense check 2022-08-05 22:17:35 -07:00
0e4baba0cd
Client: Skip over empty weapons when scrolling through the weapon selection 2022-08-05 22:14:14 -07:00
21a1a67b84
Move the MUZZLE_ definitions over from Nuclide. As they belong here instead. 2022-08-05 14:43:04 -07:00
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
e373af4ca5
Updated various monster code to use IsAlive() and things 2022-07-19 16:28:10 -07:00
b8f2ca446f
monster_barney: Reworking some bits to deal with the new states... 2022-07-17 00:04:35 -07:00
92c2b54ef0
Cleanup: Some CGameRules methods are now of type 'bool'
Remove rules.qc
2022-07-16 15:09:00 -07:00
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
3df43be002
Remove references to pmove_water.qc 2022-07-14 21:28:27 -07:00
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
d15d83faa5
Go over all major classes to fix precaches. 2022-06-01 17:40:41 -07:00
ef43ac3f50
PMove: Define the PMOVE variables to match the WON cvar defaults. 2022-05-12 20:42:40 -07:00
bba57cb7ef
Adjust naming against upstream. 2022-05-11 12:51:12 -07:00
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
27028a834b
Client: Make HUD_ItemNotify use a seperate cache for old health/armor/item values. 2022-05-05 21:02:41 -07:00
f33d95f731
WEAPON_CROSSBOW: leave behind a bolt whenever appropriate. 2022-05-04 09:38:15 -07:00
df942ab5a0
WEAPON_CROSSBOW: Do hitscan/traceline based shooting when zoomed in (only in multiplayer) 2022-05-03 22:55:08 -07:00
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
7bbecdfe8f
WEAPON_MP5: Start with 50 in mag under GEARBOX. 2022-05-01 19:54:17 -07:00
78eb9a04b2
WEAPON_MP5: Randomize between the three firing animations the _right_ way 2022-05-01 19:47:05 -07:00
82557ee0b0
WEAPON_CROSSBOW & WEAPON_PYTHON: Undo zoom upon reload. 2022-05-01 19:14:11 -07:00
f238fd41e4
Client: Tweaks to the crosshairs by Theuaredead` 2022-05-01 18:51:44 -07:00
3077b70734
WEAPON_CROSSBOW: Don't allow explosive bolts in singleplayer. 2022-05-01 16:47:59 -07:00
39471c1fb7
item_suit: Tweak SetSize() call and do DropToFloor() 2022-05-01 16:47:27 -07:00
f61311cb32
item_battery: disable pickup when ITEM_SUIT isn't present 2022-05-01 15:56:43 -07:00
8fad0d7dc1
WEAPON_TRIPMINE: Wiggle with SetBody and SetFrame on the pickup a bit. 2022-04-26 21:03:32 -07:00
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
440f67d349
Server: unreference player.h 2022-04-25 13:35:26 -07:00
d39a8f1c0b
Gamerules: Fix dead flag in multiplayer. 2022-04-24 16:54:13 -07:00
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
4cda2628e6
Extend FX_GibHuman with a dir (euler) and force parameter. 2022-04-05 20:46:11 -07:00
fdd706526f
Various changes to enable use of the new Touch(entity) method. 2022-04-03 14:06:23 -07:00
d1962767b4
Rebased against the latest Nuclide commit. 2022-03-15 19:34:26 -07:00
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
fd71e623f7
Fix some warnings and indentation. 2022-03-14 11:18:05 -07:00
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
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
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
150d5a2541
FX_Impact: Spawn water splash sprite when shooting at water volumes. 2022-03-10 18:58:40 -08:00
27c69ffecc
ClientGame_EventParse() now has returns either 0 or 1 to signal successful overrides. 2022-03-03 14:11:27 -08:00
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
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
a02b5a85e2
Client: Fix typo that the compiler gracefully cleaned up for us. 2022-02-23 01:17:57 -08:00
ddc7eb54c3
Client: Fix explosion sprite rendermode. 2022-02-22 12:01:55 -08:00
ea5ae651df
Clean up some warnings. 2022-02-01 13:38:01 -08:00
8edb6984cf
Client: Get rid of .pitch reference
Shared: Tweak player animations a bit.
2022-02-01 09:45:53 -08:00
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
beabae200d
Remove inclusion of gs-entbase/server/defs.h 2022-01-20 16:24:36 -08:00
b9d9a1f79a
Server: Add UnUse functionality, required for the new and updated
momentary_rot_button.
2022-01-04 21:55:40 -08:00
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
f53f854819
Move in all the sound shader definitions from Nuclide's base, just with
Half-Life specific paths.
2021-12-30 13:16:39 -08:00
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
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