tn4799 / DynamicMissionVehicles

3 stars 1 forks source link

Replacing vanilla equipment with modded equipment #19

Open Zaboleme opened 3 months ago

Zaboleme commented 3 months ago

Hello. I've been trying to replace teh vanilla equipment with the modded ones that i've got. So far i've managed to not get any errors, but the contracts simply don't have any equipment that is modded The line i've been using is: I've also tried putting $moddir/$FS22_modname.... but it didn't help any The error i was getting in the console is: 2024-05-24 02:25 Error: C:/Users/Diabolique/Documents/My Games/FarmingSimulator2022/mods/FS22_DynamicMissionVehicles/xml/missionVehicles.xml: Unable to load store item for 'moddir$/FS22_KuhnSW4014H/sw4014.xml' The contracts show up, but they only offer equipment that is vanilla. So i'd get a contract with only bale loader for example. Am i doing something wrong or is it not possible to use modded equipment with this mod?

tn4799 commented 3 months ago

Take a look in the backup xml, especially in the section for the earth fruits, or just read the pdf with the instructions. there everything is explained.

But $moddir$/modname/... will not work because that would break the compatibility with the giants xml structure for mission vehicles. Thats why I implemented a custom way to enable mission vehicles from the mod folder. If you need further help, just ask.

That you are not getting any equipment is related to the fact that the vehicles cant be loaded because of a wrong path. When you set it up correctly, you then can use modded equipment as mission vehicles, which is not possible in the base game