Garry's Mod
十分な評価がありません
worldclicker - click to interact with objects
   
アワード
お気に入り
お気に入り
お気に入りから削除
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
ファイルサイズ
投稿日
更新日
4.357 KB
12月14日 17時18分
12月15日 1時57分
4 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
worldclicker - click to interact with objects

解説
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


3 件のコメント
Sidney4044 2 時間前 
i honestly have no idea what this does but i like the gif
pavane 3 時間前 
very useful, ty
Gyakuhyaku 9 時間前 
really good addon!