KILLTUBE / corvid

Source Engine level converter for Call of Duty.
GNU Lesser General Public License v2.1
55 stars 12 forks source link

Models not using correct skin #8

Closed func-vehicle closed 2 years ago

func-vehicle commented 3 years ago

Seems like the conversion process ignores the skin KVP and exports the prop with skin 0. Here's an example I have from my map.

Hammer

HammerView

Radiant

RadiantView

myuce commented 3 years ago

I guess I forgot to mention that those cannot be converted right now. I'll be looking into ways to create duplicate models using the alternative skins the same way I do it with models with the rendercolor KVP.

myuce commented 2 years ago

Do you happen to have any models that use multiple materials with alternative skins? I'm thinking of working on a fix for this issue today or tomorrow, so I'm looking for examples that can help me see how information related to model skins is stored.

snowtyler commented 2 years ago

Do you happen to have any models that use multiple materials with alternative skins? I'm thinking of working on a fix for this issue today or tomorrow, so I'm looking for examples that can help me see how information related to model skins is stored.

Not the OP of this thread, but I know of a few HL2 models that have multiple skins, one is props_junk\plasticcrate01a.mdl which has about 5 skins in total; another is props_c17\oildrum001.mdl which has about 6 different skins.

myuce commented 2 years ago

Not the OP of this thread, but I know of a few HL2 models that have multiple skins, one is props_junk\plasticcrate01a.mdl which has about 5 skins in total; another is props_c17\oildrum001.mdl which has about 6 different skins.

@snowtyler those models do have several skins, but I'm looking for models that have multiple materials and skins that replace those materials to make sure I don't do anything wrong with them.

myuce commented 2 years ago

This issue has been fixed with 978661136576fba38fb1b047a2e283c4774c1024. The new version will be released soon.

As you can see from the screenshots, models with different skins are converted with no problems. Hammer Radiant