Commit graph

467 commits

Author SHA1 Message Date
2afba74a86 Added test_areaportal, to debug openportal() 2020-10-18 01:10:21 +02:00
f4ade524fe Client: Fixed some warnings and some added some paranoid free() calls. 2020-10-16 02:26:45 +02:00
4208bd8c9a Server: added server command trigger_ent 2020-10-06 14:42:46 +02:00
57cc661c86 Menu/Client/Server: Background map support for menus. This should be handled differently in that SV_ShouldPause ought to control Singleplayer as well. Engine hardcodes suck 2020-09-27 14:25:10 +02:00
54f0c5d24c Half-Life: Add I/O ability to ITEM_LONGJUMP 2020-09-26 12:46:40 +02:00
8bde44b01c CBaseTrigger: Merge UseTargets and UseTargets_Delay... to be continued. 2020-09-21 18:10:31 +02:00
dc47146e99 CBaseTrigger: Added CBaseOutput, in preparation to support Source styled input/output mechanisms 2020-09-20 10:43:13 +02:00
868b9d1b04 Fix some misc warnings the new fteqcc brought up, along with some other tiny changes. 2020-09-13 19:14:28 +02:00
ac31455dd5 Nodes: Add fancy debug textures for nodes and sequences. 2020-09-13 19:11:41 +02:00
44b6a3d10a Sentences: Force them to be read in uppercased. 2020-09-10 19:28:36 +02:00
f4d4e86400 CBaseEntity/CBaseMonster: Add support for server-side model events. This enables models, as they sometimes do, to actually trigger entities in the world and much more. There's seperation between client-side and server-side events as well. 2020-09-10 10:34:14 +02:00
ca5a7feede Cleaned up misc warnings. 2020-09-09 08:05:34 +02:00
fd826a226d CBaseEntity: Added support for the 'scale' field in the rendering, also made the codebase use the builtin target/targetname 2020-09-08 22:49:35 +02:00
7680521379 Server: Add support for game_playerspawn triggers. Basically upon any player spawning into the world, all entities named 'game_playerspawn' will be triggered with the player being set as the activator. Nifty 2020-09-08 03:29:10 +02:00
50ccbf4b9a Add func_tank, func_tankmortar and generally faff about with input code. 2020-09-04 21:28:06 +02:00
3ca223b673 PMove: Added a bit of a punchangle when falling/falldamage hits 2020-09-02 04:09:33 +02:00
5e821a5651 Removed obsolete parameter from Death() and Pain(), as those are now residing in globals. 2020-08-31 10:56:31 +02:00
b7ac9ade38 Counter-Strike: Fixed hostage-rescue zone generation check. Exposed by trying to play bhd_cs by Nipper 2020-08-27 06:35:01 +02:00
308a529244 Counter-Strike: Make sure the ITEM_C4BOMB is unset whenever clients spawn... 2020-08-17 05:55:10 +02:00
aab8ff9572 Counter-Strike: Fix not being able to buy ammo for WEAPON_AUG 2020-08-17 05:42:09 +02:00
d61afb0b63 Counter-Strike: Added client-side LED glow to WEAPON_C4BOMB 2020-08-17 05:38:39 +02:00
f1954cdb33 Plugins: Added hooks for InitEnts and cleaned up some plugins that would benefit from it. 2020-08-16 01:04:20 +02:00
a79ead4197 Half-Life: Moved the silly Vox announcer for MP games into its own little plugin 2020-08-14 23:51:59 +02:00
a00a574b4a Plugins: Added ClientConnect and ClientDisconnect hooks 2020-08-14 22:13:03 +02:00
96c3590a08 Plugins: Use our own plugins.txt listing to decide which plugins get loaded... 2020-08-14 21:16:47 +02:00
d3b488b7bf CBaseTrigger/s: Overhauled the system to keep proper track of its activators. This was important in some mods who'd e.g. call a trigger_camera over longer periods of time and expected to target the same player as before as part of a multi_manager. 2020-08-10 12:32:18 +02:00
d324259e72 CBaseTrigger: Massive change that allows us to finally set states. This affected every entity that can be triggered. Things like the airlock check in c1a0d work now. 2020-08-07 14:07:38 +02:00
9e13854dbe Half-Life: Remove redundant target health check in monster_zombie. 2020-08-03 23:43:18 +02:00
654c3d370f Half-Life: Added melee and ranged attacks to monster_human_grunt and marked him as an enemy to players. 2020-08-03 23:42:45 +02:00
59d13f7103 Half-Life: Added basic monster_houndeye ranged blast attack code. This still needs further reverse engineering as I think the dmg value varies. 2020-08-03 23:42:14 +02:00
6dbfff0b68 Half-Life: Mark monster_barney as friend to avoid confusion. Make it so his pain animation interrupts firing time. 2020-08-03 23:41:25 +02:00
eecb76ebc7 Half-Life: Worked on the melee/ranged attacks of monster_alien_slave. 2020-08-03 23:37:52 +02:00
3c4a518b8e Counter-Strike: Fixed some warnings. 2020-08-03 18:49:30 +02:00
743d7a33d0 Half-Life: Add support for player respawns when coop is 1, as well as custom player model support in coop. 2020-08-02 15:21:35 +02:00
b9f4da2494 Half-Life: monster_zombie and monster_headcrab are attacking somewhat properly now and chase you around. Currently still working out the whole vision logic. 2020-08-02 12:55:03 +02:00
690d390e79 Counter-Strike: Added various pain animations to hostage_entity and proper pain and death penalties. 2020-08-02 11:40:41 +02:00
73597af3c0 Some basic Attack functions for CBaseMonster. monster_barney in Half-Life will draw, holster his weapon against targets and shoot. Shows there's some use in our pathfinding already. 2020-07-27 01:19:53 +02:00
da7c5a27e2 Server: Use the undocumented (but handy) readcmd instead of localcmd to parse skill files instantly. This will avoid the bug of delayed config loading. That's the theory. 2020-07-25 01:58:12 +02:00
abe97ebe43 Half-Life: Add a silly announcer to spice things up when players get killed. 2020-07-18 01:56:28 +02:00
c0f97524ce Change 'impulse 240' for adding bots to 'sv bot_add', which is game-mode
oriented and more flexible to mod authors.
2020-07-09 10:42:34 +02:00
7611796555 Counter-Strike: Mark hostage_entity as MULTIPLAYER available. 2020-06-25 11:06:02 +02:00
66aef13819 Purge cstrike.old from the src tree. 2020-06-12 17:14:05 +02:00
12c26958e1 CBaseMonster: Add MSF_MULTIPLAYER flag, so monsters can be made available in multiplayer on a per-class basis. 2020-06-12 17:02:30 +02:00
9cde95495d monster_scientist: Fix the model/character selection using the new SetBody system 2020-06-12 16:41:21 +02:00
5b34579e9b Server: Exec skill_[gamename].cfg as a fallback for skills 2020-06-12 10:20:17 +02:00
bdfb040bc2 player_weaponstrip: Initial implementation; func_breakable: warn when key 'spawnobject' defines an out-of-bounds spawn id. 2020-06-12 09:46:24 +02:00
dc43e5f3a9 Counter-Strike: Prevent the player defusing the bomb from moving. 2020-06-09 00:52:12 +02:00
70451433b8 Counter-Strike: Reset progressbar upon round restart. 2020-06-09 00:30:06 +02:00
61983ec2d8 Counter-Strike: Add progress bar for defusal and other tasks. 2020-06-09 00:23:18 +02:00
591f878d55 Counter-Strike: Defusing the bomb is now handled outside the player input logic, working. 2020-06-08 23:46:44 +02:00
828a41eff8 Fix new compiler warnings. 2020-05-30 23:08:11 +02:00
fcb99ad427 Add support for func_breakable its spawnobject key. 2020-05-30 14:57:01 +02:00
4d201c281b Fix armor indirection bug. The compiler ought to warn about name conflicts like these. 2020-05-28 19:53:24 +02:00
fe251faf81 Physics: define stand-in values for non CSTRIKE and VALVE defined games 2020-05-08 07:44:40 +02:00
674206349a Half-Life: Fix crash with obituaries and invalid weapons. 2020-05-04 05:48:19 +02:00
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
a025a41e73 Simplified the client progs.src file for each game massively. 2020-05-02 23:57:25 +02:00
d4c97c639b Unbreak env_sprite rendermodes. 2020-05-02 06:38:02 +02:00
bfa3412277 Cleaned up some warnings. 2020-05-02 05:28:21 +02:00
af7820def4 Moved class item_pickup definition to a higher scope, so the weapons
can manipulate pickup related things within their own source file.
2020-05-02 01:00:27 +02:00
9fec86e295 Half-Life: Add SetFloating to class item_pickup. 2020-05-02 00:38:07 +02:00
02606bafe9 Counter-Strike: Precache item pickup sound shaders in advance, also
add sound shader for weapon.pickup
2020-05-02 00:24:54 +02:00
9ea07752f8 Scientist Hunt: Add some basic logic for the insanity mode. This adds
sh_insanity (cvar). Also fixed some shared Half-Life ish stuff with
blood, trigger_hurt entities... too tired to list
2020-04-30 05:58:17 +02:00
5ce957bb20 BaseMonster: Went over various monsters to fix gibbing since that had
regressed with the way we do damage now.
Replaced all 'frame=' assignments with SetFrame calls so it gets networked.
2020-04-28 17:49:32 +02:00
e697fd8fc5 Counter-Strike: Fix the hostage from becoming unresponsive when hurt. 2020-04-28 06:14:30 +02:00
a1f2a78800 Scientist Hunt: Fix the scientist by making it use the new methods to
control CBaseEntity based objects.
2020-04-28 06:14:07 +02:00
cf34e1d678 Half-Life: Make player death-flatline a sound shader 2020-04-28 06:13:22 +02:00
7c1921ae05 Opposing Force: Added stubs for the upcoming CTF logic. 2020-04-28 06:11:44 +02:00
92aac3489f Counter-Strike: Added intermission logic. 2020-04-26 20:57:13 +02:00
9ace996ada Counter-Strike: Make sure we drop our current weapon, as well as the C4
bomb if we do happen to carry it.
2020-04-26 13:40:03 +02:00
3b0d7b7fdc Weapons: Make sure dropped items get purged between rounds. 2020-04-26 13:23:18 +02:00
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
46f720d562 Counter-Strike: Handle level-transitions for weapon information, purge
said information when dying in MP games as well.
2020-04-26 03:28:42 +02:00
da7f06b835 Counter-Strike: Hostage interaction rewards. 150 dollars! Grab one now for
big big boni!
2020-04-26 00:12:33 +02:00
5c74aa99ab Counter-Strike: Disallow terrorists from interacting with the hostages.
Must have been really tired one night.
2020-04-26 00:04:39 +02:00
82d14b46d8 CGameRules: Allow different MaxItemPerSlot limits per slot type. 2020-04-24 05:37:54 +02:00
876468fc29 Fixed a bug in which self wasn't reset in Weapons_AddItem() 2020-04-23 22:42:09 +02:00
7c0315d56f Added CGameRules::MaxItemPerSlot to let gamemodes/rules allow how many
items we allow per inventory/HUD slot. CS's is 1 in multiplayer.
2020-04-23 21:02:38 +02:00
090461860e Added cmd "lastinv" and "drop". 2020-04-23 07:36:19 +02:00
051d07fbcf TraceAttack: Added support for weapon-specific penetration values.
Counter-Strike now uses those, values are those from CS:S's 2011 weapon
scripts.
2020-04-23 06:51:39 +02:00
d8b832041c Counter-Strike: Fixed being able to buy ammo outside of the buy-time... 2020-04-23 05:19:38 +02:00
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
781d896bfd Counter-Strike: Simplified CSMultiplayerRules::PlayerFindSpawn by making it
non-random.
2020-04-23 01:55:23 +02:00
b688738320 Counter-Strike: Fix armoury_entity from selecting the wrong model for some
items.
2020-04-23 01:45:56 +02:00
7c19a62aaf Counter-Strike: Went over the player-model selection code. 2020-04-23 01:40:31 +02:00
8905fa98bc Counter-Strike: play sound when successfully buying ammo. 2020-04-23 01:28:28 +02:00
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
65a2018b6d Counter-Strike: Force Weapons_SwitchBest() in CSMultiplayerRules upon
respawning.
2020-04-22 19:58:37 +02:00
db39b7171e Counter-Strike: added CSEv_AmmoBuyPrimary and CSEv_AmmoBuySecondary. 2020-04-22 14:12:57 +02:00
0d3f271b21 Half-Life: Convert item_battery and item_healthkit to use sound shader
definitions instead of using sound() directly.
2020-04-22 12:45:45 +02:00
b3de732e03 BotLib: Added initial files to the project. 2020-04-22 12:31:28 +02:00
6ceca5839c TraceAttack: Let game progs.src files themselves decide whether they want
BULLETPENETRATION enabled.
2020-04-22 05:56:21 +02:00
1891e974d0 Counter-Strike: Handle player animation code in its own files, update
weapons to use the newly defined sequences.
2020-04-22 05:32:58 +02:00
922b6f4c55 Added sub-directory makefile to ease the building of specific games/mods. 2020-04-21 00:30:54 +02:00
877e5e1699 Counter-Strike: Doing bound checks with armoury_entity so that maps like
cs_huehnerklau work.
2020-04-21 00:13:42 +02:00
bb7522f971 Counter-Strike: Fix the money team rewards not being given out when a new
round hits.
2020-04-20 23:21:02 +02:00
a3ff75a4da Moved Player_Death into the Gamerule logic.
Counter-Strike's zones have been shoved into .flags, where we desperately
need some more bits.
Counter-Strike's WEAPON_C4BOMB now only works in a func_bomb_target zone.
2020-04-20 19:25:15 +02:00
1eda0ab5d4 Counter-Strike: Added CSEv_BuyEquipment_f 2020-04-20 15:59:42 +02:00
2cee375ce5 Lots of commits bundled into one:
- Added GamePMove_Fall and GamePMove_Jump for controlling either.
- Tweaked maxspeed for Counter-Strike heavily.
- Worked on the Counter-Strike WEAPON_KNIFE (fully functional!).
- Worked on the Counter-Strike WEAPON_AWP (mainly zoom).
- The WEAPON_C4 in Counter-Strike will no longer unfreeze you during warmup
- Added cl_showtriggers for displaying brush-based triggers.
- Removed muzzleflash dynamic light, as it seems GoldSrc doesn't have any.
- Fixed bug in which the server-list would run into an infinite loop error.
- Fixed weapon pricing in Counter-Strike.
- To rescue hostages means to earn $$$
2020-04-20 06:45:14 +02:00
d7e818410c Added game-specific maxspeed overrides. 2020-04-19 13:01:47 +02:00
51cce26fd8 Added some init messages. 2020-04-19 12:02:05 +02:00
8ac5ac7c77 Support for Q3-based BSP material flags - for footsteps anyway 2020-04-19 12:01:20 +02:00
23011d42e6 Unbreak Scientist Hunt's gamerules. 2020-04-15 12:28:11 +02:00
ad62ddc574 Moved gamerule definitions at a higher scope, this will make it easier
to call GameRule events from other parts of the codebase.
2020-04-15 01:18:19 +02:00
3e4a67367b Counter-Strike: Hostage Rescue works, Buymenu for weapons works, cleaned
up some gamemode code.
2020-04-14 16:19:25 +02:00
992add7dfd Gamemodes: Moved the level transition stuff outside of the _singleplayer
logic as lots of mods want to inherit that of HL anyway.
2020-04-14 12:35:55 +02:00
594ba56f02 Started moving gamerule logic into classes, so we can manage seperate
modes of play better. This will be much appreciated too by anyone modding
CS to add additional gamemodes later for example.
2020-04-14 03:12:09 +02:00
142e6c9cf3 Possible memalloc corruption mititagions. 2020-04-12 19:40:09 +02:00
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
4e90b5199f Valve: Added missing ammo sound shader precaches. 2020-04-08 22:34:21 +02:00
94d7da9ed7 Valve: Fix dupe player precaches. 2020-04-08 08:02:13 +02:00
f43bc2cf32 update copyright dates because I've been forgetting all year. 2020-04-07 14:46:23 +02:00
27cfaba85f Cstrike: Lots more documentation, stubs and some working new entities.
Added crosshair alternatives for AUG and SG552.
Made running/crouching/jumping affect gun accuracy calculations.
2020-04-07 12:42:28 +02:00
cf136dbd6c Cstrike: Finished most of the essential gun logic. 2020-04-07 02:47:21 +02:00
1f0e93d35a Precaching CS weapon sounds via sound-shaders... 2020-04-06 10:53:26 +02:00
755eecfc34 A bunch of mod changes contributed to by Xylemon, mixed together with
some of my FX code which is going places.
2020-04-05 02:25:27 +02:00
e1b38f008a Adjusting spawn-angle to match spawnpoints. 2020-04-04 00:52:45 +02:00
a159183b3d Footsteps: Ladder sound fix 2020-04-03 15:29:24 +02:00
7f2f32efb1 Menu/Manifests: Allow games to execute commands for the button reserved
for training. Gunman uses this to play a Smacker/Bink video file.
2020-04-03 14:09:17 +02:00
5055fc8879 Fixed some small warnings. 2020-04-03 13:37:26 +02:00
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
7c22d66c17 Valve: Converted more monsters to use sound shaders! 2020-04-03 09:22:22 +02:00
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
e6ff9520a1 Valve: MONSTER_ZOMBIE now uses sound shaders. 2020-04-03 00:40:54 +02:00
4f44d96be9 Pulled over Sound-Shader code from TW. We'll use this soon over hard-coded
sounds.
2020-04-02 22:43:37 +02:00
47f8e41185 Gearbox: ammo_spore should behave like it is meant to. WEAPON_SPORELAUNCHER
got some changes to support its alt-fire and yellow blood decals on impact
2020-04-02 22:42:30 +02:00
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
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
a6b301755e Valve: Fix playermodel pitch/bone controller 2020-04-01 12:51:46 +02:00
c813e49b56 Menu: Lots of work done, like switching player models, sprays -
IRC chat, custom game installs and listings.
2020-04-01 01:08:01 +02:00
de877436aa Cleaned up warnings. 2020-03-31 10:09:23 +02:00
197b373335 Fixed some more prints to be cvar developer 1 only. 2020-03-31 09:28:40 +02:00
10fc61c84e Polish triggers, add initial monstermaker guff 2020-03-31 09:04:13 +02:00
163ac1993d Valve & Mods: Fixed Hud_SlotSelect bug in which you could weapons you did
not have in your inventory.
2020-03-31 06:42:03 +02:00
e66d0214c4 Tweaked trigger_changelevel and info_landmark. Fixed a bug because
#regressions. It should now travel across the maps that didn't before, but
it needs more testing. trigger_transition is not implemented yet.
2020-03-30 22:29:05 +02:00
6e47ea30d1 Valve: Fix MONSTER_BABYCRAB spawn 2020-03-30 19:59:45 +02:00
e5a3f0880c Starting to clean up more RenderFX stuff, shoving most of it to CGame 2020-03-30 16:22:24 +02:00
f6b26302a2 Nodes: Made debugging display scripted_sequences 2020-03-30 15:03:22 +02:00
d7fdabbd60 Improved pathfinding by skipping unnecessary node-walking passes. 2020-03-30 13:51:48 +02:00
8bf96e425a Valve: Added health for MONSTER_BARNACLE 2020-03-30 13:50:52 +02:00
acc2be466c Gearbox: Added monster_recruit, monster_drillsergeant 2020-03-30 11:11:21 +02:00
ea5851a8f5 Fixed possible recursion bug with breakables and other dead-triggers. 2020-03-29 21:39:32 +02:00
f07600f194 More work on scripted_sequences. 2020-03-29 11:21:26 +02:00
f66792ef49 Comitting the new cstrike-branch stuff so far, it's very little but a
step in the right direction. The old (regressed) codebase is now in
cstrike.old.
2020-03-28 10:56:52 +01:00
0c62ea6371 Fixed a crash because monster_generic entities really shouldn't be CBaseEnt 2020-03-27 16:26:52 +01:00
e9326f4e1d scripted_sequences: They sorta work now, needs an engine with
ENGINE_ROUTING enabled however
2020-03-27 10:37:01 +01:00
bb0b4d8f6c Simplified a lot of the Barney/Scientist code by expanding CBaseNPC 2020-03-27 07:34:24 +01:00
dd16fd1684 Added FLAC music playback style to force for those files. 2020-03-26 23:36:54 +01:00
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
ad713d2f7e Valve: Document more monster sounds etc. 2020-03-26 17:17:44 +01:00
7d330eb8cd Move the ability to use sentences over to CBaseEntity for now. 2020-03-26 12:19:27 +01:00
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
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
53a12821e1 Cleaned up the damage routines to prepare for a bunch of new changes
related to obituaries etc.

