How to add more skin options to an existing model?
3 replies, posted
Hey.
I could need some help regarding an issue/question related to adding more available skins to an existing model.
I'm currently trying to add a new skin for this Trucker Hat model: [URL]http://www.garrysmod.org/downloads/?a=view&id=82156[/URL]
So, basically I made a new material for it and it worked when I replaced the original textures (It has two skins)
Now I've been thinking how I can hex the model so, that it allows me to use a new (third) skin for it without replacing the original skins?
I tried to do this:
Here's the original model hex data...
[code]hat hat_blue models\Trucke\items\engineer\[/code]
...and here's my attempt at adding a third skin for it..
[code]hat hat_blue hat_custom1 models\Trucke\items\engineer\[/code]
When I did that, it couldn't read the materials anymore.
Do I need a 3D Modelling program to add more skins to it or...?
Thanks for help in advance.
I think you will need to decompile it, and then add the new textures with the default ones, to the model ( in a modeling program ). And then it should have access to those textures. once done, save the smd and recompile.
I'm Not exactly sure how you will change through the textures in game or how ever you plan to do it, i cant really help you there seeing as im not much of a coder guy.
[editline]10th July 2013[/editline]
also, you cannot just change texture paths, and expect it to know where to look. The model its self, looks in a specific directory for textures, so add the textures to that directory, dont make a whole new directory.
give it a try like that, if you're lucky, you may not need to decompile, and re-compile. Most likely that is what you'll have to do though.
[QUOTE=thegammaghost;41396658]I think you will need to decompile it, and then add the new textures with the default ones, to the model ( in a modeling program ). And then it should have access to those textures. once done, save the smd and recompile.
I'm Not exactly sure how you will change through the textures in game or how ever you plan to do it, i cant really help you there seeing as im not much of a coder guy.
[editline]10th July 2013[/editline]
also, you cannot just change texture paths, and expect it to know where to look. The model its self, looks in a specific directory for textures, so add the textures to that directory, dont make a whole new directory.
give it a try like that, if you're lucky, you may not need to decompile, and re-compile. Most likely that is what you'll have to do though.[/QUOTE]
Yeah, I was quite sure that I had to decompile.
I use Easy Bodygroup Stool to change the skin.
Yeah, I tried to add it in the same folder, but no luck.
Anywho, I found an easy way to do it without decompiling, it's quite dumb, but at least it works.
I re-hexed the model and replaced it's original textures that way.
So, the original model has the original textures as in the re-hexed model has the new textures.
It's a tricky and really dumb way to do it, but it's my lazy way to get over this.
Anyway, thanks for help! :v:
haha, if it works it works!
no problem!
Sorry, you need to Log In to post a reply to this thread.