Commit graph

662 commits

Author SHA1 Message Date
9386b7f158 Added gibshooter, but it's disabled because the maps that uses expect it
to have a concept of states, so in order to not create thousands of ents...
2020-01-08 04:50:38 +01:00
b4423ec32f env_shooter: Use "delay" as well as "m_flDelay", if the latter is even used?
I guess I typo'd.
2020-01-08 04:33:52 +01:00
6442ea1481 func_door: Fixed blocked damage behaviour 2020-01-08 04:33:03 +01:00
b8c6892093 func_door_rotating: Fixed REVERSE flag. 2020-01-08 04:32:50 +01:00
feaf4d6b39 Added basic/incomplete env_laser implementation 2020-01-08 04:31:46 +01:00
6c75cb749e Send classname over the net instead of netname if there isn't one 2020-01-08 02:29:29 +01:00
674432f6cb Added missing They Hunger files. 2019-12-22 23:28:39 +01:00
77f952a143 Added FAQ file. :) 2019-12-22 12:24:14 +01:00
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
c5b0e0146f Some fixes to get FreeHL to compile without TW. 2019-11-09 02:09:17 +01:00
7048e0add0 Fix wrong hashtable creation call for materials.
Tweaked a lot of gs-entbase entities.
2019-10-19 04:30:29 +02:00
5f41894f02 env_soundscape, initial fixes. 2019-10-19 04:29:34 +02:00
d92bab77f5 prop_rope: Added swing factor. 2019-10-08 22:28:08 +02:00
ed5bf4acf3 client-side gs-entbase updates for TW. 2019-10-08 22:14:18 +02:00
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
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
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
dff926c468 Remove FreeCS' gfx.wad, as we're grayscaling fonts in-engine now. 2019-09-17 20:44:48 +02:00
9c743449c5 Reset all ammo fields for when they join/respawn in MP games. 2019-09-17 12:00:05 +02:00
04019acc01 Improve some of the player checks in Half-Life's ammo code. 2019-09-17 08:44:23 +02:00
969b488ed6 Half-Life: Fix WEAPON_SHOTGUN ammo3 being reset every function call. 2019-09-17 03:12:14 +02:00
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
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
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
f5e46fa15f Opposing Force: Fix WEAPON_PENGUINs infinite recursion, tweak ammo and icon 2019-09-16 09:30:33 +02:00
7a4b4a5a7d Half-Life: WEAPON_GAUSS a_ammo3 behaviour being overwritten fixed. 2019-09-16 09:29:55 +02:00
a4b04e4d40 Opposing Force: WEAPON_SPORELAUNCHER's reloading now works as expected. 2019-09-16 09:29:32 +02:00
25be163965 Half-Life: Fix a_ammo3 references being overwritten in WEAPON_HANDGRENADE 2019-09-16 09:29:03 +02:00
8f9ae9c3bb Half-Life: Make WEAPON_RPG's laser toggable 2019-09-16 09:27:38 +02:00
ce4e7ad9ed Half-Life: Add remaining MAX_A references into ammo.cpp 2019-09-16 09:27:09 +02:00
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
577bd0bd19 Opposing Force: Get WEAPON_GRAPPLE mostly right. Needs testing on MP. 2019-09-15 23:57:03 +02:00
f73a843ec0 Opposing Force: Initial implementation of WEAPON_DISPLACER. 2019-09-15 23:56:31 +02:00
369faa60cf Opposing Force: Tweak reload timers to avoid the hold-down-primary bug. 2019-09-15 23:56:02 +02:00
8985a8f373 Added ammo culling for Half-Life 2019-09-15 23:55:18 +02:00
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
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
492cdfe8c5 Half-Life: Fixed ITEM_SUIT. This should not have happened. Sorry. 2019-09-15 10:52:49 +02:00
5956041ef7 Half-Life: WEAPON_PYTHON received some polish, fixes and idle
animation updates.
2019-09-15 10:20:50 +02:00
afe9e2b9d7 Half-Life: WEAPON_MP5 got some sweet more fixes as well. 2019-09-15 10:16:52 +02:00
52e1f6f5ff Half-Life: WEAPON_GLOCK received more polish also. 2019-09-15 10:15:18 +02:00
37a9e62273 Half-Life: WEAPON_CROSSBOW received more polish and fixes. 2019-09-15 10:13:56 +02:00
609031080e Call weapon.updateammo() from now on after each primary/secondary/reload
function.
2019-09-15 10:13:10 +02:00
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
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
da9dfdc0df Removing AMMO_ references. Those are unused. 2019-09-14 11:53:09 +02:00
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
2489e4d872 Renamed client/*.cpp to .c files where appropriate 2019-09-13 09:58:35 +02:00
caf39bd2ef Renamed text.c to prints.c, as it is more appropriate 2019-09-13 09:55:27 +02:00
b27f060589 Moved non-entity specific code from gs-entbase/client/ to client/ 2019-09-13 09:43:34 +02:00