PDA

View Full Version : Big problem with WinZip


TK-425
01-06-2005, 04:27 PM
I am having trouble with the pk3's. I am looking for this picture "gfx/damage/burnmark4" in a mod pk3 but its not there! Whats going on?

Thrawn42689
01-06-2005, 04:46 PM
Maybe...it's not in the pk3?

What makes you think this is a winzip problem?

TK-425
01-07-2005, 05:50 AM
Because its not visible in WinZip. It has to be there cuz its mentioned in some .efx files and I went through the whole pk3 and its not visible. I know some people (like TK-8252 who made the mod pk3 that I am talking about) like pkunzip, so I was wondering if things show up in pkunzip that dont in WinZip?

KMan
01-07-2005, 09:07 AM
it could be a name to a shader that references different named images as part of the effect.

TK-425
01-08-2005, 04:55 AM
Well, as you can see in the above post it links to a spicific image. So I dont know how what you are suggesting could be posible.

Nokill
01-08-2005, 05:43 AM
its possible its in one of the assets pk3's or its a new one then it has to be in a new pk3 that is not by raven
you will have to look hard :p

razorace
01-08-2005, 07:35 AM
It doesn't appear to be in the Raven pk3s.

Wudan
01-08-2005, 01:28 PM
Originally posted by TK42235
Well, as you can see in the above post it links to a spicific image. So I dont know how what you are suggesting could be posible.

You didn't understand what KMan said to you. Is there a shaders folder in the pk3? Look for a .shader file. Open it in notepad and look for "gfx/damage/burnmark4".

It was a seriously good suggestion that KMan gave you. He's a nice guy :)

TK-425
01-08-2005, 02:28 PM
But why would it link to a spicific picture then? What shader would I look for?

KMan
01-08-2005, 09:02 PM
do a text search in all of the shader files.

Wudan
01-08-2005, 09:38 PM
Originally posted by TK42235
But why would it link to a spicific picture then? What shader would I look for?

In Q3 engine games, shader names and image names can be used completely interchangeably. If a pic and a shader have the same name, it'll use the shader. If there is no pic and something references a pic, it's almost certainly referencing a shader. Does the mod work? Do you get error messages that such and such is referenced but not found? If you don't get messages like that for this image when you use the mod, very very likely (can't be certain, since I don't have your files, lol), it's referencing a shader.

TK-425
01-09-2005, 08:30 AM
No, no error message. I can send the files to you if you have Outcast on your computer cuz thats what I'm working with. Btw how would I do a text serch? Can you reccomend a program?

TK-425
01-24-2005, 04:37 PM
Found the shader. It was marks.shader. But big problem, I add it to the pk3 and get this error message when I shoot a weapon WARNING: RE_AddPolyToScene: NULL poly shader and once it starts saying that it doesnt stop. Also, guess what, the image doesnt appere on the map:dozey:

razorace
01-24-2005, 05:22 PM
It means you have a polygon shader that doesn't actually do anything. You need to change the shader so that it does something.

TK-425
01-25-2005, 03:43 AM
Ummm?

razorace
01-25-2005, 06:31 AM
http://www.qeradiant.com/manual/Q3AShader_Manual/

TK-425
01-25-2005, 01:49 PM
OK. But what do you mean by what you said? Your link doesnt really help me with that, does it?

razorace
01-25-2005, 04:06 PM
A shader is basically a texture with some special effects added on. If you have no effects AND there's no texture, your shader doesn't do anything and you have a problem.

TK-425
01-26-2005, 03:58 AM
Ok, I'm beggining to understand. The texture would be the pictures mentioned. I will post the shader cuz everything looks fine with it.

TK-425
01-26-2005, 03:59 AM
gfx/damage/rivetmark
{
surfaceparm nomarks
surfaceparm trans
polygonOffset
q3map_nolightmap
{
clampmap gfx/damage/rivetmark
blendFunc GL_DST_COLOR GL_SRC_COLOR
}
}

gfx/damage/burnmark4
{
polygonOffset
q3map_nolightmap
{
map gfx/effects/scorch
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
clampmap gfx/effects/embers
blendFunc GL_ONE GL_ONE
glow
rgbGen vertex
}
{
clampmap gfx/effects/embers
blendFunc GL_ONE GL_ONE
glow
detail
rgbGen wave sin 0.5 -0.5 0 0.2
}
}

gfx/damage/burnmark1
{
polygonOffset
q3map_nolightmap
{
map gfx/effects/scorch
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
clampmap gfx/effects/embers
blendFunc GL_ONE GL_ONE
glow
rgbGen vertex
}
{
clampmap gfx/effects/embers
blendFunc GL_ONE GL_ONE
glow
detail
rgbGen wave sin 0.5 -0.5 0 0.2
}
}