Blixibon
a05503e42b
Fixed rr_disableemptyrules not always working correctly
2021-03-18 00:33:35 -05:00
Blixibon
4e09f4bdf5
Added rr_disableemptyrules cvar, which prevents rules from being selected again after their norepeat/speakonce responses are exhausted
2021-03-17 16:55:54 -05:00
Blixibon
4b8da761ce
Added base Mapbase matchers to tier1 so that the response system library can access them
2021-03-17 16:50:24 -05:00
Blixibon
4d3f51a720
Fixed a compile error from when NEW_RESPONSE_SYSTEM is disabled
2021-03-17 10:45:31 -05:00
Blixibon
e10a4d6613
Added VScript file response to base response dispatch code
2021-03-10 02:11:39 -06:00
Blixibon
24ac080608
Added legacy response context operators
2021-03-10 02:10:22 -06:00
Blixibon
8966462fee
Stabilized implementation of some Mapbase code in the new response system
2021-03-09 12:39:13 -06:00
Blixibon
efec7ab4db
Added Mapbase's enhanced save/restore to new response system + moved aound rr_dumphashinfo code so that it has access to default response system
2021-03-09 12:37:08 -06:00
Blixibon
8033c0dad4
Fixed response group default params, which seem to have been broken in vanilla response system code from the SDK
2021-03-09 12:30:48 -06:00
Blixibon
d4a91fe027
Made followup responses more reliable with generic NPCs and added "vscript_file" response type
2021-03-09 10:03:40 -06:00
Blixibon
d6b959899c
Missed a file in the initial Response System library port commit
2021-03-08 02:12:53 -06:00
Blixibon
d081a0cee3
Added prototype Response System library port from the Alien Swarm SDK
2021-03-08 02:11:13 -06:00
Blixibon
251725c987
Added semi-standardized custom model support to several NPCs
2021-03-07 12:03:32 -06:00
Blixibon
92866ca2fa
Added EnableCrouch input to npc_strider
2021-03-07 11:57:33 -06:00
Blixibon
8f7d3ac03b
Added keyvalue to combine_mine for disabling companion avoidance
2021-03-07 11:55:08 -06:00
Blixibon
15ae789b89
Added "Disable flashlight" keyvalue/inputs inspired by Portal 2's
2021-03-07 11:43:28 -06:00
Blixibon
bd3b9c3807
Fixed VBSP VScript documentation not working
2021-03-04 11:37:32 -06:00
Blixibon
14d3ee19d0
Fixed the client-side VScript "player" instance not being set once more after having moved around the VM init code again
2021-01-27 23:25:09 -06:00
Blixibon
fa45fffa39
Added save/restore to client-side VScript
2021-01-27 11:01:38 -06:00
Blixibon
2ee7845e8d
Made instance name fixup stop fixing up names starting with '!', which was causing problems with procedurals like !activator
2021-01-27 07:57:21 -06:00
Blixibon
fa37adb1d5
Fixed a few client-side VScript functions not binding correctly
2021-01-26 12:13:04 -06:00
Blixibon
a11cb93c42
Adjusting certain code and metadata for Mapbase v6.2
2021-01-26 12:08:42 -06:00
Blixibon
763c836d45
Fixed a npc_zombie crash caused by inflictor-less crush damage
2021-01-24 22:32:22 -06:00
Blixibon
f484653f41
Fixed host_timescale scaling sounds when cheats are off
2021-01-24 22:31:48 -06:00
Blixibon
6595b96418
Fixed func_rotating angles fix not being in the right place
2021-01-24 22:28:55 -06:00
Blixibon
01f830a72d
Fixed new init order causing script classes to continuously reinitialize
2021-01-24 18:38:32 -06:00
Blixibon
4441911f92
Merge pull request #78 from mapbase-source/feature/clientside-vscript
...
Proper client-side VScript control
2021-01-23 14:21:41 -06:00
Blixibon
e3550438b9
Added functions to create and modify force behavior of client-side "death ragdolls"
2021-01-23 13:20:07 -06:00
Blixibon
eb2e8d5238
Merge pull request #84 from 1upD/mapbase/css-viewmodel-chirality
...
Enable Counter-Strike Source view model chirality in Mapbase
2021-01-23 11:32:20 -06:00
Blixibon
b4717f3321
Merge pull request #93 from ReDucTor/save-load-init-order-fix
...
Fixing issue with loading from a save on game start crashing
2021-01-23 10:04:02 -06:00
Blixibon
b720ec4c84
Added spawnflag to make prop_ragdoll bones use constraints which are fixed to each other (also known as "make statue")
2021-01-23 09:32:28 -06:00
Blixibon
8e283f3738
Added OnServerRagdoll hook for VScript
2021-01-23 09:20:21 -06:00
James Mitchell
d23729e6e1
Fixing issue with loading from a save on game start crashing
2021-01-23 13:54:00 +11:00
1upD
2087f90cd5
Enable Counter-Strike Source view model chirality in Mapbase
2020-12-28 23:33:11 -05:00
Blixibon
8af9c0dc61
Added basic think hook to logic_script_client
2020-12-27 15:54:56 -06:00
Blixibon
a3decd7bbe
Merge branch 'develop' into feature/clientside-vscript
2020-12-27 09:23:49 -06:00
Blixibon
e55bfa0036
Merge pull request #80 from samisalreadytaken/_23
...
vscript additions and fixes 2
2020-12-27 00:49:30 -06:00
Blixibon
dd848acba8
Reworked parts of the VScript save/restore caching code
2020-12-27 00:44:50 -06:00
samisalreadytaken
ef7d9ccc0f
vscript additions and fixes:
...
vscript_client.cpp
- Fixed local player script instance registration
- Added CEntities::GetLocalPlayer
- Added Con_IsVisible
- Added IsWindowedMode
- Added ScreenWidth
- Added ScreenHeight
- Added ScreenTransform
- Added missing DoUniqueString
gameinterface.cpp
usercmd.h
usercmd.cpp
vscript_singletons.cpp
- CNetMsgScriptHelper
vscript_singletons.cpp
- Added hash map for CScriptSaveRestoreUtil
- Added hash map for CScriptGameEventListener::s_GameEvents
- Changed CScriptGameEventListener string contexts to hashes
- Added invalid input condition on CScriptGameEventListener::ListenToGameEvent
- Moved CDebugOverlayScriptHelper to shared code
ivscript.h
vscript_squirrel.cpp
- Added IScriptVM::Get/Set/ClearValue (ScriptVariant_t key)
baseentity.h
baseentity.cpp
- Added CBaseEntity::SetContextThink (ScriptSetContextThink)
vscript_server.cpp
vscript_client.cpp
vscript_funcs_shared.cpp
- Changed the order user vscript_*.nut files are executed - after internal scripts, before mapspawn
vscript_squirrel.cpp
vscript_squirrel.nut
vscript_server.nut
vscript_shared.cpp
- Localised all documentation under __Documentation
hl2_usermessages.cpp
- Added usermessage ScriptMsg
c_baseplayer.cpp
- Removed redundant check in ~C_BasePlayer
2020-12-26 17:16:46 +03:00
Blixibon
5529127d68
Split logic_script_client and Mapbase user messages into their own files
2020-12-26 00:02:43 -06:00
Blixibon
55cbdf49aa
Added CreateProp() function for VScript, allowing the creation of exclusively client-side dynamic props
2020-12-26 00:00:25 -06:00
Blixibon
4861893235
Exposed client-side ragdoll class and functions to VScript
2020-12-25 23:57:02 -06:00
Blixibon
cb7cee6283
Added a few more VScript base entity functions to the client
2020-12-25 23:53:59 -06:00
Blixibon
5e254d19c0
Added more client-side model/animating VScript functions + a hook for handling client-side ragdolls
2020-12-25 09:11:25 -06:00
Blixibon
f70c066a8e
Added a bunch of client-side VScript functions to C_BaseEntity
2020-12-25 09:09:33 -06:00
Blixibon
6f0781b5b8
Added logic_script_client entity and a user message for calling a client-side function
2020-12-24 23:55:19 -06:00
Blixibon
e0185f94f6
Added missing shader files
2020-12-17 02:07:13 -06:00
Blixibon
87cd9b24bb
Mapbase v6.1
...
- Added postprocess_controller entity from later versions of Source
- Added env_dof_controller entity from later versions of Source
- Added SDK_Engine_Post and DepthOfField shaders from the Momentum repo/Alien Swarm SDK
- Fixed auto-breaking game_text/choreo text not null terminating
- Fixed console groups showing up at the wrong developer levels
- Added more mesages to console groups, including a new "NPC AI" console group
- Fixed typos and added elaboration in various cvars, console messages, etc.
- Fixed npc_metropolice not using frag grenades correctly when allowed to use them
- Fixed npc_metropolice not registering stitching squad slots in AI
- Fixed SetModel input late precache warning
- Fixed env_global_light angles resetting upon loading a save
- Fixed an issue with ScriptKeyValuesRead using the wrong name and having a memory leak
- Allowed VScript functions which return null strings to actually return null instead of empty strings
- Added VScript member variable documentation
- Fixed VScript documentation lines sometimes mixing together
- Fixed VScript singletons having a ! at the beginning of descriptions
- Added Color struct to VScript and allowed color-related inputs to use it
- Added more VScript functions for weapons, ammo, ragdolling, and response contexts
- Added GameRules singleton for VScript
- Exposed AI interaction system to VScript
- Recovered some lost documentation from older revisions of the Mapbase wiki
- Added a way to get the current game's load type in VScript
- Fixed Precache/SpawnEntityFromTable not accounting for a few important field types
- Added VScript functions for getting a player's eye vectors
- Fixed a crash caused by removing the active weapon of a Combine soldier while it's firing
- Changed the way metrocops deploy their manhacks so they could use their manhack death response properly
- Fixed "Use Server" keyvalue on game_convar_mod not working
- Adjusted CAI_Expresser in VScript
2020-12-17 03:38:23 +00:00
James Mitchell
782721edd4
Fixing issue with debug builds not working
2020-12-13 14:44:23 +11:00
James Mitchell
046391ef25
Fix vscript loading bug with vector in a table
2020-12-13 14:43:40 +11:00