China Mod

Post your mods, mod information requests and suggestions here for the new version of the game (democracy 2)
davidmacc
Senior Line Worker
Senior Line Worker
Posts: 8
Joined: Fri Jun 13, 2008 9:20 pm

China Mod

Postby davidmacc » Sun Jun 15, 2008 1:07 pm

A mod for a non-democracy!

My mod includes a new mission, some dilemmas and a new voter type - Communist. It can be found here:

http://www.positech.co.uk/democracy2/ho ... /China.zip

This is my first try at modding so I'd welcome any comments or suggestions - davidmacc*at*hotmail.com
I'm just beginning to figure out how to do policies and events, I can post those too, when I've put a few together.

Cheers,

David
davidmacc
Senior Line Worker
Senior Line Worker
Posts: 8
Joined: Fri Jun 13, 2008 9:20 pm

Re: China Mod

Postby davidmacc » Mon Jun 16, 2008 3:06 am

Forgot to thank/credit cliffski for replacing my (fairly crappy) Chinese flags with the 'wobbly' ones seen elsewhere in the game.

I'm beginning to figure out how to do policy and event updates. Watch this space for updates...

David
TomPhil
Supreme Robot
Supreme Robot
Posts: 323
Joined: Tue Jan 23, 2007 12:48 pm
Location: Stockport, UK

Re: China Mod

Postby TomPhil » Mon Jun 16, 2008 10:32 am

You've just reminded me of something I meant to mention a while back. Cliff made available the two files necessary to make those wavy flags if one has Photoshop in this thread. However, that was quite a while ago now and the thread has now become buried quite far down page 2. Firstly it takes some time for even me to find it and I know its there, but also I thought that new modders may not notice it, and its an important download for those wishing to make new missions. I wondered whether it may not be a good idea for this thread to be pinned at the top of the forum? Also it may be worth mentioning that the files are available and placing a link to download them on the modding page of the Democracy 2 site, for those who look for information on how to mod there.
User avatar
cliffski
Positech Staff
Positech Staff
Posts: 7969
Joined: Sat Feb 11, 2006 10:27 am
Location: UK
Contact:

Re: China Mod

Postby cliffski » Mon Jun 16, 2008 3:59 pm

tada!
TomPhil
Supreme Robot
Supreme Robot
Posts: 323
Joined: Tue Jan 23, 2007 12:48 pm
Location: Stockport, UK

Re: China Mod

Postby TomPhil » Mon Jun 16, 2008 11:27 pm

Thanks Cliff. Sorry, I think I phrased my last post badly. What I meant was that the flag files topic should be pinned. What I thought should be made easy to access was the download for the flag files, and it would be easier if that thread was pinned rather than this one as first it would mean people could directly access it rather than indirectly by clicking the link in this thread, and second it would be a lot more obvious by the topic title as to what the point of the thread being pinned was (people designing their own missions would see the thread title of that thread and see immediantely what it was for and that it would be useful for them, whereas they wouldn't notice this thread if they were looking for those files). Sorry for any confusion.
User avatar
cliffski
Positech Staff
Positech Staff
Posts: 7969
Joined: Sat Feb 11, 2006 10:27 am
Location: UK
Contact:

Re: China Mod

Postby cliffski » Mon Jun 23, 2008 8:08 am

Aha, indeed, fixed it.
Daeverion
Junior Line Supervisor
Junior Line Supervisor
Posts: 12
Joined: Mon Apr 21, 2008 2:01 pm

Re: China Mod

Postby Daeverion » Mon Aug 25, 2008 6:51 pm

haya. im having a problem with the "TV standards" dilema for the china mod. is anyone else having this problem?
TomPhil
Supreme Robot
Supreme Robot
Posts: 323
Joined: Tue Jan 23, 2007 12:48 pm
Location: Stockport, UK

Re: China Mod

Postby TomPhil » Mon Aug 25, 2008 11:19 pm

What problem are you having?
Daeverion
Junior Line Supervisor
Junior Line Supervisor
Posts: 12
Joined: Mon Apr 21, 2008 2:01 pm

Re: China Mod

Postby Daeverion » Tue Aug 26, 2008 12:17 pm

well whenever the TV standards dilema appears and i choose either responce, the game then inmediatly crashes. it makes no sence. i also get the same problem with the "interest rates" policy. does anyone else get this problem, of do the chinese just hate me? haha
davidmacc
Senior Line Worker
Senior Line Worker
Posts: 8
Joined: Fri Jun 13, 2008 9:20 pm

Re: China Mod

Postby davidmacc » Tue Aug 26, 2008 2:25 pm

Maybe I've written it badly. I'm travelling until Friday (in China!) but I'll have a look at it at the weekend - promise!
Daeverion
Junior Line Supervisor
Junior Line Supervisor
Posts: 12
Joined: Mon Apr 21, 2008 2:01 pm

Re: China Mod

Postby Daeverion » Tue Aug 26, 2008 6:18 pm

ow thankyou. i do apreciate it.

:)
TomPhil
Supreme Robot
Supreme Robot
Posts: 323
Joined: Tue Jan 23, 2007 12:48 pm
Location: Stockport, UK

