Question on Morphing (or changing actors)

Mindless

New Member
Reaction score
4
Hi everyone,

I'm trying to change the model of a unit in-game via triggers. Do I do this by changing the actor of the unit?

Also, it would be helpful if anyone explained how the Marine Combat Shield Upgrade works by giving Marines a Shield. I think that is basically what I'm trying to recreate--using upgrades or triggers.

Any help would be appreciated.
 

Terrabull

Veteran Member (Done that)
Reaction score
38
It's pretty straight forward in the Marine Combat Shield upgrade. Just take a look a that.

I think I misunderstood the question.
If you want to change the model you can do that in the actors with the "Model Swap" action.
 

Adovid

New Member
Reaction score
2
Best option is using a modified morph ability. Most units that change into other units have this ability-- you just can't see it.
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
I don't have the editor in front of me but isn't the combat shield a simple actor event(possibly combined with some validator)
 

FrozenShadow

I am a WolfieeifloW fan.
Reaction score
75
Well, I think the morph thing has a problem, since I tested it and apparently, it didnt change the model, but changed all the stats to the unit it was meant to morph to.
 

Mindless

New Member
Reaction score
4
If you want to change the model you can do that in the actors with the "Model Swap" action.

Can you explain a bit more about it? Like will the model change instantly or will there be some morphing animations?

Actually, I'm trying to change weapons for Jim Raynor. Such as pressing 1 will change it to guass rifle and 2 will change it to sniper etc. Is changing the whole model the most effective way? Or is there simply a trigger or actor action that changes the weapon only?
 

FrozenShadow

I am a WolfieeifloW fan.
Reaction score
75
Oh, I see. If he is not a hero, you can use the "morph" ability. It'll use no triggers, if the hotkeys allow numbers. If they do, just set the "Marine Form" to hotkey "1", and "Sniper Form" to hotkey "2". It'll swap everything, stats, models, and you'll have to test it out if it's reversible, causing no bugs. But that's the easiest way I can think of.
 

s3rius

Linux is only free if your time is worthless.
Reaction score
130
I think using the Model Swap command should work.
I know there are examples of this in some of the doodads and maybe units, but I can't remember where..

Just for completition:
The combat shield is a part of the marine model which is normally hidden, but can be shown using a animation suffix (I think it's "cover"). That it why the marine has it's combat shield equipped when you view him in the Previewer, but doesn't have it when placed.
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
I'm pretty sure the zergling speed upgrade uses an actor event to switch to the winged model, but I guess model swap will work just as good.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • 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

      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