seb.barrault78@gmail.com Posted February 17 Posted February 17 (edited) Bonjour la team, Quelqu'un pourrait il m'aider pour importer des mods? J'ai telechargé, des mods ( stabulations, porcherie,...) que je voudrais mettre par defaut sur ma map. Est ce possible ? si oui pourriez vous m'aider, car j ai du mal a comprendre comment remplir les XML !!!! Pour info, je suis encore sur FS 19 et donc sur GE 8.2.2 Merci de votre aide. English Version. Hello team, Can someone help me import mods? I downloaded mods (stalls, pigsty, etc.) that I would like to put as default on my map. Is this possible? If so, could you help me, because I have trouble understanding how to fill in the XML!!!! FYI, I'm still on FS 19 and therefore on GE 8.2.2 Thank you for your help. Edited February 17 by administrator Adminatrator Update to English
WrinkleysRule Posted February 27 Posted February 27 All I can suggest is the what I have previously told you in answer to your PM's on this subject. Note: This is for FS19 Unzip the placeable mod Place the complete unzipped mods folder in your maps placeable folder. In the maps modDesc.xml add the placeables fie location to the storeItems section of the xml, check the file paths to existing placeables in the modDesc to confirm the correct path. I will use the pigsty as an an example with a normal placeables folder location. i.e <storeItem xmlFilename="placeables/pigsty/pigsty.xml"/> and save the modDesc.xml Open the mods xml file (pigsty.xml) and change the file path to <filename>placeables/pigsty/pigsty.i3d</filename> and save. the pigsty.xml file Open the map in GE and import the 'pigsty' i3d into the map and place it at the desired location, once happy note the translation/rotaions values in the attributes panel (do not save the map at this point) Open the maps defaultItems.xml in notepad++( or a similiar editor) and enter the following line changing the position and rotation values to the ones noted previously <item className="AnimalHusbandry" filename="$mapdir$/placeables/pigstyg/pigsty.xml" position="0 0 0" rotation="0 0 0" farmId="1" /> and save the defaultItems.xml Delete the pigsty from the map in GE, open map ingame and check the pigsty is in the correct location and there are no errors in the log. Note: If custom scripts are used in the mod then these will have to be placed in the map folder in a suitably named folder and the relevant path added to the modDes.xml in the <extraSourceFiles> tag The modDesc can be deleted from the placeables/barn folder and also the icon.png referenced in the iconFilename tag
seb.barrault78@gmail.com Posted March 3 Author Posted March 3 Bonjour, Et quand un mod possede un FillTypeConverter.lua (mod: FeedMixers FS19), ou mettre le script ? Le LUA dans le dossier script de la map, mais dans le modesc? Merci
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now