Results 1 to 3 of 3

Thread: Easy script idea to improve diplomacy

  1. #1
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Easy script idea to improve diplomacy

    Many people have said that their diplomatic game improves dramatically if they simply send a small amount of money to their allies (and to the Pope) each turn, but this is an annoying hassle.

    Now, since the campaign script runs every time, and automatically, you can very easily automatize the above process and potentially improve your enjoymenf from diplomacy tremendously. In docudemon_conditions file, you can check for the following condition:

    Code:
    Identifier:              DiplomaticStanceFromFaction
    Trigger requirements:    faction
    Parameters:              faction type, logic token, stance (Allied, Suspicious, Neutral, Hostile, AtWar)
    Sample use:              DiplomaticStanceFromFaction romans_julii > Suspicious
    Description:             Test the character's faction's diplomatic stance with another specified faction
    Battle or Strat:         Either
    Class:                   DIPLOMATIC_STANCE_FROM_FACTION
    Implemented:             Yes
    Author:                  Guy

    or

    Code:
    Identifier:              DiplomaticStanceFactions
    Trigger requirements:    faction, target_faction
    Parameters:              logic token, stance (Allied, Suspicious, Neutral, Hostile, AtWar)
    Sample use:              DiplomaticStanceFactions > Suspicious
    Description:             Test the diplomatic stance between two factions
    Battle or Strat:         Either
    Class:                   DIPLOMATIC_STANCE_FACTIONS
    Implemented:             Yes
    Author:                  Scott
    And if it is allied (TrueCondition true) to that faction, do something like:

    console_command <faction name> 500. This removes the hassle of giving money, can aid the AI faction a little bit (but without it being ridiculous), and can tide you over until the patch. I don't have the files in front of me, so perhaps someone else can whip up a translation of the above into fully functional code.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  2. #2
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: Easy script idea to improve diplomacy

    :hmmm: Looks interesting, nice find man. BTW, all aspects of scripting belongs in the Text Editing and Scripting sub-forum.

  3. #3
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Easy script idea to improve diplomacy

    Thanks Trajan, I realized it shortly after I posted the thread.

    Now there's a concern: does the faction's standing towards you improve when you use a console cheat command of giving it money?

    More ideas, you can actally detect your faction standings with another faction by the following two conditions:

    Code:
    Identifier:              FactionStanding
    Trigger requirements:    faction, target_faction
    Parameters:              logic token, quantity
    Sample use:              FactionStanding > 0.0
    Description:             what is the standing (relationship) of a faction towards the target faction
    Battle or Strat:         Either
    Class:                   FACTION_STANDING
    Implemented:             Yes
    Author:                  ScottL
    or

    Code:
    Identifier:              GlobalStanding
    Trigger requirements:    faction
    Parameters:              logic token, quantity
    Sample use:              GlobalStanding > 0.0
    Description:             what is the global standing (reputation) of a faction
    Battle or Strat:         Either
    Class:                   GLOBAL_STANDING
    Implemented:             Yes
    Author:                  ScottL


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •