Commit Graph

200 Commits

Author SHA1 Message Date
Marco Cawthorne f67729df5b
Clean up our player enumflags. 2022-08-07 14:14:42 -07:00
Marco Cawthorne bfed23ca7a
Move the MUZZLE_ definitions over from Nuclide. As they belong here instead. 2022-08-05 14:43:18 -07:00
Marco Cawthorne d457262d0c
HUD: Only call weapon switch if we're going to a different weapon. 2022-08-03 17:55:57 -07:00
Marco Cawthorne 63f5ebe014
Bot and hostage fixes to work better against upstream Nuclide, as the APIs are getting standardized. 2022-07-25 08:58:52 -07:00
Marco Cawthorne 164308a4f6
Cleanup: Some CGameRules methods are now of type 'bool'
Remove rules.qc
2022-07-16 15:09:36 -07:00
Marco Cawthorne 91c05a3bad
Removing more of pmove_water.qc in here too. 2022-07-14 21:29:10 -07:00
Marco Cawthorne edf5c19e05
Make use of env_sprite APIs for FX_Impact. Remove mention of GS_RENDERFX 2022-07-07 09:14:17 -07:00
Marco Cawthorne 7b3a98fdb1
Adjust naming against upstream. 2022-05-11 12:51:39 -07:00
Marco Cawthorne e7e8550c82
Convert all classes to use the new parent names. The old ones were marked for deprecation long ago. 2022-05-10 15:00:44 -07:00
Marco Cawthorne 335f0d4ac4
Merge pull request #6 from aitet/patch-1
use = instead of == for posix compliance
2022-05-02 17:03:09 +02:00
ait cadca93532
use = instead of == for posix compliance
When /bin/sh is set to a strict posix shell (like dash) the script does not work.
2022-05-02 16:44:51 +02:00
Marco Cawthorne 39f77bee60
Fix license header in w_aug.qc, fixing issue #5 2022-04-28 11:45:51 -07:00
Marco Cawthorne a814d46fa7
README: update copyright info. 2022-04-28 11:13:37 -07:00
Marco Cawthorne 20b960761e
Gamerules: Fix kill rewards or something. Add cvar fcs_penalty_teamkill. 2022-04-28 10:55:38 -07:00
Marco Cawthorne 4f589848bf
Server: Make fcs_fillweapons work again 2022-04-26 15:40:00 -07:00
Marco Cawthorne 8a15293808
Clean up 'self' references in the weapon code that needed purging and set some sensible defaults for accurate lightmap settings. 2022-04-26 13:04:20 -07:00
Marco Cawthorne 1dc0e57415
Gamerules: Some maps use a func_buyzone with no team attached to restrict buying, so check for team == 0
in Create{T,CT}Buyzones().
Also fix a round restart loop when the opposing team is empty but more than 2 players are present.
2022-04-26 13:03:12 -07:00
Marco Cawthorne 360f00f3d1
Client: Display "Friend: PLAYERNAME"/"Enemy: PLAYERNAME" in the HUD. 2022-04-26 13:01:44 -07:00
Marco Cawthorne a875dae71e
Weapons: Go over all the reload functions to make sure our finalized reload call is delayed and people can't quick-switch abuse. 2022-04-26 09:57:03 -07:00
Marco Cawthorne f5a01e914e
Client: Add cvar cl_Crosshair_{color,alpha,additive} to change the rest of the crosshair visuals. 2022-04-26 09:36:33 -07:00
Marco Cawthorne d5c22aa873
Client: Add new cvar cl_dynamiccrosshair, add cvar cl_crosshair_distance (static crosshairs only), cl_crosshair_extralength, cl_crosshair_thickness. 2022-04-26 09:15:46 -07:00
Marco Cawthorne b47f922424
Server: Reference weapons.h's MAX AMMO defines for the calibers, also fixing the 9mm having the wrong max ammo count by doing so. 2022-04-26 08:55:23 -07:00
Marco Cawthorne 2b1449e08b
README: some more formatting tweaks 2022-04-25 12:30:32 -07:00
Marco Cawthorne 0d7ce40f81
README: add more detailed building info 2022-04-25 12:28:55 -07:00
Marco Cawthorne 60696b42aa
Clear up some warnings 2022-04-25 10:37:07 -07:00
Marco Cawthorne f9c17bde73
FX_Impact: Make wallpuffs look closer to CS 1.5 2022-04-24 18:08:56 -07:00
Marco Cawthorne e17ac08288
Weapons: Go over them all and adjust their bullet penetration properties. Only possible thanks to Xylemon's test map. 2022-04-24 17:24:01 -07:00
Marco Cawthorne 51f4420c1e
WEAPON_GLOCK18: Play idle animations when idle. 2022-04-24 15:59:32 -07:00
Marco Cawthorne 8f52f8a2ec
armoury_entity: Spend time refining this entity, making kevlar/helmet assignment work properly. Need to investigate pickup notifications later today 2022-04-24 10:54:40 -07:00
Marco Cawthorne ea1f3067ad
Weapons: Go over the bullet penetration details, I think we got that mostly figured out now.
Also fix some other CS specific entities and their touch functions.
2022-04-24 00:22:27 -07:00
Marco Cawthorne 78f779a07e
WEAPON_GLOCK18: Change secondary/mode-switch timer to half. Emulating 1.5 behaviour. 2022-04-23 17:39:32 -07:00
Marco Cawthorne 91c70269f6
Tweak player physics to be closer to how 1.5 on WON feels. Disable airstepping. 2022-04-23 17:39:05 -07:00
Marco Cawthorne 3ffd8262b9
Unbreak the gamerule timer. Sorry about that! 2022-04-23 14:45:12 -07:00
Marco Cawthorne 294af509ad
Extend FX_GibHuman with a dir (euler) and force parameter. 2022-04-05 20:38:56 -07:00
Marco Cawthorne 90ff3b69b4
Rebased against the latest Nuclide commit. 2022-03-15 19:35:04 -07:00
Marco Cawthorne 290cb55bcf
Update copyright information
Remove pmodel attributes from the player class.
2022-03-13 16:59:12 -07:00
Marco Cawthorne fe0b9681d0
Fill in some more info to help botlib's AI (weapon types, gamemode team setting) 2022-03-10 19:01:08 -08:00
Marco Cawthorne 127f9eba7f
Handle 'frozen' state better. Planting C4 no longer doesn't freeze you.
Now dying during freeze time will also call a round-end just like 1.5.
2022-03-03 23:34:01 -08:00
Marco Cawthorne 69836864ee
ClientGame_EventParse() now has returns either 0 or 1 to signal successful overrides.
CSMultiplayerRules now calls player.Death() like FreeHL.
2022-03-03 14:12:38 -08:00
Marco Cawthorne b1ddff0e1a
Improve player animation somewhat. Spines are being a bit weird still due
to how the engine possibly handles some things.
2022-02-01 09:34:16 -08:00
Marco Cawthorne 8a60e6d55f
Remove inclusion of gs-entbase/server/defs.h 2022-01-20 16:24:41 -08:00
Marco Cawthorne 87f6396c4a
Client: Enable the damage notifications from Half-Life. 2021-12-17 18:22:29 -08:00
Marco Cawthorne fec4b8a642
Client: Add CS ammo notifications, now onto the damage type indicators... 2021-12-16 17:54:01 -08:00
Marco Cawthorne 48fd014293
Multiplayer rules: Use the new FX_Corpse_Spawn code. 2021-12-13 12:57:42 -08:00
Marco Cawthorne 85f0dffe09
Remove CSMultiplayerRules' MakeSpectator, as we have our own MakeTempSpectator
as part of the NSPlayer class now.
2021-11-28 00:03:28 +01:00
Marco Cawthorne fc5a66b8d5
Use Font_GetID() in the places where drawfont is used. 2021-11-04 22:49:59 +01:00
Marco Cawthorne 7c1397df18
Client: Include FreeHL's damage.qc. 2021-10-21 23:32:30 +02:00
Marco Cawthorne c5fbaafd98
Remove deprecated EV_CHAT_VOX. Update game-mode zones to be NSBrushTrigger
based instead of CBaseTrigger.
2021-10-20 01:20:37 +02:00
Marco Cawthorne 2dbf8e32c9
Make use of the new Enable/Disable model functions to hide/show sniper rifles
during zooming
2021-10-08 21:50:55 +02:00
Marco Cawthorne 4afbde7798
Insert muzzleflash precaches from Nuclide into ClientGame_RendererRestart 2021-10-06 22:01:49 +02:00