Results 1 to 18 of 18

Thread: Need Help - Adding or changing a religion

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Need Help - Adding or changing a religion

    I am slowly being driven mad with this, tutorials seem to be few and I cant quite get this done correctly.

    I want to add four religions or change current ones for england, france, hre and poland. When I try adding new religions I alter the below files and I just get an unspecified error about it, perhaps I am missing a file?

    descr_sm_factions.txt
    descr_religions_lookup.txt
    descr_religions.txt
    religions.txt
    descr_regions.txt


    When I try renaming current religions and applying them to a faction through the descr_sm_factions.txt and religions.txt, the game loads, but does not work as intended. As in my renamed orthodox for HRE act like they are catholic, even though they have the appropriate pip but they loose their settlements because all their territories are my renamed orthodox.

    I feel like I wasted my entire day puzzling over this, does anyone have a clue what I am doing wrong?

    Any help is greatly appreciated.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

  2. #2
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: Need Help - Adding or changing a religion


  3. #3

    Default Re: Need Help - Adding or changing a religion

    Funny, when I used search it didn't give me those, it is late but I will read it now, I want to know because it has been bothering me for ages. Thanks Cannonfodder, hope they help.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

  4. #4

    Default Re: Need Help - Adding or changing a religion

    Still acting like it is catholic, the religion is added fine, it shows up but the settlements are rebelling on a new game, the tutorials say I should change the files I listed above, which I have changed already unless I missed one?

    The only thing I have not changed is the buildings file to remove churches, their are none added by the descr_strat.txt in case you think I added some. But that should have no effect over the factions base religion, which seems to be the problem.

    Any ideas?
    Last edited by Aedelric; February 11, 2009 at 07:33 PM.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

  5. #5
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: Need Help - Adding or changing a religion

    Imperative that you do this part or it won't work correctly.
    Step 5: The buildings
    http://www.twcenter.net/forums/showt...06#post3710006

    I'm sure you will have to do modify these two files as well.

    #descr_strat
    faction england, balanced smith
    ai_label catholic <replace religion with your own>
    denari 10000
    denari_kings_purse 2500
    settlement
    {

    #descr_regions
    North_America
    Miccosukee
    aztecs
    Native_Rebels
    212 198 206
    tobacco, coal, america, no_pirates, no_brigands
    5
    3
    religions { catholic 0 orthodox 0 islam 0 pagan 100 heretic 0 newreligion 0 }
    <add your religion, you must do every region and it must add up to 100 or it will crash, the newreligion can be set higher in any regions that you possess or you will probably get a peasant rebellion>

    Nottingham_Province
    Nottingham
    england
    English_Rebels
    232 41 198
    dyes, wool, atlantic, explorers_guild, woodsmens_guild
    5
    3
    religions { catholic 10 orthodox 0 islam 0 pagan 3 heretic 2 newreligion 85 }

  6. #6

    Default Re: Need Help - Adding or changing a religion

    I have all that done already I checked it many times over and it still did not work, the locations where rebelling on new game start.

    I fiddled around a lot more today and by chance I changed something that seemed to make it work. The relevant provinces do not rebel any more and my faction raises it's new religion when churches are built. (I used your text to point out the thing I changed)

    Nottingham_Province
    Nottingham
    england <------ I changed this to hre (The faction that has my new religion)
    English_Rebels
    232 41 198
    dyes, wool, atlantic, explorers_guild, woodsmens_guild
    5
    3
    religions { catholic 10 orthodox 0 islam 0 pagan 3 heretic 2 newreligion 85 }


    All fine that it works, but I am not sure why it works, do you happen to know guys? I really appreciate you helping out here, things are slowly coming together.

    Their is one more thing, is it possible to have generals generate religion in a Provence like how priests do? I want to remove churches but want to retain flexibility for factions to be able to convert regions. Thought I might as here as it is all about the same thing.

    Edit - I worked out many things on my own just by reading tutorials, I mastered ancillaries, adding regions, characters. But their are just some things I can not work out without a bit of a nudge in the right direction.
    Last edited by Aedelric; February 12, 2009 at 07:53 AM.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

  7. #7
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: Need Help - Adding or changing a religion

    Quote Originally Posted by gigantus View Post
    The ai_label is only used for the descr_campaign_ai_db.xml file. It hasn't got anything to do with the religion in the game. Basically a reference for the ai.
    You learn something new every day.

    @Wolfen
    I don't think you can give generals that ability and i'm not sure if it can be modded either, on your other question, removing churches means no priest recruitment and converting regions will not be possible unless someone knows differently.?

    I might be getting a bit confused here
    Can you explain why you have put the HRE in Nottingham and what is the name of your new religion, as newreligion was just an example.:hmmm:

    Nottingham_Province
    Nottingham
    england <------ I changed this to hre (The faction that has my new religion)
    English_Rebels
    232 41 198
    dyes, wool, atlantic, explorers_guild, woodsmens_guild
    5
    3
    religions { catholic 10 orthodox 0 islam 0 pagan 3 heretic 2 newreligion 85 }

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Need Help - Adding or changing a religion

    The ai_label is only used for the descr_campaign_ai_db.xml file. It hasn't got anything to do with the religion in the game. Basically a reference for the ai.










  9. #9
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Need Help - Adding or changing a religion

    england <------ I changed this to hre (The faction that has my new religion)
    That line denotes the 'faction creator' or in other words the faction that the region will rebel TO if that faction is still 'alive'. See my tutorial: Adding detailed Regions. Nice move I would say.

    Regarding generals: it is not possible, but other traits confer bonuses to 'calm down the masses'
    Last edited by Gigantus; February 12, 2009 at 10:45 AM.










  10. #10

    Default Re: Need Help - Adding or changing a religion

    Quote Originally Posted by gigantus View Post
    Regarding generals: it is not possible, but other traits confer bonuses to 'calm down the masses'
    After looking at files and experimenting I worked out you can give generals a conversion bonus after all, at least in part. It is done through the descr_campaign_db.xml

    Just posting this so if anyone does a search and reads my topic they can find a solution with this.
    Last edited by Aedelric; March 31, 2009 at 03:58 AM.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

  11. #11
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Need Help - Adding or changing a religion

    Which lines did you change?










  12. #12

    Default Re: Need Help - Adding or changing a religion

    I know about the unrest trait but that would only affect happiness and not religion as I would like. But if it is impossible as you say I can just add the religion bonus from church to town halls and such like. But to have it the way I want it would have been incredibly useful.

    First off Cannon it is a religion, but I converted the system to act like cultures from the Britannia campaign so the name is not a religious name, the name is Foul. I only used your text as an example of the location of the thing I changed, just ignore the rest outside the bold province newreligion and such.

    To help explain the real piece looks like this, though it is not really needed because I have to sorted now thanks to you two.

    Plains_Of_Despair
    Citadel_Of_Ushgarak
    hre <---- This was england which I changed to hre
    English_Rebels <----- Will change this once I work out what to do with rebels
    96 39 114
    no_English_Rebels, no_pirates
    5
    6
    religions { catholic 0 fey 0 foul 100 targ 0 heretic 0 } <---- I did not rename catholic or heretic as doing so seemed to crash my game



    So at the moment everything works, the only rebelling settlements are the ones I want to rebel. Now it is just a matter of rearranging the buildings and giving the right bonuses to the ones I want to increase culture. This was probably the second most frustrating problem (First being something I have yet to tackle) I have come across and I am glad it is sorted now. Thanks for the help guys I appreciate it.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

  13. #13
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: Need Help - Adding or changing a religion

    Well done.

  14. #14
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Need Help - Adding or changing a religion

    no_English_Rebels, no_pirates
    These are the hidden resources references from the EDB. no_english_rebels has no effect. no_pirates means pirates will not be spawned by this region. Handuy when this region has got lakes.
    English_Rebels is referenced from descr_rebel_factions which is linked to rebel_faction_descr in data\text.
    You did read my tutorial?










  15. #15

    Default Re: Need Help - Adding or changing a religion

    Yes Gigantus, after I made my post, I have been busy changing various farming levels/population increase to very low as I was not really sure what that figure was before. Hidden resources/resources and Rebels are still on my list of things to eventually do. No pirates was included when I was testing out lakes, which did not look right so I removed them.

    It is a good tutorial.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

  16. #16

    Default Re: Need Help - Adding or changing a religion

    You are still right Gigantus do not worry, what I asked can not be done. This is just a compromise, it gives part of the functionality I wanted by granting a conversion bonus, but only in settlements as it seems.

    <governor_conversion_rate_offset float="0.02"/>
    <governor_conversion_rate_modifier float="0.025"/>

    Also seems you are reading this thread, thanks for the stone fort tutorial, I was using it earlier today and all works perfectly.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

  17. #17
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Need Help - Adding or changing a religion

    I did not rename catholic or heretic as doing so seemed to crash my game
    Just saw this line:
    catholic and heretic are referenced in the faction standing file. In the campaign ai file as well if I am not mistaken. In descr_strat as well (catholic). In my experience it is easier to simply rename a religion then to add a religion. Who sees what is in the files? The interesting thing is on the game screen. Once you need more religions then you got you migth have to think about adding.

    In general: removing things from a game is usually not a smart move. Renaming or replacing should be the first option. Adding comes third.










  18. #18

    Default Re: Need Help - Adding or changing a religion

    I know, but I like to have everything as perfect as I can make it.

    Either way, I got it working just fine, I just have a hundred other unrelated problems to work my way through now. Slowly everything is coming together.
    The Watchwords Of Midnight
    "The brave and the free fear no foe, go forth, mighty hosts of Midnight! Unto death or victory we go!"

    The Midnight Chronicles

Posting Permissions

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