Alot of people can use it, but pd and CNCVK arnt machines, so they will do it as they please. (Though I personaly want it too
)
I try to add 8 new colors in the combo box
some good results
would be better if you could customize the amount of colors.
that isn't even hard to do.
you just have to have two tags for each color, one menu entry and one ingame bind (to a [Colors] color).
Yes.
First 8 colors show always.
another colors - only if you add entry to [MenuColors] section
up to 16 new colors.
upto 16 NEW colours, is that upto 16 total, or as it sounds, upto 24 total?
also, you'll need to hack PD's costom displayed colour section too. because currently, all your new ones are white.
Maybe he just copy-pasted the same colour a few times to test it
i'd guess so.
he just has to extend the colors list and move the color bind list (i.e. what menu color entry uses what color ingame).
Quote:upto 16 NEW colours, is that upto 16 total, or as it sounds, upto 24 total?
Up to 16 new colors.
It's white because I fill colors default data with 00FFFFFFh
MP0 01
MP1 05
MP2 10
MP3 14
MP4 06
MP5 12
MP6 08
MP7 07
MP8 00
MP9 02
MP10 03
MP11 04
MP12 09
MP13 13
MP14 15
MP15 16
So MP8 color - LightGold in game
[MenuColors]
0=222,222,222
1=128,128,128
2=...
3=...
4=...
5=...
6=...
7=...
8=255,0,0
Colors will appear only if you add new entry to [MenuColors].
@PD I change your [MenuColors] load code, OK?
Also I done code which save MultiEngineer check box state
and TechLevel slider position into
RA2MD.INI
1 small thing to point out. the array that "Random colour" AKA "???" points to. does it include any new colours? PD had to write in a hack tag for countries, NewPlayableCountries=.
also, is your list hardcoded to those values of the [Colors] list, and use only PD's new [MenuColours] Section, or is there a way to costomise it? because currently i want to use some that are currently around 26, 27, 28 etc. (this is no big deal, i can always re-order the list.)
oh, and starting with 00 and ending with 16?
you missed out 11!
if it is to remain hardcoded, it should be:
MP13 11
MP14 13
MP15 15
Quote:(this is no big deal, i can always re-order the list.)
It's not very difficult to re-order the list so it's hardcoded
Quote:oh, and starting with 00 and ending with 16?
you missed out 11!
However, color 16 exist already:
Code:
Yellow=38,159,255 ; 16 Pastel yellow
It's add new colors: black and white to combo box
black -> LightGold (Orange)
white -> LightGrey (White)
Code:
[MenuColors]
0=13,226,221
1=25,25,255
2=226,116,42
3=46,209,62
4=25,160,255
5=230,215,50
6=189,40,149
7=235,154,255
8=0,0,0
9=255,255,255
CnCVK Wrote:Quote:oh, and starting with 00 and ending with 16?
you missed out 11!
However, color 16 exist already:
Code:
Yellow=38,159,255 ; 16 Pastel yellow
so does 11!!!
Code:
NeonBlue=185,156,238 ; 11 Violet
it should be like this:
MP0 01
MP1 05
MP2 10
MP3 14
MP4 06
MP5 12
MP6 08
MP7 07
MP8 00
MP9 02
MP10 03
MP11 04
MP12 09
MP13 11
MP14 13
MP15 15
CnCVK Wrote:It's add new colors: black and white to combo box
black -> LightGold (Orange)
white -> LightGrey (White)
Code:
[MenuColors]
0=13,226,221
1=25,25,255
2=226,116,42
3=46,209,62
4=25,160,255
5=230,215,50
6=189,40,149
7=235,154,255
8=0,0,0
9=255,255,255
i see, but, if you select "???" for Random colour, can 1 of the ones it picks be 1 of the new 8?
as i said, to allow "???" for Random country to be able to select 1 of the new ones, PD had to add the NewPlayableCountries= tag.
Quote: see, but, if you select "???" for Random colour, can 1 of the ones it picks be 1 of the new 8?
I not testing this thing (Now try
Quote:as i said, to allow "???" for Random country to be able to select 1 of the new ones, PD had to add the NewPlayableCountries= tag.
Not need.
I calculate additional colors number
Code:
[MenuColors]
0=13,226,221
1=25,25,255
2=226,116,42
3=46,209,62
4=25,160,255
5=230,215,50
6=189,40,149
7=235,154,255
8=0,0,0
9=255,255,255
So here two additional colors
some 1.09 feature:
Code:
[WeaponType]
...
IsElectricBolt=yes
IsCustomColor=yes
EBoltColor1=0,0,0
EBoltColor2=221,0,0
EBoltColor3=255,215,0
if you wonder why this is not in 1.08 already,
I sent the 108 exe over to Marshall already
I like the colors selected