Model Variations?

jleips2600

New Member
Reaction score
4
I've come to need a unit that can have multiple model variations, a la Dark Templar, or most doodads. I found the 'variation count' under models, but after changing it, i do not see any way to set alternate model files.

I read elsewhere that for things like the DT there are the following files and it's generating automatically. How can I modify this for my own use?

Dark Templar.m3
Dark Templar_00.m3
Dark Templar_01.m3

Looks something along those lines, and by simply selecting Dark Templar.m3 as your model, and choosing a variation count of 2, you can randomize either model.
 

jleips2600

New Member
Reaction score
4
Of course, once again, I solve my own problem only minutes after posting for help. So I'll explain what I did for anyone else that needs help!

Step by step on creating your own model variations:
For the purpose of this 'tutorial' I will say we are making variations of a model called "Squad Member"

1) Find model: Open up the first model you wish to use as a PLACEHOLDER.

The 'placeholder' model is what shows up when you select the SET of models that includes all the variations.
The way I accessed the models I wanted was by choosing any model file in the data editor. Then scroll down to where you can choose the model file. Click Browse, and a window should pop up. From there you can access any model available. Find the one you want and choose View in Previewer.

We will be opening the Marine model first.

2) Export model: Click File > Export Model File

Name it "SquadMember.m3"

Now this is your core model file. This is what you will set your model in the data editor to target.

3) Repeat for varations: Do the first two steps over and over for any variation you wish to have.

Maybe we'll export the ghost and the marauder with the marine.

When you do this, firstly, remember that you must name this variations with sequential numbers. The first save should be named "SquadMember_00.m3", the second "SquadMember_01.m3", and so on.

Also remember that even though we saved our Marine model as "SquadMember.m3", if we do not save an alternate Marine model as "SquadMember_01.m3" I do not think it can be used.

Think of the "SquadMember.m3" file as a SET that doesn't actually give a model file itself, but references a collection of model files.

4) Import: After you get all the necessary files exported, import them back into your map with their new names.

You can access the Import menu by clicking Modules > Import or alternatively by pressing F9.
Here you simply import all the files you just exported with new names.

5) Set Model File and Variation Count: Now create a new model (or edit an old one) in the data editor and select "SquadMember.m3" Also be sure to set the variation count to the number of variations you have available.
You can also add weight to the model variations. So maybe the marine comes up 50% of the time while the ghost and marauder both have a 25% chance of showing up.

AND BAM! Now we can have the same unit with a random marine, ghost, or marauder model. Although... I'm not sure why anyone would want that specifically..

All in all, I hope tonights hour long endeavour helps someone else, too!

PLEASE NOTE:
You can change a units model via triggers on the fly. It doesn't seem to affect anything but the visual model of the unit. Turns out this is actually more useful for my situation.

The said trigger is "Unit - Set Unit Variation". Not only does it allow for setting which variation of the unit, but also allows for completely different models.

It's a ridiculous 6am here, so if there's typos or confusion, let me know. I've been known to have less than perfect English at this point of a GE night. :p
 

onisagi

New Member
Reaction score
6
Its great when someone who solves their own problem posts the solution to everyone. Someone is bound to find this useful. Nice work.
 

MerrillPhish

Active Member
Reaction score
10
This helped a lot thanks!

I am making a trench warfare game and I want to turn sandbags into a LOS blocker and there are 8 variations.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    that sucks i bet they are expensive
  • Varine Varine:
    Not really
  • Varine Varine:
    The entire hot end is like 20 dollars, I just can't get anymore until next week
  • Varine Varine:
    I ordered like five blocks for 15 dollars. They're just little aluminum blocks with holes drilled into them
  • Varine Varine:
    They are pretty much disposable. I have shitty nozzles though, and I don't think these were designed for how hot I've run them
  • Varine Varine:
    I tried to extract it but the thing is pretty stuck. Idk what else I can use this for
  • Varine Varine:
    I'll throw it into my scrap stuff box, I'm sure can be used for something
  • Varine Varine:
    I have spare parts for like, everything BUT that block lol. Oh well, I'll print this shit next week I guess. Hopefully it fits
  • Varine Varine:
    I see that, despite your insistence to the contrary, we are becoming a recipe website
  • Varine Varine:
    Which is unique I guess.
  • The Helper The Helper:
    Actually I was just playing with having some kind of mention of the food forum and recipes on the main page to test and see if it would engage some of those people to post something. It is just weird to get so much traffic and no engagement
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such

      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