Commit Graph

108 Commits

Author SHA1 Message Date
Marco Cawthorne 87031625a0
Set pragma target fte_5768 2022-08-22 23:24:39 -07:00
Marco Cawthorne 496116dab3
player class: Use parent method OptimiseChangedFlags() to cull some fields from being networked to players other than yourself 2022-08-09 09:31:24 -07:00
Marco Cawthorne 6c19e76e78
Clean up our player enumflags. 2022-08-07 14:13:35 -07:00
Marco Cawthorne 6b4c63965c
monster_scientist: Death check was wrong. oops. 2022-08-05 19:12:54 -07:00
Marco Cawthorne f53ed471e1
Fix warning in HLGameRules::PlayerDeath. 2022-08-05 14:42:01 -07:00
Marco Cawthorne fefc95108f
monster_scientist: Make use of the new NSMonster APIs 2022-07-25 09:16:52 -07:00
Marco Cawthorne 18bd1303b6
Cleanup: Some CGameRules methods are now of type 'bool'
Remove rules.qc
2022-07-16 15:07:47 -07:00
Marco Cawthorne f0c13b1a41
Get rid of some old pmove code. 2022-07-14 21:27:19 -07:00
Marco Cawthorne 87386226a1
Server: Restart kill counter for Red/Blue teams whenever the round restarts so we don't mess up our counter. 2022-07-14 18:26:14 -07:00
Marco Cawthorne 8ba0153c0c
Server: Move the forceinfokey calls into InitPostEnts() because constructors aren't suited for those at all 2022-07-14 18:23:04 -07:00
Marco Cawthorne 04ac41346f
monster_scientist: Fix a fuckup of me having shifted code around a couple of times which results in WORLD going insane. 2022-07-14 18:17:11 -07:00
Marco Cawthorne fbb2df4b6e
Some more work done on the gamemodes. Team modes + standard hunt is now implemented but not quite tested. Still needs 'changeteam' cmd etc. 2022-07-14 17:58:08 -07:00
Marco Cawthorne eda8140127
Server: Add stubs for game-mode seperation 2022-07-13 22:58:58 -07:00
Marco Cawthorne 08383e1d90
monster_scientist fixes. 2022-07-07 09:10:44 -07:00
Marco Cawthorne 72c9ef224f
Adjust naming against upstream. 2022-05-11 12:50:11 -07:00
Marco Cawthorne 5d44353a29
Convert all classes to use the new parent names. The old ones were marked for deprecation long ago. 2022-05-10 14:59:22 -07:00
Marco Cawthorne 82839c06ce
Rename SHMultiplayerRules to HLGameRules to avoid clashes with FreeHL's weapon code. 2022-05-01 17:01:07 -07:00
Marco Cawthorne 0dbc2aed76
Server: unreference player.h 2022-04-25 13:34:26 -07:00
Marco Cawthorne ccfd887e7c
monster_scientist: Fix the Pain() calling animations post-death 2022-04-23 22:04:34 -07:00
Marco Cawthorne bf4ec8bcc3
Extend FX_GibHuman with a dir (euler) and force parameter. 2022-04-05 20:37:19 -07:00
Marco Cawthorne 42555d426d
Rebased against the latest Nuclide commit. 2022-03-15 19:33:41 -07:00
Marco Cawthorne f8fae52db8
Update copyright information 2022-03-13 16:55:48 -07:00
Marco Cawthorne b0313f05ce
Remove inclusion of gs-entbase/server/defs.h 2022-01-20 16:25:09 -08:00
Marco Cawthorne a005f5b45a
Client: Enable the damage/item notifications from Half-Life. Use the new corpse stuff. 2021-12-17 18:24:04 -08:00
Marco Cawthorne b1d47ca4f3
Client: Include ammo notify routines.
Add mirror shader for endlessrain.
2021-12-16 17:24:32 -08:00
Marco Cawthorne bdbdcc6c68
Client: Include FreeHL's damage.qc. 2021-10-21 23:33:18 +02:00
Marco Cawthorne bd4abcc299
Change FL_RESERVED1 to GF_MADNESS, move it from flags to gflags.
This was a bug! Glad it broke.
2021-09-23 23:57:32 +02:00
Marco Cawthorne 3cd5af1d19
monster_scientist: Add FallNoise() 2021-09-17 00:43:12 +02:00
Marco Cawthorne 271bddb2db
Use GetSpawnX() methods instead of peeking into some attribute that
may change.
2021-09-16 18:43:09 +02:00
Marco Cawthorne 0613f51e85
Remove input_sequence definition. 2021-09-15 22:46:22 +02:00
Marco Cawthorne 9c735df0b6
weapon_cannon: fix reload animation hiccup 2021-09-12 10:48:51 +02:00
Marco Cawthorne 1000dc8455
Respawn env_shooters as part of the gamerules too... 2021-09-12 00:29:46 +02:00
Marco Cawthorne 3ddf61988f
monster_scientist: Don't trigger pain sound when we're already dead. 2021-09-12 00:19:47 +02:00
Marco Cawthorne d959313700
Add breakables respawn timer. 2021-09-12 00:09:40 +02:00
Marco Cawthorne ac5e2a1b72 Update include.src against valve/src 2021-08-29 17:46:47 +02:00
Marco Cawthorne 92bf9615ad monster_scientist: Call WarnAllies() when death happens and stuff. 2021-08-13 21:33:38 +02:00
Marco Cawthorne d49c91200c Gamerules: Call SHData_GetItems() every 2 minutes. 2021-08-13 21:33:16 +02:00
Marco Cawthorne ba28697b9e Inherit valve/src's viewmodel effects 2021-08-01 08:56:19 +02:00
Marco Cawthorne b8c9882a70 Update skill_scihunt.cfg 2021-06-18 09:28:34 +02:00
Marco Cawthorne ff1a7bda84 WEAPON_HAMMER: Adjust primary damage to 50. Get rid of the player specific check. 2021-06-18 09:23:28 +02:00
Marco Cawthorne 57e5ca9b0f Include flashlight.qc from FreeHL 2021-05-22 20:43:40 +02:00
Marco Cawthorne aeb72d23af Add .colormap support to players. 2021-05-20 16:06:53 +02:00
Marco Cawthorne 3c50f9c9a8 Don't set view_ofs here. 2021-05-16 23:14:29 +02:00
Marco Cawthorne 9db1530971 Use Base its damage.qc instead of FreeHL its. 2021-05-10 11:37:33 +02:00
Marco Cawthorne 227f9ad13b Shared: Inherit weapon_common and input from Nuclide's base game. 2021-05-10 08:19:33 +02:00
Marco Cawthorne f1c4646451 Simplify prediction code with the help from upstream SDK changes. 2021-05-08 17:48:03 +02:00
Marco Cawthorne 629a9c55aa Weapons: Add player model animations for the hammer, shotgun and change the aim animation for the chainsaw to be that of the Egon 2021-04-10 23:14:28 +02:00
Marco Cawthorne a82c6fd12d Improved animation/sound code for WEAPON_CHAINSAW 2021-04-10 22:48:37 +02:00
Marco Cawthorne ae04a19908 Put the player animation code in line with upstream FreeHL 2021-04-10 10:26:59 +02:00
Marco Cawthorne 440e4d7269 Change pSeat references to pSeatLocal where applicable.
Remove obsolete and redundant code in ReceiveEntity.
2021-03-31 13:44:29 +02:00