RagdollMover/lua
vlazed c0ce1103b5
Additional gizmo enhancements (#13)
* Fix gizmos not catching up to cursor position
+ By default, the rgm_axis is created with MOVETYPE_NONE on the client, which causes the gizmo to delay its movement to the cursor. This fixes it by setting its movetype to MOVETYPE_VPHYSICS, replicating the behavior seen from tool ghost entities.

* Fixed inability to click on gizmos in some environments

* Change behavior for func_brush functionality
+ Added InitPostEntity hook to insert ragdollmover to all func_brush entities with a m_tblToolsAllowed field, which fixes unselectable gizmos in func_brush entities for singleplayer and multiplayer
- Removed rgm_ghost and ghost padding implementations, which has been superseded by the above hook

* Generalize to entities with brush planes instead of strictly func_brush

* Improved appending of ragdollmover to m_tblToolsAllowed
- Changed previous method to target all brush entities with a gmod_allowtools key instead of func_brush alone. This allows Ragdoll Mover to still be used if the brush entity has this key for some reason.

* Move table insert logic into the shared RGMAllowTool hook
- Moved table.insert of ragdollmover tool mode into rgmAllowTool hook
- Changed realm of EntityKeyValue to shared instead of server
2025-01-22 23:41:42 +03:00
..
autorun Additional gizmo enhancements (#13) 2025-01-22 23:41:42 +03:00
entities/rgm_axis Additional gizmo enhancements (#13) 2025-01-22 23:41:42 +03:00
ragdollmover Put net message related stuff into a table with functions related to them within the ragdoll mover tool, to help with readability. Assuming overhead from calling table + functions should not be an issue, considering that net messages aren't being as spammy as they used to. Also made big gray disc not being able to rotate nonphys bones - it wasn't doing it correctly before anyway 2024-12-03 23:50:30 +03:00
vgui Localization for ui related phrases in ragdoll mover (EN currently) 2024-09-08 22:40:44 -05:00
weapons/gmod_tool/stools Additional gizmo enhancements (#13) 2025-01-22 23:41:42 +03:00