Jump to content

Recommended Posts

Posted (edited)

the code below should be added in the skrimish.uil allows 7 colours ingame..
but only for the main player..
this code should replace earlier code to work..

CHECKBOX colourRedCheck
445, 53
15, 25
CheckBorder // border colour
NetColour0 // on colour
NetFadedColour0 // off colour
NONE
NONE
SetValueU1To gNetPlayerColour 0
CheckIfValueU1Init gNetPlayerColour 0
CheckIfValueU1 gNetPlayerColour 0
UnCheck colourGreenCheck
UnCheck colourBlueCheck
UnCheck colourGreyCheck
UnCheck colourYellowCheck
UnCheck colourPurpleCheck
UnCheck colourBlackCheck
UnCheck colourDYellowCheck
UnCheck colourWormCheck
END_CHECKBOX
CHECKBOX colourGreenCheck
465, 53
15, 25
CheckBorder // border colour
NetColour1 // on colour
NetFadedColour1 // off colour
NONE
NONE
SetValueU1To gNetPlayerColour 1
CheckIfValueU1Init gNetPlayerColour 1
CheckIfValueU1 gNetPlayerColour 1
UnCheck colourRedCheck
UnCheck colourBlueCheck
UnCheck colourGreyCheck
UnCheck colourYellowCheck
UnCheck colourPurpleCheck
UnCheck colourBlackCheck
UnCheck colourDYellowCheck
UnCheck colourWormCheck
END_CHECKBOX
CHECKBOX colourBlueCheck
485, 53
15, 25
CheckBorder // border colour
NetColour2 // on colour
NetFadedColour2 // off colour
NONE
NONE
SetValueU1To gNetPlayerColour 2
CheckIfValueU1Init gNetPlayerColour 2
CheckIfValueU1 gNetPlayerColour 2
UnCheck colourRedCheck
UnCheck colourGreenCheck
UnCheck colourGreyCheck
UnCheck colourYellowCheck
UnCheck colourPurpleCheck
UnCheck colourBlackCheck
UnCheck colourDYellowCheck
UnCheck colourWormCheck
END_CHECKBOX
CHECKBOX colourGreyCheck
505, 53
15, 25
CheckBorder // border colour
NetColour3 // on colour
NetFadedColour3 // off colour
NONE
NONE
SetValueU1To gNetPlayerColour 3
CheckIfValueU1Init gNetPlayerColour 3
CheckIfValueU1 gNetPlayerColour 3
UnCheck colourRedCheck
UnCheck colourGreenCheck
UnCheck colourBlueCheck
UnCheck colourYellowCheck
UnCheck colourPurpleCheck
UnCheck colourBlackCheck
UnCheck colourDYellowCheck
UnCheck colourWormCheck
END_CHECKBOX
CHECKBOX colourPurpleCheck
525, 53
15, 25
CheckBorder // border colour
NetColour5 // on colour
NetFadedColour5 // off colour
NONE
NONE
SetValueU1To gNetPlayerColour 5
CheckIfValueU1Init gNetPlayerColour 5
CheckIfValueU1 gNetPlayerColour 5
UnCheck colourRedCheck
UnCheck colourGreenCheck
UnCheck colourBlueCheck
UnCheck colourGreyCheck
UnCheck colourYellowCheck
UnCheck colourBlackCheck
UnCheck colourDYellowCheck
UnCheck colourWormCheck
END_CHECKBOX
CHECKBOX colourBlackCheck
545, 53
15, 25
CheckBorder // border colour
NetColour6 // on colour
NetFadedColour6 // off colour
NONE
NONE
SetValueU1To gNetPlayerColour 6
CheckIfValueU1Init gNetPlayerColour 6
CheckIfValueU1 gNetPlayerColour 6
UnCheck colourRedCheck
UnCheck colourGreenCheck
UnCheck colourBlueCheck
UnCheck colourGreyCheck
UnCheck colourYellowCheck
UnCheck colourPurpleCheck
UnCheck colourDYellowCheck
UnCheck colourWormCheck
END_CHECKBOX
CHECKBOX colourWormCheck
565, 53
15, 25
CheckBorder // border colour
LightRed // on colour
LightRed // off colour
NONE
NONE
SetValueU1To gNetPlayerColour 7
CheckIfValueU1Init gNetPlayerColour 7
CheckIfValueU1 gNetPlayerColour 7
UnCheck colourRedCheck
UnCheck colourGreenCheck
UnCheck colourBlueCheck
UnCheck colourGreyCheck
UnCheck colourYellowCheck
UnCheck colourPurpleCheck
UnCheck colourDYellowCheck
UnCheck colourBlackCheck
END_CHECKBOX

 

Here is the link for editted skrimish.uil file

LINK: http://www.mediafire.com/download/q8dyud8dya5cqui/Skirmish.uil

Edited by THE AQIB
Posted

I believe this mod also contains adding colours to skirmish.uil and two extra AI players: http://d2kplus.com/mod_pracmis.php

Yes I did that already, though the color patch I included in the package was made by luminar i believe

 

AQIB, could u manage to make the AI players use the new colors as well? Right now as you know there will be 2-3 blue AIs. 

Posted

Yes I did that already, though the color patch I included in the package was made by luminar i believe

AQIB, could u manage to make the AI players use the new colors as well? Right now as you know there will be 2-3 blue AIs.

next time i'm in a pc i'll fix that..

I think I know what to do..

@all:

add your uil menu patches here..

Posted

I believe this mod also contains adding colours to skirmish.uil and two extra AI players: http://d2kplus.com/mod_pracmis.php

but here we can add any colour we want..

in place of 7 we can use numbers from that index created by darlax( i forgot his name..)..

