Regions' color political map

This forum has been archived. Please use the new modding forum. If you need to retrieve a thread from here, contact BattleGoat.

Moderators: Balthagor, BattleGoat

Post Reply
plpge84
Sergeant
Posts: 11
Joined: Feb 08 2016
Human: Yes

Regions' color political map

Post by plpge84 »

Dear All,

Is any way to alter the a region's color when the ownership/supply map filter is active?
Thank you.

Pietro
YoMomma
Brigadier Gen.
Posts: 768
Joined: Jun 27 2015
Human: Yes
Contact:

Re: Regions' color political map

Post by YoMomma »

I dont think i saw such an option in the modding files, so i doubt it.
Gameplay 1st
plpge84
Sergeant
Posts: 11
Joined: Feb 08 2016
Human: Yes

Re: Regions' color political map

Post by plpge84 »

Many thanks YoMomma

Best,

Pietro
User avatar
Uriens
Brigadier Gen.
Posts: 588
Joined: Oct 05 2005

Re: Regions' color political map

Post by Uriens »

It would be nice to be able to do that in game actually. This thing would be client side only so it wouldn't cause any multiplayer problems. Some button to change region color in diplomacy menu maybe?
User avatar
George Geczy
General
Posts: 2688
Joined: Jun 04 2002
Location: BattleGoat Studios
Contact:

Re: Regions' color political map

Post by George Geczy »

This is actually possible to do with a mod file, although I'd have to play around with exactly where to put it. But in general, something at the end of the .scenario file (or #include into the file) with this sort of thing:

&CVP 1188
regionname "Germany"
prefixname "German"
flagnum 477
musictrack 5
regioncolor 0xff7DA0BE
&&END

If memory holds correctly, those settings (region name, flag, music, region color) can all be changed in this way. Just use the ones you need - the first line needs to refer to the region number, and the colour is set us ARGB web colour settings.

Of course, this will only work for new games, not save games, and your milage may vary.

-- George.
User avatar
number47
General
Posts: 2655
Joined: Sep 15 2011
Human: Yes
Location: X:913 Y:185

Re: Regions' color political map

Post by number47 »

George Geczy wrote: Nov 10 2016 This is actually possible to do with a mod file, although I'd have to play around with exactly where to put it. But in general, something at the end of the .scenario file (or #include into the file) with this sort of thing:

&CVP 1188
regionname "Germany"
prefixname "German"
flagnum 477
musictrack 5
regioncolor 0xffFF6666
&&END

If memory holds correctly, those settings (region name, flag, music, region color) can all be changed in this way. Just use the ones you need - the first line needs to refer to the region number, and the colour is set us ARGB web colour settings.

Of course, this will only work for new games, not save games, and your milage may vary.

-- George.
Hi George,

Is there a list of these on the web? Or is this "0xff" + normal "6 digit hex" color?
"If everyone is thinking alike, someone isn't thinking."
- General George Patton Jr
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: Regions' color political map

Post by Balthagor »

number47 wrote: May 01 2018...Or is this "0xff" + normal "6 digit hex" color?
Yes
Chris Latour
BattleGoat Studios
chris@battlegoat.com
User avatar
number47
General
Posts: 2655
Joined: Sep 15 2011
Human: Yes
Location: X:913 Y:185

Re: Regions' color political map

Post by number47 »

I figured it out by trial and error method but thanks Chris!
"If everyone is thinking alike, someone isn't thinking."
- General George Patton Jr
Post Reply

Return to “Modding SRUltimate”