Hello,
I have built a custom model with custom textures.In Moh radiant it appears fine , textured, but when i test ingame the model looks untextured(with this black and white missing texture), i checked many times my shader , and everything is okay inside....Otherwise, the textures would not appear in radiant.
Someone can help me? Maybe i am doing something wrong.....
Thanks
Model texture Problem In game
Moderator: Moderators
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
Model texture Problem In game
Deadly and slient.
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
The tiki
The shader
And the texture is in a folder textures/Bond_Stargate
Code: Select all
TIKI
setup
{
scale 1.000000 // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's
path models/Bond_stargate
skelmodel Bond_stargate.skd
surface outer shader Bond_Stargate_outer
}
init
{
server
{
classname anim
}
}
animations
{
idle Bond_Stargate.skc
Bond_Stargate Bond_Stargate.skc
{
}
Bond_Stargate_Dial Bond_Stargate_Dial.skc
{
client
{
}
}
}
Code: Select all
Bond_Stargate_outer
{
qer_editorimage textures/Bond_Stargate/Stargate.jpg
cull none
{
map qer_editorimage textures/Bond_Stargate/Stargate.jpg
rgbGen lightingSpherical
}
}
Deadly and slient.
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
Pah....nothing to do i tried to change jpg to tga in the shader and it did not work.Then i converted my Jpg to tga , same nothing .
I tried also to change the Rgben in my shader to global , identity , and without rgben , cull none and without cull at all.......and nothing worked!!!!It drives me totaly nuts, When i export the model into skb the textures appears correctly in game though! But i need it into Skd to use an Skc animation.
Thanks for the help
I tried also to change the Rgben in my shader to global , identity , and without rgben , cull none and without cull at all.......and nothing worked!!!!It drives me totaly nuts, When i export the model into skb the textures appears correctly in game though! But i need it into Skd to use an Skc animation.
Thanks for the help
Deadly and slient.
qer_editorimage is just that , the image you see in the editor which can be different from the image shown in the game . Your shader has no ingame image set . Just put map textures/Bond_Stargate/Stargate.tga take out the qer_editorimage part leave the first one but take out the second one like this
Code: Select all
Bond_Stargate_outer
{
qer_editorimage textures/Bond_Stargate/Stargate.jpg
cull none
{
map textures/Bond_Stargate/Stargate.jpg
rgbGen lightingSpherical
}
}-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm

