1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Improvements to the United Nations

Discussion in 'Civ4 - World 2009 Mod' started by DVS, Feb 4, 2009.

  1. DVS

    DVS El Presidente

    Joined:
    Jul 1, 2005
    Messages:
    1,037
    Location:
    Canada
    I am starting to bugger around with the U.N., so let's get all our ideas about improvements we want to make to it in this thread.

    a) First of all, diplomatic victories. Since we are using the Mastery victory condition only, I believe it disables them by default. Does the UN work with that mod, with simply the victory vote removed, or what? Hopefully someone who has used the Mastery victory condition mod can enlighten me.

    b) I think the civic votes should stay close to normal, we will just have to wait until our civics are all fixed up before deciding which specific civics should get the votes. Maybe we should have two sets of votes for each civic category, so, the vote will change depending on who is UN secretary general. If it's the USA, they will propose capitalist/democracy related civic votes; if it's China, they will propose votes on Communism related civics. I definitely think that we should increase the vote % required for these to pass. Any one major civ voting against it should work as a veto.

    c) Should we add votes that would force everyone to trade embargo a specific nation? Myself and Steve (doesn't have an account here yet or username, what a loser) will look into how this can be done. I think this is something we can archive reasonably easily. If the secretary general has terrible relations with a country, and (possibly) already has unilateral (traditional civ) trade embargoes against it, there would be a % chance that they would propose this vote. I suppose we will have to improve the interface as well, to allow not only the selection of the vote, but after that, which country (from a list of eligible ones), it is against. Shouldn't be hard, and we'll need that for the next part as well...

    d) Peacekeeping missions; I know this has been discussed on this forum before, but I forget specifics ATM. Ekmek made a comment today in a thread outside our forum that drew me to this topic:


    This kind of thing will be the most difficult to modify, but worth it, and quite important if you ask me. Let's get specific ideas finalized, and then we will see if we can get them working. Ekmek's idea is one; traditional peace keeping. If we have trouble creating peacekeeping votes against specific nations, we could have a vote that would allow a specific nation to build peacekeeper units, that they could use anywhere. We have to discuss how exactly we want this to work.

    This would be called something else. Maybe someone can google and post specific U.N. info; exactly what they call resolutions etc. This would be closer to the U.N. mandating the mission in Afghanistan, while the above, more like present day Kosovo.

    Example: Egypt is getting attacked by Barbarians that have bases/cities in Sudan, but do not have good enough relations with Sudan to get open borders. The USA (sec. general) has bad relations with Sudan, plus recognizes that there are a lot of barbarians inside their borders, so that makes them call for the vote. If it passes, Egypt and every other nation gets to move units into Sudan's borders, and kill the barbarians, and possibly take their cities. (some countries will have full barbarian cities and forts inside their cultural borders)

    For this, all we will really have to do, is figure out how to make a civ having a lot of barbarians inside their borders become a consideration for the sec. general proposing a UN vote against them. If we can't, we will have to find some other factor to influence the vote to happen. Once we've played around with these files we'll have a better idea of what we can and can't do with the U.N., and we'll post what we know.

    BTW: Steve B. is a friend of mine from school; he's a programmer (comp. science student, knows Python and C++) and is going to be helping with several things. I have been bugging him to sign up here, he will soon I'm sure. I'm hoping he will be able to help us tune up a few things here and there, including the U.N., and also build one new custom feature before our first release. No pressure buddy. :D


    So guys (and gals), if you have ever seen a MOD that makes changes to the U.N. that might help us in any way, or good discussions/guides about this topic, or if you know any specifics that may help us, please share.

    Otherwise, please share ideas about missions we can include, and improvements on the ideas above.

    I recall some talk about representing the security council; perhaps we can do this by simply having the largest nations have a veto equivalent amount of votes. This way it is dynamic, as nations gain and loose power, the veto vote follows. Plus we really don't have to change anything (for a change).
     
  2. Mattygerst

    Mattygerst Chieftain

    Joined:
    Jan 19, 2008
    Messages:
    536
    Location:
    St. Louis, Missouri, USA
    Edit...

    Spoke before I read.
     
  3. DVS

    DVS El Presidente

    Joined:
    Jul 1, 2005
    Messages:
    1,037
    Location:
    Canada
  4. Joecoolyo

    Joecoolyo 99% Lightspeed

    Joined:
    Apr 8, 2008
    Messages:
    9,908
    Location:
    茨城県
    Well, don't want to overload you with work or make the UN more complicated than it needs to be but here are some ideas (concerning the Security Council)

    -We could make it so that a separate goes out every X-amount of turns that puts the 10 Civs highest in score up to vote to get on the security council, every country belonging to the UN can vote for 2 civs it wants to be on the security council, of course the 5 civs with the highest amount of votes will make it onto the council

    -The council could serve the purpose of choosing what proposition it will put up every X-turns that the world votes on, first the UN secretary General will choose 3 propositions that he believes should be put up to vote, then the Security council countries will vote on which proposition they believe the entire world should vote on, of course the proposition with the most votes will go one for the world to vote on, this will make it so that the Security Council will have more influence over the UN besides just an extra amount of votes

    Hopefully those aren't too complicated, just trying to make it as realistic and new as possible
     
  5. DVS

    DVS El Presidente

    Joined:
    Jul 1, 2005
    Messages:
    1,037
    Location:
    Canada
    Very interesting ideas. We should have a better understanding of what can and can't be done soon.

    If we end up having the security council, which I think we should if possible, we could have it so 5 veto power seats are permanent, but when a civ reaches X power/score, the existing members get to vote whether or not to include them as a permanent member. If they vote no, the vote comes up again every X turns.

    And then, I think it will be too much to have votes for 10 non-permanent members (like there are in reality), so we should have a couple randomly rotating seats, with possible restrictions like; having at least cautions relations with all permanent seats (or the majority, if no one has all). These non-permanent members won't have veto power, but they will have a chance to propose security council resolutions.


    Another thing; what about term limits for SG? Say, a civilization can only be elected secretary general twice in a row, and then they are not eligible for the next 4 votes or something?

    And, we may want to avoid giving the host nation an automatic seat in the elections (we'll have to if we have term limits).
     
  6. ianinsane

    ianinsane Chieftain

    Joined:
    Sep 24, 2006
    Messages:
    393
    Location:
    Germany, EU
    Yeah! A UN-thread! :)

    OK, I'll just copy my post about this from the features thread here, to keep things clean.

     
  7. ianinsane

    ianinsane Chieftain

    Joined:
    Sep 24, 2006
    Messages:
    393
    Location:
    Germany, EU
    Great idea about the changing veto seats!
    Concerning the non-permanent members I think it isn't necessary to restrict them depending on good relations towards the veto members. In reality they can't reject a candidate for a non-permanent seat, can they?

    I also love the UN missions idea. I had thought about something like that, too. My first thought was to have a system similarly to the mercenary-system: Civs can supply units they don't currently need to UN missions. When a resolution is passed all units that currently are in this pool are deployed on that mission. But that might be too complicated.

    I remember to have seen graphics for UN soldiers and UN vehicles. I'll look for them!
     
  8. ianinsane

    ianinsane Chieftain

    Joined:
    Sep 24, 2006
    Messages:
    393
    Location:
    Germany, EU
    Here: UN peacekeeper graphics

    The corresponding UN peacekeeping mod isn't very interesting since you can use the UN units to augment your own forces...
     
  9. DVS

    DVS El Presidente

    Joined:
    Jul 1, 2005
    Messages:
    1,037
    Location:
    Canada
    Great ianinsane, thanks for posting that here. Great find on the unit as well.

    You're right about the non-permanent seats, they should just be random.


    From another thread:


    My thoughts on what this could be used for:


    However the problem with having a unit, is the question about whether the AI will use it properly. We will have to try it and see.

    The votes I think are something we can adjust for sure in a way that works.
     
  10. Ekmek

    Ekmek on steam: ekmek_e

    Joined:
    Aug 7, 2002
    Messages:
    6,045
    Location:
    San Diego, California

    my first thought would be to make it a unit that can go into rival territory (like caravels)

    the second is to have it, through python or what ever, make the terrain impassable. Like mountains do now. so the code is somewhere

    getting the AI to use it would be the hardest part. But also preventing the human from leaving itin cities so no one can attack them etc.

    maybe this can be could combined with an event. you have to send x number of peace keeping units to a certain square. once that part of the quest is achieve the event would change the terrain to an impassable one (say peracekeeper base). the hard part there is having the event find the borders to save.
     
  11. DVS

    DVS El Presidente

    Joined:
    Jul 1, 2005
    Messages:
    1,037
    Location:
    Canada

    Yes, getting the AI to use it is the main problem. Making the unit able to enter rival territory, and make its tile impassable only when outside its borders is easy enough. We could also make the unit almost defenseless inside its own territory, or in any situation where it can be attacked.

    It would be nice if these units would only be able to enter another civ's borders after that civ loses a UN vote.

    I have not looked in to anything having to do with quests, so I have no idea what the capabilities are there unfortunately.
     
  12. Ranbir

    Ranbir Civ junkie

    Joined:
    Feb 14, 2005
    Messages:
    598
    Location:
    Herts
    Maybe just have a UN peacekeeper spawn(through event or something) in the city in question which needs protecting. Stopping the aggressor from taking it. After a while, the unit can vanish again when it is no longer necessary.

    It isn't quite controlling borders, but it does help the actual cities.
     
  13. Mattygerst

    Mattygerst Chieftain

    Joined:
    Jan 19, 2008
    Messages:
    536
    Location:
    St. Louis, Missouri, USA
    What if you want to "Defy" the UN-Peacekeeping mission anyway?

    If you vote to "Defy-Resolution," no unit should appear, and each country voting "Yes" should Declare War on the aggressor.

    No?

    What fun is it to want to world dominate...and then you can't, and you have no choice but to accept? You should be able to Defy the Resolution, and have to deal with a world at war with you!

    And if you can't have a unit appear...just have a 10-turn peace treaty and a re-vote at the end of 10-turns (but still, you need to be allowed to Defy-Resolution this).
     
  14. sheep21

    sheep21 Chieftain

    Joined:
    Nov 27, 2005
    Messages:
    562
    Location:
    London
    israel defies numerous resolutions, and yet she is not fighting the world.

    Perhaps, -5 relations with all who voted for the resolution?
     
  15. Mattygerst

    Mattygerst Chieftain

    Joined:
    Jan 19, 2008
    Messages:
    536
    Location:
    St. Louis, Missouri, USA
    How about a % chance of a war declaration from Members who have a certain + attitude from leaders that you are aggressing?

    Russia attacks Country X (country X does not have a defensive pact with with the EU)...attempting to reclaim the old Soviet Bloc...and the Resolution is passed and Russia refuses...and they have a % chance of having the EU declare war bc the EU and Country X have a +3 relations (or something along those lines).

    Thats all I meant...
     
  16. RocknRolla

    RocknRolla Chieftain

    Joined:
    Feb 4, 2009
    Messages:
    4
    I have been looking through the files that come with the world 2009 mod, and it should be easy enough to make changes to the united nations.

    I have a few questions, can some of you who have played the game more than I have, or who know about the modifications that have already been made for the world 2009, fill me in?

    a) Is there any place on this forum or elsewhere that has an exact explanation of how the united nations works in the game? (i) What influences the secretary general to pick the resolutions it does, and (ii) what influences countries to vote the way they do are of particular interest.

    Other information like (iii) how often votes happen, (iv) how badly defying resolutions hurts relationships with other civilizations, and (v) can resolutions that have already been passed get put up again and lose (and hence have their effects/limitations removed), would also be helpful.

    The best information I have found so far is on this page: http://www.civfanatics.com/civ4/info/ , but in the world 2009 mod there already appears to be a lot more possible resolutions, such as "un peacekeeping", "trade embargo", and "un war resolution". These sound like they are related to what is being discussed here. Are these standard civ4 resolutions? If so, can someone explain to me how they work? The current build of the mod crashes when I try to run a turn so I'm having a hard time testing things.

    b) What is the apostolic palace? Do these votes keep happening after the united nations has been built?
     
  17. DVS

    DVS El Presidente

    Joined:
    Jul 1, 2005
    Messages:
    1,037
    Location:
    Canada
    I'll help you as much as I can when I get home this afternoon.
     
  18. DVS

    DVS El Presidente

    Joined:
    Jul 1, 2005
    Messages:
    1,037
    Location:
    Canada
    A) i and ii, I don't know. Does anyone else have any info about this?

    iii) Easy enough to find out, I'll dig around now.
    iv) Defined by the DEFY_RESOLUTION_POP_ANGER tag in the GlobalDefinesAlt.xml file.
    v) I think so, but I have never seen it done. As the SG, I have put already passed resolutions up for votes again, but they have always passed again. Has anyone else seen this work?

    B) Apostolic palace is what comes before the U.N. I'm pretty sure that it stops working after the U.N. is built. Maybe someone can confirm this? I was thinking we should mod the Apostolic palace into the Security Council.
     
  19. Ekmek

    Ekmek on steam: ekmek_e

    Joined:
    Aug 7, 2002
    Messages:
    6,045
    Location:
    San Diego, California
    I think it expires by a tech. well speaking of aposoltic palace I know its based on the un but requires religion. I wonder if yo can modify the sdk to to have a apolostolic palace like building but requires a resource, like oil (I'm thinking OPEC)
     
  20. DVS

    DVS El Presidente

    Joined:
    Jul 1, 2005
    Messages:
    1,037
    Location:
    Canada
    Interesting, yes I suspect that could be done. So then only members of OPEC would vote?

    Now you've gone and given us much more complicated ideas to consider! :D

    I was hoping to find a way to represent all major trade organizations, OPEC included. We have so much in front of us though, I had put this on the back burner until after version 1.0 comes out. And apolostolic palace-like building that allows all members to vote on resolutions... is a perfect expansion to this idea.

    I'll play around with this and see what happens.
     

Share This Page