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.
[11:05 pm]
Ultraviolet -- :wob:
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
Please log in to shout.


Members Online: RIVE, Roy