PDA

View Full Version : Add skin on the server



7days7
28th February 2015, 15:57
Hello everybody!
I have problem or.. question :P I'm arleady done my new character skin with bones but I don't know how to put it on my local server and change default skin for my model :D

Ni3ls
28th February 2015, 16:52
u need to find the character files. Or just rename them to the existing one. Or setmodel in your gametype script

7days7
28th February 2015, 20:19
I was copied tdm.gsc from iw_07.iwd and put it in (my iwd map) location - maps/mp/gametypes/ with the addition of new lines:
precacheModel("xmodel\nl_morgan"); | in Callback_StartGameType() and
self setmodel("xmodel\nl_morgan"); | in spawnPlayer() Function
But when I was started server - some errors was appeared :

Error during initialization:
bad model name 'xmodel
l_morgan'

In folder like xmodel or xmodelsurfs and xmodelparts model is named nl_morgan so what the heaven?!?!

EDIT!
I was change "\" on "/" and everything is ok right now. Thanks for help :)