Model (Civilian) with specific variation

Eimtr

Member
Reaction score
1
[SOLVED] Model (Civilian) with specific variation

I did some Hosting & Site Operations with which the model of the Civilian appears. The problem is every time the actor or site operation is called, the Model appears in different variation because as you know the Civilian uses several variations and textures.

I want to make the model use just one specific variation. I already set Variation Count: 1, it was 3. Now I want this variation of the Civilian that you choose if the Civilian were placed on the map:

Variation 2
Textures: male,helmet,03


I linked a duplicate of the Civlian model and even though I only changed Variation Count: to 1, the model that it uses ColonistMale.m3 appears untextured. If I linked the Civilian model it is textured but changing the variations each time the model is loaded.

The ;RequireAll diffuse,helmet; in Texture Expressions, I dont understand how to make it use the one I mentioned in blizz blue color
 

Dave312

Censored for your safe viewing
Reaction score
269
Open up the previewer (Window > Previewer) and scroll down to the path Assets\Units\Terran\ColonistMale\. Inside the folder you should notice there are several models for Colonist Male unit. Currently your model object in the data editor is referencing ColonistMale.m3. You need to change this to a model variation you are after (that way there are no model variations to choose from).

You might also notice that the model variations actually have no animations built into the model. This is because the animations are actually located in the separate file (they do this so multiple models can use the same animations). In order to apply these animations to the unit, you need to set the Animations (Required) + property on the model object in the data editor to animation file. This should already be set it you are copying/using the Colonist Male model object.
 

Eimtr

Member
Reaction score
1
My animations are fine only the model is without textures. If you mean select another M3 model instead of COlonistMale.m3, that's not my goal since the other models frm Colonist_Male01.m3 to ColonostMale_teen_03.m3 are not the same as the Civilian with variations put on the map: Variation 2 Textures: male,helmet,03.

That's why im trying to fix the Texture Expressions because there isn;t a ready M3 model with it, it is all set in the texture expressions. For example the Yellow suit, helmet (i.e hair) and NO BACKPACK are only texture variation not model variation and they are applied to ColonistMale.m3...

So how
 

Dave312

Censored for your safe viewing
Reaction score
269
Ok I see what you mean. I haven't really done much playing around with texture variations, but I was able to figure this out with some playing around:

The solution to this problem consists of two parts: setting the texture variations and setting the unit variation.

To apply the texture variations you need to modify the Texture Applied Groups property on the model. Basically you need to input each texture string into the boxes. The first one should already be set to male so you don't need to change that. Set the next one to Helmet and set the final one to Variation 02 (the final box will appear after you have set the second one).

I haven't been able to figure out how to set the unit variations, but you should be able to set the probability of the other variations occurring to 0 via the Variations + property. This should ultimately mean that these variations will never be selected. It is probably not ideal, but I haven't been able to figure out a better way of doing it.

Hope that helps.


EDIT: It seems that when placing units in the editor, setting the probability of the unit variations has no effect. I'm hoping this is just an editor thing and setting these probabilities will have an effect for units created in-game.
 

Eimtr

Member
Reaction score
1
Thanks, you nearly solved it to the end. So as Textures: male,helmet,03 (seen in Textures tab when the unit is on the map) in Texture Applied Groups having selected Male, add Helmet and Variation 03 (not Variation 02 as Variation 2 is the Variation on 'General' tab of the unit on the map, I confused the two)

So now Male, Helmet, Variation 03, in Texture Applied Groups is the one I wanted and they show all the time, now the only problem is that sometimes he appears with a bagpack and sometimes without, I want him all the time without backpack.

^ Just solved that too. As I said if Variation Count is 1, the model gets untextured. However, if Variation Count is set to 2 along with the Texture Applied Groups, he is textured as I want and without backpack. Also without having to change Texture Expressions, Variation Probability, Number or any of those. Thank you for helping.

[COLOR="#00800"]SOLVED[/COLOR]
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top