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

Super Spies v2.0 (BTS 3.19) 2016-10-05

Super Spies v2.0 (BTS 3.19)

  1. stolenrays
    This is a port of Super Spies for BTS 3.19. Source code files are included for modders to merge. Source code is commented with Super_Spies or Tsheep. Thanks to Vincentz who collaborated with me to figure out how to extract the source code from RevDCM.

    :espionage:SUPER SPIES v2.0 for Beyond the Sword v3.19:espionage:

    -----:espionage:OVERVIEW:espionage:-----
    Super Spies adds seven new promotion lines and another single promotion to spies and allows them to gain experience from successful missions. Espionage buildings are now expanded to grant spies extra experience and cities can convert production into espionage points. Finally, two new espionage missions are added, allowing spies to bribe workers and assassinate great specialists.

    ------:espionage:GAMEPLAY:espionage:------
    -Spies escape to nearest city instead of the capital w/Custom GameOption
    -Spies have a chance to be turned into a double agent with capture w/ Custom GameOption
    -Double Agents have 50% reduction in mission cost toward previous civ
    -15 New Promotion Lines
    -Promotions Affect All Spy Mission
    -Spies don't start with the use of enemy roads
    -16 New Spy Missions
    -Improved Spy AI
    -Sleep for Espionage Mission
    -Automated Counterespionage Mission
    -3 Buildings provide Spy XP or a Promotion
    -Espionage Process for Cities
    -3 New Spy Attribute Modifiers

    ------:espionage:THE PROMOTIONS:espionage:------
    -Alchemist (I-III): Increases the bonus from poisoning missions and can irradiate tiles.
    -Deception (I-III): Allows the spy to avoid discovery
    -Escape Artist (I-II): Allows the spy to escape, even after being caught.
    -Improviser (I-V): Gives the spy free preparation bonuses.
    -Security (I-III): Increases the spy's odds to catch enemy spies and increases visibility.
    -Instigator (I-III): More unrest from Unhappiness missions and can increase Revolt time.
    -Logistics (I-III): Increases the spy's movement and can unlock the use of enemy roads.
    -Loyalty: The spy never reveals their nationality or cannot be captured.
    -Treachery (I-III): % Assistantion Chance Bonus
    -Conspiracy (I-III): % diplo penalty of Cause Incident (merge with Instigator)
    -Instigation (I-III): % duration of Incite Anarchy
    -Seduction (I-III): % diplo bonus of Political Marriage
    -Intrigue (I-III): % duration of Create Building Missions

    -----:espionage:OPTIONS FOR CITIES:espionage:-----
    -Intelligence Agency: Provides new spies with +2 XP.
    -Security Bureau: Spies start with Informant I promotion.
    -Scotland Yard: Provides new spies with +3 XP.
    -Espionage Process: Allows conversion of production into espionage points (available with Paper)

    -----:espionage:NEW MISSIONS:espionage:----
    -Assassinate: The spy attempts to kill a settled great specialist in the target city.
    -Bribe Worker: The spy attempts to bribe a worker.
    -Nuke City-Causes a Nuclear Bomb to detonate in the city. If caught, the victim nation may declare war on you.
    -Disable Power: Destroys Power Supply temporarily
    -War Wearniness: Increases war weariness
    -Bribe city: The spy attempts to annex a target city.
    -Sabotage research: Sabotages research in a target civ
    -Remove religion: Removes a chosen religion in a target city
    -Remove corporation: Removes a chosen corporation in a target city
    -Spread Lies: Creates Misinformation building (-20% production, +4 unhappy for 5 turns)
    -Exert Influence: Creates External Influence building (-75% culture for 5 turns)
    -Cause Incident: -2 diplo modifier between target civ and the civ of your choice
    -Political Marriage: +1 diplo modifier between target civ and you
    -Incite Anarchy: Puts target player into Anarchy for 2 turns)
    -Seduce Leaders: Creates Seduced Leaders building (-50% culture, -10% production for 5 turns)
    -Establish Den of Spies: Creates a Den of Spies in target city (-2 production, -4 happiness for 10 turns).

    -----:espionage:AI:espionage:-----
    -Better Global Espionage Use - AIs will now prioritize their espionage targets by focusing on tech leaders and enemies rather than simply having an ever escalating EP war with everyone.
    -Counter Espionage- AIs will now use counter espionage units against enemies and those who have proven they cannot be trusted (those whose spies they've caught). This is a large change from vanilla where they were never used at all.
    -Better Mission Choice - AIs will now prioritize tech thievery while avoiding petty needless strikes against people they don't even care about.
    -CoiunterEspionage Automation
    -Auto mission for counter espionage against enemies.

    ---:espionage:CREDITS:espionage:----
    -Mainly to Trojan Sheep who invented and did most of the work of this mod component and glider1 who took over and integrated it into the BTS scheme of espionage missions. Also thanks to deanej, who did the the "convert into espionage" in the first place. I only did some clean-up to make the Super Spies mod standalone again.
    -Also many thanks to Dresden, solver and co. who worked on the unofficial patch, along with the RevDCM Team, Afforess, & the Dune Wars Team.

    -------For Modmakers-------
    -Unit Modifiers:
    SpyEvasionModifier--% defense against detection ("detection evasion")
    SpyEscapeModifier -% defense against detection after captured ("detection evasion")
    SpyInterfectModifer -% spy detection bonus

    -Promotion Modifiers:
    Spoiler :

    iSpyPreparationModifier-% bonus from preperation
    iSpyPoisonModifier-% increase of unhealthiness
    iSpyRevoltChange-% increase of revolt & Anarchy length
    iSpyUnhappyChange-% increase of Unhappiness
    iSpyDiploBonusChange- % diplo bonus
    iSpyDiploPenaltyChange- % diplo penalty
    iSpyDurationChange- % longer duration of building effect on target city
    iSpyAssassinationModifier -% increase chance of Assasination
    bSpyLoyalty- never reveals nationality, prevents -1 diplomatic penalty upon capture
    bSpyRadiation-Affected tiles can be irradiated
    iSpyInterceptChange- % spy detection bonus, 5x% counter-espionage bonus
    iSpyEvasionChange- % defense against detection ("detection evasion")
    iSpyEscapeChange- % to survive upon mission failure
    SpyBribeWorkerChange-% Mission Cost Reduction
    SpyNukeCityChange-% to survive upon mission failure
    SpyDisablePowerChange-% Turns Bonus
    SpyWarWearinessChange-% War Weariness Bonus
    SpyBribeCityChange-% Mission Cost Reduction
    SpyResearchSabotageChange-% Mission Cost Reduction
    SpyReligionRemovalChange-% Mission Cost Reduction
    SpyCorporationRemovalChange-% Mission Cost Reduction
    SpyStealTreasuryChange-% Gold Bonus
    SpyBuyTechChange-% Mission Cost Reduction
    SpySwitchCivicChange-% Mission Cost Reduction
    SpySwitchReligionChange-% Mission Cost Reduction
    SpyDestroyProjectChange-% Mission Cost Reduction
    SpyDestroyPoductionChange-% Mission Cost Reduction
    SpyCultureChange-% Culture Bonus
    SpyDestroyBuildingChange-% Mission Cost Reduction
    SpyDestroyImprovementChange-% Mission Cost Reduction

    -Commenting as david allen/advanced espionage/afforess/Super_Spies, Super Spies, TSheep, Dune Wars

    -Future Plans-
    -Bribe Barbs mission from RFC Classical World
    -Move Double Agent text higher in gametextmanager

    Version History
    Spoiler :

    v2.0
    -Can delete double agents
    -Vassal's spies no longer caught in master's territory change before
    -Removed spy SAM C++
    -Added Help text for all espionage missions.
    -Removed C++ promotion spy exceptions
    -Disable Power Turns is a global defines
    -Added Amount or Turns in Mission Help Texts (War Weariness)
    -Highlight attitude modifiers in Mission Help Texts
    -Added city name to help text
    -Added new line for some help Texts
    -Added icons for Mission Help Texts
    -Removed Spync and replaced with just option
    -Promos affect other missions:
    Spoiler :

    -Bribe Worker: (SpyBribeWorkerChange)
    -Nuke City- (SpyNukeCityChange)
    -Disable Power: (SpyDisablePowerChange)
    -War Weariness: (SpyWarWearinessChange)
    -Bribe city: (SpyBribeCityChange)
    -Sabotage research: (SpyResearchSabotageChange)
    -Remove religion: (SpyReligionRemovalChange)
    -Remove corporation: (SpyCorporationRemovalChange)
    -Steal Treasury: (SpyStealTreasuryChange)
    -Buy Tech: (SpyBuyTechChange)
    -Switch Civic: (SpySwitchCivicChange)
    -Switch religion: (SpySwitchReligionChange)
    -Destroy Project: (SpyDestroyProjectChange)
    -Remove Production: (SpyDestroyPoductionChange)
    -Destroy Project: (SpyCultureChange)
    -Destroy Building: (SpyDestroyBuildingChange)
    -Destroy Improvement: (SpyDestroyImprovementChange)

    -Disable Power mission fix (from Arachid)
    -Remove maniupulated us from Memories
    -GameOption for all memories
    -Some AND text display changes
    -Removed old promotion modifiers

    -Version 1.92
    -Mission Cost for Prisoners for Unit in GameTexManager.cpp
    -Mission texts missing of ESPIONAGEMISSION_DEN_SPIES
    -Extra Espionage against player if captured

    -Version 1.91
    -CvPlayer CTD fix for bribe worker mission

    -Version 1.9
    -Spy Captured from Total War
    -Captured Spy Gameoption
    -1/2 Captured Spy Mission cost only for Original Civ
    -CvUnit.cpp additions from C2C
    -SOI Spy Additions (assasination promotion, Better spy escape)
    -New Promotion AI
    -Removed BBAI
    -Better Promo xml texts in code/sdk
    -remove uneeded globals
    -Nuke Mission working
    -Removed tbnukefix
    -Fix for Sleep mission problems (automate expionage finished)
    -building missions only appear if no building present in city
    -Den of spies not permenant
    -Better Commenting-All commenting now as Super Spies
    -Loyalty Promotion allows spies to never be captured
    -Treachery Promotion give spy assassination bonus chance
    -Spy duration bonuses moved to seperate promotions
    -Mission duration lowered to 5 turns
    -Den of Spies is termprariy for 10 turns

    Version 1.8-
    -ROM:AND Mission Additions (Nuke City-not working, Disable Power, War Wearniness, Bribe city, Sabotage research, Remove religion, Remove corporation)
    -Dune Wars Mission Additions(Spread Lies, Exert Influence, Cause Incident, Political Marriage, Incite Anarchy, Seduce Leaders, Establish Den of Spies)
    -Cannot Annex Capital from Dune Wars
    -Fixed Assasinate CTD from RevDCM
    -Misc RevDCM Additions
    -Assasinate/Bribe AI from RevDCM
    -Tech Value Weight from RevDCM
    -Missions don’t appear unless have money from RevDCM.
    -City flip penalty
    -Gold sound from stealing treasury. Switch religion sound, player anarchy message/sound, buy city modifier (From Afforess)
    -Pedias, Strategy, & Help Text for new Missions/Buildings
    -Corrected Security Bureau/Scotland Yard XP for Spies
    -New Spy Promo Art
    -New Spy Promotion Effects
    -Commenting as david allen/advanced espionage/afforess

    Version 1.7
    -Added CounterEspionage Automation from RevDCM

    Version 1.6
    -Custom Gameoption for MOD
    -Corrected spy messages
    -Sleep for espionage

    Version 1.5
    Spoiler :
    -Added Lemon's Spy MOD
    -Added Afforess's Improvement MOD from AND

    Version 1.4
    Spoiler :
    -Updated to BTS 3.19

    Version 1.31
    Spoiler :
    -Original Standalone for 3.17


    Thread

    Images

    1. civ4screenshot0001_H6c.jpg
    2. civ4screenshot0004_zcK.jpg
    3. civ4screenshot0005_dD1.jpg