PDA

View Full Version : missing leaves on tree model yavin/tree06_b


[SASH]Nathan
09-24-2003, 02:01 PM
im trying to use a model from jk2 in jka for a map im working on, in jk2 the model mapobjects/yavin/tree06_b works fine, but not in sp, but thats not the problem, its just that when i use this model in jka ( which appears in the jka assest file ) it wont load the leaves just the stump of the tree, i noticed that the tga files have changed to png files so i replaced the files into my jk2 folder in assests and they still wont work after a compile, any ideas pls? all the other tree models look outta place as its the matrix reloaded map and tree model 06_b is the only one that looks similar to the trees in the movie :) any help will be greatly recevied, nathan :)

( btw all the other tree models seem to work ok in the jka and jk2 )

Lil Killa
09-25-2003, 02:18 AM
It might be because you might be missing the shader files from the models.shader from jk2. I would try looking in there and pulling out the piece of shader you need because the document is a bit long.


EDIT:

pulled out the bit for the "tree06b"


models/map_objects/yavin/tree06b
{
surfaceparm trans
q3map_nolightmap
q3map_onlyvertexlighting
cull disable
{
map models/map_objects/yavin/tree06b
alphaFunc GE128
rgbGen vertex
}
}

[SASH]Nathan
09-25-2003, 02:26 AM
ta austin i will try that tomorrow morning :D fingers crossed :D