Commit graph

24 commits

Author SHA1 Message Date
9d869d5c0a Fix damage overlay for splitscreen games
Starting to mess with decal colours. DO NOT TOUCH. This is awaiting engine fixes potentially.
2019-03-12 01:22:50 +01:00
7c15bed7bb Flashlight: Add the HUD indicator in the 'valve' base
Rewolf: Preparing initial work
Effects: Added Gib-Human effect
CBaseEntity: Make sure things that are hidden can't be damaged by default. E.g. func_breakables that are hidden
func_door_rotating: Minor tweak saving us a few bytes
item_food/sodacan: Make bounding box bigger, fix classname check to apply to "player", not "Player" (TW leftover)
Damage_Radius: Fix how damage radius checks for brush based entities.

Scientist Hunt specific stuff:
- impulse 103 test cvar added to destroy everything around the map
- scientists can be gibbed
- scientists scream when falling
- new cvar sh_scialert that spawn scientists alerted
- new cvar sh_scispeed that is mirrored from the original mod
- new cvar sh_scimax that will limit the amount of scientists spawned by the shdata system
- new cvar sh_sciyaw that will randomize the spawn yaw angle when there's no other specified
2019-03-09 15:50:11 +01:00
5b58351619 w_chainsaw: move towards the victim you're cutting with that thing. Ala scihunt 2019-03-06 20:23:31 +01:00
2df5e2884e scihunt: fix weapon order 2019-03-06 20:05:07 +01:00
3eb5cec34c w_hammer: Added missing attack-delay on the serverside... oops. 2019-03-06 17:04:35 +01:00
94c0e57810 Rewrote the Hammer code to be more according to scihunts' behaviour 2019-03-06 17:01:57 +01:00
5055d92c5b Merging the Xylemon's changes to Scientist Hunt that got sent via a patch. Thanks Xylemon!
Also changed the way game-init works. Still gotta rename the Game_Worldspawn to reflect what it actually does now.
TODO: Add a Game_InitEnts alongside Game_Init?
2019-03-06 14:11:23 +01:00
18dfc74238 PMove: Run Game_Input after physics are run, to make sure that weapons like e.g. the C4 know when we're inside a zone trigger 2019-03-03 11:57:42 +01:00
182e8b9e74 Effects: Moved precaches for effects into one place. Fixed ric_metal from being played outside CSTRIKE 2019-03-02 11:04:38 +01:00
3b93647a84 w_glock: fixed typo 2019-03-02 01:03:54 +01:00
0c6d905c7b cstrike: changed gravity modifier for the grenades. Assuming they're half, since consistent with HL's default frag. 2019-03-02 01:03:39 +01:00
fdc4227d00 traceattack: made it so that accuracy is a parameter.
w_shotgun: support for spread, fire
w_glock: support for spread.
w_mp5: spread...
w_python: ditto
2019-03-02 00:15:00 +01:00
0fd206bc2f Added impulse 100, also known as the flashlight 2019-03-01 23:24:46 +01:00
e21d6e94e5 CSQC: Change references to 'self' to pSeat->ePlayer to make sure we're targetting the current clientseat. Self might refer to shadow clients. 2019-03-01 17:13:47 +01:00
784cc97ee7 Decal-placement optimisations. Now decals will not spawn over ones in a radius of 8 units. Needs feedback! 2019-03-01 15:30:18 +01:00
2f101866b7 decal/infodecal: Make sure tempdecals aren't being removed, as that would kill the decal-chain. 2019-03-01 01:24:15 +01:00
5276d1f8cc Weapon prediction changes. Needs more testing, but this will effectively handle all weapon-animation stuff client-side. 2019-03-01 00:04:33 +01:00
1b2dd20edb Added sprite blood, weapon prediction changes [WIP] 2019-02-28 08:18:01 +01:00
a6695de43c Added a weapon reload timer hack to prevent a race between input frame and weapon-reload think frame. This fixes that the gun seemingly reloads twice. 2019-02-21 12:43:59 +01:00
d8926097fa Added custom GLSL updates, that add monochrome rendering (for better 3D Anaglyph support)
Some minor fixes regarding the entry API.
Fixed explosion effects from not animating/looping properly.
2019-02-20 14:30:16 +01:00
646e378989 func_door: Fixed the touch condition, this fixes glitchy behaviour in cs_assault etc. 2019-02-09 11:32:19 +01:00
546451338f January 2019 Refactor: Added the initial BaseHL logic and started merging things with FreeCS. This will ensure a bright future to anyone porting mods and the like to the codebase. This is very, VERY early and I'm mainly committing this so Xylemon can start tinkering with it. 2019-01-29 03:40:14 +01:00
63efe2b147 Valve progs boots now.
More restructuring.
2019-01-21 03:00:14 +01:00
8043b8f830 Major cleanup and restructuring. This breaks everything. I'm very, very sorry. 2019-01-19 05:50:25 +01:00