Announcement

Collapse
No announcement yet.

Is there any way...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there any way...

    ....To close off negotiations? (perhaps with a view to re-opening them)

    I know that flags can be used to turn on mask-closed AI
    negotiations, but is the opposite possible as an event?

    Tech might be able to answer this mystery, as he used the
    talker/listener masks in his recent 'Frederik The Great' epic...

    Any pointers?
    http://sleague.apolyton.net/index.php?title=Home
    http://totalfear.blogspot.com/

  • #2
    If you want certain civilizations not to negotiate right from the start:
    @IF
    Negotiation
    talkermask=0b000000000000000000000
    listenermask=0b000000000000000000000
    @THEN
    @ENDIF
    (the masks represent 21 civs found in the rules.txt listed from the top reading in programmer's reverse notation from right to left).

    To end negotiations part way into the game:
    @THEN
    Negotiator
    who=...
    type=Talker
    state=Set

    @THEN
    Negotiator
    who=...
    type=Listener
    state=Set

    To re-enable negotiations:
    @THEN
    Negotiator
    who=...
    type=Talker
    state=Clear

    @THEN
    Negotiator
    who=...
    type=Listener
    state=Clear

    Sea Kings TOT

    Sors salutis/ et virtutis/ michi nunc contraria,/ est affectus/ et defectus/ semper in angaria./
    Hac in hora/ sine mora/ corde pulsem tangite;/ quod per sortem/ sternit fortem,/ mecum omnes plangite!

    Comment


    • #3
      Aha!

      That makes things clearer, I think I may have used the wrong command initially!

      Cheers!

      http://sleague.apolyton.net/index.php?title=Home
      http://totalfear.blogspot.com/

      Comment


      • #4
        One glitch, though. If you turn negotiations on or off between one civ and another using the Negotiator event, you do it for all other civs as well, ie: if you want to change the initial setting to allow France to talk to Germany, France will also be able to talk to Russia, Britain, etc.

        Nothing's simple or straightforward about ToT events, is it?
        Last edited by techumseh; October 10, 2008, 20:08.
        Tecumseh's Village, Home of Fine Civilization Scenarios

        www.tecumseh.150m.com

        Comment


        • #5
          ToT makes us jump through hoops alright!



          I take it 'Negotiator' set/clear events work best with 'ReceivedTechnology' tech events?

          I tried to make an event that shut off the Soviet's diplomacy with German if Barbarossa is opened...

          But found it did not work - The event to open up Allied diplomacy if London is conquered seemed to work fine though...

          The events closes off Allied negotiations on turn 1, and that seemed to work...Hmmm!

          ....
          http://sleague.apolyton.net/index.php?title=Home
          http://totalfear.blogspot.com/

          Comment

          Working...
          X