I've figured out that indexes 8-15 of the color palettes is used for player colors. What I'm not getting is how they're converted to player colors. Is it a blend with a specific ratio or some sort of transparency applied with different values for different indexes?
Are special palettes are included in the palettes of tileset-specific .pcx files? And if so, which palette index points to which of those files? Do they have semi-transparency?
Also, for non-special, non-default palettes (cloak, emp, warp flash, shadow), what do they point to?
As far as I can tell, the game converts 8-15 (the purples) to player colors by simply replacing them for each specific player. So 8 converts to a fairly bright color, 9 a slightly darker one, etc.
As for the rest, I have no clue.
For the first question, I looked around a bit, and I found the file game\tunit.pcx, it contains 8 different shades of player color for 16 colors, which correspond to the 8 indexes. As for the rest, I still have no idea.
right.... as u saying there is team colour set file as pcx file
there are gradient colours for each team colours, ie : red,blue,teal,purple
orange,brown,white,yellow
so if u change one colours for example is red gradiant colours
then red team colours changed as u change
basicly tunit.pcx file contains all team colours
but u dont need to change teamcolours in unit bitmap of grp
and as for tileset/ specific pcx files for special palettes
i don't know exactly which rutine has applied work to them
those pcx files are seems have special codes in pixels with sc gfx engine
but i'm not sure about that i didnt get that why blizzard made them like that picture
however i found out about special palletes
basicly they turned colours when spirte has changed palettes set
i worte about that specifly in pinned thread of my tutorials
and as for "cloak, emp, warp flash, shadow"
From my point of view, those are probably work by the specific codes of SC graphic engine to display their effect on screen
so the bitmap source is just painted for effected area which will displayed each aspect
i heared about the cloak, emp graphical effect of starcraft
blizzard was made speicial technology for those graphic effect for SC
when they was during progress to produce for SC
but to say specificly, SC maded with Base of RAD game tool
so its may wasnt maded speicial technology by blizzard team
however some team of them was made that for the graphical effect of cloak, emp
I'll look into RAD Game Tools, maybe I can find something there. As for cloak and emp, I think it's just a transparency effect, playing with transparency values should be alright. Shadow could be black with some transparency. Warp flash and special palettes elude me still. I'm thinking of learning assembly and dissassembling Starcraft and Staredit, but I don't have near enough free time for that.
if u thinking assembly to edit graphical engine code that would really hard
maybe u could not make find them forever if u just get starting around of
assembly and dissassembling
Graphic engine is not numerical work u need to know
around of Computer graphics
anyways as u saying clock and emp use tranceparent colour
but those effects are move with waves rise that is not animations file
and those not just tranceparent
IIRC, that is work by the specific codes of SC graphic engine
as i said they made speicial technology for that effect
in the times of produce SC
on the same like as fog system in SC
and as for Shadow, that isnt related in black and other colours
anyhow shadow would just displayed as same before even though change colours of shadow
we dont have any sources to change shadow colours and other effects
so its could be just displayed by codes of SC engine irrespective of specific colours
RAD Game Tools officially doesn't have anything to do with this, but it's really good for .smk files though.
I believe almost transparent images changing frames and moving could create the ripple effect. I'll have to test that.
QUOTE
we dont have any sources to change shadow colours and other effects
I don't really care about changing them, I care about displaying them, because I'm working on a program that will potentially display them (I can display basic grp and read .pcx files in an almost compliant manner right now), mostly because I'm exploring the .Net Framework 2.0 and I thought that my favourite game would be a good motivation for that.