Garry's Mod
61 人が評価
Crouch to Unstuck
   
アワード
お気に入り
お気に入り
お気に入りから削除
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Realism
ファイルサイズ
投稿日
更新日
6.567 KB
2021年10月2日 8時19分
2023年10月14日 1時02分
11 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
Crouch to Unstuck

The Stig 作成の 1 件のコレクション
The Stig's TTT Mod List
269 アイテム
解説
Makes crouching push you out of a wall, floor, prop, player etc. if you are stuck inside it!
Doesn't affect crouching when you're not stuck.

Settings/Options
crouch_to_unstuck_key (Default: [blank])
What key to press to trigger getting you unstuck, if blank, uses your crouch key. (Change maps or restart server for changes to take effect)

crouch_to_unstuck_message (Default: 1)
Whether the 'If you're stuck, try crouching!' chat message should show (Change maps or restart server for changes to take effect)

Credits
Credit for this function goes to SunRed on GitHub[gist.github.com], from Malivil's "Bad Trip" randomat event, originally from Dem's "Randomat 2.0".
14 件のコメント
[LCB] BassGaming 2024年9月27日 15時18分 
This mod is fantastic! We've used it for about 20-30 hours in TTT now and it makes life so much easier.
The Stig  [作成者] 2023年10月14日 1時03分 
@EnteranceJew Here's a convar: crouch_to_unstuck_message 0
It requires you to change maps or restart the server for it to take effect.
EntranceJew 2023年10月13日 23時42分 
Oh wow, I appreciate it a lot! The only other thing that I could use would be a convar for the chat print, 'cause most people I play with don't need reminding whenever it triggers by now.
The Stig  [作成者] 2023年10月13日 19時56分 
@EntranceJew That mod is very much at odds with mine, but I did my best to support it with the update I just pushed out.
EntranceJew 2023年10月13日 14時53分 
This unfortunately trivializes this equipment: https://gtm.you1.cn/sharedfiles/filedetails/?id=3021464449 (Glue Trap) -- is there a way to prevent this?
Dornek 2023年8月26日 22時18分 
thank you stig
The Stig  [作成者] 2023年8月26日 20時48分 
@Dornek I added a new setting: "crouch_to_unstuck_key", e.g. typing crouch_to_unstuck_key x in the console will change the unstuck key to x.

You can also add this to your server's server.cfg if you're hosting a dedicated server, or in your Gmod installation's listenserver.cfg if hosting a game from the main menu.
(Normally located at: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\cfg)
The Stig  [作成者] 2023年8月26日 20時22分 
@Drab228 Unfortunately I wasn't able to replicate this, I stopped receiving reports like this a long time ago when I first uploaded this mod and did the first few bug fix updates. Unfortunately detecting when you are inside an object but actually you're not actually stuck is quite difficult, but I've done the best I can with this mod.
The Stig  [作成者] 2023年8月26日 20時19分 
@Dornek Unfortunately I'm not going to be able to support every mod on the workshop out of the box, I can add an option to change what button gets you unstuck though.
Drab228 2023年8月26日 19時01分 
can you fix teleporting throug doors by spamming ctrl?