Add Texture

Your forum for all discussions around Modding.
AlpineFarmer
Posts: 4
Joined: Fri May 10, 2024 10:04 pm

Add Texture

Post by AlpineFarmer »

I'm trying to edit the textures, to be able to edit the terrain when I'm playing. I did it with these and they work:

<groundTypeMapping type="plate" title="plate" layer="PLATE" />
<groundTypeMapping type="pathway" title="pathway" layer="PATHWAY" />
<groundTypeMapping type="gravelgrass" title="gravelgrass" layer="GRAVELGRASS" />
<groundTypeMapping type="dirt2" title="dirtdark" layer="DIRT_DARK" />
<groundTypeMapping type="beachSandWet" title="sand" layer="BEACHSANDWET" />
<groundTypeMapping type="riverbank" title="riverBank" layer="RIVERBANK" />

while this string does not work:

<groundTypeMapping type="waterPuddle" title="waterPuddle" layer="WATERPUDDLE" />

I also attach the layer manager:

[img] https://ibb.co/MRqRhww
XPModder
Posts: 76
Joined: Thu Oct 30, 2014 2:45 pm

Re: Add Texture

Post by XPModder »

Are you sure you actually have a layer called "WATERPUDDLE" in your map.i3d?
In the screenshot you attached there are no "waterpuddle" textures at all.
Das Universum ist unvorstellbar groß und wir sind im Vergleich dazu winzig.

Daher kann mir jemand der unter uns Winzlingen Unterschiede in Hautfarbe oder Herkunft sucht, nur Leid tun, weil seine Sichtweise so begrenzt ist!

Fremdenfeindlichkeit ist Menschenfeindlichkeit!
TheSuBBie
Posts: 547
Joined: Wed Jun 10, 2020 11:38 am

Re: Add Texture

Post by TheSuBBie »

Might help if you select the Combined layers tab which is the texture that is selected when painting groundTypeMapping.
If you want a waterPuddle then create a new combined layer using just the waterPuddle texture.
AlpineFarmer
Posts: 4
Joined: Fri May 10, 2024 10:04 pm

Re: Add Texture

Post by AlpineFarmer »

XPModder wrote: Tue May 14, 2024 3:22 pm Are you sure you actually have a layer called "WATERPUDDLE" in your map.i3d?
In the screenshot you attached there are no "waterpuddle" textures at all.
on the open map in GE the puddle works, but in game it doesn't work. Do I have to have 4 puddle decoys (waterPuddle01,02,03,04)?

I'm actually a beginner and I just can't decipher some things. some work, some don't.

Thank You

Image

Image
AlpineFarmer
Posts: 4
Joined: Fri May 10, 2024 10:04 pm

Re: Add Texture

Post by AlpineFarmer »

TheSuBBie wrote: Tue May 14, 2024 3:59 pm Might help if you select the Combined layers tab which is the texture that is selected when painting groundTypeMapping.
If you want a waterPuddle then create a new combined layer using just the waterPuddle texture.
Image

I did it with GroundTypeMapping but the puddle doesn't work, I checked the syntax several times but I can't figure out the error. I just got a book on XML.

Thank you SO much
Post Reply