So I have a list of "male" models like this:
[CODE] male = {
"models/securityguards/barney.mdl",
"models/securityguards/male_01.mdl",
"models/securityguards/male_02.mdl",
"models/securityguards/male_03.mdl",
"models/securityguards/male_04.mdl",
"models/securityguards/male_05.mdl",
"models/securityguards/male_06.mdl",
"models/securityguards/male_07.mdl",
"models/securityguards/male_08.mdl",
"models/securityguards/male_09.mdl"
};[/CODE]
However, they look ugly and I want to change them.
The model I want to change them to uses skins instead of each separate models.
Thing is, I don't know how to make the model skin different for each model. It has 0-14 skins.
The target model I want to change them to is this:
[CODE]models/humans/guard.mdl[/CODE]
Can someone help me?
Decompile the model, and then use texturegroup:
[url]https://developer.valvesoftware.com/wiki/$texturegroup[/url]
[QUOTE=Aleks6010;47170753]So I have a list of "male" models like this:
[CODE] male = {
"models/securityguards/barney.mdl",
"models/securityguards/male_01.mdl",
"models/securityguards/male_02.mdl",
"models/securityguards/male_03.mdl",
"models/securityguards/male_04.mdl",
"models/securityguards/male_05.mdl",
"models/securityguards/male_06.mdl",
"models/securityguards/male_07.mdl",
"models/securityguards/male_08.mdl",
"models/securityguards/male_09.mdl"
};[/CODE]
However, they look ugly and I want to change them.
The model I want to change them to uses skins instead of each separate models.
Thing is, I don't know how to make the model skin different for each model. It has 0-14 skins.
The target model I want to change them to is this:
[CODE]models/humans/guard.mdl[/CODE]
Can someone help me?[/QUOTE]
What you want to do is call Entity:SetSkin( math.random(1,Entity:GetSkinCount() ) ) after setting the model. I can give you more info if you can give us the code where you set the model.
[QUOTE=Robotboy655;47171005]What you want to do is call Entity:SetSkin( math.random(1,Entity:GetSkinCount() ) ) after setting the model. I can give you more info if you can give us the code where you set the model.[/QUOTE]
I'm using a clockwork schema where you have to select a model, does that help?
[QUOTE=Aleks6010;47171022]I'm using a clockwork schema where you have to select a model, does that help?[/QUOTE]
No, you will have to ask somebody who was worked with clockwork, or its creator. ( I heard its a paid gamemode )
[QUOTE=Robotboy655;47171434]No, you will have to ask somebody who was worked with clockwork, or its creator. ( I heard its a paid gamemode )[/QUOTE]
:(
[QUOTE=Robotboy655;47171434]No, you will have to ask somebody who was worked with clockwork, or its creator. ( I heard its a paid gamemode )[/QUOTE]
clockwork is on github but most schemas are paid for AFAIK
Sorry, you need to Log In to post a reply to this thread.