Tremulous Forum
Media => Mapping Center => Topic started by: NeZetiC on January 26, 2007, 01:07:36 pm
-
Hello,
I need some help with shaders & md3.
I would like to use q3map_surfaceModel shader, but all my tries are failures and I can't find any working example.
Moreover, I'm able to create map with md3 from data-1.1.0.pk3 (ex: models/mapobjects/plant_life/grass.md3), but I can't include my own md3 (from my map pk3).
-
for your md3's they have to be in
yourmapname(or whatever).pk3/models/mapobjects/
then you put your models here should work
each model needs its own file
ex. multiplant/bannanaleaf.tga, palmfrond.tga, multiplant_p2.md3
so the whole string is:
yourmapname.pk3/models/mapobjects/modelname/model.md3, texture1.tga, texture2.tga, etc...
for as many textures required
pk3 needs to be in tremulous/base/
hope this helps 8)
-
Ok, thx for your answer ars, I found my problem. On my system, q3map2 search a path called $HOME/.q3a/base but I've got only $HOME/.trem. So one symbolic link later, I can include my one models...
But q3map_surfaceModel shader dont work... (not surprising, I think it's a bit tricky to use).
-
the shader file would have to be in a pk3 in tremulous/base
ex mapname.pk3/scripts/shadername.shader
textures used in shader go in:
ex. mapname.pk3/textures/mapname/
so I would think the q3map_surfaceMadel shader would go there or it might not :-? but I would try it.
If this doesn't work it might go in the same spot as the md3 and the tga's
-
Ok, I finaly found my mistake... I forgot to add my shader file to shaderlist.txt, ans so q3map2 didn't see it during compilation :roll:
I'm a damn noob :wink:
-
Yes you are ;)