Tremulous Forum
Media => Modeling Center => Topic started by: LowHP on November 19, 2009, 04:02:48 am
-
Alright. So. I'm trying to replace the rifle with an m16, for a mod I'm helping with. However, it isn't going too smoothly. I got it ingame no problems, but it's untextured. =/
http://img695.imageshack.us/img695/2927/38091327.jpg
In 3ds max (6) I'm just applying the map (and that works fine), and then just exporting it as a .md3, but ingame it's untextured? Also, when I import the .md3 back into max, it's untextured. |: The console shows no errors, and I'm really lost for ideas at the moment. Can anyone help?
edit: ah fuck, sorry, didn't see the child board. Could a mod please move this?
-
.md3 files do not contain any textures, they contain only the texture names. So you have to copy the texture(s) into the game manually.
-
How do you mean? As in, I need to have the textures in the weapons/rifle folder in the .pk3? I already do, if that was indeed what you meant to say.
-
somehow your material paths are borked... I know how to get textures to work in blender and gmax, not sure about 3dsmax though
-
Ah right, thanks for that. I'll try with Gmax, see if that helps. :)
Edit: Airight, that worked; sort of. They're textured ingame, but I have a very odd issue. The weapon is invisible, but it flashes visible (textured visible) at random times. I took a screenie but it probably isn't much help considering the nature of the error.
http://img684.imageshack.us/img684/4668/hmmj.jpg
At first I thought it had something to do with the rifle_hand.md3 file, but opening it I only found a tag_weapon, and so dismissed that idea. Does anyone have any clue at all what's up with it?
-
any chance you could host the md3 somewhere so I could take a look at it?
-
I bet the model is missing a bounding box (not the usual bbox) and is only visible when origin is on screen. Try /cg_gunX 20 in devmap (places the gun forwards from its usual place, so origin is probably on screen the whole time).
-
not bad...i like the shape
-
any chance you could host the md3 somewhere so I could take a look at it?
http://www.filefront.com/14969891/rifle.md3 :)
I bet the model is missing a bounding box (not the usual bbox) and is only visible when origin is on screen. Try /cg_gunX 20 in devmap (places the gun forwards from its usual place, so origin is probably on screen the whole time).
Yerp, I tried that and it isn't disappearing anymore, but I obviously can't play like that. :P So what's the problem? A missing bounding box? I...have no idea what that means. >.< Sorry for being such a pain guys, your help is much appreciated.
-
Sorry for the double post but I can't edit.
Are you sure it would have to do with the bounding boxes? I don't know much about all this but it was showing up perfectly when it was untextured, so...
Thanks guys. :)
-
I took a look at the md3 model.
My first thought was that maybe you had duplicated faces leading to some kind of z-fighting (http://en.wikipedia.org/wiki/Z-fighting) effect, but that doesn't seem to be the case. I tried using W - 6 (remove duplicated), but there were no duplicated verts to remove. I grabbed random verts and dragged them around in case there were faces close enough to cause z-fighting without actually having duplicated vertices, but every time I moved a vertex there was nothing being left behind, so it's not z-fighting.
The fact that it shows up in the correct place when it's visible implies there is nothing wrong with the model's origin point, but I imported the tremulous blaster for comparison anyway. They had the same model origin and lined up pretty well location wise, so there's no problem there.
I'm really not sure what your problem is, but I can't see anything wrong with your model.
-
Sorry for the double post but I can't edit.
Are you sure it would have to do with the bounding boxes? I don't know much about all this but it was showing up perfectly when it was untextured, so...
Thanks guys. :)
The button is confusingly labeled "Modify".
-
Sorry for the double post but I can't edit.
Are you sure it would have to do with the bounding boxes? I don't know much about all this but it was showing up perfectly when it was untextured, so...
Thanks guys. :)
The button is confusingly labeled "Modify".
Unfortunately you didn't find the Post Reply button quite so hard to find. :)
m4gnificent_b4st4rd, thanks. I'll probably just add cg_gunx 5 to the autogen, if that's possible, 'cause it looks about right that way and it doesn't disappear at all. Thanks guys. :)
-
This is a bit of a necro post, but it's relevant. I was having a little fun with the las gun model and I ended up with a weapon that looked very similar to an XM8. I'm having problems with the texture though. It shows up when I look at it in the modeling program I'm using, but not when I test it in the game.
http://tremulous.net/forum/index.php?topic=12929.0 (http://tremulous.net/forum/index.php?topic=12929.0)
This is a topic I made about it. I'm going to scrap my attempt with the massdriver. It's not good and has a habit of glitching itself. Any help at all would be great.