I want to increase the number of trees that get planted per tile in a forest during map generation. I've had a play with forestrules.tab but no joy. Does anyone know if and how this is possible?
forest_no_of_trees_per_square = 3 caps it at three a tile. Number higher than 5 will make simutrans crawl with large maps.
Just curious: how many trees can be on one tile?
254; but then strange things migth happen when an airplane wants to enter this tile ...
Uhhhhh. Why isn't that horrible number capped at some 8 or so? That would definitely reduce some memory needed... and I know how much you like optimization ;)
OK thanks. Somehow I missed that one. D'oh!
It is actually:
max_no_of_trees_on_square
But it is wrong for ages in the forestconf.tab of pak64 ...
It only needs as much memory as there actually are objects (plus a little overhead, but not much). It's a quite highly compressed structure (****uming that it still is the one that was in use when I was active with coding).