Barotrauma

Barotrauma

評價次數不足
ToggleRun
   
獎勵
加入最愛
已加入最愛
移除最愛
檔案大小
發佈於
更新時間
36.622 KB
2023 年 3 月 27 日 上午 11:18
2023 年 4 月 28 日 上午 6:09
4 項更新註記 (檢視)

訂閱以下載
ToggleRun

描述
Makes your run key toggle run so you dont have to hold it.
If character stopped moving, run state will be reset to mimic toggle run feature from modern games.

NOTE: requires additional steps in order to properly install Lua for Barotrauma. Please check client-side mod instructions there.

Ver 1.0.2: Run button will now only make character run instead of toggling it. This is configurable in script (%LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2953534988\Lua\Autorun\toggle_run.lua)
7 則留言
Lexington 5 月 28 日 下午 11:39 
it seem the game now officially have toggle run in the keybind setting, thank you for your contribution.

however the game still have problem with keybind setting as we still can't unbind key. :steamfacepalm:
for whoever have this problem, you need to edit 'config_player.xml' file in the game folder yourself to unbind key.
iwanderinng 2023 年 10 月 20 日 上午 9:47 
good mod:steamthumbsup:
Xelorion 2023 年 7 月 28 日 上午 2:22 
My fingers thank you :steamthumbsup:
najizhimo 2023 年 4 月 13 日 上午 6:21 
FYI, I am using "DedicatedServer.exe" to host a server, those error just jump out on the server log, other lua scripts dont have error, just yours do.
najizhimo 2023 年 4 月 13 日 上午 6:18 
@Sun
yeah I've also used other lua script mods and they work normal.
Actually your script is working too, just saw those error on the client log, if you cant figure out the reason then maybe just leave it since it's working anyway.
Sun  [作者] 2023 年 4 月 13 日 上午 5:26 
@najizhimo did you update lua for barotrauma? Honestly, I'm kinda at a loss here since it is working for me still on v1.0.9. Are you playing singleplayer or multiplayer? Are you hosting the game? Is Lua dedicated server is used?
najizhimo 2023 年 4 月 12 日 下午 11:39 
serverlog error in gamever 1.0.9
[SV LUA ERROR] "AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2953534988/Lua/Autorun/toggle_run.lua:(18,10-52,31): method 'ControlLocalPlayer(System.Single, Barotrauma.Camera, System.Boolean)' not found in class 'Barotrauma.Character'"