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

-DEBATE- Should Firaxis add the "get your soliders off my borders?"

Discussion in 'Civ5 - General Discussions' started by France, Nov 28, 2013.

  1. Aristos

    Aristos Lightseeker

    Joined:
    Dec 11, 2001
    Messages:
    3,575
    Gender:
    Male
    Location:
    Deep inside...
    I have answered this in another thread already, but here it goes again:

    Military Promise lasts for 20 turns regardless of game speed.

    Code:
    // Military Promise
    	if(IsPlayerMadeMilitaryPromise(eLoopPlayer))
    	{
    		ChangePlayerMilitaryPromiseCounter(eLoopPlayer, 1);
    
    		// Expired?
    		if(GetPlayerMilitaryPromiseCounter(eLoopPlayer) > 20)
    		{
    			SetPlayerMadeMilitaryPromise(eLoopPlayer, false);
    			SetPlayerMilitaryPromiseCounter(eLoopPlayer, -1);
    		}
    	}
    
     
  2. Dogmouth

    Dogmouth King

    Joined:
    Mar 19, 2012
    Messages:
    613
    Thanks. I guess I'm a bit peeved that we have to look in the code to figure out what we've promised. Do you happen to know which AI actions free you from your obligation? Several games ago I figured out (by random chance) that an AI plopping a GG on my land allowed me to DOW without breaking my promise, but I'm not sure what else frees you.
     
  3. Aristos

    Aristos Lightseeker

    Joined:
    Dec 11, 2001
    Messages:
    3,575
    Gender:
    Male
    Location:
    Deep inside...
    Most likely, the counter went down to zero. I do not remember seeing any block of code "freeing" any player from any promise; on the contrary, once the promise is set, it's in stone until counter runs out or promise is broken. But when I have more time, I may check if I find such thing.

    What is missing for sure is a notification for when the promise's counter goes to zero (as in the expansion promise), but that can only be done modifying the dll, or waiting for Firaxis to do it, or breaking Steam achievements, which seems to be important for most people (?).
     
  4. Silverman6083

    Silverman6083 History-Lover

    Joined:
    Jul 30, 2013
    Messages:
    669
    Location:
    Earth
    Of course however there has to be limitations IMO:
    Must have vision on 4 or more units of another civ on border of your territory
    If he says no promise must last for 15 turns
    May not ask a civ this if you have asked in the past 30 turns
     
  5. NeoNio

    NeoNio Chieftain

    Joined:
    Nov 16, 2013
    Messages:
    41
    At first i wanted this but AI is so bad when fighting, do you really want it to be even easier? 20 turns is not much if you're really not going to attack.
     

Share This Page