Creating New Countries/Voter Groups

Discuss how to make your own events, policies and dilemmas, even whole new missions for the games
Alex

Creating New Countries/Voter Groups

Postby Alex » Sat Apr 01, 2006 5:08 pm

Is there any chance of a tutorial in the future about modding new countries and/or voter groups?

Are there any plans to add more countries to the full (official) game?
User avatar
cliffski
Positech Staff
Positech Staff
Posts: 7972
Joined: Sat Feb 11, 2006 10:27 am
Location: UK
Contact:

Postby cliffski » Sat Apr 01, 2006 5:22 pm

countries can be added just by adding a new text file with the correct name. I'll try and get some information together on what the different values mean.
TiCi
Line Supervisor
Line Supervisor
Posts: 19
Joined: Mon May 01, 2006 12:39 pm

Postby TiCi » Mon May 01, 2006 8:57 pm

I am modding a country and have a question...

What is the purpose of the matrix file that accompanies each mission (country)?
User avatar
cliffski
Positech Staff
Positech Staff
Posts: 7972
Joined: Sat Feb 11, 2006 10:27 am
Location: UK
Contact:

Postby cliffski » Mon May 01, 2006 10:34 pm

the matrix file contains data on all the group memberships of each person. If one doesnt exist, it gets generated. The reason I do this is so that there is a consistant distribution of groups whenever you play that map. so for modding purposes, you dont need to create one.
TiCi
Line Supervisor
Line Supervisor
Posts: 19
Joined: Mon May 01, 2006 12:39 pm

Postby TiCi » Mon May 01, 2006 11:11 pm

However if you want to go into detail and want to create specific societies it is probably a good thing to create a tailored one for a specific country. In the case of EU I would want to decrease the Patriots to a minimum because no one feels as a European. Also, I would want to decrease the number of motorists because IMO they are a strong commercial lobby but they are irrelevant as a part of the voters (seriously, this was an issue in the 1960s in the USA when speeding limits and seatbelts were enacted, nowadays we decide who to vote for for totally different issues)

How many lines is minimum to make a sufficient distribution and am I right in assumnig that such changes are possible?
User avatar
cliffski
Positech Staff
Positech Staff
Posts: 7972
Joined: Sat Feb 11, 2006 10:27 am
Location: UK
Contact:

Postby cliffski » Tue May 02, 2006 7:08 am

yes the mtx file is just text and easily edited, the only problem is it is very big. what you can do is edit the votertypes.csv. the fourth column is th population distribution per group. and the last few columns control the extent to which people can be in several groups at a time (you can see that liberals cannot be conservatives for example).
If you edit this file, then generate the mtx, you can then use that mtx and put the old values back.
There are some voter group sizes that are altered in another way, and these are from the mission file itself, but Im assuming youve seen those?
Lidhuin
Line Manager
Line Manager
Posts: 35
Joined: Sun Feb 12, 2006 8:27 pm

Postby Lidhuin » Tue May 02, 2006 6:33 pm

TiCi wrote:In the case of EU I would want to decrease the Patriots to a minimum because no one feels as a European.


:P I feel as a european.

But I get what you mean.
johnnyboy
Type II Robot
Type II Robot
Posts: 64
Joined: Wed Apr 26, 2006 5:35 pm

Postby johnnyboy » Wed May 03, 2006 4:58 pm

There are EU "patriots"... I guess you can call them europhiles who want a central European Union and everything to be standardized. I know that these types exist. I suggest that you create two different voter groups (if possible). Euroskeptic and Europhile. Euroskeptics being the group that is against the European Union and wants to seperate and Europhiles being those all in favour of a European Union central nation.

On a side note, I definatley hope that a European Union nation doesn't become a reality. In fact I would prefer that the EU be abolished entirely. I guess I would be a euroskeptic.
Smiley
Senior Line Supervisor
Senior Line Supervisor
Posts: 29
Joined: Wed Dec 12, 2007 6:47 pm
Location: County of York, West Riding
Contact:

Postby Smiley » Wed Dec 12, 2007 7:02 pm

johnnyboy wrote:There are EU "patriots"... I guess you can call them europhiles who want a central European Union and everything to be standardized. I know that these types exist. I suggest that you create two different voter groups (if possible). Euroskeptic and Europhile. Euroskeptics being the group that is against the European Union and wants to seperate and Europhiles being those all in favour of a European Union central nation.

On a side note, I definatley hope that a European Union nation doesn't become a reality. In fact I would prefer that the EU be abolished entirely. I guess I would be a euroskeptic.


