Page 1 of 1

Milkshape + .qc + .md3 + shaders = anal pain.

Posted: Mon Sep 25, 2006 4:22 am
by Ganemi
http://www.quake3world.com/ubb/Forum6/HTML/027926.html
Ember wrote:The problem is the next : I make a weapon model and i load a texture, and generate gc file and export Q3 md3 file.
When i load the model in Q3, didn't use the texture.
The gc file wrote this : ...models/player/model/skin.tga
I trying make a .shader file from .gc file and modify the path but didn't work.
I've got the same problem as that guy did. I made a new rocket launcher model that I think is pretty sweet. The texture works almost perfectly fine, but I can't get the shaders to work for some reason. I've made shaders for all my other weapons, but this just won't work. I spent almost...7 hours trying to get it to work...Surprisingly, I'm not aggrivated at all, but that's not important.

Image
Image
Image

What the hell is going on?


OH! Question number 2. Is it possible to get an animation to work on my rocket launcher, like...whenver I shoot a rocket? : ]

Posted: Mon Sep 25, 2006 4:35 am
by Kat
No ".tga" in the file path iirc for MS .qc files, you're referencing the shader 'header' not the texture of the (same) name

Posted: Mon Sep 25, 2006 5:01 am
by Ganemi
Agh. You mean the line that says models\weapons2\rocketl\rlcover.tga?

I removed the TGA in that, but nothing changed. : [

Posted: Mon Sep 25, 2006 5:56 am
by Kat
Isn't "$mesh...." Supposed to be the 'path' and 'name' of the model? (without the .md3 extension?).

TBH, It's been a long time since I looked at MS and made an MD3 with it so I can't remember exactly what you need to do I'm afraid.

Posted: Mon Sep 25, 2006 6:12 am
by Ganemi
Nooooooo. : [ Agh. The skin works really well, but it's just the damn shaders I can't figure out. Bah!! : [

Posted: Mon Sep 25, 2006 6:32 am
by Kat
Ok ok.. keep your shirt on!!

Just write a basic shader that refs a single stage/image to test to make sure you've got that right, if that works then your more complex shader is fubared, nuff said!

Posted: Mon Sep 25, 2006 6:33 am
by Ganemi
Hm. Why didn't I do that before? I'll try it! ^_^

Re: Milkshape + .qc + .md3 + shaders = anal pain.

Posted: Mon Sep 25, 2006 11:07 am
by ^misantropia^
Ganemi wrote:Is it possible to get an animation to work on my rocket launcher, like...whenver I shoot a rocket? : ]
Alas, not in VQ3.

EDIT: that is, you can do some nice tricks in rocketl_flash.md3 but if you're thinking of Q4 style animations, no, that won't work.

Posted: Mon Sep 25, 2006 9:29 pm
by Ganemi
Image
Everything is placed properly, but...

Image
I don't freaking know. It works in my shader editor, but not in Q3. That's never happened before. : [

Posted: Mon Sep 25, 2006 10:07 pm
by Ganemi
Could it be that I have to place information within the qc file that tells the md3 to look for a shader? And if so how do I do that? : [