Staredit Network > Forums > SC2 Assistance > Topic: Unit-Actor-Model Linking and Model Colouring
Unit-Actor-Model Linking and Model Colouring
Sep 11 2010, 2:46 am
By: Sand Wraith  

Sep 11 2010, 2:46 am Sand Wraith Post #1

she/her

I have a problem that I actually have no idea about how to fix.

Specifically, I took my Drone and duplicated it twice, each time only copying over the Unit itself, it's main Actor, and it's main Model data. Afterwards, I named them Drone (+100HP), Drone (+50HP), and Drone (+25HP).
In their Actor section, I changed their model scaling to 1.0, 0.8, and 0.6 respectively.
Lastly, I changed their RGB values to 55/55/255 (blue), 55/255/55 (green), and 255/55/55 (red), in the Color tab in the Models section.

Now, in-game, the renaming and model scaling has worked.
However, the Drones are not blue, green, and red.

How to fix?
The map with the problem is attached for your convenience.




Sep 11 2010, 2:56 am Biophysicist Post #2



Have you tried a Set Tint actor message?



None.

Sep 11 2010, 3:05 am Sand Wraith Post #3

she/her

What are you talking about?

I can't find what you're talking about in Actors/Models, though I've found a working trigger for this purpose, I guess.




Sep 11 2010, 3:19 am Biophysicist Post #4



Add a new event that calls Set Tint Color.





None.

Sep 11 2010, 3:31 am Sand Wraith Post #5

she/her

wow that's ass backwards

Okay, thanks, it works (but it's still stupid).




Sep 11 2010, 3:31 am Temp Post #6



You could use a single actor/model for this using Actor events. You would use the unit damaged event and then add a term which uses a validator which checks a units health and a tint for the action.



None.

Sep 11 2010, 3:58 am Sand Wraith Post #7

she/her

What do you mean by that? Wouldn't that mean my Drone would have to be damaged first or something?




Sep 11 2010, 4:00 am Jack Post #8

>be faceless void >mfw I have no face

Quote from Sand Wraith
What do you mean by that? Wouldn't that mean my Drone would have to be damaged first or something?
Check max health, not current health. (I think.)



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 11 2010, 4:11 am Sand Wraith Post #9

she/her

But doesn't the Drone still have to be damaged first?

And, won't my Drones all have to be the same unit in this scenario? I prefer them being separate, since they each would have their own names.

Besides that, as separate units, I can detect which of the three are actually being collected by the Player so I can add the right amount of HP to my unit.




Sep 11 2010, 4:14 am Jack Post #10

>be faceless void >mfw I have no face

Quote from Sand Wraith
But doesn't the Drone still have to be damaged first?

And, won't my Drones all have to be the same unit in this scenario? I prefer them being separate, since they each would have their own names.

Besides that, as separate units, I can detect which of the three are actually being collected by the Player so I can add the right amount of HP to my unit.
Yeah if that's what you want, just have several copies. Easier all around.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:36 am]
Moose -- Thinking on it more, I vaguely remember it being annoying because it kept repeating some short loop of the Super Mario World theme LMAO
[12:57 am]
Oh_Man -- I thought i remembered an old mario map but i searched super mario starcraft on utube and i couldnt see anything cept UMS
[11:40 pm]
lil-Inferno -- Blizzard forgot about SC so it's okay
[07:04 pm]
Symmetry -- malware maps for everyone
[07:03 pm]
Moose -- probs lmao
[06:57 pm]
Symmetry -- (and will be patched)
[06:56 pm]
Symmetry -- The old stuff would've gotten patched no? this is current
[06:55 pm]
Moose -- Just made? I thought we had that years ago
[05:23 pm]
Oh_Man -- so someone just made super mario in brood war https://www.youtube.com/watch?v=DmrUcKU65oQ
[2026-8-06. : 2:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
Please log in to shout.


Members Online: NudeRaider