Commit Graph

659 Commits

Author SHA1 Message Date
Peter Covington
a6a8a04b1f Fixed enemyfinders becoming visible when they wake 2022-04-20 09:41:26 -04:00
Peter Covington
a5ad82339e Compute aspect ratios on shadow depth textures 2022-04-19 21:07:58 -04:00
Peter Covington
f9d88b15ac NPCs can load dynamic interactions from all animation MDLs 2022-04-15 09:59:17 -04:00
samisalreadytaken
493ff43ffe Add script consts: SERVER_DLL, CLIENT_DLL 2022-03-18 18:32:20 +03:00
samisalreadytaken
c28349daaf Add script funcs:
- CBaseAnimating::ResetSequenceInfo()
- CBaseAnimating::StudioFrameAdvance()
2022-03-18 18:32:00 +03:00
samisalreadytaken
f98445e33f Restrict vscript concommands 2022-03-18 18:30:00 +03:00
Blixibon
f8a8d49be7 Added GetViewModel function for VScript 2022-03-09 14:14:50 -06:00
Blixibon
e4d5d946d2 Fixed activator, caller, etc. values not working within RunScriptCode and related inputs 2022-03-09 14:14:12 -06:00
Blixibon
bb2478f342 Added VScript functions for giving/removing ammo 2022-03-09 14:12:28 -06:00
Blixibon
f79515fc11 Redid parts of backup activity system to support weapon act table recursion 2022-03-09 14:10:11 -06:00
Blixibon
670465dc58 Fixed companion melee damage not saving/restoring 2022-03-08 19:45:42 -06:00
Blixibon
dbb0ed6f46 Added gameinfo keyvalues for default hands models + code to hide custom hands on weapons which don't support them 2022-03-08 19:25:55 -06:00
Blixibon
2282aedfa6 Added weapon script keyvalues for unique dropped model and whether or not to use the separate hands model 2022-03-08 19:23:57 -06:00
Blixibon
2aa17fff22 Exposed Mapbase version integer to VScript 2022-03-08 19:14:53 -06:00
Blixibon
4f7cac8178 Added Mapbase version integer preprocessor 2022-03-08 19:03:53 -06:00
samisalreadytaken
5e444b2db9 Change CallClientScriptFunction UserMsg to EntityMsg 2022-03-06 18:46:00 +03:00
samisalreadytaken
f2f874939d Fix vscript global hook calls 2022-03-04 16:02:00 +03:00
samisalreadytaken
4af6d0cdaa Remove redundant script documentation 2022-02-26 19:20:00 +03:00
samisalreadytaken
700ac4ed78 Fixed memory leaks and unsafe code, reworked script CGameTrace 2022-02-26 19:15:00 +03:00
samisalreadytaken
9c942903e9 Remove CNetMsgScriptHelper multiplayer recipient functions 2022-02-18 17:04:00 +03:00
samisalreadytaken
6d3c53fe0f Fix writing multiple messages on client script NetMsg 2022-02-18 17:00:00 +03:00
samisalreadytaken
4b8f386c94 Clientside vscript additions:
Added C_BaseCombatCharacter script desc
Added boundary checks for script funcs
2022-02-12 19:35:00 +03:00
samisalreadytaken
0ae9c8bc8e Debug print script NetMsg names 2022-02-12 19:30:00 +03:00
samisalreadytaken
0afc503aff Add CSteamAPI::GetSteam2ID() 2022-02-12 19:25:05 +03:00
samisalreadytaken
236a9a1468 Set no instanceid warning print level 1 2022-02-11 20:10:00 +03:00
samisalreadytaken
439d3c75ab Fix VM stack corruption 2022-01-27 00:22:00 +03:00
Kirill GPRB
de8447dfc7
HexEdit particles.lib
Avoid _hypot being defined twice by renaming it to _STUB1
Taken from my own code at undnull/refraction#14
2022-01-27 01:26:07 +05:00
samisalreadytaken
aac91b6487 Set vscript integer param typemask to allow float 2022-01-19 18:39:59 +03:00
Blixibon
8d54443b6a Merge branch 'temp/speech-utilities' of https://github.com/Blixibon/source-sdk-2013 into develop 2022-01-17 19:12:46 -06:00
Blixibon
45191b97f8 Fixed incorrect ifdef preprocessor 2022-01-17 19:11:23 -06:00
Blixibon
abdd78e5e0 Merge branch 'temp/speech-utilities' of https://github.com/Blixibon/source-sdk-2013 into develop 2022-01-17 17:11:00 -06:00
Blixibon
ed21bb3d1d Added misc. speech/choreo utilities to ai_speech_new 2022-01-17 16:49:52 -06:00
Blixibon
06d2da3742 Added GetRealTimeSpeechComplete 2022-01-17 16:49:30 -06:00
Blixibon
f448be8c2b Added misc. speech/choreo utilities 2022-01-17 16:45:31 -06:00
Blixibon
ef19f1455d Fixed fake sequence gestures not identifying movement correctly 2022-01-17 16:39:25 -06:00
Blixibon
551de3fe19 Added CreateRopeWithSecondPointDetached function for VScript 2022-01-17 12:35:17 -06:00
Blixibon
4fdc0624a9 Added support for custom VScript procedural targets 2022-01-17 11:44:40 -06:00
Blixibon
b113d189d6
Merge pull request #171 from samisalreadytaken/docsort
Add vscript documentation sorting
2022-01-15 12:14:33 -06:00
samisalreadytaken
9156ba84bd Add vscript documentation sorting 2022-01-14 22:47:00 +03:00
Blixibon
fa0f135c17
Merge pull request #170 from z33ky/mb/hl2-ragdoll-lru
Fix HL2 (non-episodic) build
2022-01-08 23:32:09 -06:00
Blixibon
271f158f79
Merge pull request #168 from samisalreadytaken/squirrel
Squirrel update
2022-01-08 23:31:58 -06:00
Blixibon
ea7a8cd565
Merge pull request #167 from samisalreadytaken/secfix
Security fixes
2022-01-08 23:31:39 -06:00
Blixibon
214f79ebbc Added two activity accessor functions for CAI_BaseNPC 2022-01-08 15:37:34 -06:00
Blixibon
125eb70a80 Added DisappearMinDist to func_lod for forwards compatibility 2022-01-08 15:36:33 -06:00
Blixibon
eb05dba580 Fixed env_credits logo not working properly 2022-01-08 15:34:36 -06:00
Blixibon
c1eae4a4f9 Added new weapon script values for viewmodel FOV override, bob scale, sway scale, and sway speed scale 2022-01-08 15:34:06 -06:00
samisalreadytaken
023512dcc3 Minor perf improvement in CScriptMaterialProxy 2021-12-26 18:33:53 +03:00
Alexander 'z33ky' Hirsch
192b6983ea Fix HL2 (non-episodic) build
Broke in cea38f03ec.
2021-12-25 11:26:15 +01:00
samisalreadytaken
6579e94305 Less memory usage in CScriptConCommand::CommandCompletionCallback 2021-12-22 16:10:00 +03:00
samisalreadytaken
0de9cf41eb Update Squirrel 2021-12-11 22:20:00 +03:00
Blixibon
c25053d1d2 Fixed a typo 2021-12-10 15:07:16 -06:00
Blixibon
483abff3b3 Added custom gameinfo.txt values for HL2 default player model + enabling external drawing by default 2021-11-27 15:48:51 -06:00
Blixibon
cea38f03ec Added support for ragdoll prop gibs + related ragdoll LRU forced fade from Alien Swarm SDK 2021-11-27 15:47:13 -06:00
Blixibon
4bc56b214b Fixed an issue with env_instructor_hint crashing in some maps 2021-11-22 23:03:55 -06:00
Blixibon
6b13b83231 Added ability to translate actbusy forced move activity translation 2021-11-22 23:03:26 -06:00
Blixibon
9b84980a77 Improved player backup activities 2021-11-22 23:02:37 -06:00
Blixibon
17e8558ca4 Added activity gesture links for some of the recently added activities 2021-11-21 11:01:38 -06:00
Blixibon
808ea9bb8c Fixed shared activity collisions involving the new unused weapon activities 2021-11-21 11:00:27 -06:00
Blixibon
1130a40d1e Added SetViewtarget function to VScript 2021-11-21 00:14:13 -06:00
Blixibon
79ff53ecdf Added support for NPCs with innate range attacks (e.g. vorts) in standoffs 2021-11-21 00:13:56 -06:00
Blixibon
4e3287842e Added optional new activities for unused HL2 weapons included in the Source SDK (deactivated by default) 2021-11-20 20:49:24 -06:00
Blixibon
d2fdfd3fe1 Changed activity preprocessors to use #if instead of #ifdef 2021-11-20 20:37:37 -06:00
Blixibon
5090c8b743 Fixed player +USE animation cvar aliasing issue 2021-11-20 20:33:27 -06:00
Blixibon
b24b1054aa Fixed func_commandredirect not cancelling orders correctly and rewrote its code/comments so that it doesn't appear to be bizarre nonsense 2021-11-20 20:32:46 -06:00
Blixibon
b3c3ecb8a5 Fixed player holster animation repeating 2021-11-20 01:02:41 -06:00
Blixibon
37c3cd5e1c Fixed bugbait player throw animation 2021-11-20 01:02:16 -06:00
Blixibon
fecddb3ecc Added player +USE animations 2021-11-20 01:01:52 -06:00
Blixibon
1d768e4816
Update sp/src/game/shared/mapbase/singleplayer_animstate.cpp
Co-authored-by: z33ky <1zeeky@gmail.com>
2021-11-19 13:35:00 -06:00
Blixibon
db0b51bf76 Fixed ForcePrimaryFire not working on RPG 2021-11-18 23:23:58 -06:00
Blixibon
013da89b27 Fixed issues with unique cases in companion readiness 2021-11-18 23:23:09 -06:00
Blixibon
7dab039099 Added unique annabelle activities and adjusted AI to better-handle the weapon 2021-11-18 23:21:28 -06:00
Blixibon
049c513cce Clarified notes regarding new toolsets 2021-11-18 13:04:26 -06:00
Blixibon
751fa218e5
Merge pull request #163 from mapbase-source/feature/singleplayer-anim-state
Singleplayer animation state (full player model animations)
2021-11-18 11:13:39 -06:00
Blixibon
4d0ca13efb Renamed the new HL2:DM "357" activities to "REVOLVER" activities 2021-11-17 00:20:48 -06:00
Blixibon
dc6d4e0963 Applied even more player animations to SP HL2 weapons 2021-11-17 00:19:46 -06:00
Blixibon
045cc293f3 Removed some redundant singleplayer animation state code 2021-11-16 13:20:24 -06:00
Blixibon
1b1218f5fe Fixed singleplayer anim state reload not working 2021-11-16 10:27:24 -06:00
Blixibon
3a3d9a45b6 Made the singleplayer anim state able to apply render angles from the server 2021-11-16 10:27:01 -06:00
Blixibon
71e44f7198
Merge pull request #162 from z33ky/mb/vs2019-memoverride
Fix VS2019 _msize_base() exception specification
2021-11-15 23:38:58 -06:00
Blixibon
777f45a323 Added arm/disarm activities to gravity gun 2021-11-15 16:22:10 -06:00
Blixibon
450e6a2ff2 Implemented crossbow worldmodel bolt disappearance on player reload 2021-11-15 16:21:52 -06:00
Blixibon
f975e7d10d Changed the singleplayer animation state to only be active when the model has appropriate animations 2021-11-15 16:19:27 -06:00
Blixibon
91978b2934 Fixed issues with third person player models 2021-11-15 14:48:47 -06:00
Blixibon
abc34c0c85 Added holstered activity handling for players 2021-11-15 14:45:32 -06:00
Blixibon
41d799bbdf Added new player animation types and applied more player animations to SP HL2 weapons 2021-11-15 14:43:58 -06:00
Blixibon
6755a4d3f6 Added walking to singleplayer anim state 2021-11-15 14:40:51 -06:00
Blixibon
0139390c3e Added more HL2:DM activities 2021-11-15 14:39:54 -06:00
Blixibon
5855c634de Improved implementaton of player model activities on SP HL2 weapons 2021-11-15 01:02:12 -06:00
Blixibon
b9a46bc4e0 Added backup activities to players 2021-11-15 01:00:56 -06:00
Blixibon
2d5e6f4adb Ported the singleplayer anim state to CBasePlayerAnimState and fixed it up to use 9-way blends 2021-11-15 01:00:28 -06:00
Blixibon
2ca681431b Added experimental singleplayer anim state 2021-11-14 12:02:26 -06:00
Blixibon
72e846ec27 Fixed env_tonemap_controller keyvalues ignoring default values 2021-11-14 11:59:13 -06:00
Blixibon
61bbe331dd Fixed m_bDrawPlayerModelExternally drawing the weapon's viewmodel instead of its worldmodel 2021-11-14 11:58:11 -06:00
Blixibon
1c3b374d9e Fixed m_bDrawPlayerModelExternally causing the player's model to block flashlight shadows 2021-11-14 11:57:24 -06:00
Alexander 'z33ky' Hirsch
13ee304ce0 Fix VS2019 _msize_base() exception specification 2021-11-14 17:17:28 +01:00
Blixibon
76af96e3ae Added TranslateActivity VScript function to CAI_BaseNPC 2021-11-13 09:13:25 -06:00
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