to edit existing ones you can just edit the text in the VoterTypes.csv file (it’s just a text file) if you want to create new ones, you basically add a line to that file, or put a new file in the mydocuments\democracy2\mods\data\simulation\votertypes directory. The new file is basically a single line of text as you would normally get from the votertypes.csv.
So what do the different values mean? Its easiest to open VoterTypes.csv in Excel, so you can see the values in columns (each comma is a new column).
In order from left to right they are:
‘#’ just means use this row, it contains valid data
‘name’ This is the name of the group used internally, not translated or shown anywhere. It is used in policies and scripts to target this group.
‘guiname’ This is what the game publicly calls this group and is used in the GUI to refer to it.
‘plural’ The plural version of guiname, used in some text
‘image’ this is the big image used on the voter details screen. it can be blank
‘overriden_joins’ always set this to 0
‘default’ This is the default level of happiness of the group, regardless of policies
‘percentage’ the percentage of the population who are in this group by default, regardless of policies (which may change that)
‘opposite’ The name of any opposite group. Voters cannot be in a group and its opposite at the same time.
‘#’ marks start of influences
Then comes the influences. Basically this is a list of modifiers to prevent membership of certain groups being too common, or making them more common. Basically there is the name of the other group, a comma then a number indicating how to change the likelihood of being in that group (given that you are in this one). So if you look at farmers you can see they are prevented generally from being commuters. Liberals are encouraged not to be patriots etc etc.