All-Aircraft-Simulations
Help with random trees - Printable Version

+- All-Aircraft-Simulations (https://allaircraftsimulations.com)
+-- Forum: IL2 MAP MODS Download & Discussion (https://allaircraftsimulations.com/forumdisplay.php?fid=269)
+--- Forum: 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=365)
+---- Forum: IL2 MAP MODS Discussion & WIP MAP 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=335)
+---- Thread: Help with random trees (/showthread.php?tid=71607)



Help with random trees - hijack1968 - 14.09.2010

Hello all,
I am currently have a go at making a map of the german-Czec border region, an area including Praha,Pizen,Dresden all the way west to jena and north to Cottbus. LOL I know its a big undertaking for one person and might take me a while to do.
Up until now I've not been to bothered about Randon tree spawning, as the maps I've done so far have been small test projects to get used to map building. Before I have used the _fields in the textures to stop this for happening, but i have not been able to stop Random Tree Spawning along the river bank.
Now that i have got to the point of placing the citys on the map i'm not happy to leave it as it looks odd along industrial sections of the river and a bit out of scale with the city textures that im using.
I'm guessing that there is a different texture that is used for the banks of the river but i cant seem to find it.
If anyone can help explain whats happening here it would be most helpful... :-?


Re: Help with random trees - lowfighter - 14.09.2010

hijack the random trees will appear no more the moment you have placed your objects in the map, there's a hardcoded instuction that when an object is present on map no random trees will appear close to the object. Probably you placed in your tests only the textures but not yet the objects (factory buildings etc)?
So that's good news I guess :wink:


Re: Help with random trees - hijack1968 - 14.09.2010

Thanks lowfighter, this is my fist city ive done that spans a river and before i have used the _fields in my textures so didn't notice that the trees were vanishing as there wasnt any there to vanish... :lol:.... That's great news i'll 'crack on'... Big Grin
P.S also ill change some of those tex's back to non _fields so that i get some random tree's on other parts of the map.Thanks thats put me right on this subject. :lol:


Re: Help with random trees - agracier - 14.09.2010

You can also name any texture that you wish with '...._Fields.tga' and no more trees will spawn on that texture (unless you create a ... .tree.tga file)

Note that you call a texture whatever you like. If you wish to call a desert sand texture, 'desert_sand_fields.tga', even though there is no trace of a cultivated field in the image, it doesn't matter. No trees will spawn on that texture anymore. It's the filename that is instrumental in keeping spawned trees out of the area.


Re: Help with random trees - hijack1968 - 14.09.2010

agracier Wrote:You can also name any texture that you wish with '...._Fields.tga' and no more trees will spawn on that texture (unless you create a ... .tree.tga file).

Thanks AG, yes this is what i had done up untill now not realising that objects would stop them spawning. So my maps were devoid of any random trees except along the river banks and object trees that i had placed elsewhere. now i'm reverting back to the originals to get some trees back... Idea