Barotrauma 潜渊症

Barotrauma 潜渊症

110 个评价
XMLHotReloader
12
2
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
3.100 KB
2023 年 2 月 28 日 上午 5:46
2024 年 3 月 28 日 下午 7:30
5 项改动说明 ( 查看 )

订阅以下载
XMLHotReloader

描述
No longer needed, reloadpackage command is now Vanilla.
(If the game tells you to run reloadcorepackage, run reloadpackage instead, the devs copy pasted the command but forgor to actually change the message it shows to match the command)

This mod was made for modders to be able to reload their XML mods without having to go back to the mainmenu.

Requires Client-Side Lua to work.

Adds two (new!!) console commands:

reloadpackage "Name Of Your Mod"
(You can use tab to autocomplete)

multicommand "name" "command 1" "command 2" "command x"
(Allows you to run many commands at same time without having to paste them individually)
example:
- multicommand "test" "spawnitem \"revolver\" inventory" "spawnitem \"revolverround\" inventory 8"
now you can just run
- multicommand "test"
and it will execute all the commands you specified in order

Notes
- Afflictions will have a ghost of their former self still present, you will need to run the revive command to remove the old affliction and use the giveaffliction command to give yourself the affliction again.
- All items associated with the reloaded mod will be deleted, you will have to spawn them again.
50 条留言
SydWad 2024 年 12 月 20 日 上午 7:42 
If it's implemented i will give ya $15
SydWad 2024 年 12 月 20 日 上午 7:41 
How possible would it be to have a command to reload a targeted XML file? This mod is great but on some of my larger projects i still have to wait up to a minute to reload it when testing. If i could just do a single exact file that would be perfect.
Merans 2024 年 6 月 9 日 上午 10:57 
When using the "reloadpackage "mod"" command, it gives an error suggesting to use the "reloadcorepackage" command, which crashes the game. Has anyone solved this problem?
whosyourdaddy 2024 年 4 月 29 日 上午 4:28 
Baro devs added the reloadpackage command, which caused the mod's command to become invalid. Since it cannot be executed in Multiplayer, some modders still need to use XmlHotReloader. Now there is a workaround to just modify the command name.
SydWad 2024 年 2 月 27 日 下午 7:20 
I think he has the problem where it looks like lua is still installed after a game patch but in reality you have to unpack it again. Like purple letters and all that still in the main menu but it doesnt run correctly.
Evil Factory  [作者] 2024 年 2 月 27 日 上午 11:29 
is the mod enabled? do you have client side lua installed? whats the output of your debug console
Garlic 2024 年 2 月 27 日 上午 11:28 
Does not seem to work with lua enabled (version 40beade15a 1.0.80) in sub edditor. Commands are not populating. Am I missing a dependency or mod load order?
SydWad 2024 年 2 月 22 日 下午 10:52 
Is there any chance a "ReloadFile" command could be possible? The tool is great but one of my mods is so large it takes a long time to reload the whole thing just to test a small change to a single item.
Kookoorooza 2024 年 1 月 26 日 上午 8:47 
You can just add this into description. For sure im not the first and not the last one.
Evil Factory  [作者] 2024 年 1 月 26 日 上午 8:14 
nothing i can do about
plus using this mod in the mainmenu is pointless