View Single Post
Old
  (#4)
Hobbs is Offline
Senior Member
 
Posts: 839
Join Date: Aug 2002
Location: USA
   
Default 10-12-2003, 04:39 AM

are you converting models or making then from scratch??? i'd have to say you were converting them from the pics... and if so, i just told you how to get them to work. you need to make a shader (which i explained how to do above)

here's more of the tik so you can see what im refering to.

TIKI
setup
{
scale 0.52 // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's
path models/weapons/mp44
skelmodel mp44.skd
surface skin1 shader akstock
surface skin2 shader akmetal
surface skin3 shader akbarrel
surface skin4 shader akparts
surface mp44clip shader akclip

}
44clip
surface cock shader mp44
}

$define sounddir sound/weapons

init
{
server
{
classname Weapon
weapontype mg
// name "MP44"
name "StG 44"
rank 420 420

pickupsound mp44_snd_pickup
ammopickupsound mp44_snd_pickup_ammo
noammosound mp44_snd_noammo

// Holstering info
// holstertag "Bip01 Spine2"
// holsteroffset "8.0 -7.75 6.5"
// holsterangles "0 185 -25"
// holsterScale 1.0

and heres part of the shader i did...

akbarrel
{
qer_editorimage textures/milkshape/ak/akbarrel.jpg
cull none
{
map textures/milkshape/ak/akbarrel.jpg
rgbGen lightingSpherical
}
}
akclip
{
qer_editorimage textures/milkshape/ak/akclip.jpg
cull none
{
map textures/milkshape/ak/akclip.jpg
rgbGen lightingSpherical
}
}
akmetal
{
qer_editorimage textures/milkshape/ak/akmetal.jpg
cull none
{
map textures/milkshape/ak/akmetal.jpg
rgbGen lightingSpherical

you see how the bold names in the shader match the names in the beginning of the tik.

If you still dont get it post on our forums and maybe deleto will help you. http://www.mohct.com
  
Reply With Quote