Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   HELP my helmet (alliedassault.us/showthread.php?t=18570)

02-03-2003 06:11 PM

HELP my helmet
 
ok i need so inside of helmet is not transparent

heres shader

[code:bdadd]long1_coat
{
qer_editorimage textures/models/human/long1_coat.tga
{
map textures/models/human/long1_coat.tga
rgbGen lightingSpherical
}
}
long1_coat_c
{
qer_editorimage textures/models/human/long1_coat_c.tga
cull none
{
map textures/models/human/long1_coat_c.tga
rgbGen lightingSpherical
}
}

long1_pants
{
qer_editorimage textures/models/human/long1_pants.tga
{
map textures/models/human/long1_pants.tga
rgbGen lightingSpherical
}
}

long1_helmet
{
qer_editorimage textures/models/human/long1_helmet.tga

{
map textures/models/human/long1_helmet.tga
rgbGen lightingSpherical
}
}

long1_gloves
{
qer_editorimage textures/models/human/long1_gloves.tga

{
map textures/models/human/long1_gloves.tga
rgbGen lightingSpherical
}
}

long1_face
{
qer_editorimage textures/models/human/long1_face.tga

{
map textures/models/human/long1_face.tga
rgbGen lightingSpherical
}
}

long1_gear
{
qer_editorimage textures/models/human/long1_gear.tga

{
map textures/models/human/long1_gear.tga
rgbGen lightingSpherical
}
}[/code:bdadd]

and the TIK

[code:bdadd]TIKI
setup
{
path models/human/german_panzer_tankcommander // Set path to set skelmodel from
skelmodel panzer_tankcommander.skd // Set body model

surface coat1 shader long1_coat
surface pants shader long1_pants
surface coat2 shader long1_coat_c


path models/human/heads // Set new path for head model
skelmodel head7.skd // Set head model
surface head shader long1_face

path models/human/hands
skelmodel hand.skd
surface hand shader long1_gloves

path models/equipment/USGear/airborne
skelmodel airborne_gear.skd
surface gear shader long1_gear

path models/equipment/USGear/helmets
skelmodel us_helmet.skd
surface us_helmet shader long1_helmet


}


//
// define what folder to get specific sound from for the player model
//
$define pulloutdir sound/weapons/pullout


init
{
client
{
// Cache sounds here
}
server
{
voicetype army // set the voicetype to use for multiplayer instant messaging
}
}


//
// include the base player model definition
//
$include models/player/base/include.txt

// need to indicate the end of the tiki file because we have a tiki command at the end
//end
[/code:bdadd]

thanks need help fast

Sgt KIA 02-03-2003 06:24 PM

Re: HELP my helmet
 
Quote:

Originally Posted by newt
ok i need so inside of helmet is not transparent

heres shader
..........

long1_helmet
{
qer_editorimage textures/models/human/long1_helmet.tga

{
map textures/models/human/long1_helmet.tga
rgbGen lightingSpherical
}
}
............

Since you are using us_helmets.skd in the game there is no inside model for it.

The transparency is set off once you add this line:
long1_helmet
{
qer_editorimage textures/models/human/long1_helmet.tga
cull none
{
map textures/models/human/long1_helmet.tga
rgbGen lightingSpherical
}
}
----

Pls remember, that when you are using a skin of your own for helmet the same skin appers inside too. Thats one of the bad things of us_helmets model. (you cant assign 2 .tgas for us_helmets but for german ones you can). But that problem is solved soon. wink:


All times are GMT -6. The time now is 08:23 PM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.