Modding Q&A
Hello,
I would like to write a mod to change some values in a sii file, but I don't want to override the entire file.
I am playing with a "real economy mod" which I really like, and that mod is modifying plenty of files.
I just want to adapt some of the values in the "economy_data.sii" file, but only a few, and keeping the other values defined by that mod.
When I put in my mod the entire (modified) economy_data.sii file, all is working, but I loose the modifications of the "real economy map"
I tried to make a file named economy_data_test.sii with only my data and it is not taken into account.
I tried to make a file names economy_data.sii with only my data, and the game crash, complaining that the data object cannot be loaded (because it is not complete)
So I am wondering if it is possible or not, and if yes, how could I do that.
The only solution I found is to modify the economy_data.sii file of the real economy mod and put my values inside.
The issue with that solution is that I must do that every time the modder will upgrade his mod.
Thank you for your precious help
I would like to write a mod to change some values in a sii file, but I don't want to override the entire file.
I am playing with a "real economy mod" which I really like, and that mod is modifying plenty of files.
I just want to adapt some of the values in the "economy_data.sii" file, but only a few, and keeping the other values defined by that mod.
When I put in my mod the entire (modified) economy_data.sii file, all is working, but I loose the modifications of the "real economy map"
I tried to make a file named economy_data_test.sii with only my data and it is not taken into account.
I tried to make a file names economy_data.sii with only my data, and the game crash, complaining that the data object cannot be loaded (because it is not complete)
So I am wondering if it is possible or not, and if yes, how could I do that.
The only solution I found is to modify the economy_data.sii file of the real economy mod and put my values inside.
The issue with that solution is that I must do that every time the modder will upgrade his mod.
Thank you for your precious help
- Davyddin
- Moderator
- Posts: 1655
- Joined: 22 Jun 2017 22:00
- Donation rank:
- Location: Helsingfors, Nyland, Finland
- Contact:
I have often wanted to mod parts of definition files, as you describe, but have not thought of any way to do so. I'm afraid it's simply not possible.
ProMods moderator, translator, and tester. ATS and ETS2 player and modder. Author e.g. of the Profile Jumpstart mods. Fennoswede from the Finnish archipelago.
Well, unfortunately, that's how it works.
It'll first load the whole .sii file from one mod, then it'll overwrite the whole file again, if it's present in another mod loaded later.
So you need to modify it again after the update indeed.
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek
Would anyone be able to help me properly define a new city and country for my map? I have tried the information I have found online, but it's not working. I got it to work once upon a time (over a year ago) on my old computer, and can't remember how I did it.
Mapper of Norway 1:1 Scale
Thank you for your help.
I have another question.
When I play on a 1:1 scale map, either a map created from scratch by a modder or an existing map (Promods) where I set the scale to 1:1 we encounter a issue :
The missions are valid only 5 minutes, whatever we put as parameters cargo_validity_min and cargo_validity_max in the economy_data.sii file.
The exceptional cargos (from the DLC) have normal validity time (more than 50 hours)
Do you know if we should modify other parameters ?
I would be surprised that eevery existing 1:1 map encounter the same issue not solved.
I could ask every 1:1 map thread but if you have the answer, posting it here could help more people because of the visibility
Thank you very much.
I have another question.
When I play on a 1:1 scale map, either a map created from scratch by a modder or an existing map (Promods) where I set the scale to 1:1 we encounter a issue :
The missions are valid only 5 minutes, whatever we put as parameters cargo_validity_min and cargo_validity_max in the economy_data.sii file.
The exceptional cargos (from the DLC) have normal validity time (more than 50 hours)
Do you know if we should modify other parameters ?
I would be surprised that eevery existing 1:1 map encounter the same issue not solved.
I could ask every 1:1 map thread but if you have the answer, posting it here could help more people because of the visibility
Thank you very much.
My advice is to look at existing, working files, and recreate the folder structure to make it work.
What exactly is the problem?
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek
Since the 1.33 update, ETS2 crashes when I type "edit" in the console, so I can't mod any more.
I've tried the usual tricks - making sure the folders are empty, making sure it's not on fullscreen mode, etc. Any advice would be gratefully received.
I've tried the usual tricks - making sure the folders are empty, making sure it's not on fullscreen mode, etc. Any advice would be gratefully received.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests