yumi-modding / FS19_CombineXP

Combine XPerience mod for Farming Simulator 19
https://www.farming-simulator.com/mod.php?mod_id=187160&title=fs2019
5 stars 5 forks source link

Capability to enable/disable mod behavior #24

Open yumi-modding opened 3 years ago

yumi-modding commented 3 years ago

As requested by several users, we should be able to enable/disable specific behavior:

Cyberpilot98 commented 3 years ago

Hello! Thanks for the updates! Which file do I edit to change the mod settings? "Capability to enable/disable mod behaviors with settings in xml file " it says this in the description, which file needs to be edited? Thanks so much!

yumi-modding commented 3 years ago

@Cyberpilot98 Once you have put the last zip in your mods folder and launched a game with it, you will find a new file called combineXP.xml in your modsSettings folder (same level than mods folder, cf screenshot) In this file you can see 3 lines with attribute isActive="true":

Cyberpilot98 commented 3 years ago

Thanks! I downloaded the latest Zip file and put the zip file inside of the main zip file into the mods folder. However, I haven't had a "Modsettings" folder or file come up in my main fs19 folder. I'm using windows 10. I turned on the game and ran it with the mod, it worked, but the "modsettings" folder or file wasn't there, any suggestions? Thanks!

yumi-modding commented 3 years ago

Thanks! I downloaded the latest Zip file and put the zip file inside of the main zip file into the mods folder. However, I haven't had a "Modsettings" folder or file come up in my main fs19 folder. I'm using windows 10. I turned on the game and ran it with the mod, it worked, but the "modsettings" folder or file wasn't there, any suggestions? Thanks!

Hi The zip here (https://github.com/yumi-modding/FS19_CombineXP/blob/main/FS19_CombineXP.zip?raw=true) should be donwloaded and put in your mods folder instead the zip you downloaded on modhub. Then you can start your game with mod activated (check the mod version is 1.0.1.1) and quit the game. Now you should see the modsSettings folder with the combineXP.xml file in it.

Cyberpilot98 commented 3 years ago

Hello, sorry to bother you again. I have completed all those steps, and there is still no "modsettings" folder. It's not a big deal, I'll just wait until the settings UI comes out, thanks for the help! I appreciate all the work you're putting into this mod!

Cyberpilot98 commented 3 years ago

okay well as dumb as this sounds, I unzipped the mod, edited the CombineXP file that's actually inside of the mod folder, and now it works. I know you're not supposed to unzip mods, but I guess I'll risk the bugs or errors lol. thanks!

yumi-modding commented 3 years ago

okay well as dumb as this sounds, I unzipped the mod, edited the CombineXP file that's actually inside of the mod folder, and now it works. I know you're not supposed to unzip mods, but I guess I'll risk the bugs or errors lol. thanks!

Sure it works. The thing is just that you will loose your changes if you update the mod zip. That's why I'm using the modsSettings folder. I'll check on my side, maybe some code is missing if modsSettings does not exist yet.

goldenshoes commented 3 years ago

Somehow the mod creates settings xml file only when it is unzipped