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

Apostle Promotions [RESOLVED]

Discussion in 'Mod Creation Help' started by SocialMechanic, Feb 16, 2020.

  1. SocialMechanic

    SocialMechanic Chieftain

    Joined:
    May 11, 2019
    Messages:
    88
    I'm trying to create two new apostle promotions. One that makes the city lose loyalty, and another that makes the apostles spread action act like a mini tourism bomb (like a mini rock band).
    I used the rock band for reference but the loyalty bomb effect is "MODIFIER_SINGLE_UNIT_ADJUST_POST_TOURISM_BOMB_LOYALTY", which seems to be attached to the act of spread tourism. I can't figure out how to attach it to the apostle spread.
    The rock band's tourism bomb is just in the units XP2 with the boolean "TourismBombPossible" of "true", with no values or anything.
    Is any of this possible? thank you
     
  2. LeeS

    LeeS Imperator

    Joined:
    Jul 23, 2013
    Messages:
    6,637
    Location:
    Illinois, USA
    You won't be able to attach it to the Apostle Spread
    Code:
    ModifierType						CollectionType		EffectType
    MODIFIER_SINGLE_UNIT_ADJUST_POST_TOURISM_BOMB_LOYALTY	COLLECTION_OWNER	EFFECT_ADJUST_UNIT_POST_TOURISM_BOMB_LOYALTY
    The effect for that ModifierType is directly tied to Tourism Bombing.

    Game Mechanics that are implemented directly via a Boolean column in a Primary table ("Units_XP2" qualifies in this sense as a Primary table) are often not very susceptible to much modding because Booleans are all the way on or all the way off and usually the exact effects of what the Boolean does or how the game implements the Boolean effect are hidden within the inaccessible source-code of the game's DLL.

    You could make other units have the tourism-bomb effects but you won't be able to port those over to religious spreads because
    • the tourism-bombing is buried within the Boolean
    • Religious "spreads" and Tourism "spreads" really have nothing whatever to do with each other, even though it might seem logical that a spread effect is just like every other spread effect and what works in the one ought to be able to be ported into the other. But the two systems are independent and differentiated, and the Modifier EffectTypes used between the two different types of spreading are specific to the system wherein they are used
     
  3. SocialMechanic

    SocialMechanic Chieftain

    Joined:
    May 11, 2019
    Messages:
    88
    I see, okay. Thank you for your help!!
     

Share This Page