the buildthe test dataI'd also like to petition someone to make some good new decal art, everything currently is ripped out of Red Faction and I'd rather get new art if posable. and the glow/burn maps I made or the resuult of five minutes (for all of them total) of tooling around with some color/contrast/brightness controles, so, there realy ugly, let this serve as motivation to you out there makeing new content.
I've added two new features to the damage decals, first glow mapping, decals are lit now, so this will actualy do something, it doesn't suport animation, though I could probly enable it, but all decals would be useing the same frame at the same time (on a single ship at least). also I implemented a animated effect (doesn't use animated textures though) calling it a burn map, it's like another glow map that fades out over the course of however long you want (if you don't specify a time in the tables it defalts to 1 second).
as a result the decal table entry has been altered slightly
(
optional)
$decal:
+texture:
[COLOR=skyblue]+backface texture:[/COLOR]
+radius:
[COLOR=skyblue]+burn time:[/COLOR]
in this build 'burn time' is actualy 'glow time' I just realised it, but that's irrelevent, it'll be 'burn time' in every other build from now on. it's in milliseconds
oh, and I nearly forgot to mention, becase decals are organised by texture, any given texture must use the same glow map/ burn mapp across all weapons, as a result you only specify the base texture in the tables, it'll look for texturename'-glow' and texturename'-burn' based on that.