1up Clan Forums

Gaming => Map & Model Tutorials => Urban Terror => Map Making => Topic started by: Flame[1up] on May 03, 2010, 08:46:39 PM

Title: Custom Shaders
Post by: Flame[1up] on May 03, 2010, 08:46:39 PM
I am tryin to make a custom shader here but it is not workin it is a .tga it evens shows the white box around it on GTK i have added it to my shaderlist yet it is still not workin i may of done format wrong look at it plz


textures/customtextures/Dragon_Tail.jpg
{
   surfaceparm nodamage
   surfaceparm slick
   {
      map textures/customtextures/dragon_tail.tga
   }
}

Title: Re: Custom Shaders
Post by: sw00n on May 03, 2010, 09:04:35 PM
not sure if this is right but try this ok?     ;) dont worry about the .tga just leave as is..it will search for the .jpg on its own :p   SAVE THIS SCRIPT AS   (dragon)----without the brackets of course then add the name dragon to bottom of your shaderlist.txt.... then use dragon_tail2 to texture what you want.... dont get mad if this doesnt work, but it should  :-\  lol xD :o and it might say shader image missing....dont worry about that if that show than it means it was done right
================================================================================

textures/customtextures/dragon_tail2
{
surfaceparm nodamage
surfaceparm slick
qer_editorimage textures/custom_textures/Dragon_Tail.tga
{
map textures/customtextures/Dragon_Tail.tga
}
{
map $lightmap
blendfunc filter
}
}
Title: Re: Custom Shaders
Post by: Flame[1up] on May 03, 2010, 09:35:10 PM
erll i am getting a shader image not found texture not my other texture its drivin me nutz
Title: Re: Custom Shaders
Post by: Flame[1up] on May 03, 2010, 09:35:52 PM
oh just saw message in shout box ok
Title: Re: Custom Shaders
Post by: sw00n on May 03, 2010, 09:41:50 PM
.......... IF YOU ARE GETTING A RED SHADER IMAGE NOT FOUND IN RADIANT THEN ITS RIGHT!!!!!!!!!!! IN GAME IT WILL SHOW UP FINE =]!!!!!!!!!!!!!!!!!!!!!!!!!!!! JUST SAVE AND COMPILE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Title: Re: Custom Shaders
Post by: Flame[1up] on May 03, 2010, 09:54:28 PM
I did and it worked but when i hit bottom of tail it bounced ya oh well thats kinda kool (note when being bounce you will prob die)