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

Making Great Prophets useful in the later game

Discussion in 'Civ4 - Creation & Customization' started by Sword_Of_Geddon, Jan 28, 2020.

  1. Sword_Of_Geddon

    Sword_Of_Geddon Mysterious Jungle Warrior

    Joined:
    Dec 21, 2003
    Messages:
    13,483
    Gender:
    Male
    Location:
    New England, USA
    I'm sure many of you, in a mod or not, have run into the problem of having lots of Great Prophets spawn, but have no use for them.

    Some mods, like Xyth's History Rewritten, overhauled the religious civics into a new tenet system, which was an interesting take.

    Anyone have any ideas on this?
     
  2. Zeta Nexus

    Zeta Nexus Deity

    Joined:
    Jan 23, 2014
    Messages:
    3,818
    Gender:
    Male
    Location:
    In a constant brainstorm...
    In my mod they can plant a resource: Holy Site for extra :commerce:
    You can also try Holy Site as an improvement that in the modern era upgrades to Tourist Site.
     
  3. Cruiser76

    Cruiser76 Chieftain

    Joined:
    Feb 4, 2018
    Messages:
    86
    Gender:
    Male
    I added a "Religious Academy" at the Theology tech, which is buildable only by Great Prophets. It boosts research, gold, and culture. Another good idea I've read about is a Televangelism building in the modern era.
     
  4. Zeta Nexus

    Zeta Nexus Deity

    Joined:
    Jan 23, 2014
    Messages:
    3,818
    Gender:
    Male
    Location:
    In a constant brainstorm...
    That is a good idea indeed but what should be the concept?
    Hmmm...
    I think I will use it to give free Universal Church (Secular civic) in every city.
    Thanks
     
  5. Sword_Of_Geddon

    Sword_Of_Geddon Mysterious Jungle Warrior

    Joined:
    Dec 21, 2003
    Messages:
    13,483
    Gender:
    Male
    Location:
    New England, USA
    "Religious Academy" is a good idea.

    Another idea for modern times is charities. Although not all modern charities are religious(just as not all Academy's historically were founded by scientists). It would be a building that would represent all sorts of charities or things related to them. Like homeless shelters, centers to raise money for veterens, children etc.
     
  6. Zeta Nexus

    Zeta Nexus Deity

    Joined:
    Jan 23, 2014
    Messages:
    3,818
    Gender:
    Male
    Location:
    In a constant brainstorm...
    One more idea I have:
    In the modern era or rather under Secular civic (or whatever when you have religious freedom without a state :religion:) you could receive Great Philosopher instead of a G.Prophet. G.Philosopher could do everything that Great Prophets and Great Scientists do.
     
  7. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    34,058
    Gender:
    Male
    Location:
    Leblanc
    My mod has a Great Statesman which has the following abilities:
    - remove anarchy
    - force peace with another civilisation at war
    - improve relations with another civilisations at peace

    All of them could also work for a Great Prophet as well I think. Other ideas:
    - strong temporary boost in happiness or health (charity, healing the sick)
    - reducing/removing war weariness
     
    devolution likes this.
  8. Sword_Of_Geddon

    Sword_Of_Geddon Mysterious Jungle Warrior

    Joined:
    Dec 21, 2003
    Messages:
    13,483
    Gender:
    Male
    Location:
    New England, USA
    Do you have coding that is easy to merge for the great statesman Leoreth that sounds very promising.

    I like these great prophet ideas as well.
     
  9. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    34,058
    Gender:
    Male
    Location:
    Leblanc
    My implementation is in the DLL, so depends on what you consider easy to merge. A good starting point is in CvUnit.cpp with canResolveCrisis(), resolveCrisis(), canDiplomaticMission() and diplomaticMission(), from there you should find your way to other changes like XML integration etc. It also has AI in CvUnitAI.cpp with the same terminology. I've just seen there is some code in there that is DoC specific to interact with other custom rules, so if in doubt just ask me via PM. It should also be possible to replicate the effect in Python if you prefer, not sure about the AI though.

    Edit: from looking at the code I remembered that I also added the ability to mass convert surrounding cities to their religion, you can find that at canGreatMission() and greatMission(). Mod specific baggage also applies here.
     
    Last edited: Jan 31, 2020
  10. Sword_Of_Geddon

    Sword_Of_Geddon Mysterious Jungle Warrior

    Joined:
    Dec 21, 2003
    Messages:
    13,483
    Gender:
    Male
    Location:
    New England, USA
    Yeah I think Python could accomplish the abilities you said, but I'm not sure about how to do dll and add a new kind of great person.
     
  11. Zeta Nexus

    Zeta Nexus Deity

    Joined:
    Jan 23, 2014
    Messages:
    3,818
    Gender:
    Male
    Location:
    In a constant brainstorm...
    Adding a new great person is xml work only. Abilities are a different question but a lot of stuff can be done with a little xml workaround and a lot of creativity :)
     
  12. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    34,058
    Gender:
    Male
    Location:
    Leblanc
    I have also implemented unit abilities in Python only, you basically only have to add the button to the interface and then trigger the desired effect when it's pressed. Plus checks if the action is valid etc. Obviously none of that covers the AI aspect.

    I usually prefer DLL for exactly that reason, it's more systematic and integrates on the "inside" with XML and established game mechanics. The Python solution is more on the "outside" by tacking it on to the interface.
     
  13. Zeta Nexus

    Zeta Nexus Deity

    Joined:
    Jan 23, 2014
    Messages:
    3,818
    Gender:
    Male
    Location:
    In a constant brainstorm...
    I remember that there was some python modcomp for replacing great persons based on ethnicity or something like that. Anyone remembers that?
     
  14. Sword_Of_Geddon

    Sword_Of_Geddon Mysterious Jungle Warrior

    Joined:
    Dec 21, 2003
    Messages:
    13,483
    Gender:
    Male
    Location:
    New England, USA
    Sounds interesting....
     

Share This Page