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.
[03:21 pm]
Oh_Man -- Racoon City Remastered*
[03:21 pm]
Oh_Man -- Join the front line SEN, DEFEND MANKIND. 2030 is just a number! https://scmscx.com/map/2fHHj96p
[03:21 pm]
Oh_Man -- from the maker of the legendary Architect RPG, the peerless Racoon City, the capitvating One Piercing Note, comes another creation minutes in the making
[11:15 am]
Oh_Man -- heh heh thanks for the minerals suckers, now it's time to quit while i'm ahead
[01:01 am]
Oh_Man -- Heroes of the Storm literally died and was revived before we got next SC game. Wb Loveless, u cooking any UMS for us?
[11:35 pm]
LoveLess -- getting diablo 5 and wow 4 before starcraft ghost
[09:22 pm]
RIVE -- To be fair, I used to post custom emotes back when I still used the forums.
[2026-9-13. : 12:54 pm]
l)ark_ssj9kevin -- RIVE
RIVE shouted: 💯
holy shit did you just use an emoji on SEN that feels illegal 🍆
[2026-9-13. : 10:24 am]
Moose -- Heinermann
Heinermann shouted: new era of SC and it's just some shooter they're gonna cancel before 2030
StarCraft 2: Ghost 2, The Reghostening
[2026-9-13. : 3:38 am]
Symmetry -- :wob:
Please log in to shout.


Members Online: Zoan