News: 1up Discord VOIP
Invite Code: https://discord.gg/VPv9JhP

Author Topic: Custom Shaders  (Read 667 times)

0 Members and 1 Guest are viewing this topic.

Offline Flame[1up]

  • *[1up] App Staff
  • [1up] Global Mod
  • [1up] Decision Panel
  • [1up] Dev Team
  • [1up] UrT Admin
  • Posts: 2,170
  • Karma: 66
  • Life is that one thing that will never make sense.
  • Since: 19/03/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Custom Shaders
« 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
   }
}


Offline sw00n

  • *Friend of 1up
  • Posts: 327
  • Karma: 41
  • Even a broken watch is right twice a day.
  • Since: 01/05/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Custom Shaders
« Reply #1 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
}
}
« Last Edit: May 03, 2010, 09:15:47 PM by sw00n »

Offline Flame[1up]

  • *[1up] App Staff
  • [1up] Global Mod
  • [1up] Decision Panel
  • [1up] Dev Team
  • [1up] UrT Admin
  • Posts: 2,170
  • Karma: 66
  • Life is that one thing that will never make sense.
  • Since: 19/03/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Custom Shaders
« Reply #2 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

Offline Flame[1up]

  • *[1up] App Staff
  • [1up] Global Mod
  • [1up] Decision Panel
  • [1up] Dev Team
  • [1up] UrT Admin
  • Posts: 2,170
  • Karma: 66
  • Life is that one thing that will never make sense.
  • Since: 19/03/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Custom Shaders
« Reply #3 on: May 03, 2010, 09:35:52 PM »
oh just saw message in shout box ok

Offline sw00n

  • *Friend of 1up
  • Posts: 327
  • Karma: 41
  • Even a broken watch is right twice a day.
  • Since: 01/05/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Custom Shaders
« Reply #4 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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Offline Flame[1up]

  • *[1up] App Staff
  • [1up] Global Mod
  • [1up] Decision Panel
  • [1up] Dev Team
  • [1up] UrT Admin
  • Posts: 2,170
  • Karma: 66
  • Life is that one thing that will never make sense.
  • Since: 19/03/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Custom Shaders
« Reply #5 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)