Page 1 of 1

Decals under Map Features

Posted: 28 Aug 2012, 09:11
by enetheru
I was wondering if there are any examples of ground decals under features, sort of like a shadow or something?

Re: Decals under Map Featuers

Posted: 28 Aug 2012, 09:20
by enetheru
well not like a shadow cause thats already in the engine, more like defining a texture for the ground so that we can put dirt around trees without having to bake it into the ground texture map. or for geothermal spots and metal spots making them look prettier as a decal only feature. etc etc..

Re: Decals under Map Featuers

Posted: 28 Aug 2012, 09:54
by FLOZi
Decals for features are new to the engine... infact I think they are so new as to not be in 90.0 (not in the changelog!) :P

Re: Decals under Map Featuers

Posted: 28 Aug 2012, 09:58
by knorke
kloot added that:.
https://github.com/spring/spring/commit ... 35e33e5908

but yes, does not seem to work yet in 90.0
I copied this:

Code: Select all

useBuildingGroundDecal =true,
  buildingGroundDecalType = "grounddecal_factory.png",
  buildingGroundDecalSizeX = 5,
  buildingGroundDecalSizeY = 10,
from a unit into a feature and there was no ground decal.
(units can have decals if you didnt know)

Also tried

Code: Select all

useGroundDecal  =true,
  groundDecalTypeName  = "grounddecal_factory.png",
  groundDecalSizeX  = 5,
  groundDecalSizeY  = 10,
but same.

Re: Decals under Map Featuers

Posted: 28 Aug 2012, 15:42
by enetheru
ooh, then it sounds like the next release will make features look even better! :D

Re: Decals under Map Featuers

Posted: 28 Aug 2012, 20:04
by Beherith
Use them sparingly, they are quite expensive (test with BA and lots of buildings, then type /grounddecals 0 or 1)