• 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Making your own custom shaders
#1
Don't forget to thank, +rep Nukem for explaining me everything to me multiple timesTongue

[Image: i502791l72.jpg]

1 - Make a one layered image(Use flatten image), save as .tga

[Image: q224692w72.jpg]

2 - Open Asset Manager find material, click it, then make a new entry.

[Image: m349443u72.jpg]

3 - Put your <yourcustomshader>.tga file into <root>/texture_assets/mods.

[Image: v408544r72.jpg]

4 - Choose the settings in the image and click pc convert. Save the .gdt in <root>/texture_assets.

[Image: m14291extra2x72.jpg]

5 - Add material,<yourcustomshader> to the zone source.

[Image: d547696g72.jpg]

[Image: q286057q72.jpg]

6 - Open raw/images and copy <yourcustomshader>.iwi to <root>/mods/mp_<myamazingmod>/images.

[Image: k371598t72.jpg]

7 - Check your <yourcustomshader>.iwi, link fastfile, build IWD and then click build mod.

[Image: w248029v72.jpg]

8 - Add " precacheShader("<yourcustomshader>"); " line to init(); (57th line in the ss)

[Image: l23468extra1d72.jpg]

9 - Here is your custom shader Big Grin
  Reply
#2
I don't see it. nvm now I do.
  Reply
#3
photos are down
  Reply
#4
(07-01-2011, 00:13)jariz Wrote: photos are down

Really? Some other people and I can see them.
  Reply
#5
For me they are down too.
  Reply
#6
Check the photos again. I uploaded them to another site.
  Reply
#7
(07-01-2011, 00:38)Lemon Wrote: Check the photos again. I uploaded them to another site.

Works now.
  Reply
#8
zomg zomg zomg cool, but do I have to use Photoshop? can I use paint.net? I know paint.net failed before mod tools.
Photoshop is shit-long-6-hours-download with their program to download photoshit.
[Image: 1fxsnb.jpg]
  Reply
#9
(07-01-2011, 08:10)4FunPlayin Wrote: zomg zomg zomg cool, but do I have to use Photoshop? can I use paint.net? I know paint.net failed before mod tools.
Photoshop is shit-long-6-hours-download with their program to download photoshit.

You can probably find other programs to make a .tga file. Google jpeg to tga?
  Reply
#10
can i put customshader2 into line 52 insted of rank_prestige14? i mean ( game["icons"] ["axis"] = "customshader2"; ) would that work?
I like turtles
[Image: thumb-275x274-design-609.png]

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Ops 2 Custom background? jotape99 10 11,576 10-29-2013, 07:22
Last Post: xInfinity.
  Making an apocalyptic themed Minecraft map AZUMIKKEL 54 25,730 08-31-2013, 02:54
Last Post: AZUMIKKEL
  Custom xanims DidUknowiPwn 8 6,637 08-28-2013, 08:17
Last Post: RaZ
  Help Make ac130 shoot custom bullets Ra3shed 0 2,547 07-23-2013, 13:02
Last Post: Ra3shed
  [Tutorial] Custom gametype HUD iAegle 17 14,110 07-14-2013, 01:16
Last Post: Nekochan
Video Custom Facepaints? Cuddlyedits 5 4,127 07-01-2013, 14:58
Last Post: iPaddie
  Help dedicated servers and custom dvars mattyman 0 2,331 06-22-2013, 07:33
Last Post: mattyman
  Making a Heli's angles match my angles? akillj 1 2,446 06-16-2013, 15:01
Last Post: Yamato
  Making a harrier crash into the map? akillj 6 4,410 06-09-2013, 05:57
Last Post: akillj
Brick Lesson 3: Making game in C++ Nekochan 2 3,261 06-03-2013, 15:25
Last Post: Nekochan

Forum Jump:


Users browsing this thread: 1 Guest(s)