Commit Graph

768 Commits

Author SHA1 Message Date
samisalreadytaken
713c8e8cf3 Optimise 3D skybox rotation 2022-11-17 10:27:48 +03:00
samisalreadytaken
c3e2ab3385 Add missing vscript const FCVAR_CHEAT 2022-11-17 10:27:48 +03:00
samisalreadytaken
ac45061b36 Add debug cvar script_net_debug 2022-11-17 10:27:48 +03:00
samisalreadytaken
e843aed912 Debug assertion on SquirrelVM::GetValue() 2022-11-17 10:27:46 +03:00
samisalreadytaken
da2315cfe7 Update vscript_vgui 2022-11-04 12:44:22 +03:00
samisalreadytaken
760e1e6dd5 Add vscript SetHudElementVisible 2022-11-01 16:45:46 +03:00
samisalreadytaken
2b612a28f4 Revert "Added more convenient way to hide HUD elements from clientside VScript"
This reverts commit 6ceb808f93.
2022-11-01 15:50:04 +03:00
Blixibon
8da7734c0d Fixed mapspawn_addon on Linux and made related console messages more verbose 2022-10-30 13:32:55 -05:00
Blixibon
db6305fcee Removed prototype "addon manifest" implementation added in v7.0 (superceded by mapspawn_addon and near-unusable for Steam Workshop) 2022-10-30 13:31:52 -05:00
Blixibon
6ceb808f93 Added more convenient way to hide HUD elements from clientside VScript 2022-10-30 13:30:02 -05:00
Blixibon
74faeaeb04 Added GetCurrentBetaName and IsAppInstalled to VScript Steam API 2022-10-26 23:05:28 -05:00
Blixibon
9b3977e30d Fix crash with player use animations 2022-10-26 23:02:46 -05:00
Blixibon
a7c90b042d Fix hand viewmodel issues on death/respawn 2022-10-26 23:01:50 -05:00
Blixibon
5cc53c10ee Fix Combine dropships not dropping APCs correctly after save/load 2022-10-26 22:09:32 -05:00
Blixibon
fd4133485a Fix uninitialized variable in math_clamp 2022-10-26 13:38:28 -05:00
Blixibon
12742b7815 Fix spacing in particle system files 2022-10-26 13:37:59 -05:00
Blixibon
63a888252f
Merge pull request #169 from samisalreadytaken/vscript_vgui
vscript vgui
2022-10-26 08:18:23 -05:00
Blixibon
21407c3394
Update sp/src/game/server/particle_system.cpp
Co-authored-by: samisalreadytaken <46823719+samisalreadytaken@users.noreply.github.com>
2022-10-22 16:06:57 -05:00
samisalreadytaken
b5ba3f69c7 Add vscript vgui 2022-10-22 22:22:22 +03:00
Blixibon
216ea46c25
Merge pull request #206 from samisalreadytaken/fix
Fix CScriptNetMsgHelper::WriteEntity()
2022-10-21 22:54:12 -05:00
arbabf
0c9883f5e2
Merge branch 'mapbase-source:develop' into develop 2022-10-22 12:30:51 +11:00
Blixibon
3f5807f1fd
GitHub build workflows (#204) 2022-10-21 12:49:33 -05:00
Blixibon
e2569f6657 Fixed Linux debug build 2022-10-21 10:20:01 -05:00
Blixibon
d93a2f0b17 Added shadow filter keyvalue to env_projectedtexture 2022-10-21 10:14:51 -05:00
Blixibon
b5428d5a77 Fixed Response System not including scripts on Linux 2022-10-20 23:33:43 -05:00
samisalreadytaken
a2cf90e3ac Remove redundant SquirrelSafeCheck instance 2022-10-17 23:10:10 +03:00
Blixibon
2272b75772 Disabled Discord/Mapbase RPC by default 2022-10-17 13:37:58 -05:00
Blixibon
c2d2df8c42 Fixed forgotten #include in KeyValues.cpp 2022-10-17 12:51:23 -05:00
Blixibon
a1ab1616c5 Added VScript functions for checking the platform the server/client is using 2022-10-17 10:34:29 -05:00
Blixibon
eb4d01a988 Fixed commentary speakers and printname not being combined properly on Linux 2022-10-17 10:15:05 -05:00
Blixibon
5e473aa618 Merge branch 'develop' of https://github.com/mapbase-source/source-sdk-2013 into develop 2022-10-16 15:19:25 -05:00
Blixibon
1bf1225544 Incremented version numbers to v7.1 2022-10-16 15:18:51 -05:00
Blixibon
852d63ba6f Added support for "custom" conditionals in KeyValues 2022-10-16 15:16:53 -05:00
Blixibon
ccdc1719ae Fixed negated conditionals not being recognized by hudanimations.txt 2022-10-16 15:16:02 -05:00
Blixibon
7b836ece91 Added support for hud_showemptyweaponslots 0 in hud_fastswitch 2 2022-10-16 15:14:25 -05:00
Blixibon
802463acfb Removed /force:multiple from client VPC for newer VS toolsets 2022-10-16 15:13:36 -05:00
Blixibon
d231606020 Fixed crash when a prop_dynamic with a model scale has no physics object 2022-10-16 15:12:59 -05:00
Blixibon
e9ade193dc
Merge pull request #174 from undnull/v142-patch-1
Fix a symbol being defined twice
2022-10-16 13:55:12 -05:00
Blixibon
6945ef2468 Fixed npc_sniper not acquiring player as target after SP respawn 2022-10-16 13:47:29 -05:00
Blixibon
8cf06b2865 Fixed GCC error in ivscript.h 2022-10-16 10:06:26 -05:00
Blixibon
2ca2d7c80f Specified 32-bit for gcc9+support.o 2022-10-16 10:05:40 -05:00
samisalreadytaken
7849b1440f Clarify comment 2022-10-14 18:25:46 +03:00
samisalreadytaken
9bf1fb4cea Fix CScriptNetMsgHelper::WriteEntity() 2022-10-14 18:23:33 +03:00
Blixibon
c31e48591f Fixed crash from TestEntity on filters 2022-10-02 19:12:42 -05:00
Blixibon
be6277c2c8 Fixed commentary node HUD alignment issues 2022-10-02 19:11:24 -05:00
Blixibon
daf55037fe Added support for "mapspawn_addon" scripts in addon paths (inspired by L4D2) 2022-08-28 13:10:23 -05:00
Blixibon
1426eccc68 Strengthened NaN head angle brute force workaround 2022-08-28 13:08:28 -05:00
Blixibon
3c7d0f86b3 Fixed global state counters not being initialized 2022-08-28 13:06:55 -05:00
Blixibon
deacb7df61 Fixed VScript files from Mapbase manifests not being loaded properly 2022-08-28 13:06:08 -05:00
Blixibon
392746f725 Fixed typo in vscript_server.nut 2022-08-28 13:03:59 -05:00
Blixibon
1cff3a2cd0 Fixed RPG readiness activities being marked as required 2022-08-06 14:46:34 -05:00
Blixibon
5369953d60 Fixed NPCs being unable to open doors with hardware not defined in the QC 2022-08-06 13:11:01 -05:00
Blixibon
8e90e6df58 Fixed commentary localization file not loading properly 2022-08-06 13:08:32 -05:00
Arbab Ahmed
a5770191bb use FLT_MAX instead of 1e+30, remove a busted two lines of code 2022-07-30 15:56:50 +10:00
Blixibon
9a939547c0 Fixed rare activity translation recursion case 2022-07-26 12:54:01 -05:00
Arbab Ahmed
fa3d686067 remove setabsorigin() code in serverside particle system 2022-07-25 23:43:58 +10:00
Arbab Ahmed
697b92ea35 add info_particle_system_coordinate, plus infinite cooldown functionality for prop_interactable similar to that of func_button 2022-07-25 13:07:43 +10:00
Blixibon
0cf49fbfa0 Fixed filter_script not functioning properly 2022-07-24 19:21:05 -05:00
Blixibon
f43c4607f7 Removed BuildTransformations VScript hook for now 2022-07-23 00:30:29 -05:00
Blixibon
1f4d5b4361
Merge pull request #192 from samisalreadytaken/scripthooks
Script hooks fixes and script hook manager
2022-07-22 21:31:43 -05:00
samisalreadytaken
6e6bb4d639 Implement CScriptHookManager 2022-07-22 22:41:32 +03:00
samisalreadytaken
22f0b2c3cc Refactor script hook system 2022-07-21 17:48:30 +03:00
Blixibon
04cff632a3 Fixed leftover code causing issues in debug 2022-07-19 13:44:03 -05:00
Blixibon
197a9be59c Fixed response system support for escaped quotes causing backslashes to stop working 2022-07-17 20:17:48 -05:00
Blixibon
a9bd90f681 Fixed invalid look targets invalidating models 2022-07-17 18:32:30 -05:00
Blixibon
a4657d0cf1 Fixed a crash involving player +USE anims 2022-07-16 13:16:45 -05:00
Blixibon
fe518c9859 Fixed an oversight in CAI_BaseNPC::TranslateActivity 2022-07-16 12:03:56 -05:00
Blixibon
0615b367ca Two misc. fixes 2022-07-16 00:05:28 -05:00
Blixibon
5536021e4f Added SetSpeechTarget() for citizen heal/ammo concepts 2022-07-16 00:04:46 -05:00
Blixibon
ebf24e98e3 Fixed VS2013 compile error 2022-07-15 23:33:51 -05:00
Blixibon
f965afde16 Added support for directory-specific Mapbase manifests when using the "ADDON" path ID (disabled by default) 2022-07-15 23:33:23 -05:00
Blixibon
b6b0583550 Added precaching + logo colors to env_credits 2022-07-15 23:27:19 -05:00
Blixibon
dc1eb02322 Clarified clientside SequenceLoops VScript function description 2022-05-04 20:59:18 -05:00
Blixibon
39ec4ee704 Fixed zombie serverside ragdoll gibs crashing when one of the models isn't valid 2022-05-04 20:52:21 -05:00
Blixibon
ad4adf90ca Fixed a typo 2022-05-04 20:50:44 -05:00
Blixibon
1143570f3e
Merge pull request #172 from samisalreadytaken/sq-typemask
vscript fixes and additions
2022-04-28 13:16:23 -05:00
Blixibon
e7c61320a5 Fixed misplaced cvars 2022-04-27 00:09:34 -05:00
Blixibon
d525ca02b8
Merge pull request #182 from Petercov/mapbase-feature/dynint-loader-enhancement
NPCs can load dynamic interactions from all animation MDLs
2022-04-26 14:44:18 -05:00
Blixibon
1f4f66fd28
Merge pull request #186 from Petercov/mapbase-feature/fix-teeth-shader
Fix for brightly glowing teeth
2022-04-26 14:40:17 -05:00
Blixibon
1d1caaf7cb
Merge pull request #185 from Petercov/mapbase-feature/enemyfinder-nodraw-fix
Fixed enemyfinders becoming visible when they wake
2022-04-26 14:39:18 -05:00
Blixibon
ea85fe20f6
Merge pull request #184 from Petercov/mapbase-feature/projtex-aspect-fix
Compute aspect ratios on shadow depth textures
2022-04-26 14:38:26 -05:00
Blixibon
e0821e404f Disabled NPC door activities by default and allowed mappers to enable them at their own discretion 2022-04-26 13:53:04 -05:00
Blixibon
b0689150e5 Added $envmapfresnel / $envmapfresnelminmaxexp without $phong + $allowdiffusemodulation, all from Alien Swarm SDK 2022-04-26 12:39:22 -05:00
Blixibon
6413647d23 Changed g_ai_ignore_graph_timestamps into a cvar which identifies maps from chapters.txt instead 2022-04-26 08:40:52 -05:00
Blixibon
e22bbc97fb Fixed two issues in the response system 2022-04-26 08:39:12 -05:00
Blixibon
714c89cc49 Added Matcher_ContainsWildcard and fixed an issue with lazy wildcards 2022-04-26 08:38:22 -05:00
Blixibon
033fd9662b Added new optional weapon activities for AR3, SMG3, and HMG1 2022-04-26 08:34:11 -05:00
Blixibon
32bbb0c231 Added missing parameters to function in new response code 2022-04-26 08:31:41 -05:00
Blixibon
08727cc322 Added custom model support and 'NoIdlePatrol' keyvalue to npc_hunter 2022-04-26 08:30:55 -05:00
Blixibon
4dbe8a7001 Added FIRE_BULLETS_NO_AUTO_GIB_TYPE 2022-04-26 08:08:56 -05:00
Blixibon
633e90fe16 Added GetNewlinePositions for vgui::TextImage 2022-04-26 08:05:47 -05:00
Blixibon
daa4779978 Small fixes for issues of various sizes 2022-04-26 08:04:54 -05:00
Blixibon
b04fb3c43f Added commentary footnotes, misc. commentary fixes 2022-04-26 07:55:35 -05:00
Peter Covington
d3978db574 Fixed custom gun not reseting zoom when holstered 2022-04-21 22:56:24 -04:00
Peter Covington
655212ee62 Fix for brightly glowing teeth 2022-04-20 16:58:45 -04:00
Peter Covington
a6a8a04b1f Fixed enemyfinders becoming visible when they wake 2022-04-20 09:41:26 -04:00
Peter Covington
37019140bd Fix 2022-04-20 04:05:34 -04:00
Peter Covington
31cd394cb7 More features for custom melee weapon 2022-04-20 03:41:32 -04:00
Peter Covington
fa41a327e7 Added a data cache to the custom weapons system 2022-04-20 01:48:32 -04:00
Peter Covington
a5ad82339e Compute aspect ratios on shadow depth textures 2022-04-19 21:07:58 -04:00
Peter Covington
d871c6f8fd Add Mapbase file headers 2022-04-19 03:16:54 -04:00
Peter Covington
0ae65a5a64 Fix weapon selection 2022-04-19 02:53:35 -04:00
Peter Covington
13f422f4c4 Fix issues 2022-04-19 00:57:05 -04:00
Peter Covington
179b7a5298 Added factory for bullet-firing guns 2022-04-18 23:46:23 -04:00
Peter Covington
ee46bc4bd1 Fixes 2022-04-18 18:12:40 -04:00
Peter Covington
e77180547d Readiness activities for custom melee weapon 2022-04-18 17:25:25 -04:00
Peter Covington
f58b599020 Fixed custom weapon scripts on client 2022-04-18 17:24:41 -04:00
Peter Covington
332856e37e Added factory for melee weapons 2022-04-18 15:09:57 -04:00
Peter Covington
749f9ffae0 Finished parser for vscript weapon 2022-04-17 15:57:37 -04:00
Peter Covington
7877953b6c Fixes 2022-04-16 09:18:06 -04:00
Peter Covington
5a0c406dbf Added an entity factory manager for custom weapons 2022-04-16 07:19:42 -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