Commit Graph

35 Commits

Author SHA1 Message Date
Marco Cawthorne f38bf28b9e Go over the default.cfg's of all the example games. Make it so that
Skill_GetValue() requires a default value set.
2020-12-12 01:54:00 +01:00
Marco Cawthorne 5e821a5651 Removed obsolete parameter from Death() and Pain(), as those are now residing in globals. 2020-08-31 10:56:31 +02:00
Marco Cawthorne 80c5cdc5f9 Half-Life: Fix the bug that WEAPON_SNARK doesn't get removed from the inventory when all snarks have been deployed. 2020-07-12 00:00:41 +02:00
Marco Cawthorne 18627889f9 Half-Life: Fix WEAPON_SNARK in multiplayer, targetting 2020-07-07 23:41:35 +02:00
Marco Cawthorne c709117209 Switch to using spriteframe() for HUD sprites in valve, scihunt 2020-05-31 12:54:04 +02:00
Marco Cawthorne 674206349a Half-Life: Fix crash with obituaries and invalid weapons. 2020-05-04 05:48:19 +02:00
Marco Cawthorne fc3f124d24 Progs.src for server-side codebases are much simpler now, player class now
inherits the base_player class, which is a new addition.
2020-05-03 05:26:06 +02:00
Marco Cawthorne b7c2c61a88 Obituaries: We now read hud.txt for the icons, so we no longer have to
define them inside the code. This should automate quite a bit of legwork
2020-05-02 02:36:37 +02:00
Marco Cawthorne 0c0b9938b7 Went over weapon-drop logic to handle ammo, undroppable weapons.
Added basic intermission logic to HL:DM for fraglimit/timelimit being hit.
Cleaned up WeaponAPI to get rid of killicons, which should be handled
elsewhere.
2020-04-26 13:17:19 +02:00
Marco Cawthorne d72fc4d17c FX: Cleaned up inits and organized everything into the relevant game
specific directories, so mods can now inherit/override effects easier.
2020-04-23 03:13:29 +02:00
Marco Cawthorne d0ec99b5b1 CBaseEntity: Got rid of all the net_ attributes (except origin, angles)
which should give us a lil boost since we no longer need to save that
much mem.
2020-04-22 23:33:18 +02:00
Marco Cawthorne bfacfc5e71 Half-Life: Added more verbose assignments for readability. 2020-04-22 12:47:01 +02:00
Marco Cawthorne 324fadd668 Spring cleaning. Prepare for summer! Fixed lots of bugs too:
v_camroll is now working again.
Counter-Strike is finally getting somewhere again.
Counter-Strike has pseudo spray-patterns now! They're all the same.
func_button now can be programmed to use Sound-Shaders.
The menu handles the vid_conautoscale command autonomously. Set r_autoscale
to 0 if you don't like it.
The menu has an updater, requires a not-yet-pushed build of FTE.
Don't use it yet.
Moved a lot of globals into pSeat's structs to fix splitscreen with them.
Made explosion decals be handled client-side!
Added trigger_look, env_sun and light_environment entities.
2020-04-12 15:50:42 +02:00
Marco Cawthorne f43bc2cf32 update copyright dates because I've been forgetting all year. 2020-04-07 14:46:23 +02:00
Marco Cawthorne 2e1b2846da Some prediction fixes? 2020-04-06 11:14:40 +02:00
Marco Cawthorne a7fc08f857 Footsteps are more unified across BSP versions, can easily be extended
and cover more types of materials even on HL BSP maps.
Improved documentation for QUAKED comments.
Seperated skill file for valve into its own little thing.
2020-04-03 12:12:11 +02:00
Marco Cawthorne 45c18f6a7f Valve: Skill system now affects the weapons as it should. Didn't do it on
the ones that need a lot more work.
2020-04-03 09:11:08 +02:00
Marco Cawthorne 2ceb72c9e4 Valve: Make most weapons use sound shader definition scripts. 2020-04-02 23:39:27 +02:00
Marco Cawthorne 54e982bc14 More work done on monstermaker in the gs-entbase. Needs a lot of testing.
Finally precaching player-models.
Fixed some crosshair arrangements in Opfor.
2020-04-01 20:10:31 +02:00
Marco Cawthorne af53ab36ef Improved entity documentation, added cl_hudaspect variable so that
you can control how close the elements are to the center of the screen.
2020-04-01 18:43:09 +02:00
Marco Cawthorne db8c10eeac Valve: Fixed WEAPON_TRIPMINE and WEAPON_SNARK and tweaked some player
animation stuff
2020-04-01 16:00:00 +02:00
Marco Cawthorne 82d9027873 Added support for chaptertitle worldspawn key.
Valve: Added monster_snark and monster_tripmine. Although they don't work
as such fully yet.
Pain/Death are properly part of the player class.
Added own music track networking so we can skip the looping business,
which is currently broken in the engine.
Shoved some gamerule specific stuff around so there's more shared code
between the mods.
2020-03-26 23:07:13 +01:00
Marco Cawthorne 2bb8bd00cf Moved Death and Pain methods into CBaseEntity. 2020-03-25 22:35:05 +01:00
Marco Cawthorne 66b629b83a Valve: Basic weapon pickup notification, cl_autoweaponswitch 2020-03-24 16:20:58 +01:00
Marco Cawthorne 223d740448 Effect_Blood can now take 'color' as a parameter. Also added some basic
trails which will be shoved into the client-side asap.
2020-03-24 11:20:21 +01:00
Marco Cawthorne 32b7791b2b Add internal support for damage types. still a few more useful ones to add
on a per-case basis.
2019-09-29 01:54:29 +02:00
Marco Cawthorne 91d1c2250f Use the predictable input_sequence variable for some random sequences.
This will soon be replaced by a more elaborate shared random number
generator of sorts.
2019-09-17 20:46:00 +02:00
Marco Cawthorne 18fda226f6 Updated Damage_Apply and TraceAttack functions to cache which weapon was
used to attack.

Also a few more weapon fixes. When will it ever be done???
2019-09-17 02:29:00 +02:00
Marco Cawthorne 8985a8f373 Added ammo culling for Half-Life 2019-09-15 23:55:18 +02:00
Marco Cawthorne c46a49261c Redid weapon pickup logic for the weapon API. 2019-09-13 07:22:17 +02:00
Marco Cawthorne bf5c78fab2 Opposing Force: Initial commit of weapons.
Includes some networking fixes so we can actually use 32bits of items.
That's what these mods are good for - testing the infrastructure.
2019-09-12 01:20:03 +02:00
Marco Cawthorne 63d91bb40e HL/SH: Make the ammo type icon affected by the ammo2/3 alpha 2019-09-07 07:47:11 +02:00
Marco Cawthorne 98e7bdef03 Spraylogos: Illuminate them with getlight() 2019-09-05 18:11:01 +02:00
Marco Cawthorne 5aa167d4af Added graphical obituaries for HL/SH.
The way the weapon is chosen is not yet final. I'm just tired and don't
feel like engineering the damage stuff right now.
2019-09-04 18:11:55 +02:00
Marco Cawthorne b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00
Renamed from Source/shared/valve/w_snark.c (Browse further)