Commit Graph

125 Commits

Author SHA1 Message Date
Marco Cawthorne 674432f6cb Added missing They Hunger files. 2019-12-22 23:28:39 +01:00
Marco Cawthorne cfe0094c28 - Added early Poke646 entries.
- Added missing Shock-Rifle particle file.
- Fixed monster_scientist behaviour in SciHunt that broke.
- Added parenting functionality for entities (The Wastes uses this.)
- More updates to BasePhysics. Requires plugins/bullet.
  I want to make it work with primitive physics however.
- Updated prop_rope entity. The Wastes uses this and requires an updated
  engine.
- Changed the way env_sound works. This may be more accurate.
2019-12-22 12:13:49 +01:00
Marco Cawthorne c5b0e0146f Some fixes to get FreeHL to compile without TW. 2019-11-09 02:09:17 +01:00
Marco Cawthorne 7048e0add0 Fix wrong hashtable creation call for materials.
Tweaked a lot of gs-entbase entities.
2019-10-19 04:30:29 +02:00
Marco Cawthorne 5f41894f02 env_soundscape, initial fixes. 2019-10-19 04:29:34 +02:00
Marco Cawthorne d92bab77f5 prop_rope: Added swing factor. 2019-10-08 22:28:08 +02:00
Marco Cawthorne ed5bf4acf3 client-side gs-entbase updates for TW. 2019-10-08 22:14:18 +02: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 6fea65a586 Gunman Chronicles: Basic work on weapons and their menus completed.
Some weapons and their visuals are not implemented yet.
It's a very good preview of how things are going to work though.
2019-09-22 15:41:13 +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 9c743449c5 Reset all ammo fields for when they join/respawn in MP games. 2019-09-17 12:00:05 +02:00
Marco Cawthorne 04019acc01 Improve some of the player checks in Half-Life's ammo code. 2019-09-17 08:44:23 +02:00
Marco Cawthorne 969b488ed6 Half-Life: Fix WEAPON_SHOTGUN ammo3 being reset every function call. 2019-09-17 03:12:14 +02:00
Marco Cawthorne e2fc274b70 Half-Life: Fix WEAPON_TRIPMINE ammo check, which falsely checks for a_ammo1
on the client-side instead of a_ammo2.
2019-09-17 03:04:02 +02:00
Marco Cawthorne 0e74b8f536 Wipe a_ammoX variables when switching to a new weapon, to make sure
they don't get carried over from another one.
2019-09-17 02:59:27 +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 f5e46fa15f Opposing Force: Fix WEAPON_PENGUINs infinite recursion, tweak ammo and icon 2019-09-16 09:30:33 +02:00
Marco Cawthorne 7a4b4a5a7d Half-Life: WEAPON_GAUSS a_ammo3 behaviour being overwritten fixed. 2019-09-16 09:29:55 +02:00
Marco Cawthorne a4b04e4d40 Opposing Force: WEAPON_SPORELAUNCHER's reloading now works as expected. 2019-09-16 09:29:32 +02:00
Marco Cawthorne 25be163965 Half-Life: Fix a_ammo3 references being overwritten in WEAPON_HANDGRENADE 2019-09-16 09:29:03 +02:00
Marco Cawthorne 8f9ae9c3bb Half-Life: Make WEAPON_RPG's laser toggable 2019-09-16 09:27:38 +02:00
Marco Cawthorne ce4e7ad9ed Half-Life: Add remaining MAX_A references into ammo.cpp 2019-09-16 09:27:09 +02:00
Marco Cawthorne ac8b3d4480 Opposing Force: Nerf the whole idea that WEAPON_M249 can help make
you fly for a bit. mmkay.
2019-09-16 08:13:59 +02:00
Marco Cawthorne 577bd0bd19 Opposing Force: Get WEAPON_GRAPPLE mostly right. Needs testing on MP. 2019-09-15 23:57:03 +02:00
Marco Cawthorne f73a843ec0 Opposing Force: Initial implementation of WEAPON_DISPLACER. 2019-09-15 23:56:31 +02:00
Marco Cawthorne 369faa60cf Opposing Force: Tweak reload timers to avoid the hold-down-primary bug. 2019-09-15 23:56:02 +02:00
Marco Cawthorne 8985a8f373 Added ammo culling for Half-Life 2019-09-15 23:55:18 +02:00
Marco Cawthorne 305206cbaa Nodes: Added initial code to parse Half-Life's nodes and dump them
into waypoints we can process with the routing API in-engine.
2019-09-15 15:56:39 +02:00
Marco Cawthorne 881e24905c Fixed that the weapon selection number was defined as being 255 instead of
256... go figure.
2019-09-15 15:49:05 +02:00
Marco Cawthorne 492cdfe8c5 Half-Life: Fixed ITEM_SUIT. This should not have happened. Sorry. 2019-09-15 10:52:49 +02:00
Marco Cawthorne 5956041ef7 Half-Life: WEAPON_PYTHON received some polish, fixes and idle
animation updates.
2019-09-15 10:20:50 +02:00
Marco Cawthorne afe9e2b9d7 Half-Life: WEAPON_MP5 got some sweet more fixes as well. 2019-09-15 10:16:52 +02:00
Marco Cawthorne 52e1f6f5ff Half-Life: WEAPON_GLOCK received more polish also. 2019-09-15 10:15:18 +02:00
Marco Cawthorne 37a9e62273 Half-Life: WEAPON_CROSSBOW received more polish and fixes. 2019-09-15 10:13:56 +02:00
Marco Cawthorne 609031080e Call weapon.updateammo() from now on after each primary/secondary/reload
function.
2019-09-15 10:13:10 +02:00
Marco Cawthorne aa5dac4e01 Half-Life: Bring WEAPON_GLOCK a bit more polished with more accurate
weapon idle animation timers.
2019-09-15 08:38:52 +02:00
Marco Cawthorne 493a1d01bb Half-Life: WEAPON_HORNETGUN's idle timer changed so that animations cycle
once we're done recharging. This makes it a whole lot easier to deal with.
2019-09-15 08:23:34 +02:00
Marco Cawthorne da9dfdc0df Removing AMMO_ references. Those are unused. 2019-09-14 11:53:09 +02:00
Marco Cawthorne 9f86e70f2f Weapon Select: Fix precision issue with flawed bitfield check.
Otherwise we're only getting access to 23 bits of mantissa... this should
totally be classified as a compiler bug, by the way.
2019-09-14 11:52:22 +02:00
Marco Cawthorne 2489e4d872 Renamed client/*.cpp to .c files where appropriate 2019-09-13 09:58:35 +02:00
Marco Cawthorne caf39bd2ef Renamed text.c to prints.c, as it is more appropriate 2019-09-13 09:55:27 +02:00
Marco Cawthorne b27f060589 Moved non-entity specific code from gs-entbase/client/ to client/ 2019-09-13 09:43:34 +02:00
Marco Cawthorne c46a49261c Redid weapon pickup logic for the weapon API. 2019-09-13 07:22:17 +02:00
Marco Cawthorne 3265f76fb2 Opposing Force: WEAPON_GRAPPLE prototype to play around with. 2019-09-12 13:15:04 +02:00
Marco Cawthorne 7c35269b79 Opposing Force: Fixed sniper ammo model and ammo counts. Someone was sleepy. 2019-09-12 12:13:26 +02:00
Marco Cawthorne 82fdf44402 Opposing Force: More polish to WEAPON_EAGLE. 2019-09-12 11:12:35 +02:00
Marco Cawthorne fcc9643190 More tweaks for both Half-Life and Opposing Force weapons and behaviour.
Also added Gunman stubs.
2019-09-12 09:12:12 +02:00
Marco Cawthorne 0952fc197c Opposing Force: Tweak WEAPON_EAGLE firing rate for the laser mode, fix that the
laser is being reset upon walking over someone dirty ammo
2019-09-12 07:18:30 +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 a683994dc5 Team Fortress: Add item_healtkit from Half-Life 2019-09-11 14:37:02 +02:00