|Category||Farming Simulator 19|
|Yngve Bæsj (Yngve90)||03.12.2020 22:55|
|I'm trying to figure out how I use a mod I've created myself in a new map mod so I can zip the whole thing into one mod and let my friends play it. I've got all files needed for this (texture folder, the i3D file, SHAPES file, xml, DDS, a modDesc.xml and a store.DDS)
Does a zipped map mod intended for multiplayer deny usage of external mods somehow, or is it possible to redirect import of XMLs to a sub-folder in the zipped map mod directory?
|Bilbo Beutlin (BBeutlin)||03.12.2020 23:44|
|A modmap may also include vehicles or placeables. To reference use filename="$mapdir$/.."
In multiplay certainly all participants (incl. server) must have the same mod.
Just for clearance: the mods inside modmap must be unzipped before you zip the complete map.
|Yngve Bæsj (Yngve90)||04.12.2020 22:17|
I have tried to figure out where to locate classnames. I've experimented alot on makeing husbandryChicken.xml to load up with no luck because I don't understand how classnames works..
I've succeeded on farmSiloLarge.xml and farmHouse.xml simply because I copy-pasted it, but I don't see where e.g. the large silo's classname is listed in it's xml.
|Bilbo Beutlin (BBeutlin)||04.12.2020 22:27|
|The 'className' refers directly to the required LUA script of the placeable.
See for reference https://gdn.giants-software.com/documentation_scripting_fs19.php?version=script&category=27&class=264
|Yngve Bæsj (Yngve90)||04.12.2020 22:32|
|You are fantastic.
Thank you once more!
|Yngve Bæsj (Yngve90)||04.12.2020 22:42|
It worked on the default husbandry, but my own didn't
I get the following log error:
2020-12-04 22:39 Error: i3d 'C:/Users/Yngve/Documents/My Games/FarmingSimulator2019/mods/NyFosnes/Cowstable.i3d' could not be found.
2020-12-04 22:39 Error: failed to load i3d file 'C:/Users/Yngve/Documents/My Games/FarmingSimulator2019/mods/NyFosnes/Cowstable.i3d'
I don't know how relevant it is, but this item appears ingame if I place it in GE.
Colideable w/ textures etc- just not with the needed functions because I do not own it
It should also be noted that the correct path is .../NyFosnes/maps/ModsUnpacked/CowStable/cowstable.xml (the game ignores my ModsUnpacked folder)
|Bilbo Beutlin (BBeutlin)||04.12.2020 23:09|
|You must adapt all filepaths relative to the map's root folder.
Eg. if you have in defaultItems
<item ... filename="$mapdir$/placeables/farmSilo/farmSilo.xml" ...
this xml must have
(if i3d is in the same folder with xml)
Also notice if a map's placeable is available in store, you must declare this in the modDesc.xml with
<storeItem xmlFilename="placeables/farmSilo/farmSilo.xml" />
|Yngve Bæsj (Yngve90)||05.12.2020 21:07|
|I didn't understand what you ment at first, and now I got it working.
I'm so happy, I could kiss you. Thank you SO much for your shared knowledge!
Note: Log in to post. Create a new account here.