Yes. They're called National Socialists. "United Europe with a common currency.." Hitler's dream. :wink:
RF-EEE
Senior Line Worker
Senior Line Worker
Posts: 6
Joined: Mon Dec 17, 2007 11:20 am

Re: Creating New Countries/Voter Groups

Postby RF-EEE » Mon Dec 17, 2007 11:23 am

name etc.
/../
matrix = data/missions/mission13.mtx
unemployment = 0.6
povertyrate = 1
militaryspending = 0.15
Socialist = 0.20
Capitalist = 0.15
Retired = 0.05
Commuter = 0.03
Patriot = 0.31
Motorist = 0.02
Liberal = 0.13
Religious = 0.89
TradeUnionist = 0.20
SelfEmployed = 0.20
Environmentalist = 0.02
Wealthy = 0.03
Poor = 0.83
MiddleIncome = 0.11
Parents = 0.74
Drinkers = 0.41
Smokers = 0.32
Farmers = 0.55
StateEmployees = 0.12
Conservatives = 0.68
/../
flag etc.

How come I still only get 15% farmers and 30+% motorists?
RF-EEE
Senior Line Worker
Senior Line Worker
Posts: 6
Joined: Mon Dec 17, 2007 11:20 am

Re:

Postby RF-EEE » Mon Dec 17, 2007 11:25 am

Lidhuin wrote:
TiCi wrote:In the case of EU I would want to decrease the Patriots to a minimum because no one feels as a European.


:P I feel as a european.

But I get what you mean.


Me to *even served in the Army because of it*
User avatar
cliffski
Positech Staff
Positech Staff
Posts: 7972
Joined: Sat Feb 11, 2006 10:27 am
Location: UK
Contact:

Re: Creating New Countries/Voter Groups

Postby cliffski » Mon Dec 17, 2007 11:45 am

The reason initial values don't seem to match what you see is that those are only 'starting' values. The policies you have in place at the start of the game are 'back projected' so that they also have an effect. So changing those policies will be needed if you want less motorists.
RF-EEE
Senior Line Worker
Senior Line Worker
Posts: 6
Joined: Mon Dec 17, 2007 11:20 am

Re: Creating New Countries/Voter Groups

Postby RF-EEE » Mon Dec 17, 2007 11:56 am

[policies]
IntelligenceServices, 0
PoliceForce,0.1
ArmedPolice,0
Prisons,0
Gambling,1
Narcotics,1
HandgunLaws,0
RoadBuilding,0.0
IncomeTax,0.75
InheritanceTax,0.5
CorporationTax,0.75
RF-EEE
Senior Line Worker
Senior Line Worker
Posts: 6
Joined: Mon Dec 17, 2007 11:20 am

Re: Creating New Countries/Voter Groups

Postby RF-EEE » Fri Dec 21, 2007 3:58 pm

cliffski wrote:The reason initial values don't seem to match what you see is that those are only 'starting' values. The policies you have in place at the start of the game are 'back projected' so that they also have an effect. So changing those policies will be needed if you want less motorists.


So how would I go about in creating a "developing country" with high percentage of farmers and poor, low percentage of middle and high income, as well as a quite low amount of car usage/owners?

(maybe a slider for "Infrastructure" could be of value here as well, affecting GDP and perhaps Internet use etc. perhaps something in the line of what is in Kudos with three separate values [Transport, Health&Sanitation, Communication] would be suitable?)
RF-EEE
Senior Line Worker
Senior Line Worker
Posts: 6
Joined: Mon Dec 17, 2007 11:20 am

Re: Creating New Countries/Voter Groups

Postby RF-EEE » Mon Dec 24, 2007 1:03 pm

Okey, I've noticed two categories that corelate to change now, but one has to change the name of "Religious" to "Religion" instead. Since I didn't find "Religion" in VoterTypes I assume there must be another file, but that the names should be changed.

Socialist = ?
Capitalist = ?
Retired = ?
Commuter = ?
Patriot = ?
Motorist = ?
Liberal = ?
Religious = Religion
TradeUnionist = ?
SelfEmployed = ?
Environmentalist = Environmentalist
Wealthy = ?
Poor = ?
MiddleIncome = ?
Parents = ?
Drinkers = ?
Smokers = ?
Farmers = ?
StateEmployees = ?
Conservatives = ?

Return to “Modding (democracy 1)”

Who is online

Users browsing this forum: No registered users and 1 guest