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.
[07:13 pm]
NudeRaider -- I am gettin' so hot :teach:
[04:08 pm]
lil-Inferno -- so take off all your clothes
[02:38 pm]
Ultraviolet -- ooh it's gettin hot in here
[09:38 am]
NudeRaider -- Symmetry
Symmetry shouted: I meant more why is it relevant
I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
[05:02 am]
Symmetry -- I refuse to let it die! Send forth the memes!
[05:00 am]
RIVE -- Brood War Mapping we can believe in.
[02:58 am]
Ultraviolet -- RIVE
RIVE shouted: #MBWMGA
Resident MAGAt approves
[02:20 am]
Symmetry -- I meant more why is it relevant
[2026-7-13. : 7:20 am]
RIVE -- #MBWMGA
Please log in to shout.


Members Online: Ultraviolet