Jump to content

Halp! Model issues...


Dusty

Recommended Posts

So I'm working on some models... however the icons don't show up at all, plus other MB2-specific problems (like no textures in the class point menu model viewer, but everything displaying fine ingame?!). I can't figure out what I did wrong looking through the files.

 

The skin files seems to be in order, the model.glm is in there, the icons are named correctly... no error messages in the console in-game... what could be wrong?

Link to comment

Icon files must be 256x256 JPEG files named icon_default, icon_red or icon_blue for team variants. The skin files may also not be matching up with the icon file, for instance, the default model using the default skin should be icon_default.jpeg and model_default.skin.

 

As for the menu selection for character customization I can't remember that stuff off the top of my head, maybe someone else can chime in.

Link to comment

Icon files must be 256x256 JPEG files named icon_default, icon_red or icon_blue for team variants. The skin files may also not be matching up with the icon file, for instance, the default model using the default skin should be icon_default.jpeg and model_default.skin.

 

As for the menu selection for character customization I can't remember that stuff off the top of my head, maybe someone else can chime in.

They don't have to be 256x256, most icons are 128x128, they just have to be to the power of 2. And they don't need to be jpg, but I think that's just most common.

Link to comment

Icons all match their skin files.

 

When I say MB2-specific issues I mean that, the models in the modelviewer are textureless, but this same situation would exist in base JA in the character-customization screen. Also, I notice in some .skin files they refer to their textures as .tga files even when they're .jpg files. I already tried switching the extensions in my .skin files but it didn't seem to make a difference...

Link to comment

Could you upload the pk3 so we could have a look at it, or take a screenshot of the folders' contents. The extenstion only really matters in the .skin file if you have more than one texture with the same name in the same folder btw, most people just keep it as .tga, even tho their textures are jpgs

Link to comment

Could you upload the pk3 so we could have a look at it, or take a screenshot of the folders' contents. The extenstion only really matters in the .skin file if you have more than one texture with the same name in the same folder btw, most people just keep it as .tga, even tho their textures are jpgs

 

Will do if I can't find any shader issues.

 

Does it have a shader? That's probably the issue.

 

This would make the most sense... hmm... the two models are both already in the game files, one is the Reborn Master the other is an MB2 model that I didn't explicitly add, but I re-organized. Perhaps I messed up the paths to some shaders that are necessary. That would explain some parts of the models working and not others...

Link to comment

I believe .skin files point to shaders, rather than images. So just verify that the shaders for those textures are there and pointing to the correct image files.

 

Skin files point to image files (.tga), in every case I've investigated at least. Any of those images could be a shader, but that shouldn't affect whether it shows up in-game.

 

You say they the icons don't show up in-game, but what do you see instead of the icons? Or did you mean that they were missing from the character menu? Could you post your skin file here?

Link to comment

Actually skin files can point to both, an example of this can be seen with the models caps, the skin file on all the base models actually points to a line in a shader file, not a specific shader file itself but a line within one. I'm sure you all have noticed that there is no caps.tga in the stormtrooper folder.

models/players/stormtrooper/caps                //this is what the skin file points to, an image the game makes by layering 2 together
{
	q3map_nolightmap
    {
        map textures/common/caps                //actual image file for the caps
    }
    {
        map textures/common/caps_glow           //actual image file for the caps
        blendFunc GL_ONE GL_ONE
        rgbGen wave noise 1 0.5 0 2
    }
}

Instead of all this guess work why not post either the pk3 or some pictures since I'm certain your problem is super simple.

Boothand and Omicron like this
Link to comment

Actually skin files can point to both, an example of this can be seen with the models caps, the skin file on all the base models actually points to a line in a shader file, not a specific shader file itself but a line within one. I'm sure you all have noticed that there is no caps.tga in the stormtrooper folder.

models/players/stormtrooper/caps                //this is what the skin file points to, an image the game makes by layering 2 together
{
	q3map_nolightmap
    {
        map textures/common/caps                //actual image file for the caps
    }
    {
        map textures/common/caps_glow           //actual image file for the caps
        blendFunc GL_ONE GL_ONE
        rgbGen wave noise 1 0.5 0 2
    }
}

Instead of all this guess work why not post either the pk3 or some pictures since I'm certain your problem is super simple.

This is how I added species support for Scerando's shadowtrooper to save space, as you can select the 7 armour colours, and 7 glows for each, for the head, torso and legs. (49 heads, 49 torsos, 49 legs) and it's less than 13MB in size :D

Link to comment

Skin files point to image files (.tga), in every case I've investigated at least. Any of those images could be a shader, but that shouldn't affect whether it shows up in-game.

 

You say they the icons don't show up in-game, but what do you see instead of the icons? Or did you mean that they were missing from the character menu? Could you post your skin file here?

 

The model can be selected but where the model icon should be on the menu it's just a blank slot missing the image. There's a possibility that the models were code-added incorrectly (talking about MBII here) but the one coder that can verify beyond all reason of a doubt that the models were added correctly is being lazy as ish. Plus the coder that added them doesn't see anything wrong with them code-side.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...