changing the skin of a MD3


(evillair) #1

I am trying to change the skin of the pak gun.

I have created a new texture and placed it in my folder in models\mapobjects… created a .skin file with the correct names of the objects in the pak gun, added the skin value and path to my .skin file but ingame the old skin is displayed.

I’m doing basicaly the same thing as SD did to change the skin of a cmarker (example) but it’s not working.

Logicaly it ‘should’ work but it doesn’t. Has anyone else managed to do this successfuly?


(chavo_one) #2

I did this for the pak gun I’m using in my map, but I didn’t use .skin files. (Maybe I should have?)

What I did was copy the pak75.md3 and my edited texture into my own directory. Then I loaded the model into npherno, and edited the texture path for all of the model’s objects. Save and use.


(RayBan) #3

BUMP

but not for the reason of bumping old topics… i am trying to use skin files
on a model i made, but its not working. as evillair describes, its the same
issue… i had a look at the cmarker_crates in fueldump, and i have used
the same crates before and i know it works…

basicly, its neutral crates where you add a key/value of skin/theskinfile
and it works in the game, however using the same setup, i cannot skin
my file… any skin file i setup as key/value doesnt get displayed, and the
md3 relies on the mesh objects/“skin” shader baked in the md3.

i even created md3’s that did not have shaders in it, like the crates and it
did not work. or maybe its the way milkshape exports md3’s thats missing
something? anyone have any idea’s or remember some link from long ago
on skin files and md3’s?


(kamikazee) #4

I just spotted this page on Chruker’s excellent W:ET section: W:ET Editing: Bugs & Work-arounds.
It mentions that misc_gamemodels only use the skin key/value when they have a targetname, scriptname or a spawnflag.

Maybe that’s your problem?


(RayBan) #5

thanks kamikazee, seems that works well.

i was hoping that just adding the key/val for skin would work, so i could
use it in ctf entities, but it doesnt work there at all.

thanks again.


(nUllSkillZ) #6

I haven’t read from the beginning.
So not sure what you want to achieve.
May be you could try the remapshader of the mapscripts.


(RayBan) #7

what i was checking that if you were to create a team_CTF_redflag ( or blue )
and add the model key, and also use a skin key. which of course, doesnt
work.

so i tried the misc_gamemodel next to see if my skin was working at all,
only to find out that to use skins you need to add a spawnflag or scriptname…
ect.