Page 1 of 1

TerrainDetailHeight --> Stone Channel???

Posted: Fri Feb 16, 2024 5:35 pm
by ShabaFS
Good afternoon. I'm trying, with the Giants Editor tool "TerrainDetailHeight", to paint Stones, but I can't know which channel exactly is yours, no matter how many combinations I try, I never get stones. Could someone tell me which channel combination is correct? Thank you

Re: TerrainDetailHeight --> Stone Channel???

Posted: Sun Feb 18, 2024 2:29 pm
by LS-Lara
What exactly are you trying to do and for which purpose ?
Stones have their own foliage layer with 4 levels.

Re: TerrainDetailHeight --> Stone Channel???

Posted: Sun Feb 18, 2024 4:17 pm
by TheSuBBie
He is trying to add a fill type heap of stones to a map using the Foliage Layer Painting Panel in GE set to terrainDetailHeight a completely different stone set up to the Foliage Layer stones.
The heap is created using the Foliage Channels
0-7 are for the fill type
8-11 are for the height
The channels 0-7 are supposed to refer to the filltypes position in the maps, maps_densityHeightTypes.xml

Re: TerrainDetailHeight --> Stone Channel???

Posted: Sun Feb 18, 2024 6:18 pm
by LS-Lara
OK - I see. But on an unaltered basemap there should be 6 channels (0 - 5) for fillType and also 6 channels (6 - 11) for height. With an unaltered maps_densityHeightTypes.xml, stone should be set with bits 0 to 4 = 1 and bit 5 = 0.

For some reason, I see wheat texture only when working in GE (for whatever fillType), but ingame it will turn into the right one.

Re: TerrainDetailHeight --> Stone Channel???

Posted: Sun Feb 18, 2024 6:59 pm
by TheSuBBie
The wheat texture is always there regardless of any settings and as you say the correct texture will appear in game.
However the maps_densityMapHeightTypes.xml in the game data/maps/folder does not take into account the new fill types added with the DLC
so there is some confusion on the position of some of the new fill types (which are supposed to correspond with the Foliage Channel bits) in the dlc version of the maps_densityMapHeightTypes.xml

Re: TerrainDetailHeight --> Stone Channel???

Posted: Tue Feb 20, 2024 12:30 pm
by TheSuBBie
Further to this would anyone have the correct values for the foliage channels when using the terranDetailHeight.
As I seem to be having problems with the values corresponding to the position of the fill type in the maps_densityMapHeightTypes.xml