Commit Graph

853 Commits

Author SHA1 Message Date
Marco Cawthorne c173f8b703 Fix CBaseNPC not following the player. 2020-03-31 09:12:42 +02:00
Marco Cawthorne 10fc61c84e Polish triggers, add initial monstermaker guff 2020-03-31 09:04:13 +02:00
Marco Cawthorne 1670f8f783 Slowly cleaning up prints, removing redundant Respawn() functions 2020-03-31 07:18:51 +02:00
Marco Cawthorne b1aef0c4b5 scripted_sentence: Fix the speaker not being set properly most of the time 2020-03-31 07:18:26 +02:00
Marco Cawthorne 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
Marco Cawthorne b8621deea5 Menu: Customgame count fixed, stop-music after changing mods 2020-03-30 23:48:13 +02:00
Marco Cawthorne a1ea45a682 Menu: Polished the scrollbar code. 2020-03-30 23:29:33 +02:00
Marco Cawthorne 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
Marco Cawthorne 6e47ea30d1 Valve: Fix MONSTER_BABYCRAB spawn 2020-03-30 19:59:45 +02:00
Marco Cawthorne 3f5f7b3d1c env_fade: fix crash or something 2020-03-30 19:59:26 +02:00
Marco Cawthorne ec835c75f0 Added tweaks that'll help with 3D Glasses:
r_viewmodelscale (try 5)
gl_mono (0/1)
2020-03-30 18:04:45 +02:00
Marco Cawthorne dcd42ba93b Added hologram render-mode. Some more tweaks... 2020-03-30 16:56:00 +02:00
Marco Cawthorne e5a3f0880c Starting to clean up more RenderFX stuff, shoving most of it to CGame 2020-03-30 16:22:24 +02:00
Marco Cawthorne f6b26302a2 Nodes: Made debugging display scripted_sequences 2020-03-30 15:03:22 +02:00
Marco Cawthorne cee8a25d82 Allow viewmodel to draw in a second pass (r_viewmodelpass 1) 2020-03-30 14:47:17 +02:00
Marco Cawthorne 576547f249 Menu: Added some fancy menu guff, enjoy it while it lasts 2020-03-30 14:46:55 +02:00
Marco Cawthorne 01364e488d monster_generic: Made it more to spec, I guess 2020-03-30 14:46:20 +02:00
Marco Cawthorne d7fdabbd60 Improved pathfinding by skipping unnecessary node-walking passes. 2020-03-30 13:51:48 +02:00
Marco Cawthorne 8bf96e425a Valve: Added health for MONSTER_BARNACLE 2020-03-30 13:50:52 +02:00
Marco Cawthorne 80075fc267 Decals: No longer fullbright. 2020-03-30 11:56:09 +02:00
Marco Cawthorne acc2be466c Gearbox: Added monster_recruit, monster_drillsergeant 2020-03-30 11:11:21 +02:00
Marco Cawthorne d35f7350fe GLSL: Some rendering tweaks (default gl_ldr and gl_halflambert (new) to 1) 2020-03-30 10:40:38 +02:00
Marco Cawthorne 2658e93683 Fixed a think() bug with scripted_sequences. 2020-03-30 10:00:37 +02:00
Marco Cawthorne c42e6678ac Sounds will now follow the NPCs that emit them. 2020-03-30 09:12:57 +02:00
Marco Cawthorne e6f3df4986 Link aiscripted_sequence to scripted_sequence... for now 2020-03-29 21:41:04 +02:00
Marco Cawthorne 36e6462ef2 func_train: Fixed recursion crash. 2020-03-29 21:40:51 +02:00
Marco Cawthorne d9b2c9984a Simplified decal shader code. 2020-03-29 21:40:35 +02:00
Marco Cawthorne f7d12dabb3 GLSL: Only discard pixel on masked textures. 2020-03-29 21:40:24 +02:00
Marco Cawthorne af240cb262 Valve: Added fast-beam spawnflag for WEAPON_TRIPMINE 2020-03-29 21:40:04 +02:00
Marco Cawthorne ea5851a8f5 Fixed possible recursion bug with breakables and other dead-triggers. 2020-03-29 21:39:32 +02:00
Marco Cawthorne 19a4db076b Scripted Sequence: Support for classnames (untested), angle overrides... 2020-03-29 12:56:46 +02:00
Marco Cawthorne d59213834b BaseNPC: Don't talk while in sequence. 2020-03-29 11:49:35 +02:00
Marco Cawthorne f07600f194 More work on scripted_sequences. 2020-03-29 11:21:26 +02:00
Marco Cawthorne 9442a597fa moved sprite.cpp into gs-entbase/client/env_sprite.cpp 2020-03-28 11:43:08 +01:00
Marco Cawthorne 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
Marco Cawthorne 0c62ea6371 Fixed a crash because monster_generic entities really shouldn't be CBaseEnt 2020-03-27 16:26:52 +01:00
Marco Cawthorne e9326f4e1d scripted_sequences: They sorta work now, needs an engine with
ENGINE_ROUTING enabled however
2020-03-27 10:37:01 +01:00
Marco Cawthorne bb0b4d8f6c Simplified a lot of the Barney/Scientist code by expanding CBaseNPC 2020-03-27 07:34:24 +01:00
Marco Cawthorne dd16fd1684 Added FLAC music playback style to force for those files. 2020-03-26 23:36:54 +01: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 ad713d2f7e Valve: Document more monster sounds etc. 2020-03-26 17:17:44 +01:00
Marco Cawthorne 7d330eb8cd Move the ability to use sentences over to CBaseEntity for now. 2020-03-26 12:19:27 +01:00
Marco Cawthorne db4ed5ac3d Added initial support for basic sentences.txt on monsters. 2020-03-26 11:24:33 +01:00
Marco Cawthorne d20c3f1db3 Menu: Set the difficulty in the New Game menu 2020-03-26 08:24:27 +01:00
Marco Cawthorne bb4012b75f Added float(string)Skill_GetValue so we can properly support variable skill
settings.
2020-03-26 08:13:23 +01:00
Marco Cawthorne cdb1bbddfd Menu: Fix a crash when we've got no entries or are out of bounds 2020-03-26 07:04:32 +01:00
Marco Cawthorne 520e91616a Valve: Check for cvar 'coop' as well as 'sv_playerslots' for Singleplayer 2020-03-26 07:03:29 +01:00
Marco Cawthorne 7ea6f8246c Valve: Give monster_barney a name 2020-03-26 07:02:58 +01:00
Marco Cawthorne e3fc42501d CBaseMonster: Tag ents as flags FL_MONSTER so the obituaries appear right 2020-03-26 07:02:41 +01:00
Marco Cawthorne 2bb8bd00cf Moved Death and Pain methods into CBaseEntity. 2020-03-25 22:35:05 +01:00