Adjusting Yields In Game
11 posts
Page 1 of 1
Adjusting Yields In Game
Okay, I'll admit I have limited script writing ability. But does anyone know where to direct me to go to re-write the scripts for the yields on the various crops? I'd love to make the yields more realistic for Kansas (where I live) compared to Europe (where the model is based off of. But I have know idea where to begin looking....
- bassaddict
- GIANTS Software | Web/Script Programmer
- Posts: 11983
- Joined: Tue Nov 29, 2011 2:44 pm
- Location: ER, DE
Re: Adjusting Yields In Game
Code: Select all
FruitUtil.fruitTypes.<fruit_name>.literPerSqm
And here a list with the default yields: http://fs-uk.com/forum/index.php?topic= ... #msg895147
-
- Posts: 54
- Joined: Wed Jun 06, 2012 7:20 pm
Re: Adjusting Yields In Game
Hi there
In which file or folder can you find the text to adjust the yield?
In which file or folder can you find the text to adjust the yield?
- bassaddict
- GIANTS Software | Web/Script Programmer
- Posts: 11983
- Joined: Tue Nov 29, 2011 2:44 pm
- Location: ER, DE
Re: Adjusting Yields In Game
In no folder. You have to write a script for that.
-
- Posts: 54
- Joined: Wed Jun 06, 2012 7:20 pm
Re: Adjusting Yields In Game
Thanks for the reply.
If it's something that i have to create and add to the game then I think I will give it a miss.
Before i screw it up all together.
(If you don't know what your doing then leave it alone) Well it's what I keep getting told.
If it's something that i have to create and add to the game then I think I will give it a miss.
Before i screw it up all together.
(If you don't know what your doing then leave it alone) Well it's what I keep getting told.
-
- Posts: 6
- Joined: Tue Jan 15, 2013 3:21 pm
Re: Adjusting Yields In Game
Google and download the "kenstadt" map mod which is hosted on several sites. Inside that zip is a folder marked extras, inside that is a nice little script "extras" that the map maker has written to modify yields. If you just put that file into your mod folder it should work. you can alter the value in the text file, eg literPerSqm*0.53 reduces yields to 53% of the default amount.
-
- Posts: 54
- Joined: Wed Jun 06, 2012 7:20 pm
Re: Adjusting Yields In Game
Thanks andy found the map"kernstadt" will let you know how i get on with it.
Thanks again
Thanks again
-
- Posts: 54
- Joined: Wed Jun 06, 2012 7:20 pm
Re: Adjusting Yields In Game
Tried doing as you said and all i get is an error message saying it cant open the file.
If i add it into a map folder all i get is the game is being loaded, please wait screen with the two icons spinning around for more than ten minutes.
What am i doing wrong?
If i add it into a map folder all i get is the game is being loaded, please wait screen with the two icons spinning around for more than ten minutes.
What am i doing wrong?
-
- Posts: 6
- Joined: Tue Jan 15, 2013 3:21 pm
Re: Adjusting Yields In Game
humm, im no expert, only found things out by trial and error.
try unzipping the kernstad map file. then put the whole map folder into your farming simulator/mod folder in your my documents folder.
keep the yield script in the extras folder of kernstad
I found that it had the effect of reducing yields on all maps i played on not just kernstad
test it with a new game on default map. combine a strip on starting field without the file installed. and then reload and try it with the file to see if yield decrease.
try unzipping the kernstad map file. then put the whole map folder into your farming simulator/mod folder in your my documents folder.
keep the yield script in the extras folder of kernstad
I found that it had the effect of reducing yields on all maps i played on not just kernstad
test it with a new game on default map. combine a strip on starting field without the file installed. and then reload and try it with the file to see if yield decrease.
-
- Posts: 129
- Joined: Sat Jun 01, 2013 6:17 pm
Re: Adjusting Yields In Game
would this work if you was to add this onto each fruit growth state xml or would you have to create a new xml for each fruit or one xml that covers all fruit litres per square metre if that make sense.bassaddict wrote:That are the variables containing the yield values.Code: Select all
FruitUtil.fruitTypes.<fruit_name>.literPerSqm
And here a list with the default yields: http://fs-uk.com/forum/index.php?topic= ... #msg895147
- bassaddict
- GIANTS Software | Web/Script Programmer
- Posts: 11983
- Joined: Tue Nov 29, 2011 2:44 pm
- Location: ER, DE
Re: Adjusting Yields In Game
Nothing XML. Like I already said: you need a script.
11 posts
Page 1 of 1