Undressed skin


(jaybird) #1

I had a unique idea presented to me a while back and I’ve finally gotten around to it. The end result is that a live player is using the undressed skin (the one that a player has when their uniform has been stolen). Forcing that skin is not hard, but I did run into a small problem: with that skin in effect no weapon models are rendered with the player (looking at the player in 3rd person, not first person). I tried adding the weapon accessories through code in cg_character.c, but all I got was errors. If I don’t set the player to use the undressed model but just the skin, the weapon will show up, but the skin doesn’t look too good on a model designed to have pants on ;] This leads me to believe it might be something missing with the model.

I know zilch about animations and such, so I was wondering if anyone had an idea how to get the weapon models to show up with that skin/model. I’m not using a skin pack, just the stuff in pak0.


(ikanatto) #2

I looked into naked.mdm( in /models/players/tempearate/common/ ) and found it has only tag_head. That’s why you can not attach any weapons to that model, I believe.


(jaybird) #3

Are those tags something that can be added into that mesh file?


(Jaquboss) #4

hmm not sure but maybe doable by ikonattos tool, look into MDS->MDM tuto to find about replacing with orig tags…


(IneQuation) #5

I think he’s trying to do it without messing around with the models, just by pure code.


(jaybird) #6

Well, code would be nice, but I have no objections to including modified .mdm’s at all. I just have no clue how to do it, I just code :X

I’ll look at ikonattos’ tool, perhaps that can get it done. Jaqu - you got any advice on how to do this?


(jaybird) #7

Nice - that little app did exactly what I needed it to do.