Commit graph

66 commits

Author SHA1 Message Date
db4ed5ac3d Added initial support for basic sentences.txt on monsters. 2020-03-26 11:24:33 +01:00
bb4012b75f Added float(string)Skill_GetValue so we can properly support variable skill
settings.
2020-03-26 08:13:23 +01:00
520e91616a Valve: Check for cvar 'coop' as well as 'sv_playerslots' for Singleplayer 2020-03-26 07:03:29 +01:00
7ea6f8246c Valve: Give monster_barney a name 2020-03-26 07:02:58 +01:00
2bb8bd00cf Moved Death and Pain methods into CBaseEntity. 2020-03-25 22:35:05 +01:00
b70b0cd6f9 Mititage startspot spawn-issues. 2020-03-25 20:20:53 +01:00
aa6b541313 the slot1-10 keys are now working as expected. 2020-03-25 19:57:08 +01:00
80d06e7dcd Cleaned up warnings. 2020-03-25 17:42:36 +01:00
4bdefa4cd7 Big commit, list of additions:
Added stubs for a variety of monsters for 'valve' which a few mods inherit.
Added support for the 'vote' and 'callvote' command.
Made env_laser network some info to the clients, kinda rough because
we're working around some engine iffyness with CSQC ents right now.
Updated the menu so that the server-lists for Internet and LAN games are
a bit more helpful.
Made the CBaseMonster class for useful for the future.
Fixed setting of transparency for all entities.
2020-03-25 13:58:19 +01:00
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
8ceb0a54a1 Valve: Satchel and Handgrenade now play the proper bounce sounds. 2020-03-24 08:41:06 +01:00
e3a9a0149e Added missing ladder sound precaches. 2020-03-24 08:21:47 +01:00
50d840cd9d Valve: Tripmine death attribution is now variable 2020-03-24 08:20:43 +01:00
40852185c1 Footsteps: Added ladder climbing sound. 2020-03-24 08:02:11 +01:00
c51da15564 Made the codebase compile again... 2020-03-08 10:59:46 +01:00
bf0ffd39eb impulse 102 will now force a re-send of all networked fields.
this will be awful over the network. Just letting you know.
2020-03-03 22:50:57 +01:00
673cf9dbf8 Manual networking of all base-entities. This shouldn't be necessary,
but, as the engine-bug that's as old as time itself that has been
responsible for prediction being wonky has still not been fixed, I have
to do this. Maybe it'll be for worse, maybe it'll be for the better.
2020-01-16 05:43:12 +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
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
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
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
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
ce4e7ad9ed Half-Life: Add remaining MAX_A references into ammo.cpp 2019-09-16 09:27:09 +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
492cdfe8c5 Half-Life: Fixed ITEM_SUIT. This should not have happened. Sorry. 2019-09-15 10:52:49 +02:00
c46a49261c Redid weapon pickup logic for the weapon API. 2019-09-13 07:22:17 +02:00
7c35269b79 Opposing Force: Fixed sniper ammo model and ammo counts. Someone was sleepy. 2019-09-12 12:13:26 +02:00
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
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
a683994dc5 Team Fortress: Add item_healtkit from Half-Life 2019-09-11 14:37:02 +02:00
91cb97ab7d item_tfgoal: Set bounding box. 2019-09-11 14:36:47 +02:00
1fa05bee3a Team Fortress: Added link from i_t_g to info_tfgoal 2019-09-11 14:36:31 +02:00
4029e92713 Team Fortress: Add fancy class help upon spawn.
TODO: Make this optional, via setinfokeys
2019-09-11 13:33:32 +02:00
5132b28c49 Team Fortress: Basic Team/Class spawning. 2019-09-11 13:08:12 +02:00
dad17ab315 Added initial logging code... 2019-09-11 13:07:27 +02:00
94b0b5acc5 Team Fortress: Initial commit. Rough framework for the weapons, build
scripts, etc.
2019-09-11 08:45:41 +02:00
9a47c3d9b8 Half-Life: Added player gibbing because lul. 2019-09-09 22:43:43 +02:00
8d4c6c086e Xen decor: Literally just some static xen decor. Doesn't do anything yet. 2019-09-09 18:59:13 +02:00
e64bc2ca8e Networking: Make sure level transitions don't miss player entity setup
packets
2019-09-08 12:59:17 +02:00
875dc52c96 Networking: Add keepalive packet for players, so that prediction doesn't break. 2019-09-08 12:17:46 +02:00
3112040047 old_viewofs should really be a float.
Made PlayerDisconnect SendFlag more explicit.
2019-09-07 21:09:18 +02:00
44479cd637 Networking improvements. Make player entities and NPC networking
conditional. Only changed fields are networked. This is because the overall
design seems mature enough.
2019-09-07 21:01:05 +02:00
31750420be Remove/Fix sounds that were named wrong or missing. 2019-09-07 08:39:28 +02:00
27707e37b6 Move things from the root src/ dir into the src/shared folder, as that
makes the most sense.
2019-09-07 05:50:44 +02:00