View Full Version : Adding new United Nations resolutions


Davyd
Nov 25, 2005, 02:46 PM
Has anyone tried to add new UN resolutions or know of anyone who has? I did a search through the forums but didn't come up with anything. I would love to see more diplomatic decisions made by the UN. (An anti-colonization treaty, which would stop the production and creation of settler units is an example).

I don't know if the AI would know how to vote if new resolutions were added though.

mazzz
Nov 25, 2005, 03:01 PM
great idea, maybe we could allow civs to pull out of the UN, have the benifit of being in it a little extra gold or better relations with other civs. like UN passes Free Speech, Bismark quits UN. All civs in UN give Bismark -3, "you are a rogue nation"

maybe we could make the UN have sacations, Bismark pulls out of UN, UN votes to put cut off all UN members from trading with Bismark untill he rejoins

Davyd
Nov 25, 2005, 03:12 PM
Well, players have the choice of abstaining, but from my experience the only time an AI abstains from voting is when there is a vote for UN leader or diplomatic victory and the AI has negative relations with both candidates.

Maybe a "world peace" resolution - no declarations of war can be made. Or an open boarders treaty for all nations. I think there really are a lot more possibilities for the UN that were just left out altogether.

Scytale
Nov 25, 2005, 04:36 PM
These are great ideeas! Economic sanctions in case of one civ declareing war on another would be great too, in my opinion. This could be made by forcing all civs to stop trading with the aggressor.

donquixote235
Nov 25, 2005, 04:40 PM
I've always toyed with the idea of unlocking all the civics options in the UN resolutions ... so rather than having the "kindler and gentler" civics available for vote, you could (for example) choose to make slavery a worldwide phenomenon.

Davyd
Nov 25, 2005, 05:35 PM
That would be great, it would be interesting to see a game in which all civs are forced to obey pacifism or a military-oriented civic.

TheFourGuardian
Nov 25, 2005, 07:05 PM
Ah, I'm working on this now. Hey, maybe it'll be my first mod.

Anyway, I've found a ton of related files and could probably make the force civics work right now.

However, I also want to make a forced conversion possability, but I have no idea how to do that.

Maybe I'll have enough done to give you a rough thing by tommorow.

Davyd
Nov 25, 2005, 07:18 PM
Awesome :) let us know!

TheFourGuardian
Nov 25, 2005, 07:27 PM
Hmm, I found something interesting. In the Python files there is talk in the religion screen area about a ReligionConvert definition. I'm fairly green at these things, but I wonder if defining something like:


<ReligionConvert>
<ReligionType> Religion_Christianity </ReligionType>
</ReligionConvert>

would work. It seems to be off, however.

Edit: Either way, I'll forget this for now and make some minor alterations to see if they work.

TheFourGuardian
Nov 25, 2005, 07:40 PM
Got one working, Police State.

Worked like a charm.

Should just be a little while before it's all done.

I hope you don't mind me placing any silly little jokes in the things.

My police state one was something like:

Global Civic- Police State(Heil!)

If that's offensive, please tell me and I'll remove anything of that nature, or create a seperate file or something.

Davyd
Nov 25, 2005, 07:45 PM
I don't mind at all, I like Civ humor. :)

mazzz
Nov 25, 2005, 08:00 PM
cool, can u tell us what files u edited? do u use a program?

TheFourGuardian
Nov 25, 2005, 08:21 PM
I pretty much use note pad, and the files are right now just two.

assets/xml/gameinfo/Civ4VoteInfo

and

assets/xml/text/civ4gametextinfors


The first allows for the mandatory things, and is a really basic copy and paste with a few additions. The second is for what pops up.

I'm nearly done now. A few economic and religious things to go(plus a few extra in that text file.)

TheFourGuardian
Nov 25, 2005, 08:33 PM
Just now finishing up with the last of the text edits. I'll release it then, after some testing, of course, and then work on the religion edits. I think I know how to do it now.

My grand finale, if I can get it in there, will be to add the ability to withdraw from the UN, and also to join CETO

The Civilization Empire Trade Organization. Mutual defense pacts for all.

Davyd
Nov 25, 2005, 08:37 PM
Can't wait :)

mazzz
Nov 25, 2005, 09:12 PM
sounds great, how will it work? can u rejoin latter?

Davyd
Nov 25, 2005, 09:15 PM
I just had a thought, what happens if more than one resolution passes requiring each civilization to have more than one civic in the same area? (eg, two different economy civics)

I'm guessing, a crash.

TheFourGuardian
Nov 25, 2005, 09:15 PM
Testing showed some problems, they've been fixed now.

Should be done shortly.

TheFourGuardian
Nov 25, 2005, 09:21 PM
Hmm, it doesn't crash the game, but rather makes it so that the option is available, and you now have two choices. Interesting.

mazzz
Nov 25, 2005, 09:28 PM
lol, maybe we could say that the UN has made a list of "acceptable" civics

Davyd
Nov 25, 2005, 09:31 PM
That's even BETTER :lol:

I love the idea of having a worldwide diplomatic meeting on acceptable forms of government. And even if a resolution is passed that's not favorable, it can always be brought to vote again and fail.

Remember to make a post in the modpacks section, I bet a lot of people will like this.

TheFourGuardian
Nov 25, 2005, 09:35 PM
Yes, that's exactly how it works(couldn't get on for a while.)

If you revote and it say no, it is no longer acceptable.

Of course I used worldbuilder to give myself the building and majority vote, but it does work. Very cool.

mazzz
Nov 25, 2005, 09:57 PM
sounds cool, when do u think u could have it up by?

TheFourGuardian
Nov 25, 2005, 10:01 PM
I'd say now, but some new errors have popped up(from where I have no idea. It was working fine before, but when I moved it into this new folder, it started to fail, and some other problems worked up as well.)

TheFourGuardian
Nov 25, 2005, 10:24 PM
Fixed the problems, final testing is in order, as I forgot paganism!

Davyd
Nov 25, 2005, 10:27 PM
:woohoo: Thank you!

TheFourGuardian
Nov 25, 2005, 10:29 PM
All right, I think it's done.


Though I can say I wasn't planning on spending my night this way.

TheFourGuardian
Nov 25, 2005, 10:37 PM
It's up over at the completed mods section.

mazzz
Nov 25, 2005, 10:44 PM
sweet! thanks a lot

Davyd
Nov 25, 2005, 10:49 PM
Downloaded and using it now, thank you! :)

TheFourGuardian
Nov 25, 2005, 11:00 PM
Sure thing.