All colours are available in it..

Add that much switches if you want..

I can add more but I just added one..

  • 3 months later...
Posted

Yes I did that already, though the color patch I included in the package was made by luminar i believe

 

AQIB, could u manage to make the AI players use the new colors as well? Right now as you know there will be 2-3 blue AIs.

Hey :)

I can find my name anywhere.... :D

 

By the color patch you mean this?:

CHECKBOX colourRedCheck

445, 53

15, 25

CheckBorder // border colour

NetColour0 // on colour

NetFadedColour0 // off colour

NONE

NONE

SetValueU1To gNetPlayerColour 0

CheckIfValueU1Init gNetPlayerColour 0

CheckIfValueU1 gNetPlayerColour 0

UnCheck colourGreenCheck

UnCheck colourBlueCheck

UnCheck colourGreyCheck

UnCheck colourYellowCheck

UnCheck colourPurpleCheck

UnCheck colourBlackCheck

UnCheck colourDYellowCheck

END_CHECKBOX

CHECKBOX colourGreenCheck

465, 53

15, 25

CheckBorder // border colour

NetColour1 // on colour

NetFadedColour1 // off colour

NONE

NONE

SetValueU1To gNetPlayerColour 1

CheckIfValueU1Init gNetPlayerColour 1

CheckIfValueU1 gNetPlayerColour 1

UnCheck colourRedCheck

UnCheck colourBlueCheck

UnCheck colourGreyCheck

UnCheck colourYellowCheck

UnCheck colourPurpleCheck

UnCheck colourBlackCheck

UnCheck colourDYellowCheck

END_CHECKBOX

CHECKBOX colourBlueCheck

485, 53

15, 25

CheckBorder // border colour

NetColour2 // on colour

NetFadedColour2 // off colour

NONE

NONE

SetValueU1To gNetPlayerColour 2

CheckIfValueU1Init gNetPlayerColour 2

CheckIfValueU1 gNetPlayerColour 2

UnCheck colourRedCheck

UnCheck colourGreenCheck

UnCheck colourGreyCheck

UnCheck colourYellowCheck

UnCheck colourPurpleCheck

UnCheck colourBlackCheck

UnCheck colourDYellowCheck

END_CHECKBOX

CHECKBOX colourGreyCheck

505, 53

15, 25

CheckBorder // border colour

NetColour3 // on colour

NetFadedColour3 // off colour

NONE

NONE

SetValueU1To gNetPlayerColour 3

CheckIfValueU1Init gNetPlayerColour 3

CheckIfValueU1 gNetPlayerColour 3

UnCheck colourRedCheck

UnCheck colourGreenCheck

UnCheck colourBlueCheck

UnCheck colourYellowCheck

UnCheck colourPurpleCheck

UnCheck colourBlackCheck

UnCheck colourDYellowCheck

END_CHECKBOX

CHECKBOX colourPurpleCheck

525, 53

15, 25

CheckBorder // border colour

NetColour5 // on colour

NetFadedColour5 // off colour

NONE

NONE

SetValueU1To gNetPlayerColour 5

CheckIfValueU1Init gNetPlayerColour 5

CheckIfValueU1 gNetPlayerColour 5

UnCheck colourRedCheck

UnCheck colourGreenCheck

UnCheck colourBlueCheck

UnCheck colourGreyCheck

UnCheck colourYellowCheck

UnCheck colourBlackCheck

UnCheck colourDYellowCheck

END_CHECKBOX

CHECKBOX colourBlackCheck

545, 53

15, 25

CheckBorder // border colour

NetColour6 // on colour

NetFadedColour6 // off colour

NONE

NONE

SetValueU1To gNetPlayerColour 6

CheckIfValueU1Init gNetPlayerColour 6

CheckIfValueU1 gNetPlayerColour 6

UnCheck colourRedCheck

UnCheck colourGreenCheck

UnCheck colourBlueCheck

UnCheck colourGreyCheck

UnCheck colourYellowCheck

UnCheck colourPurpleCheck

UnCheck colourDYellowCheck

END_CHECKBOX

//extras

CHECKBOX colourYellowCheck

565, 53

15, 25

CheckBorder // border colour

NetColour4 // on colour

NetFadedColour4 // off colour

NONE

NONE

SetValueU1To gNetPlayerColour 4

CheckIfValueU1Init gNetPlayerColour 4

CheckIfValueU1 gNetPlayerColour 4

UnCheck colourRedCheck

UnCheck colourGreenCheck

UnCheck colourBlueCheck

UnCheck colourGreyCheck

UnCheck colourPurpleCheck

UnCheck colourBlackCheck

UnCheck colourDYellowCheck

END_CHECKBOX

CHECKBOX colourDYellowCheck

585, 53

15, 25

CheckBorder // border colour

NetColour7 // on colour

NetFadedColour7 // off colour

NONE

NONE

SetValueU1To gNetPlayerColour 7

CheckIfValueU1Init gNetPlayerColour 7

CheckIfValueU1 gNetPlayerColour 7

UnCheck colourRedCheck

UnCheck colourGreenCheck

UnCheck colourBlueCheck

UnCheck colourGreyCheck

UnCheck colourYellowCheck

UnCheck colourPurpleCheck

UnCheck colourBlackCheck

END_CHECKBOX

Posted

maybe you guys should attach the code as a file or link to a site like pastebin instead of having half a page of code.

 

You can even use spoiler tags

Like this
  • Upvote 2
Posted

maybe you guys should attach the code as a file or link to a site like pastebin instead of having half a page of code.

 

You can even use spoiler tags

Like this

Ok thanks :)

I edit my post now....

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.