Commit Graph

686 Commits

Author SHA1 Message Date
samisalreadytaken
2fa658cd57 Re-add mistakenly removed wrappers 2021-10-01 16:20:04 +03:00
Blixibon
7702ce96d4 Fixed reloading for certain weapons on certain NPCs 2021-09-28 12:10:25 -05:00
Blixibon
6d04c46dc0 Added speed modifier to scanners and rollermines 2021-09-28 12:09:29 -05:00
Blixibon
a1bc5196f2 Standalone FileExists() function for VScript 2021-09-28 11:16:14 -05:00
Blixibon
5fa7648693 Added more VScript functions for CMapbaseSystem 2021-09-28 11:12:07 -05:00
Blixibon
15f4d582f2 Added SetScale input to func_fake_worldportal 2021-09-28 11:06:34 -05:00
Blixibon
f638009797 Exposed developer commentary nodes to VScript 2021-09-28 11:06:14 -05:00
Blixibon
78f7ae6b8d Added I/O to allow commentary nodes to change view control parameters mid-commentary 2021-09-28 11:04:27 -05:00
Blixibon
4f140abd19 Misc. commentary node stability changes, including the usage of HUD animation commands 2021-09-28 11:02:14 -05:00
Blixibon
da68635013 Fixed an issue with IsCombatItem() not being overridden in CItem 2021-09-28 10:59:30 -05:00
Blixibon
59825cb6c1 Added Mapbase RT cameras to mat_showcamerarendertarget and fixed the command's materials not being referenced 2021-09-25 14:28:44 -05:00
Blixibon
f61b933ed3 Fix for a crash which occurs when NPCs pick up a weapon the player is already holding 2021-09-25 14:27:11 -05:00
Blixibon
85097e119e Grenade/alt-fire item dropping for metrocops and player companions 2021-09-25 14:26:31 -05:00
Blixibon
24e6ab3767 Added logic_substring to VPC 2021-09-25 11:28:29 -05:00
Blixibon
6c8e54b31e
Merge pull request #147 from mapbase-source/feature/ragdoll-decal-fixes
Ragdoll decal fixes
2021-09-25 11:26:30 -05:00
Blixibon
416912d61b
Merge pull request #146 from mapbase-source/feature/real-fake-worldportals
func_fake_worldportal overhaul
2021-09-25 11:26:15 -05:00
Blixibon
84695e744d
Merge pull request #140 from moofemp/feature/logic-substring
Add logic_substring
2021-09-25 11:25:24 -05:00
Blixibon
d6822c66f9
Merge pull request #132 from z33ky/mb/breakablebrush_spawnobject
Fix console error on BreakableBrushes without spawnobject
2021-09-25 11:25:00 -05:00
Blixibon
4eae5f4e16 Fix flipped viewmodels not swinging, etc. correctly 2021-09-25 10:33:19 -05:00
Blixibon
394501826c Forgot to reflect CUserCmd VScript change in player.cpp 2021-09-25 10:31:20 -05:00
Blixibon
5998158ac2 OnItemDrop output for NPCs 2021-09-24 13:18:04 -05:00
Blixibon
256cdfb7af Refactored the way certain classes and structs are exposed to VScript to make the code less reliant on metamethods and reduce awkward code placement 2021-09-24 13:10:37 -05:00
Blixibon
5d484bfa5f Death ragdolls "steal" impact decals from final damage + clientside ragdolls already on the ground receive impact decals 2021-09-24 00:30:49 -05:00
Blixibon
f11d7e0be8 Added model instance snatching for serverside ragdolls (retains decals) 2021-09-24 00:26:51 -05:00
Blixibon
8341a65a89 C_BaseAnimating tracks both server and client ragdolls 2021-09-24 00:24:40 -05:00
Blixibon
14a2285862 Overhauled fake world portals to be more stable and much cleaner internally 2021-09-24 00:19:45 -05:00
Blixibon
f1bd6fcf81 Support for overriding HUD animations via map-specific scripts 2021-09-24 00:12:45 -05:00
Blixibon
8985ad2fe4 Support for map-specific HUD animations and HUD layout scripts 2021-09-24 00:11:18 -05:00
Blixibon
e39e1e0cca Added a separate "host_pitchscale" cvar which can override host_timescale's sound pitch scaling 2021-09-20 23:46:39 -05:00
Blixibon
fc93d736ee Added support for displaying multiple screen overlays at the same time 2021-09-20 22:38:49 -05:00
Blixibon
f278491d86 Fixed point_viewcontrol "Don't set player view" keyvalue not working properly 2021-09-20 22:10:34 -05:00
Blixibon
4d4296dac2 Added keyvalue to ai_goal_follow to enable normal memory discard duration 2021-09-20 22:07:16 -05:00
Blixibon
08dcf3ffff Fixed an accidental omission from the EmitSound_t hooks (particularly the code which actually runs them) 2021-09-20 15:30:16 -05:00
Blixibon
0368abaf29 Made VScript's enum registration use direct API functions to create constant tables instead of declaring them in string literal code 2021-09-19 21:09:25 -05:00
Blixibon
d629fac2b5 Fixed a VScript think function crash 2021-09-19 21:08:02 -05:00
Blixibon
97928611aa Removed CancelEventsByInput at the suggestion of its contributor 2021-09-19 21:04:31 -05:00
Blixibon
5896fb73c8 Fixed issue with EmitSound_t origin in VScript 2021-09-19 21:03:36 -05:00
Blixibon
62f4d6f872 Exposed EmitSound_t and related constants to VScript and added hooks for modifying an entity's emitted sounds on both the server and client 2021-09-19 14:52:18 -05:00
Blixibon
55e75529bb Added OnEntText VScript hook inspired by later Source games 2021-09-19 01:13:43 -05:00
Blixibon
ca80915b54 Fix for citizens not aiming the RPG laser dot correctly 2021-09-18 18:42:56 -05:00
Blixibon
80251f67ec Fixed metrocops not speaking standoff sentences correctly 2021-09-18 18:31:29 -05:00
Blixibon
e27f4df8e5 Added support for map-specific client schemes 2021-09-18 13:06:15 -05:00
Blixibon
0b96d525d5 New "custom font" command for closed captioning/subtitles 2021-09-18 11:48:24 -05:00
Blixibon
cbdc3b4de8 Added a way for commentary nodes to combine the speaker and print name so that the print name can be displayed to players 2021-09-18 11:46:46 -05:00
Matthew
4787ce01f3 Initial commit 2021-08-10 23:23:24 -07:00
Blixibon
0faa6d9b1a Added a way for commentary node progress bars and subtitles to appear at the same time 2021-07-31 14:47:10 -05:00
Blixibon
8e8c34f958 Added support for columns and images in outro env_credits and color overrides for both intro and outro env_credits 2021-07-31 03:02:08 -05:00
Blixibon
4e6f4cb2ea Added scene commentary nodes, which play the audio in full VCD files 2021-07-31 03:00:05 -05:00
MoofEMP
f1a8638a34 Move logic_substring.cpp to mapbase folder 2021-07-27 22:41:43 -04:00
Moofles
3e9d3deda2
Use AllocPooledString() to prevent memory leak in logic_substring
Co-authored-by: Spencer Brown <spencerb21@live.com>
2021-07-27 17:50:32 -04:00