Jump to content


Photo

NPSE #0020


  • Please log in to reply
1 reply to this topic

#1 VK

VK

    title available

  • Hosted
  • 360 posts
  • Projects:NPatch, ETS, NEngine, etc

Posted 09 September 2007 - 02:19 PM

NPatch Special Edition Revision #0020
available!
Posted Image

Download here

This revision improve a combo-box colors system.
Many people have problems with new system. However this isn't NPatch bug.
You should understand that if you set UseDropDownColors=yes, you MUST define AT LEAST 8 colors using MPC*!
You can't skip any color - if you define MPC01, MPC02 and define MPC04, engine will think that you define only MPC01, MPC02 and skip MPC04.
Color MPC17 is observer color.

Before this revision:
all colors that you don't define will be the first color from the [Colors] entry, usual orange.
After this revision
all colors that you don't define will be mapper by old way:
1, 5, 10, 14, 06, 12, 08, 07, 00, 02, 03, 04, 09, 13, 15, 16.

Example:
[UISettings]
UseDropDownColors=true

[Colors]
LightGold=25,255,255		   ; 0				 Orange
Gold=43,239,255				; 1   MP			Bright Yellow
LightGrey=0,0,240			  ; 2				 White
Grey=0,0,131				   ; 3				 Grey
Red=20,255,184				 ; 4				 Brown
DarkRed=0,230,255			  ; 5   MP				Red
Orange=25,230,255			  ; 6   MP				Orange
Magenta=221,102,255			; 7   MP				Pink
Purple=201,201,189			 ; 8   MP				Purple
LightBlue=119,143,255		  ; 9							 Aqua
DarkBlue=153,214,212		   ; 10  MP				Blue
NeonBlue=185,156,238		   ; 11					Violet
DarkSky=131,200,230			; 12  MP				Periwinkle (i.e. aquaish)
Green=104,241,195			  ; 13					Bathroom green
DarkGreen=81,200,210		   ; 14  MP				Light green
NeonGreen=0,0,0				; 15					Black
Yellow=38,159,255			  ; 16					Pastel yellow
Purple2=211,201,189
Purple3=191,201,189
AlliedLoad=164,255,255	  
SovietLoad=0,235,255		
MPC01=0,0,131
MPC02=0,1,0

in this example you will have:
the first color in combo-box - gray (MPC01)
the second color in combo-box - black (MPC02)
the third color - blue, because you don't define MPC03, so color with index = 10 used.
the fourth color - light green, because you don't define MPC04, so color with index = 14 used.
...etc.
My site here: http://www.vk.cncguild.net - RP / NP / ETS / TOOLS.
Posted Image

#2 genobreaker

genobreaker

    Infantry General

  • Hosted
  • 1,223 posts
  • Location:Philippines
  • Projects:Yuri's Revenge: Zero Hour
  •  Revorian Loyalist - 10th

Posted 09 September 2007 - 02:58 PM

oh... Mental Omega does that... mmm
Become the Ultimate General - Mod Demo is Available!
Posted Image
Prepare your weapons technology against the worlds most powerful generals.
FREEDOM STUDIOS: http://www.freedomstudios.net




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users