Blixibon
7161dee1a3
Fixed a crash involving clientside ragdoll impact decals
2021-11-13 09:12:51 -06:00
Blixibon
301309f76b
Added forgotten code from crossbow readiness activities
2021-11-11 19:07:35 -06:00
Blixibon
c1f28c4550
Added VScript functions for NPC crouching
2021-11-11 19:07:04 -06:00
Blixibon
5a8c6350bb
Fixed some NPCs T-posing at medium crouch cover nodes
2021-11-11 19:06:45 -06:00
Blixibon
ad9e02885e
Added crossbow readiness activities
2021-11-11 19:06:04 -06:00
Blixibon
4fbb9bc602
Added basic support for vortigaunts using the grenade AI from CNPC_PlayerCompanion
2021-11-11 19:05:09 -06:00
Blixibon
3d3ef7e587
Moved the new toolsets into their own VPC file so that projects are detected as stale
2021-11-11 12:29:17 -06:00
Blixibon
0d9fefb7dd
Added experimental support for v140 (VS2015) toolset
2021-11-11 12:28:01 -06:00
Blixibon
aaeb5f5835
Added experimental support for v143 (VS2022) and v141 (VS2017) toolsets
2021-11-11 09:33:29 -06:00
Blixibon
86a5ace57b
Added proper keyvalue for combine_mine orientation
2021-11-07 17:38:59 -06:00
Blixibon
28c968ad4f
Merge pull request #159 from z33ky/mb/gcc-fixes
...
Fix gcc build errors & warnings
2021-11-07 17:18:40 -06:00
Blixibon
3a297d0d16
Added default parameter wrappers for PrecacheModel and PrecacheOther VScript functions
2021-11-07 17:10:02 -06:00
Alexander 'z33ky' Hirsch
e46dc3a2bd
Fix gcc build errors & warnings
2021-11-07 22:54:48 +01:00
Blixibon
8652b31ed1
Fixed the new PrecacheModel/PrecacheOther VScript functions missing serverside parameters
2021-11-07 14:02:13 -06:00
Blixibon
c8f48407c1
Added plant orientation to combine_mine
2021-11-07 14:01:27 -06:00
Blixibon
188293b93c
Merge pull request #157 from mapbase-source/feature/autocubemap
...
"Autocubemap" utility
2021-11-07 11:49:30 -06:00
Blixibon
400d572c03
Added "autocubemap" utility
2021-11-07 09:44:46 -06:00
Blixibon
c27dac6f8e
Merge pull request #143 from Matty-64/master
...
VBSP Features for those who use Propper
2021-11-07 08:19:01 -06:00
Blixibon
4b295c17e8
Merge pull request #148 from samisalreadytaken/fixup
...
Minor fixup
2021-11-07 08:15:30 -06:00
Blixibon
2f8e920c3e
Minor body lean fix from Alien Swarm SDK
2021-11-07 07:37:41 -06:00
Blixibon
7e96be39b2
Added support for nested instances relative to their parents, which is what Hammer uses to display them
2021-11-07 07:37:13 -06:00
Blixibon
b2116d07e9
Made VBSP's OnMapLoaded into a hook using the new system
2021-11-07 07:35:28 -06:00
Blixibon
653d48d2c4
Added ViewProximity and ViewDirection material proxies
2021-11-07 00:48:28 -05:00
Blixibon
e30bde782a
Added clientside VScript functions for getting view position/direction
2021-11-07 00:47:52 -05:00
Blixibon
47a0bb0fde
Moved toolset conditionals to a more fitting and intuitive place
2021-11-06 15:29:48 -05:00
Blixibon
c925a01712
Disabled phonemeextractor and QC_Eyes in VS2019 solution (for now)
2021-11-06 14:04:34 -05:00
Blixibon
47ed1914cc
Fixed VS2013 attempting to compile VS2019 code
2021-11-06 14:03:05 -05:00
Blixibon
b1f64f7d21
Fixed v142 conflict with particles.lib (for now)
2021-11-06 13:47:55 -05:00
Blixibon
18b49c3778
Merge branch 'develop' of https://github.com/mapbase-source/source-sdk-2013 into feature/newer-toolsets
2021-11-06 12:18:08 -05:00
Blixibon
25a2bab5ce
Merge pull request #152 from z33ky/mb/gcc-fixes
...
Fix gcc build errors & warnings
2021-11-06 12:17:42 -05:00
Blixibon
2dbd04e3d6
Merge branch 'develop' into feature/newer-toolsets
2021-11-06 09:42:29 -05:00
Blixibon
b22eb9fb06
Added fog_volume, trigger_tonemap, new color correction code, and various other related changes
2021-11-06 09:16:13 -05:00
Blixibon
35ca2ab5a6
Added filter keyvalue to npc_heli_avoidsphere
2021-11-06 00:07:06 -05:00
Blixibon
435b84f96b
Merge branch 'develop' of https://github.com/mapbase-source/source-sdk-2013 into develop
2021-11-06 00:03:07 -05:00
Blixibon
17d8accd69
Fixed a few small issues with NPCs, etc.
2021-11-06 00:02:05 -05:00
Blixibon
03da4d6b58
Added cvar to ignore timestamps when checking whether or not to rebuild nodegraph, relying on internal map versions instead
2021-11-05 23:59:46 -05:00
Blixibon
49cb43d6e7
Added prop_dynamic I/O/KV and misc. prop code changes from the Alien Swarm SDK
2021-11-05 23:53:23 -05:00
Blixibon
0f3fd075c2
Implemented an OverrideMove VScript hook for NPCs
2021-11-05 23:41:19 -05:00
Blixibon
a6d5c079d3
For now, made unhidden npc_sniper translate idle to proper gun-holding activity
2021-11-05 22:18:20 -05:00
Blixibon
447c185079
Fixed metrocops not moving to attack
2021-11-05 22:14:29 -05:00
Blixibon
67d5d8b20c
Added proper NPC melee activities
2021-11-05 22:13:53 -05:00
Blixibon
276d9ff24f
Misc. fixes from prior NPC changes
2021-11-04 12:04:31 -05:00
Blixibon
6d48f52d12
Added weight blending for IK attachment rules
2021-11-04 12:00:56 -05:00
Blixibon
c3176b34d0
Integrated Reload_NPC into more animation events and changed weapon_crossbow to be able to use a bodygroup instead of a skin for the empty bolt
2021-11-04 09:30:28 -05:00
Blixibon
0ce4251ba3
Added support for NPC door opening activities and adjustable open distance
2021-11-04 09:27:30 -05:00
Blixibon
97a6934061
Changed Combine soldier code to reflect the new activity alias overhaul and standoff behavior changes
2021-11-04 08:48:55 -05:00
Blixibon
a2c2fe09d5
Added sequence check and backup activity fallback to companion NPC readiness activities
2021-11-04 08:45:10 -05:00
Blixibon
2c55c6cea7
Added a cvar to toggle companion NPCs being able to pick up weapons they couldn't use prior to Mapbase's animation changes
2021-11-04 08:44:18 -05:00
Blixibon
440c8b5121
Fixed an oversight with new weapon activities preventing NPC weapon pickup
2021-11-04 08:26:39 -05:00
Blixibon
847db9c3e3
Added AI hint radius from the Alien Swarm SDK as well as an all-new "hint weight" keyvalue
2021-10-28 00:01:29 -05:00
Blixibon
ece1a612ce
Integrated custom cover hints into base AI movement code
2021-10-27 23:59:27 -05:00
Blixibon
dfa7e6c0c2
Added "fake sequence gestures" for NPCs, which play certain activities as gestures instead when the current animation needs to be preserved
2021-10-27 23:55:55 -05:00
Blixibon
26c05ee685
Integrated medium cover activities into standoffs and beyond
2021-10-27 23:49:22 -05:00
Blixibon
833f0b0823
Added a bajillion new activities
2021-10-27 17:10:31 -05:00
Blixibon
0e8b870e7d
Re-enabled NPC gesture turning with a cvar to toggle it
2021-10-27 17:05:19 -05:00
Blixibon
2eb12bcd5d
Fixed NPC death poses
2021-10-27 17:03:47 -05:00
Blixibon
65478e754d
Added func_tank behavior to vortigaunts and Barney
2021-10-27 17:02:49 -05:00
samisalreadytaken
74d219add4
Fix buffer overflow exploit
2021-10-23 18:45:15 +03:00
samisalreadytaken
b2c0ab41c0
Fix format string vulnerabilities
2021-10-23 18:45:05 +03:00
Blixibon
a5c0091588
Fixed metrocop unholster behavior
2021-10-18 11:37:06 -05:00
Blixibon
3cd6f2e581
Allowed Alyx to fly properly
2021-10-18 11:33:01 -05:00
Blixibon
ade8fe0d02
Added yaw locking to climbing navigation
2021-10-18 11:27:20 -05:00
Alexander 'z33ky' Hirsch
c53070b322
Fix gcc build errors & warnings
2021-10-18 00:13:06 +02:00
Blixibon
1c6b0679f8
Fixed various NPC holster-related issues
2021-10-14 02:16:38 -05:00
Blixibon
3d5f73b8be
Added new NPC climbing activities and improved climbing navigation AI
2021-10-13 16:17:46 -05:00
Blixibon
2638dd1d1c
Added ThrowGrenadeGestureAtTarget input
2021-10-11 13:23:37 -05:00
Blixibon
a8f0af7925
Implemented misc. new activities
2021-10-10 20:09:32 -05:00
Blixibon
fcc815512f
Implemented new activities on RPG, crowbar, stunstick, and citizen accessories
2021-10-10 20:07:55 -05:00
Blixibon
6490e89256
Implemented new pistol, 357, and crossbow activities
2021-10-10 20:06:30 -05:00
Blixibon
4cfa6dd22c
Revisited Mapbase's custom shared activities and expanded HL2 weapon activities
2021-10-10 20:02:50 -05:00
Blixibon
b9f3ac03fa
Redid the backup activity system so that individual weapons can choose which activity tables to fall back to
2021-10-10 19:56:40 -05:00
Blixibon
3431f21f4d
Misc. NPC fixes
2021-10-10 19:51:49 -05:00
Blixibon
f63213afc3
Exposed npc_citizen to VScript and fixed SelectModel() arrangement oversights
2021-10-10 19:49:47 -05:00
Blixibon
046296569d
Exposed CBaseAnimatingOverlay to VScript
2021-10-10 19:47:10 -05:00
Blixibon
138d6c52aa
Ported some minor fixes from the Alien Swarm SDK
2021-10-10 19:41:42 -05:00
Blixibon
525e3214f2
Added global VScript hooks for entity creation/deletion
2021-10-10 19:35:04 -05:00
Blixibon
35f941d6d0
Fixed issues with hand viewmodels not working upon weapon holster + Added a way to set the hand viewmodel bodygroup
2021-10-09 15:09:48 -05:00
Blixibon
f880e95e47
Encapsulated m_bDrawPlayerModelExternally
2021-10-09 15:06:36 -05:00
Blixibon
cc32c62964
Fixed issues with particle precipitation clamping not working on spawn or being inconsistent for non-rain types
2021-10-09 15:05:28 -05:00
Blixibon
495d534307
Fixed trigger_fall not doing anything when landing in water
2021-10-09 15:04:10 -05:00
samisalreadytaken
7894c8ad87
Eliminate redundant code
2021-10-04 20:26:46 +03:00
samisalreadytaken
690299b39c
Add missing documentation in vscript
2021-10-01 16:20:24 +03:00
samisalreadytaken
bf24798ee8
Uncomment debug code
2021-10-01 16:20:14 +03:00
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
MoofEMP
99a8bdcb37
Use a variable for input string length in logic_substring
2021-07-27 17:47:03 -04:00
MoofEMP
41cde5ccf7
Fix logic_substring behaviour with unexpected length/startpos values
2021-07-27 04:02:14 -04:00
MoofEMP
22557f3751
Add logic_substring
2021-07-27 04:02:13 -04:00
Blixibon
5a11d51db4
Fixed some issues with instanced response systems
2021-07-26 13:14:51 -05:00
Blixibon
2b1a8762bd
Added I/O/KV to point_viewcontrol inspired by later games
2021-07-26 13:08:20 -05:00
Blixibon
04687e03e9
Fixed an issue with trigger_look LOS keyvalue
2021-07-26 13:07:33 -05:00
Blixibon
632bd3d0ba
Added commentary node return speed scale
2021-07-26 13:06:20 -05:00
Blixibon
7fde10fef6
Fixed issue with text commentary label bounds upon first display
2021-07-24 18:29:14 -05:00
Blixibon
cc9f5ff7d6
Merge pull request #139 from mapbase-source/feature/commentary/text-nodes
...
Developer commentary text nodes and image nodes
2021-07-24 03:08:45 -05:00
Blixibon
4ab87250b2
Added screen height scaling for vgui_text_display
2021-07-24 01:54:04 -05:00
Blixibon
3656ea3082
Added map-specific closed captioning files
2021-07-24 01:52:38 -05:00
Blixibon
4957311523
Added Alyx gun readiness activities to weapon_pistol/weapon_357 and default walk/run activities to weapon_alyxgun
2021-07-24 00:39:36 -05:00
Blixibon
d9accd2d7a
Fixed a compile error in sceneentity.cpp
2021-07-24 00:37:22 -05:00
Blixibon
eae3881a03
Made viewmodel_fov a non-cheat by default
2021-07-24 00:37:01 -05:00
Blixibon
2f4ea05c8a
Added view target/position scales for commentary nodes
2021-07-24 00:36:05 -05:00
Blixibon
3ab83ba1c2
Added image commentary nodes and better scaling/positioning for the text commentary panel
2021-07-18 01:27:33 -05:00
Blixibon
f67a1b95e5
Updated text commentary nodes
2021-07-17 03:58:09 -05:00
Blixibon
20f29c5552
Added prototype for a new type of commentary node which displays text instead of playing audio
2021-07-17 00:32:56 -05:00
Blixibon
2bc8631db1
Merge branch 'develop' of https://github.com/mapbase-source/source-sdk-2013 into feature/newer-toolsets
2021-07-16 11:57:06 -05:00
Blixibon
2ffec5bbcf
Fixed a critical issue with Mapbase's default HL2 FGD being incompatible with VBSP instancing
2021-07-16 11:56:13 -05:00
Blixibon
9b795b3c51
Added WIP v142 toolset support based on Source SDK 2013: Community Edition repo
2021-07-12 14:47:34 -05:00
Blixibon
7ce328cbb9
Merge branch 'develop' of https://github.com/mapbase-source/source-sdk-2013 into develop
2021-07-12 14:37:00 -05:00
Blixibon
24c03f45c2
Added a cvar which allows antlions to be properly ignited instead of dying immediately
2021-07-12 14:36:39 -05:00
Blixibon
1b534af69d
Made a bunch of static movement cvars editable in-game
2021-07-12 14:35:43 -05:00
Alexander 'z33ky' Hirsch
7ad12764fa
Fix console error on BreakableBrushes without spawnobject
2021-07-03 13:12:31 +02:00
Blixibon
37099741a1
Merge pull request #130 from z33ky/mb/scene.image-parse-fixes
...
Fix scene loading memory errors
2021-07-02 12:01:44 -05:00
Alexander 'z33ky' Hirsch
b41d49c639
Fix scene file loading memory errors
...
Fixes leaks.
Also safeguards against deallocated pointers by doing
g_TokenProcessor.SetBuffer(NULL) after parsing is done - an access at
NULL should be easier to debug than at some random address, potentially
just reading in garbage data.
2021-07-02 09:27:25 +02:00
Blixibon
bb95574ad6
Merge pull request #131 from z33ky/mb/targeted-projected_texture
...
Initialize all basis vectors for env_projectedtexture with target
2021-06-29 14:31:05 -05:00
Blixibon
5bc783b381
Merge pull request #118 from z33ky/mb/develop
...
Two small fixes
2021-06-29 14:30:03 -05:00
Blixibon
29635bac52
Added experimental support for map-specific surfaceproperties scripts
2021-06-28 23:59:36 -05:00
Blixibon
0fb0a3319c
Added misc. new VScript hooks/constants and the code required to implement them
2021-06-28 23:55:42 -05:00
Blixibon
29075a2c90
Added experimental static/global VScript hooks not tied to any particular class, starting with the integration of OnSave/OnRestore
2021-06-28 23:51:24 -05:00
Blixibon
ea7d1afa08
Fixed a few minor mistakes and aliasing oversights
2021-06-28 21:07:30 -05:00
Blixibon
5f42182c45
Divided mapbase_version cvar into server, client, and game_shader_dx9 counterparts
2021-06-28 20:04:23 -05:00
Alexander 'z33ky' Hirsch
e989cf63c5
Fix ReadFileEx() arguments when loading scene files
...
The parser expects NUL terminated data.
2021-06-06 16:11:24 +02:00
Alexander 'z33ky' Hirsch
f6a750e4b3
Initialize all basis vectors for env_projectedtexture with target
2021-06-06 15:52:35 +02:00
Alexander 'z33ky' Hirsch
06c7f7040d
Fix env_instructor_hint from disappearing after savegame load
...
It is a bit unfortunate that the initial animation plays again after
load. This is likely not fixable with SDK code without reimplementing
the HUD bits, which are part of the external engine code.
Also adds a destructor override, since we are dealing with a polymorphic
class.
2021-05-27 23:42:31 +02:00
Blixibon
e52835520c
Slightly adjusted hook callback code
2021-05-27 13:16:55 -05:00
Blixibon
0d9a5349b0
Merge branch 'develop' into feature/vscript/hook-handler-prototype-1
...
# Conflicts:
# sp/src/vscript/vscript_squirrel.nut
2021-05-27 12:07:43 -05:00
Blixibon
1de46132d8
Slightly adjusted some prior changes
2021-05-27 12:02:39 -05:00
Blixibon
e28813de7f
Added console message for when VScript documentation is requested while it's disabled
2021-05-27 12:01:55 -05:00
Blixibon
adada8f56e
Made env_global_light start using different cvars for shadow map resolution and filter size
2021-05-27 11:41:52 -05:00
Blixibon
dcd7b95b62
Added new move_rope/keyframe_rope inputs
2021-05-27 11:39:47 -05:00
Blixibon
764f0c09e1
Merge pull request #124 from z33ky/mb/gcc11
...
Fix memory errors
2021-05-27 10:50:27 -05:00
Blixibon
be71cb487f
Merge pull request #122 from samisalreadytaken/cleanup
...
Minor adjustments
2021-05-27 10:49:46 -05:00
Blixibon
3287643c24
Added a few more matrix-related functions for VScript
2021-05-27 09:53:48 -05:00
Blixibon
c48428b678
Added OnEntrySequence and OnActionSequence for scripted_sequence
2021-05-27 09:53:31 -05:00
Blixibon
7a87bfdf5e
Added ConVar material proxy
2021-05-27 09:52:28 -05:00
Alexander 'z33ky' Hirsch
78ef9f2019
Fix MapEdit memory errors
...
deleteThis() was called on NULL pointers.
Deleting individual nodes shouldn't be necessary if the whole structure
(pkvFile) is deleted anyways.
2021-05-23 12:11:26 +02:00
Alexander 'z33ky' Hirsch
098486fbe4
Fix pointer comparisons
2021-05-23 12:11:12 +02:00
Blixibon
8ad19cbf0a
Reworked the OnDeath VScript hook so it could cheat death properly
2021-05-11 11:17:06 -05:00
Blixibon
6f515a2d34
Added VScript functions for bone attachments and transforming bone matrices
2021-05-11 10:46:30 -05:00
Blixibon
6392d9ab7c
Added various misc. stubs and utility code from the Alien Swarm SDK
2021-05-11 10:45:48 -05:00
Blixibon
051a217670
Added proper ACT_IDLE_ON_FIRE handling for Combine soldiers
2021-05-11 10:14:39 -05:00
Blixibon
0bd1f5fb59
Fixed NPCs with death animations extinguishing their fires before they should be extinguished
2021-05-11 10:12:37 -05:00
Blixibon
184be1a794
Added a way to override climb node lineup linkage via target node keyvalue
2021-05-11 10:10:44 -05:00
samisalreadytaken
c62d86e340
Added developer check on script documentation registration
2021-05-10 00:05:08 +03:00
Blixibon
c37f8eefb7
Revisited hook handler based on suggestions and new information
2021-05-09 11:34:38 -05:00
samisalreadytaken
3b51405cac
Minor adjustments and cleanup
2021-05-08 15:16:59 +03:00
Alexander 'z33ky' Hirsch
b95c72eb3f
Fix viewmodel flip on zoom
...
The fabs() was incorrectly applied only to the viewmodel's FOV instead
of the result of that subtracted by the FOV offset.
Further it doesn't seem to make sense to use the absolute value of that
subtraction; Yes, it does prevent flipping, but it will zoom out again
as the FOV decreases.
Instead just limit the result of the subtraction to non-negative
numbers.
2021-04-29 18:36:58 +02:00
Blixibon
3cd50a6ed4
Added sound pitch scaling and env_microphone detection for sentences
2021-04-27 10:59:39 -05:00
Blixibon
54c43dd6ce
Fixed unreliable string pointer in CLogicPlayerProxy::AcceptInput()
2021-04-27 10:55:33 -05:00
Blixibon
0f6fd0a5a4
Merge pull request #117 from z33ky/mb/gcc-linux
...
gcc/Linux update
2021-04-26 20:47:46 -05:00
Alexander 'z33ky' Hirsch
d0b6998637
Simplify CBreakableGibShooter::GetRandomTemplateModelIndex
...
MapEntity_ExtractValue(), as opposed to CEntityMapData, does not require
a mutable string.
2021-04-26 09:44:12 +02:00
Alexander 'z33ky' Hirsch
036fbda906
Fix strdup() leaks
2021-04-26 09:26:21 +02:00
Alexander 'z33ky' Hirsch
a75b0b7d58
Fix spacing
2021-04-25 23:06:19 +02:00
Alexander 'z33ky' Hirsch
dddcf642aa
Fix gcc build errors & warnings
2021-04-25 23:06:19 +02:00
Blixibon
5e2d1cccca
Merge pull request #116 from Alivebyte/master
...
Sound support for vgui_movie_display
2021-04-25 14:27:24 -05:00
Alivebyte
5782574711
Added constructor for movie_display to mute sound by default
2021-04-25 18:56:49 +03:00
Alivebyte
5bc2d7cb83
Added missing movie_display.cpp
2021-04-25 17:35:45 +03:00
rzkid
f458ac1223
removed stopallsounds
2021-04-25 17:27:26 +03:00
Alivebyte
ae4e26f03b
Added sound support for vgui_movie_display
2021-04-25 15:48:29 +03:00
Blixibon
5eda2f692f
Had to change mat_slopescaledepthbias_shadowmap back to 16 due to issues with objects like citizens looking strange up close
2021-04-24 11:47:41 -05:00
Blixibon
a92ca7ceac
Added weakref() and getclass() for Vector and other C++ instances in VScript
2021-04-24 11:44:51 -05:00
Blixibon
7f423759d5
Added new and experimental clientside worldlight iteration method
2021-04-23 22:58:16 -05:00
Blixibon
425057453b
Fixed an issue with the ForceThisNPCToStopBusy input which caused NPCs to keep acting busy when they shouldn't
2021-04-23 22:57:11 -05:00
Blixibon
45ca64863a
Increased ragdoll element limit from 24 to 32, reflecting later branches of Source
2021-04-23 22:55:52 -05:00
Blixibon
200001fdb9
Fixed a couple obscure crashes
2021-04-23 22:54:20 -05:00
Blixibon
2a24e9782c
Removed duplicate custom command overridables
2021-04-23 22:52:17 -05:00
Blixibon
ea98b2cd1a
Merge pull request #114 from samisalreadytaken/dev6
...
vscript additions
2021-04-23 22:31:04 -05:00
Blixibon
46b6f456af
Updated README and mapbase_version for v7.0
2021-04-23 10:33:42 -05:00
Blixibon
bb030629bb
Misc. shader adjustments
2021-04-23 10:23:53 -05:00
Blixibon
69fa4a0064
Fixed SetBloomScaleRange's syntax bug (although it seems the feature itself remains unfinished)
2021-04-23 10:21:40 -05:00
Blixibon
60aacf6df7
Added more overridable commands for VScript
2021-04-23 10:05:06 -05:00
Blixibon
e5ffd26fda
Added ability to disable console groups from the scripts
2021-04-23 10:04:23 -05:00
Blixibon
ee8bee588a
Added "Always transmit to client" flag for info_target
2021-04-23 00:25:02 -05:00
Blixibon
591572cfda
Added properly overridden projected texture shadow depth bias cvar values
2021-04-23 00:20:57 -05:00
Blixibon
62a6481d0d
Added default game_text speech color for every major HL2 character
2021-04-23 00:17:08 -05:00
Blixibon
bb250dbae6
Merge pull request #112 from ReDucTor/vscript-fix-bad-restore
...
Fixing bug with vscript restore cache not updating soon enough
2021-04-22 12:55:24 -05:00
Blixibon
caaf8836a4
Made VScript data variant returned in function stubs free itself
2021-04-22 11:37:46 -05:00
Blixibon
4cf360b259
Fixed zombie torso ragdolls not using the original zombie skins
2021-04-22 11:28:24 -05:00
Blixibon
48508c4e5c
Added customizable bucket names for the new response system
2021-04-22 11:25:49 -05:00
Blixibon
4a07831c1a
Removed some old comments
2021-04-22 11:23:08 -05:00
Blixibon
c5ed394330
Added console group for the Response System
2021-04-22 11:14:18 -05:00
Blixibon
15d04c0b9b
Reworked Mapbase console groups to use script files and separate server/client commands instead of cvars and tier1 commands
2021-04-22 11:12:29 -05:00
Blixibon
ebec14d2b6
Restored unused port of Alyx combat AI speech concepts for all player companions
2021-04-22 01:39:59 -05:00
Blixibon
0b14f5fbcc
Added convar to change weapon pickup autoswitch behavior
2021-04-22 01:38:52 -05:00
Blixibon
e31c45dee3
Merge branch 'develop' into feature/asw-response-system
...
# Conflicts:
# sp/src/game/server/server_mapbase.vpc
2021-04-21 16:51:36 -05:00
Blixibon
62c6c3cb6b
Fixed apparent buffer over-read in SDK_LightmappedGeneric
2021-04-21 15:19:49 -05:00
Blixibon
8b699441e9
Added VScript functions for ropes
2021-04-21 15:17:47 -05:00
Blixibon
fc9d699fed
Changed VScript custom file read method and increased the max size to 64 MB
2021-04-21 15:13:54 -05:00
Blixibon
491b258f70
Fixed Vector unary minus operator modifying the instance itself
2021-04-21 15:09:52 -05:00
Blixibon
b718f19d45
Fixed VScriptProxy not working without a renderable and added a GetVarName function
2021-04-21 15:01:50 -05:00
Blixibon
138a25c53c
Added custom core ball shader
2021-04-21 14:58:51 -05:00
Blixibon
f580801a33
Added I/O/KV for custom healthkits, custom battery models, and health/power multipliers
2021-04-21 10:53:48 -05:00
samisalreadytaken
d7a06e863e
Fix ScriptContextThink precision errors
2021-04-18 18:43:05 +02:00
James Mitchell
9510c03ab3
Fixing bug with vscript restore cache not updating soon enough
2021-04-11 08:38:02 +10:00
Blixibon
1a6f1f0cab
Replaced expresser cases involving CBaseMultiplayerPlayer with CBasePlayer to allow singleplayer expressers to be obtained
2021-04-07 13:53:06 -05:00
Blixibon
bec712f3f9
Made followup sources attributable by classname
2021-04-07 13:51:17 -05:00
Blixibon
80c26ea186
Fixed new response system sometimes crashing on rule lookup when the system is reloaded by rr_reloadresponsesystems or map-specific talker files
2021-04-07 13:50:05 -05:00
Blixibon
aa4d02fcbf
Added NoteSpeaking and game_text mode for print responses
2021-04-07 13:46:26 -05:00
Alexander 'z33ky' Hirsch
28e87ce3d2
Fix/Implement VScript FFI for GCC's virtual member functions
2021-03-20 19:21:53 +01:00
Alexander 'z33ky' Hirsch
761f065d55
Fix stdshaders compilation on Linux
2021-03-20 14:56:46 +01:00
Alexander 'z33ky' Hirsch
e0091261ed
Fix Buttons not working on Linux with newer gcc
...
The button mask is created by shifting a bit according to the
MouseCode, which is just a renamed ButtonCode_t.
Mouse buttons start at 107, which is way out of range for our ints.
To fix this, introduce MouseButtonBit(), which checks if a button code
corresponds to a mouse button at all and returns a usable bitmask
for the corresponding mouse button code.
This is then used for the button mask.
2021-03-20 13:58:23 +01:00
Alexander 'z33ky' Hirsch
718186f165
Specify gcc9+support.cpp dependency for gcc8+ Makefiles
2021-03-19 17:41:27 +01:00
Alexander 'z33ky' Hirsch
a5fb07d6ac
Fix gcc9+support.o compilation
2021-03-19 17:41:27 +01:00
Alexander 'z33ky' Hirsch
49836ab50a
Fix gcc build errors & warnings
2021-03-19 17:41:27 +01:00