Re: China Mod

Postby TomPhil » Wed Aug 27, 2008 5:53 pm

I think I have it - I think that there is an extra space in the OnImplement line in the dilemma file. It took me about half an hour to track this down.

Here is the problem:

CreateGrudge(ChinaTVStandards,Liberal,0.2,0.65); CreateGrudge(ChinaTVStandards,Capitalist,0.2,0.85);

See between the first semi-colon and the second CreateGrudge - there's a space that shouldn't be there.

Here's a corrected version - just copy and paste it into the dilemma file over the existing content:

Code: Select all

[dilemma]
name = "ChinaTVStandards"
guiname = "Falling Moral Standards on Chinese TV"
description = "Some citizens are troubled to see a decline in moral standards on Chinese TV. The amount of sex and violence in films, advertisements and music videos has shocked any Chinese people. A campaign group have asked your government to make a stand against this, and bring the television companies into line."

[prereqs]
China

[influences]
0 = "Retired,-0.2+(0.75*x)"
1 = "Conservatives,-0.2+(0.75*x)"
2 = "_random_,0.3,0.9"

[option0]
Name = Introduce tougher TV censorship
Description = We need to protect the majority of decent people that want to watch TV without being offended by what they see and hear. TV should be wholesome and educational, we shouldn't be worried to let our children watch TV!
OnImplement = CreateGrudge(ChinaTVStandards,Liberal,-0.3,0.7);CreateGrudge(ChinaTVStandards,Religious,0.1,0.7);CreateGrudge(ChinaTVStandards,Conservatives,0.2,0.8);CreateGrudge(ChinaTVStandards,Parents,0.1,0.7);CreateGrudge(ChinaTVStandards,CrimeRate,-0.1,0.6);

[option1]
Name = Refuse to act
Description = The TV companies are the best people to judge what their viewers want to see, if there is a demand among the people to see sex and violence on TV then why not let it be shown? I'm sure the TV companies will act with restraint and show their programmes with suitable warnings, and at suitable times.
OnImplement = CreateGrudge(ChinaTVStandards,Liberal,0.2,0.65);CreateGrudge(ChinaTVStandards,Capitalist,0.2,0.85);CreateGrudge(ChinaTVStandards,Religious,-0.1,0.7);CreateGrudge(ChinaTVStandards,Conservatives,-0.2,0.8);CreateGrudge(ChinaTVStandards,Parents,-0.1,0.6);


Hope this helps.
Daeverion
Junior Line Supervisor
Junior Line Supervisor
Posts: 12
Joined: Mon Apr 21, 2008 2:01 pm

Re: China Mod

Postby Daeverion » Thu Aug 28, 2008 7:42 pm

thank you. thats been bugging me for ages
Daeverion
Junior Line Supervisor
Junior Line Supervisor
Posts: 12
Joined: Mon Apr 21, 2008 2:01 pm

Re: China Mod

Postby Daeverion » Thu Aug 28, 2008 8:25 pm

ahh. i copied the information you posted, but now when i get the dilema, it doesnt display either of the choices, just the information about the dilema. now im even more confused....
TomPhil
Supreme Robot
Supreme Robot
Posts: 323
Joined: Tue Jan 23, 2007 12:48 pm
Location: Stockport, UK

Re: China Mod

Postby TomPhil » Thu Aug 28, 2008 10:45 pm

Try downloading this and pasting it over the top of the original file. It works on my PC:
Attachments
ChinaTVStandards.zip
(884 Bytes) Downloaded 313 times

Return to “Modding (democracy 2)”

Who is online

Users browsing this forum: No registered users and 1 guest