-
June 12, 2014, 02:00 AM
#1
Laetus
-
June 12, 2014, 03:46 AM
#2
Laetus
Re: Importing new models - Faction Colours
Oh and I am intending to use the models to reskin existing units, not create new ones if that helps.
-
June 12, 2014, 04:28 AM
#3
Re: Importing new models - Faction Colours
the faction colours are assigned based on the decal mask which determines which areas the faction colours will be assigned to.
In addition to that, you will probably want to create a vmd with masks to vary the faction colours (see tutorial series link in my signature for masks/vmd tutorial)
-
June 12, 2014, 06:13 AM
#4
Laetus
Re: Importing new models - Faction Colours
See that's the thing that's stumped me. I did watch your video and have the mask set up as you show, I have the mask saved as 300_atheniancloak_mask.dds (other textures are saved as 300_atheniancloak_diffuse/normal etc) in the same folder as the rest of the textures, and before exporting the Cs2 from 3ds max I had the mask slotted in the mask1, mask2 and mask3 slots in the material editor (even tried the decal mask slot as you suggested), but I just get the same result. The other textures work just fine both in Tweak and ingame, it's only the mask that doesn't work.
-
June 12, 2014, 08:30 AM
#5
Laetus
Re: Importing new models - Faction Colours
Okay I was able to replicate the problem with the shield included in the sample models. I compiled the included Cs2 using BoB, colours worked fine. I then exported the shield .max file as a Cs2 and compiled it, colours worked then as well. That rules out a Max Cs2 exporter issue. I then renamed the Cs2 to a different name and compiled, colours did not work.
So the problem is definitely that the new models need to be referenced in a db table somewhere. Though I've searched through factions_uniforms_colors and units_variants_colors but can't seem to find anything that looks like a place to reference new meshes.
-
June 12, 2014, 02:27 PM
#6
Re: Importing new models - Faction Colours
i think it may be a shader issue perhaps? warman made a thread somewhere about allowing decals with all models and maybe the same thing is required?
-
June 12, 2014, 10:16 PM
#7
Laetus
-
June 13, 2014, 12:38 AM
#8
Laetus
Re: Importing new models - Faction Colours
Correction, make sure it's "weighted", not "weighted_decal". Otherwise the decal of whatever shield the unit is using will appear all over the new model.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules