I think it might be an issue with the call in the
*.weapon file. I’d love to know the proper way to call mesh-based weapons in these files, since I’ve never done that before. In the
*.vehicle file you have to use a
completely different code structure to tell the game what mesh and what texture to use. In the
*.weapon file you simply call for the
voxel model with this piece of code:
Code:
<model filename=”name.xml” />
I guess this doesn’t cut it though, since the textures aren’t loaded if I just replace the
“name.xml” with
“name.mesh”. Either it is like
xr79 said and the
*.mesh and
*.material need to be fused into one somehow, or the
call in the
*.weapon file needs to be different to
call the files
the right way. I personally think it’s the later, but I’m not completely sure, since I’ve never tried this. Also, calling the a
*.material file with the piece of code above will crash the game.
Problem is, I could try something like you see in the
*.vehicle file here:
Code:
<visual class="name" mesh_filename="name.mesh" texture_filename="name.png" />
But I don't know what
class to use or if there even is a class to call to begin with. If I'm using a
wrong class, I surely just
crash the game with that. So either I need to now the
right class to call,
define a
new class somewhere, or the call for mesh and textures has to look completely different.
Any insight?