Also added support for headshots. Right now they'll explode scientists'
heads so that's hilarious.
2019-09-04 10:38:39 +02:00
22763a61ff Fixed HORRIBLE Damage_Radius behaviour.
Basically the damage value from the parameter was modified which resulted
in every entity found that's damaged taking damage away from every entity
that's potentially affected by the radius damage.

In Half-Life the armor skip would also be ignored, resulting that the
command 'kill' would not do much when wearing a fully charged HEV suit.
2019-09-03 05:01:35 +02:00
b70eb4b7ce Counter-Strike: Bring back the scoreboard, as it wasn't interactive anyway. Maybe in the future there will be some fancy VGUI version. 2019-09-03 04:58:49 +02:00
7a34587038 Set some debugging hulls for the player spawns. 2019-09-02 04:20:09 +02:00
978a0dd865 Added initial func_guntarget and trigger_autosave. 2019-09-01 22:39:56 +02:00
7cc9a73cbd Scientist Hunt: Adopt 'valve' chat parsing that was more reliable. 2019-09-01 10:37:20 +02:00
0e70bc0ab6 Half-Life: Add early ammo definitions for ammo_mp5clip and ammo_mp5grenades 2019-09-01 10:09:49 +02:00
3dee62271f Half-Life: Let items trigger targets. Required for Hazard Course at least. 2019-09-01 10:08:59 +02:00
afa60a0482 Half-Life: Start with suit in deathmatch. 2019-09-01 10:08:31 +02:00
05980cfb3e Half-Life: Only use flashlight when ITEM_SUIT is present. 2019-09-01 10:08:17 +02:00
106604661b Tweaking footsteps sound sensitivity a little. 2019-09-01 08:00:01 +02:00
15181308f8 Counter-Strike: Add item_suit, so that the training works again. 2019-09-01 06:59:09 +02:00
dee8eb2fd8 Updated progs.src file paths. 2019-09-01 05:23:24 +02:00
b3acf9b715 Moving game specifics .src files into their own dirs. 2019-09-01 05:06:43 +02:00
b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00