Garry's Mod

Garry's Mod

Toggle Mouse Cursor
1-5 van 5 items weergegeven
Update: 8 mrt om 8:52

Changes to `tmc_blockentitymenu`

Changed
  • Right-click context entity menu is re-enabled, regardless if `tmc_blockentitymenu` is enabled, only if the context key button (by default, 'C') is pressed. This supersedes a workaround where the user would need to lock the mouse cursor in order to right click the entity and do other actions
  • Properly detour functions (need to check if they exist) to prevent infinite recursion

Update: 2 dec 2024 om 20:19

New concommand: "tmc_blockentitymenu [0/1]". Set it to 1 to disable context options when right-clicking on an entity

Update: 30 sep 2024 om 11:05

Add notification text and sound customization.

To replace text, navigate to "data/tmc/notification.json" in your GMod local filesystem. notification.json has the following contents:

{ "locked": "Cursor Locked", "unlocked": "Cursor unlocked" }
If you do not see notification.json, or the path "tmc/notification.json" in the GMod data folder, you can create your own file and copy and paste the above contents.
Replace the "locked" and "unlocked" text with your own!

To replace sound, you must have an mp3 file named "notification" located in the "sound/tmc" directory in some addon folder in addons or in the GMod local filesystem. For example, the following are valid
addons/my-sound-replacement/sound/tmc/notification.mp3 <-- In the local addons sound/tmc/notification.mp3 <-- In the GMod local file system

Update: 12 sep 2024 om 19:03

Some formatting changes

Update: 8 sep 2024 om 0:21