Space Engineers

Space Engineers

196 次評價
ModAdjusterV2
4
2
2
   
獎勵
加入最愛
已加入最愛
移除最愛
Type: Mod
Mod category: Script
檔案大小
發佈於
更新時間
1.410 MB
2023 年 8 月 9 日 下午 6:50
6 月 28 日 下午 7:56
23 項更新註記 (檢視)

訂閱以下載
ModAdjusterV2

描述
Framework to allow editing of definitions from other mods (e.g. for balancing) without reuploading.

Check out this helpful guide by Stonelords:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3018217687

To use:
  • Create a folder in your mod's Data folder called ModAdjuster
  • Copy the .sbc files for all definitions you wish to modify into this folder
  • Change the file extensions for all these files from .sbc to .xml
  • Create a file in the same folder called ModAdjusterFiles.txt
  • Add the filename for each of your copied definition files to this text file, one per line

Now you can edit the definitions you copied over. Change the values for any fields you want to modify, and delete any fields you don't need to change. ModAdjuster will read these definitions and overwrite the original game definitions with your modified values. Simply set this mod as a dependency to have it automatically added to your world - load order doesn't matter.

Note that there are a few definitions/fields that can't be edited with this tool, see here:
https://github.com/Ash-LikeSnow/ModAdjusterV2/wiki/Inaccessible-Fields

if you are new to modding SE, check out this guide by Digi:
Quick Intro to Space Engineers Modding[github.com]

If you have any questions, requests, or bug reports, please head over to the # mod-adjuster channel in the SE Coresystems discord:
https://discord.gg/8CnW35KsFK



Big thank you to enenra for the thumbnail and usage guidelines, as well as for being a generally awesome person ❤
63 則留言
Warlocc 7 月 18 日 上午 6:51 
Looks like

2025-07-18 09:46:20.856 - Thread: 1 -> Showing message
2025-07-18 09:46:20.859 - Thread: 1 -> MyInitializer.OnCrash
2025-07-18 09:46:20.859 - Thread: 1 -> var exception = System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
Warlocc 7 月 18 日 上午 6:39 
Can confirm, this is crashing the game when modding weapons. Entirely different weapon mod and I'm experiencing crashing as well.
SeñorTequila 6 月 24 日 下午 3:02 
When I try to edit KGS_Weaponry_CubeBlocks from KGS by Aryx CoreSystem crashes. Even when I just rename the .sbc file to .xml it still crashes. Every other mod or definition is fine. Whut?
TK_Over50 6 月 24 日 上午 10:23 
Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Weapons.MyWeaponPropertiesWrapper.get_RecoilResetTimeMilliseconds()

Line 124 of Weapons.cs in the Modadjuster folder
if (RecoilResetTimeMilliseconds.HasValue) def.RecoilResetTimeMilliseconds = RecoilResetTimeMilliseconds.Value;

I text searched my entire computer and this is the only file that references RecoilResetTimeMilliseconds.
Is it safe to say that ModAdjuster is causing this error and subsequently my game to crash?
PeterRabbit 5 月 24 日 下午 4:15 
The directory structure of the sbc files you are modifying doesn't matter as modadjuster is modifying the values of the objects inside the game API, rather than messing with sbc files directly. Just put your xml files in the modadjuster folder and it should work still.
REV4666 5 月 24 日 下午 12:17 
can you change files that are not in the data folder? if you have a file that is like this: data\other\file.sbc how do you configure modadjuster? do i still put the xml file still in the modadjuster folder?
PeterRabbit 5 月 23 日 下午 8:20 
ModAdjuster is ONLY for patching sbc files. If you want to tweak the cs scripting for a mod, you'll either have to reach out to the mod developer to get them to change their mod, or you'll have to create your own modified version (with the appropriate permission of course).
Eris 5 月 23 日 上午 2:53 
So can I get a definite answer on whether or not I can modify a cs file for weapon core weapons because I've been trying man and I ain't having no luck :steamfacepalm:
BigMonki 3 月 2 日 上午 3:05 
ive encountered a problem, every time i add ModAdjusterV2 into my world i cant load in anymore, it tells there is an error and i need to check the log? are you able to provide any assistance?
(DANIEL) 2024 年 12 月 2 日 下午 7:16 
When I try to edit the recipe of components used in a block, the game does not load the textures and icons of the mod blocks from the edited file in the xml