Ulysses

General => Off-Topic => Topic started by: Avien on May 07, 2007, 01:31:57 PM

Title: How to do custom player models/skins
Post by: Avien on May 07, 2007, 01:31:57 PM
I read in your donations post about having custom models pushed to players so they can see it.  I have recently found a skin that i would like to use for admin's only, but it replaced the combine elite model.  This is an area i do not have much knowledge in, and i was wondering if you could enlighten me on how to restrict access to that model, and how to make people download the changed model.

Thanks for your help.
Title: Re: How to do custom player models/skins
Post by: Golden-Death on May 14, 2007, 07:24:48 PM
If you want, upload the file and I'll hex it for you.

(Make it a separate model, instead of replacing the combine).
As for the other parts, you'll have to see if some one else can help.
Title: Re: How to do custom player models/skins
Post by: Avien on May 15, 2007, 01:18:22 PM
Well i downloaded the skin from garrysmod.org.  It comes with files and replaces the elite model, but i wanted a way to restrict this model to admin's only, this can be done through UTeam, but my other concern is how to force people to download this model.  I havent looked into the new ULX force command though.
Title: Re: How to do custom player models/skins
Post by: Golden-Death on May 15, 2007, 01:43:53 PM
The way I would go about it is:

Title: Re: How to do custom player models/skins
Post by: Avien on May 15, 2007, 02:08:35 PM
Here is the model i am trying to use.

http://www.garrysmod.org/downloads/?a=view&id=6515
Title: Re: How to do custom player models/skins
Post by: WildWill on May 15, 2007, 02:28:31 PM
GD is right on the money there IMO, You can't have people download a model the replaces the one they have, it needs to be hexed. As for the rest of the stuff that you want Uteams can take care of all that by forcing the models on the admins, and just force a model on the other groups aswell. All the standard players on my server have male1.mdl for their model, the admins and operators get to pick whatever model.
Title: Re: How to do custom player models/skins
Post by: Golden-Death on May 15, 2007, 02:50:13 PM
Was a bit tricky to hex, because the game uses the same model for all the combine soldiers, but I got it to work out.

(http://www.garrysmod.org/img/?t=dll&id=10981) (http://www.garrysmod.org/downloads/?a=view&id=10981)

Thar you go.
Title: Re: How to do custom player models/skins
Post by: Avien on May 17, 2007, 01:46:02 PM
GD is right on the money there IMO, You can't have people download a model the replaces the one they have, it needs to be hexed. As for the rest of the stuff that you want Uteams can take care of all that by forcing the models on the admins, and just force a model on the other groups aswell. All the standard players on my server have male1.mdl for their model, the admins and operators get to pick whatever model.

Does it actually make them only be male1, or they are defaulted to male1, until they releaize they can change it.

Golden, where should i put this model, and do i need to add anything to force the download?
Title: Re: How to do custom player models/skins
Post by: Golden-Death on May 17, 2007, 01:49:52 PM
Use some ulx thing to force it. the file is in addon format, so just stick it in there.

Title: Re: How to do custom player models/skins
Post by: Avien on May 17, 2007, 02:24:36 PM
Ok i added these lines to my server.cfg file:

"ulx addForcedDownload" "models/Combine_admince.mdl"
"ulx addForcedDownload" "materials\models\Combine_admince.vmt"
"ulx addForcedDownload" "materials\models\Combine_admince.vtf"


I have one last question, using Uteam, how do i make this model be the default?

BTW: which model did you hex?  I dont see the combine elite with the admin on the back....
Title: Re: How to do custom player models/skins
Post by: Golden-Death on May 17, 2007, 06:04:30 PM
Once you have it in your addons folder, open the spawn menu, click the 'browse models' button and find the admince model in the models list.

As for uteams, I have no clue.
Title: Re: How to do custom player models/skins
Post by: Avien on May 17, 2007, 06:06:52 PM
I looked in the spawn menu and saw 2 looking combine pictures.  I am wondering if you hexed the camo combine, not the combine elite with the admin on the back.