Jump to content

Home

Q3 Arena shaders: Work in JA?


Druid Bremen

Recommended Posts

Nevermind, just tell me all the differences between JA shader code and Q3 shader code, so I can replace the parts of the code, to the best of your knowledge.

 

Edit: I revised my decision, here's the code:

 

models/mapobjects/flame/flame

{

surfaceparm alphashadow

cull disable

{

animmap 15 models/mapobjects/flame/flame.jpg models/mapobjects/flame/flame01.jpg models/mapobjects/flame/flame02.jpg models/mapobjects/flame/flame03.jpg models/mapobjects/flame/flame04.jpg models/mapobjects/flame/flame05.jpg

blendfunc add

rgbGen identity

}

}

 

models/mapobjects/flame/lord

{

{

map models/mapobjects/flame/flame.jpg

tcMod scroll 1 1

rgbGen identity

}

{

map models/mapobjects/flame/lord.tga

blendfunc blend

rgbgen vertex

}

}

 

 

But I still would like you to give me the differences between JA shader code and Q3 shader code.

Link to comment
Share on other sites

Omg I forgot about that lol! I'll try that and see. Thanks.

 

Edit: Didn't work.

 

Fine... I'll give you what's in the models/mapmodels/flame directory, before I converted to .png.

fire.jpg

flame01.jpg

flame02.jpg

flame03.jpg

flame04.jpg

flame05.jpg

flame.jpg

flame.MD3

lord2.tga

lord.tga -------------I converted these 2.

 

Also, am I supposed to change the cull disabled to cull twosided?

Link to comment
Share on other sites

All Q3 shaders work in JA as long as the corect files are included with the shader...

 

I think I know wha is wrong with the shader..

 

1. As far as I know your not supposed to have the .jpg extension anywhere in a shader file.

 

2. This chunk of data looked screwy just at a glance:

 

{

animmap 15 models/mapobjects/flame/flame.jpg models/mapobjects/flame/flame01.jpg models/mapobjects/flame/flame02.jpg models/mapobjects/flame/flame03.jpg models/mapobjects/flame/flame04.jpg models/mapobjects/flame/flame05.jpg

blendfunc add

rgbGen identity

}

 

Try either getting rid of the .jpg extension or make it .tga (yes I know the files are .jpg's but that's just how a shader works.) Also that "chunk" of stuff just blobed together like that looks wrong but as I don't know completely what this shader does I can't realy say much more..

 

 

Again get rid of those .jpg file extensions in some way, shape, or form as they have "something" to do with your shader not working. (Check the original shader, if there was one, to see what extension were used in it.)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...