Thread: My first skin
View Single Post
Old
  (#7)
philadelphia killing mach is Offline
Senior Member
 
Posts: 1,366
Join Date: May 2004
Location: I hate HippiesLand
   
Default 03-21-2005, 01:05 PM

create (copy and paste) these files in notepad:

[quote:68516]TIKI
setup
{
path models/human/German_worker
skelmodel german_worker.skd

surface hand shader handsnew
surface shirt shader worker_shirtreplace this with your file name (shirt/torso)
surface pants shader worker_pantsreplace this with your file name (pants/legs)

path models/human/heads // Set new path for head model
skelmodel head6.skd // Set head model
surface head shader bensonazireplace this with your file name (head)

// path models/human/hands
// skelmodel hand.skd
// surface hand shader handsnew replace this with your file name (hands viewed on model/skin)
}


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


init
{
client
{
// Cache sounds here
}
server
{
voicetype axis4 // 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

[/quote:68516]

save as allied_"MYSKINNAME.tik"

[quote:68516]TIKI
setup
{
path models/player/US_Army // Set path to set skelmodel from
skelmodel USarmyplyr.skd // Set base model



surface viewsleeves shader viewsleeves_wermachtreplace this with your file name (arm/hand as viewed by player in game)

// right hand
surface triggerhand shader handview replace this with your file name (optional: hand as viewed by player in game)

// different left hands
surface lefthand shader handview replace this with your file name (optional: hand as viewed by player in game)
surface garandhand shader handview replace this with your file name (optional: hand as viewed by player in game)
}


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


init
{
client
{
// Cache sounds here
}
}


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

// need to indicate the end of the tiki file because we have a tiki command at the end
//end

[/quote:68516]

save as allied_"MYSKINNAME_fps.tik"

[quote:68516]YOURSKINNAME_shirt
{
qer_editorimage textures/YOURSKINNAME_shirt.tga
{
map textures/YOURSKINNAME_shirt.tga
rgbGen lightingSpherical
}
}
YOURSKINNAME_pants
{
qer_editorimage textures/YOURSKINNAME_pants.tga
{
map textures/YOURSKINNAME_pants.tga
rgbGen lightingSpherical
}
}
YOURSKINNAME_viewsleeves
{
qer_editorimage textures/YOURSKINNAME_viewsleeves.tga
cull none
{
map textures/YOURSKINNAME_viewsleeves.tga
rgbGen lightingSpherical
}
}
YOURSKINNAME_face
{
qer_editorimage textures/YOURSKINNAME_face.tga
cull none
{
map textures/YOURSKINNAME_face.tga
rgbGen lightingSpherical
}
}[/quote:68516]

save as "YOUSKINNAME.shader"


open pakscape. create the following directories:

models
scripts
textures

in models create another folder named player. put both .tik files in there (including ''YOURSKINNAME_fps.tik")

in scripts put ''YOURSKINNAME.shader"

in textures put all your .tga graphic files.

save as zzzzzYOURSKINNAME.pk3 (change file type in pulldown menu)

place in mohaa/main.

if you want skin to be axis; change first .tik file to read "axis_YOURSKINNAME.tik"

this is a very basic skin set up. you'll learn to add more as needed. files used are from german_worker: german_worker.tik, german_worker_fps.tik (pak0.pk3/models/player); german_worker.shader (pak0.pk3/scripts)

if anyone sees any mistakes in the above, post'em before he gets pissed.
  
Reply With Quote