Garry's Mod

Garry's Mod

Ei tarpeeksi arvosteluja
worldclicker - click to interact with objects
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
Tiedostokoko
Julkaistu
Päivitetty
4.357 KB
14.12. klo 17.18
15.12. klo 1.57
4 muutosilmoitusta ( näytä )

Tilaa ladataksesi
worldclicker - click to interact with objects

Kuvaus
bind key worldclick_activate <-- in console to set a key for this
example: bind g worldclick_activate

inspirationed from system shock 1 specifically, where you had to point your cursor on an object and click on it to interact with it or pick it up

you can interact with anything that can be interacted with, this simply emulates use key on an entity

originally made as a test to then port over to my gamemode, but felt like it was neat enough to be standalone

= = = = commands = = = =
worldclick_distance = maximum distance for click to register. if the distance between you and the object is greater than this value then the click will not register. Default value is 100
worldclick_suppress_use 0 / 1 = setting this to 1 will disable the use key for everyone, requiring you to interact with objects through click method only. By default this is set to 0, so I recommend changing it to 1
worldclick_suppress_items 0 / 1 = setting this to 1 will disable automatic item (batteries, healthkits, etc..) pickups when players walk over them, clicking on items will pick them up. This is also 0 by default.
worldclick_suppress_weapons 0 / 1 = same stuff like with items but only with weapons


known issues:
- having suppress items on will not give you weapons on spawn