New code for the state ?

For general talk about Supreme Ruler 2010

Moderators: Balthagor, Legend, Moderators

Post Reply
User avatar
Damian WSD
Sergeant
Posts: 24
Joined: May 07 2018
Human: Yes

New code for the state ?

Post by Damian WSD »

how to assign a new code to the state?
Poland=T East Europe. but i want to assign specific code. For example P=Poland.
Jesus, my Lord, is my best way to live in thrue happiness.
d-bassett
BattleGoat Team
Posts: 85
Joined: May 03 2018
Human: Yes

Re: New code for the state ?

Post by d-bassett »

If you would like to modify a regions availability code you need to first change its "worldavail" value to what you would like it to be in the scenarios .CVP file. Secondly, if you want your region to be able to access specific units you would have to modify the DEFAULT.UNIT file and add/replace your new region code in the "market availability" value. I hope that this helps, here is a link to the with all current region codes, as of now 'P' is unused but some special characters should be able to be used as well (!@#$%...).

https://supremeruler.gamepedia.com/Region_Codes
User avatar
Damian WSD
Sergeant
Posts: 24
Joined: May 07 2018
Human: Yes

Re: New code for the state ?

Post by Damian WSD »

Hm, but where can i find this CVP file? inside SCENARIO folder i can find only GMC.
Jesus, my Lord, is my best way to live in thrue happiness.
d-bassett
BattleGoat Team
Posts: 85
Joined: May 03 2018
Human: Yes

Re: New code for the state ?

Post by d-bassett »

Sorry i hadn't noticed that this was posted in the 2010 section, the change should be made in the GMC file under "{id}armsavail" instead of worldavail
User avatar
Damian WSD
Sergeant
Posts: 24
Joined: May 07 2018
Human: Yes

Re: New code for the state ?

Post by Damian WSD »

Here, u have example from GMC file. But still can`t find it (?)

&&PLAYER03 - US
03music: 01
03electionymd: 2016,11,8
03playeragenda: 3
03belli: 0.05,0.07,0,0.34,0.48,0.18,0.02,0.03,0,0.08,0,0.2,0,0.17,0.03,0.55,0.02,0.2,0.02,0.18,0.09,0.42,0.13,0,0.08,0.22,0.75,0.12,0.02,0.08,0.13
03civattitude: 0.1,0.04,0,-0.04,-0.03,0.04,0.1,0.08,0.23,0.37,0.42,-0.06,0.12,-0.08,0.02,-0.3,0.04,0.03,0.08,0.02,0.08,-0.38,0.04,0.08,0.17,0.01,-0.58,0.02,0.04,0.01,-0.06
03diprelate: 0.22,0.16,0,0.1,-0.2,0.08,0.3,0.1,0.46,0.34,0.5,0.15,0.2,0.08,0.14,-0.14,0.06,0.1,0.12,0.14,0.15,-0.3,0.2,0.15,0.26,0.26,-0.68,0.14,0.15,0.18,0.08
03ceasefire:
03war:
03treaties[10]: 84
03treaties[17]: 1
03treaties[10]: 1
03treaties[4]: 55
Jesus, my Lord, is my best way to live in thrue happiness.
d-bassett
BattleGoat Team
Posts: 85
Joined: May 03 2018
Human: Yes

Re: New code for the state ?

Post by d-bassett »

We haven't touched the code for this game in over a decade so i hope that I can help you, for that specific file "World War III.GMC" there is no armsavail parameter listed for any region but you can just add it in like this:

Code: Select all

&&PLAYER03 - US
03music:	01
03electionymd:	2016,11,8
03playeragenda:	3
03belli:	0.05,0.07,0,0.34,0.48,0.18,0.02,0.03,0,0.08,0,0.2,0,0.17,0.03,0.55,0.02,0.2,0.02,0.18,0.09,0.42,0.13,0,0.08,0.22,0.75,0.12,0.02,0.08,0.13
03civattitude:	0.1,0.04,0,-0.04,-0.03,0.04,0.1,0.08,0.23,0.37,0.42,-0.06,0.12,-0.08,0.02,-0.3,0.04,0.03,0.08,0.02,0.08,-0.38,0.04,0.08,0.17,0.01,-0.58,0.02,0.04,0.01,-0.06
03diprelate:	0.22,0.16,0,0.1,-0.2,0.08,0.3,0.1,0.46,0.34,0.5,0.15,0.2,0.08,0.14,-0.14,0.06,0.1,0.12,0.14,0.15,-0.3,0.2,0.15,0.26,0.26,-0.68,0.14,0.15,0.18,0.08
03ceasefire:	
03war:
03treaties[10]:	84
03treaties[17]:	1
03treaties[10]:	1
03treaties[4]:	55
03armsavail:	P
Post Reply

Return to “General Discussion”