Garry's Mod

Garry's Mod

Yeterli oy yok
worldclicker - click to interact with objects
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
İçerik Türü: Eklenti
Eklenti Türü: Alet
Eklenti Etiketleri: Eğlence, Rol Yapma
Dosya Boyutu
Gönderilme
Güncellenme
4.357 KB
14 Ara @ 17:18
15 Ara @ 1:57
4 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
worldclicker - click to interact with objects

Açıklama
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