News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Too many spare trees

Started by dustshadow, March 03, 2013, 05:20:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dustshadow

OS: Win 7
Simutrans: version 112.1 r6212 (stable)

I have an issue with too many spare trees (outside forests) being generated. It works ok as long as I don't modify any landscape settings.
When I want to reduce the number of forests or change another parameter every generated map has too many loose trees. It's not unplayable, but it's borderline
Maybe it has to do with the fact that I can't set the parameter forest_inverse_spare_tree_density above 100. It also affects all pak's, although 128 seems to be worse than standard.
Any way to fix this?

See screenshot (with parameter forest_inverse_spare_tree_density at 100)


Dwachs

Imho the following setting is to blame:

New World -> Settings -> Landscape Settings -> tree_climates

This variable is a bitfield, each set bit refers to a climate FULL of tree. Usually tropic climate. Try to set this value to 0.
Parsley, sage, rosemary, and maggikraut.

VS


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

dustshadow

Quote from: Dwachs on March 03, 2013, 06:47:28 PM
Imho the following setting is to blame:

New World -> Settings -> Landscape Settings -> tree_climates

This variable is a bitfield, each set bit refers to a climate FULL of tree. Usually tropic climate. Try to set this value to 0.

Set it to zero but it doesn't change anything. Why can't spare_trees be set higher than 100? There are various examples of simuconf.tab files on the web that give a higher number.
The reason I think it's this parameter is because when I lower it below 100 it gets gradually worse. At 40 or so the entire terrain is covered in trees.

DirrrtyDirk

Quote from: dustshadow on March 04, 2013, 10:45:11 PM
Set it to zero but it doesn't change anything. Why can't spare_trees be set higher than 100? There are various examples of simuconf.tab files on the web that give a higher number.
The reason I think it's this parameter is because when I lower it below 100 it gets gradually worse. At 40 or so the entire terrain is covered in trees.

The latest setting I used for spare_trees was 800. It worked fine for me... (I set the value by editing simuconf.tab directly, not via the game interface - old habits...  ;) )
  
***** PAK128 Dev Team - semi-retired*****

Dwachs

It seems the limits in the settings dialog should be relaxed then for the spare_trees settings.

For distributing those lonely trees, a tile on which trees can placed but where trees are not forced, there is a chance of

100 / 3*spare_trees

percent of a tree being planted. If spare_trees is less than 33 then all tiles will receive trees.
Parsley, sage, rosemary, and maggikraut.

prissi

Changed setting borders in r6377

dustshadow

Thank you very much for fixing this.