Space Engineers

Space Engineers

148 vurderinger
ModAdjusterV2
4
2
2
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Type: Mod
Mod category: Script
Filstørrelse:
Offentliggjort:
Opdateret:
1.137 MB
9. aug. 2023 kl. 18:50
21. maj kl. 1:26
19 ændringsbemærkninger ( vis )

Abonner for at downloade
ModAdjusterV2

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

Check out this helpful guide by Stonelords:
https://steamcommunity.com/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 ❤
45 kommentarer
The_Swack 20. maj kl. 21:01 
@Valkria Freyja yes you can use Mod Adjuster modify Weaponcore weapons.
Mr_Mosey 1. apr. kl. 21:19 
Does this work with other mod file types? I'm looking to make a few adjustments to the resource convoys in the Escape From Mars mod. The file containing the data for the convoys is a .cs file. Does ModAdjuster let me modify data in those types of files as well as .sbcs?
Valkyria Freyja 31. jan. kl. 0:36 
Can you not use mod adjuster to modify Weaponcore weapons?
martin.andreev92 13. jan. kl. 9:28 
Also another quick question.

Error: Error during loading session:System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at ModAdjusterV2.Definitions.AmmoDefinition.AmmoBasicProperties.Load(MyAmmoDefinition def)
at ModAdjusterV2.Definitions.AmmoDefinition.Load(MyDefinitionBase definitionBase, String path)

when I try to change the ammo def. Tried even with the whole file without any changes and it did not work.
martin.andreev92 13. jan. kl. 9:13 
Ok, i think I figured it out. The breaks the log inside the \Roaming\SpaceEngineers\Storage\3017795356.sbm_Adjuster. Maybe when my change throws an error, it does not release the lock on the file? As when I delete the logs manually it works.
martin.andreev92 13. jan. kl. 8:58 
Getting the same error again :(
Error: Error during loading session:System.IO.FileNotFoundException: Unable to find the specified file.
at Sandbox.ModAPI.MyAPIUtilities.VRage.Game.ModAPI.IMyUtilities.ReadFileInLocalStorage(String file, Type callingType)
at ModAdjusterV2.Session.Logs.RenameFileInLocalStorage(String oldName, String newName, Type anyObjectInYourMod)
at ModAdjusterV2.Session.Logs.InitLogs()
at ModAdjusterV2.Session.ModAdjuster.LoadData()

Any idea, what i am doing wrong? if i get an error in my mod even 1 time, then everytime i try to use it I get this error. I saw its related to logs.
martin.andreev92 12. jan. kl. 17:41 
Ok, after Windows reboot it is working as expected, Strange.
martin.andreev92 12. jan. kl. 15:42 
Hi, I am getting a strange error, when I try to use it. Tried even inside an empty word with only the mod adjuster and i am getting.

2024-01-13 01:38:43.282 - Thread: 1 -> Error: Error during loading session:System.IO.FileNotFoundException: Unable to find the specified file.
at Sandbox.ModAPI.MyAPIUtilities.VRage.Game.ModAPI.IMyUtilities.ReadFileInLocalStorage(String file, Type callingType)
at ModAdjusterV2.Session.Logs.RenameFileInLocalStorage(String oldName, String newName, Type anyObjectInYourMod)
at ModAdjusterV2.Session.Logs.InitLogs()
at ModAdjusterV2.Session.ModAdjuster.LoadData()
at Sandbox.Game.World.MySession.LoadComponent(MySessionComponentBase component)
at Sandbox.Game.World.MySession.LoadDataComponents()
at Sandbox.Game.World.MySession.PrepareBaseSession(MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
Sardaukai 25. dec. 2023 kl. 8:41 
That's normal,
you have to add the vanilla components in addition
Sometimes it replaces the whole parent, sometimes one one entry.
I also have to test a lot
Shinku_Shi 17. dec. 2023 kl. 11:42 
Thank you! figured out, my files were not converting from .sbc to .xml! so it loads everything now! though now i've run into an issue, were it only shows the modded components in the assembler tab and none of the vanilla :/