Game Development Community

Projecting Textures on the Terrian

by Bobby Leighton · in Torque Game Engine · 02/26/2006 (1:11 pm) · 2 replies

Ok so i have been trying to figure out how to get the decal projector to use custom texture file or signs where i need then...i was reading another post on this but could find no other reference to it?? copuld someone please help i would appreciate it...TY Robert Leighton@Imagn' Games and Media

#1
02/26/2006 (1:22 pm)
If your refering to the one in the TLK, you just need to make a new Datablock (look at GlowDecal projector in SgExampiles.cs), swap out the texture and point it at your shape , but i do think it only works on terrains and DIF's.

datablock DecalData(GlowDecal)
{
   sizeX       = 5;
   sizeY       = 5;
   textureName = "starter.fps/data/Particles/Shadow";
   SelfIlluminated = true;
   LifeSpan = 1000000000;
};
#2
02/27/2006 (8:52 pm)
Thanx Ihave been trying to use this to help make some painted roadway and or paths...i found the place in this script your talking about i will give it a try...i pretty shure this is what i was looking for thank you!!