• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Problem with changing a model's color

Status
Not open for further replies.
Level 14
Joined
Nov 17, 2010
Messages
1,266
I have a spell that is channeled by one of my heroes that slowly reduces animation speed to 0, slowly changes their color to blue, and then locks them in ice completely frozen.

The problem is when the spell is over and I revert them to 100% of their original color they lose any custom color tinting I gave them in the object editor. I am really hoping I don't have to change the color of each unit in magos and then reimport them into the game with a bunch of different colors. I also thought about keeping track of colors in a hashtable but before I go through all that work I would like to know if there is a simpler way I may be overlooking.

Thanks in advance
 
I was afraid of that. It'll take awhile to go through all of the units and track their colors, but in the end I think it will be worth it.

Thanks
 
I have a spell that is channeled by one of my heroes that slowly reduces animation speed to 0, slowly changes their color to blue, and then locks them in ice completely frozen.

The problem is when the spell is over and I revert them to 100% of their original color they lose any custom color tinting I gave them in the object editor. I am really hoping I don't have to change the color of each unit in magos and then reimport them into the game with a bunch of different colors. I also thought about keeping track of colors in a hashtable but before I go through all that work I would like to know if there is a simpler way I may be overlooking.

Thanks in advance
You can go through point value of unit type.
 

Attachments

That is interesting. I hadn't considered something like that. It seems to work ok I would just have to set the point values to match the percentages of each color then right?

I'm not currently using point value for anything else so that might be worth it.

Of course now that I see this I'm trying to decide what else I could use point value for and just use a hashtable for each unit type's color lol
 
Status
Not open for further replies.
Back
Top