Farming Simulator 15

Farming Simulator 15

Not enough ratings
Having fun with XML
By Hugh DePayne
Modding various XML files in FS15
   
Award
Favorite
Favorited
Unfavorite
Editing the careerSavegame.xml
I'm sure most who play FS15 know about modifying this particular file, however for those new to FS15 please read on.

First get your hands on Note++ [ http://download.cnet.com/Notepad/3000-2352_4-10327521.html ].

Now navigate to your saved games folder C:\Users\**your user name**\Documents\My Games\FarmingSimulator2015\savegames#

Once you've got careerSavegames#.xml [The # is the number of the save game, seems we can have up to 20.] open locate (money="##########") you can add as much as you like, I've no idea what the max is for this.
Also if you wish you can change the time of day you start at by editing (daytime="###.######").
As noted in other guides you can get those steam achievements by editing (traveledDistance="####.######"), (hectaresSeeded="0.000000"), (hectaresThreshed="0.000000"), (hectaresWorked="0.000000"), (completedTransportMissions="0"), (completedDemandMissions="0"), (completedMowingMissions="0")[For mission you have to give yourself 49 or 50 and then complete a mission of that type to get the achievement.], (foundGoldCoinCount="0"), (foundGoldCoins="0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000").

Now where you see,
(FYI this was taking from the Westbridge Hills save game.)
<farmSiloAmounts count="16">
<farmSiloAmount fillType="potato" amount="0.000000" />
<farmSiloAmount fillType="barley" amount="0.000000" />
<farmSiloAmount fillType="wheat" amount="0.000000" />
<farmSiloAmount fillType="r a p e[aka Canola]" amount="0.000000" />
<farmSiloAmount fillType="luzerne[aka Alfalfa]" amount="0.000000" />
<farmSiloAmount fillType="choppedR a p e" amount="0.000000" />
<farmSiloAmount fillType="choppedMaize[aka Corn]" amount="0.000000" />
<farmSiloAmount fillType="choppedStraw" amount="0.000000" />
<farmSiloAmount fillType="liquidManure" amount="0.000000" />
<farmSiloAmount fillType="maize" amount="0.000000" />
<farmSiloAmount fillType="manure" amount="0.000000" />
<farmSiloAmount fillType="woodChips" amount="0.000000" />
<farmSiloAmount fillType="grass" amount="0.000000" />
<farmSiloAmount fillType="sugarBeet" amount="0.000000" />
<farmSiloAmount fillType="chaff" amount="0.000000" />
<farmSiloAmount fillType="dryGrass" amount="0.000000" />
</farmSiloAmounts>
You can give yourself all the different crop types.

As well, this section will allow you to change the price which you receive when you sell those crops. [Note the price will change as you sell crops over time.]
<fillTypePrices count="32">
<fillTypePrice fillType="barley_windrow" price="0.040000" previousHourPrice="0.040000" totalAmount="500000.000000" />
<fillTypePrice fillType="choppedStraw" price="0.000000" previousHourPrice="0.000000" totalAmount="500000.000000" />
<fillTypePrice fillType="woodChips" price="0.380000" previousHourPrice="0.380000" totalAmount="500000.000000" />
<fillTypePrice fillType="r a p e[aka Canola]" price="0.560000" previousHourPrice="0.560000" totalAmount="500000.000000" />
<fillTypePrice fillType="forage" price="0.800000" previousHourPrice="0.800000" totalAmount="500000.000000" />
<fillTypePrice fillType="choppedRape" price="0.000000" previousHourPrice="0.000000" totalAmount="500000.000000" />
<fillTypePrice fillType="milk" price="0.400000" previousHourPrice="0.400000" totalAmount="500000.000000" />
<fillTypePrice fillType="luzerne" price="0.750000" previousHourPrice="0.750000" totalAmount="500000.000000" />
<fillTypePrice fillType="wheat_windrow" price="0.040000" previousHourPrice="0.040000" totalAmount="500000.000000" />
<fillTypePrice fillType="maize" price="0.260000" previousHourPrice="0.260000" totalAmount="500000.000000" />
<fillTypePrice fillType="choppedMaize" price="0.000000" previousHourPrice="0.000000" totalAmount="500000.000000" />
<fillTypePrice fillType="luzerne_windrow" price="0.040000" previousHourPrice="0.040000" totalAmount="500000.000000" />
<fillTypePrice fillType="grass" price="0.170000" previousHourPrice="0.170000" totalAmount="500000.000000" />
<fillTypePrice fillType="fuel" price="0.000000" previousHourPrice="0.000000" totalAmount="500000.000000" />
<fillTypePrice fillType="water" price="0.000000" previousHourPrice="0.000000" totalAmount="500000.000000" />
<fillTypePrice fillType="liquidManure" price="0.010000" previousHourPrice="0.010000" totalAmount="500000.000000" />
<fillTypePrice fillType="potato" price="0.200000" previousHourPrice="0.200000" totalAmount="500000.000000" />
<fillTypePrice fillType="barley" price="0.320000" previousHourPrice="0.320000" totalAmount="500000.000000" />
<fillTypePrice fillType="wheat" price="0.290000" previousHourPrice="0.290000" totalAmount="500000.000000" />
<fillTypePrice fillType="seeds" price="0.600000" previousHourPrice="0.600000" totalAmount="500000.000000" />
<fillTypePrice fillType="grass_windrow" price="0.050000" previousHourPrice="0.050000" totalAmount="500000.000000" />
<fillTypePrice fillType="manure" price="0.010000" previousHourPrice="0.010000" totalAmount="500000.000000" />
<fillTypePrice fillType="dryGrass_windrow" price="0.055000" previousHourPrice="0.055000" totalAmount="500000.000000" />
<fillTypePrice fillType="fertilizer" price="0.300000" previousHourPrice="0.300000" totalAmount="500000.000000" />
<fillTypePrice fillType="treeSaplings" price="200.000000" previousHourPrice="200.000000" totalAmount="500000.000000" />
<fillTypePrice fillType="egg" price="5.700000" previousHourPrice="5.700000" totalAmount="500000.000000" />
<fillTypePrice fillType="forage_mixing" price="0.500000" previousHourPrice="0.500000" totalAmount="500000.000000" />
<fillTypePrice fillType="silage" price="0.800000" previousHourPrice="0.800000" totalAmount="500000.000000" />
<fillTypePrice fillType="wool" price="1.200000" previousHourPrice="1.200000" totalAmount="500000.000000" />
<fillTypePrice fillType="dryGrass" price="0.190000" previousHourPrice="0.190000" totalAmount="500000.000000" />
<fillTypePrice fillType="chaff" price="0.210000" previousHourPrice="0.210000" totalAmount="500000.000000" />
<fillTypePrice fillType="sugarBeet" price="0.220000" previousHourPrice="0.220000" totalAmount="500000.000000" />
</fillTypePrices>

I'm not going to get into messing around with the fog or rain someone else can add that if they wish.
Editing the economy.xml
In this file I've only ever edittied the ownership of fields, simply change false to true.

<fieldOwnage>
<field number="1" ownedByPlayer="false" />
<field number="2" ownedByPlayer="false" />
<field number="3" ownedByPlayer="false" />
<field number="4" ownedByPlayer="false" />
<field number="5" ownedByPlayer="false" />
<field number="6" ownedByPlayer="false" />
<field number="7" ownedByPlayer="false" />
<field number="8" ownedByPlayer="false" />
<field number="9" ownedByPlayer="false" />
<field number="10" ownedByPlayer="false" />
<field number="11" ownedByPlayer="false" />
<field number="12" ownedByPlayer="false" />
<field number="13" ownedByPlayer="false" />
<field number="14" ownedByPlayer="false" />
<field number="15" ownedByPlayer="false" />
<field number="16" ownedByPlayer="true" />
<field number="17" ownedByPlayer="false" />
<field number="18" ownedByPlayer="false" />
<field number="19" ownedByPlayer="false" />
<field number="20" ownedByPlayer="false" />
<field number="21" ownedByPlayer="false" />
</fieldOwnage>
Editting vehicles.xml
This files contains info on all your animals as well as the Biogas silage pits.
[Note, the $^#%$Object id="#" will/may be different depending on the map your playing.]

<onCreateLoadedObject id="4" state="1" compactedFillLevel="300000" fermentingTime="65000.000000" silagePlaneMoveAlpha="1" silagePlaneMoveAlphaMax="1">
<movingPlane1 fillLevel="60000" />
<movingPlane2 fillLevel="60000" />
<movingPlane3 fillLevel="60000" />
<movingPlane4 fillLevel="60000" />
<movingPlane5 fillLevel="60000" />
</onCreateLoadedObject>
This gives the silage pit by the cow pen fully fermented silage.

<onCreateLoadedObject id="1" numAnimals0="0" numAnimals1="0">
<tipTriggerFillLevel fillType="forage" tipTriggerIndex="1" fillLevel="0" />
</onCreateLoadedObject>
The above code is for sheep. [NOTE : The "forage" is for their food. ]

<onCreateLoadedObject id="2" numAnimals0="0" numAnimals1="1" numActivePickupObjects="0"/>
The above code is for chickens.

After this you should see[Note again this depends on the map your using] code that looks similar to this,
<onCreateLoadedObject id="6" state="0" compactedFillLevel="0" fermentingTime="0" silagePlaneMoveAlpha="0" silagePlaneMoveAlphaMax="1">
<movingPlane1 fillLevel="0" />
<movingPlane2 fillLevel="0" />
<movingPlane3 fillLevel="0" />
<movingPlane4 fillLevel="0" />
<movingPlane5 fillLevel="0" />
<movingPlane6 fillLevel="0" />
<movingPlane7 fillLevel="0" />
<movingPlane8 fillLevel="0" />
<movingPlane9 fillLevel="0" />
<movingPlane10 fillLevel="0" />
<movingPlane11 fillLevel="0" />
<movingPlane12 fillLevel="0" />
<movingPlane13 fillLevel="0" />
<movingPlane14 fillLevel="0" />
<movingPlane15 fillLevel="0" />
</onCreateLoadedObject>
This is the code that handles the 4 silage pits[FROM map Westbridge Hills], from what I've been able to determine max amount of chaff that can be loaded into each pit is "600000", so each plane will have "40000". change (state="0") to (state="1"), change (compactedFillLevel="0") to (compactedFillLevel="600000"), and (fermentingTime="0") to (fermentingTime="65000") and you now have a fully stocked Biogas plant.
6 Comments
Hugh DePayne  [author] Apr 24, 2016 @ 9:18am 
@Obrien979, for any default and DLC equipment, no you wont be able to change the pricing, but hit Farm Sim Mod Hoster and FS-UK for player made mods of the equipment and in those files youll be able to change the price of it.
GrumpySmurf Apr 22, 2016 @ 8:28am 
Can you edit the cost of items in your shop or edit/add vehicles to your garage?
Horse Jan 9, 2016 @ 10:06am 
before you edit any files make a back up copy of the file just in case
Hugh DePayne  [author] Mar 29, 2015 @ 9:57am 
thnxs guys.
xx6csc9xx Mar 28, 2015 @ 8:38pm 
This is awesome!!
PanzerStorm Mar 27, 2015 @ 9:25am 
cool:)