Ulysses
General => Off-Topic => Topic started 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.
-
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.
-
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.
-
The way I would go about it is:
- Get model hexed (People will be angry if you force them to replace their default combine model with yours)
- Use ULX to force model download
- Write script to prevent players from using the modified model
- Write script to apply model to admins
-
Here is the model i am trying to use.
http://www.garrysmod.org/downloads/?a=view&id=6515
-
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.
-
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.
-
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?
-
Use some ulx thing to force it. the file is in addon format, so just stick it in there.
-
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....
-
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.
-
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.