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

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Ganemi
Posts: 564
Joined: Thu Apr 21, 2005 12:57 pm

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

Post 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? : ]
Kat
Posts: 952
Joined: Tue Nov 14, 2000 8:00 am

Post 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
[url=https://www.katsbits.com/tutorials#q3w]Tutorials, tools and resources[/url]
Ganemi
Posts: 564
Joined: Thu Apr 21, 2005 12:57 pm

Post by Ganemi »

Agh. You mean the line that says models\weapons2\rocketl\rlcover.tga?

I removed the TGA in that, but nothing changed. : [
Kat
Posts: 952
Joined: Tue Nov 14, 2000 8:00 am

Post 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.
[url=https://www.katsbits.com/tutorials#q3w]Tutorials, tools and resources[/url]
Ganemi
Posts: 564
Joined: Thu Apr 21, 2005 12:57 pm

Post by Ganemi »

Nooooooo. : [ Agh. The skin works really well, but it's just the damn shaders I can't figure out. Bah!! : [
Kat
Posts: 952
Joined: Tue Nov 14, 2000 8:00 am

Post 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!
[url=https://www.katsbits.com/tutorials#q3w]Tutorials, tools and resources[/url]
Ganemi
Posts: 564
Joined: Thu Apr 21, 2005 12:57 pm

Post by Ganemi »

Hm. Why didn't I do that before? I'll try it! ^_^
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

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

Post 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.
Ganemi
Posts: 564
Joined: Thu Apr 21, 2005 12:57 pm

Post 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. : [
Ganemi
Posts: 564
Joined: Thu Apr 21, 2005 12:57 pm

Post 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? : [
Post Reply