Results 1 to 14 of 14

Thread: Building showing up for non specified factions

Hybrid View

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

    Default Building showing up for non specified factions

    So I add a new religion, other than Catholic, and buildings for it. Only problem is when I make a building buildable by "Ireland", the game also allows Russia to build it. Which they do, and it converts their population to the wrong religion. And when I give it "France", Hungary can also build it. And when I use "mesoamerican" other different factions get it. What could be causing this jumble? It happens even if I add Ireland to an existing building.

    Code:
    building temple_orthodox
    {
        convert_to temple_orthodox_castle
        religion mesoamerican
        levels small_church_o church_o abbey_o cathedral_o huge_cathedral_o 
        {
            small_church_o city requires factions { Ireland } 
            {
                convert_to 0
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 2
                }
                material wooden
                construction  2
                cost  1200 
                settlement_min town
                upgrades
                {
                    church_o
                }
            }
            church_o city requires factions {  } 
            {
                convert_to 1
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 3
                }
                material wooden
                construction  3
                cost  2500 
                settlement_min large_town
                upgrades
                {
                    abbey_o
                }
            }
            abbey_o city requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 2
                    religion_level bonus 4
                }
                material wooden
                construction  4
                cost  5000 
                settlement_min city
                upgrades
                {
                    cathedral_o
                }
            }
            cathedral_o city requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 2
                    religion_level bonus 5
                }
                material wooden
                construction  4 
                cost  6400 
                settlement_min large_city
                upgrades
                {
                    huge_cathedral_o
                }
            }
            huge_cathedral_o city requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 3
                    religion_level bonus 6
                }
                material wooden
                construction  6 
                cost  10000 
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    building temple_orthodox_castle
    {
        convert_to temple_orthodox
        religion mesoamerican
        levels small_chapel_o chapel_o 
        {
            small_chapel_o castle requires factions {  } 
            {
                convert_to 0
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 2
                }
                material wooden
                construction  2
                cost  1200 
                settlement_min town
                upgrades
                {
                    chapel_o
                }
            }
            chapel_o castle requires factions {  } 
            {
                convert_to 1
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 3
                }
                material wooden
                construction  3
                cost  2500 
                settlement_min large_town
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    Last edited by alreadyded; April 22, 2011 at 05:00 PM.

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

    Default Re: Building showing up for non specified factions

    You've given them the orthodox religion it has to be renamed to something else. Have a read of this, it will show you how it's done.
    How To: Change Faction Religion and Church.

  3. #3

    Default Re: Building showing up for non specified factions

    They have mesoamerican religion.

  4. #4

    Default Re: Building showing up for non specified factions

    Did you remove or mod the original building temple_orthodox?

  5. #5

    Default Re: Building showing up for non specified factions

    Quote Originally Posted by Eothese View Post
    Did you remove or mod the original building temple_orthodox?
    No, I use a mod folder and it does it even if I add Ireland to any other building that I make or already exists. That is what is so confusing.

  6. #6
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Building showing up for non specified factions

    What are the factions in the descr_sm_ factions.txt?

  7. #7

    Default Re: Building showing up for non specified factions

    Ireland is Mesoamerican, Russia is Catholic. Their cultures are also different from each other, so I can't think of what could be causing this mix up. They have nothing in common.
    Last edited by alreadyded; April 22, 2011 at 07:57 PM.

  8. #8
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Building showing up for non specified factions

    Code:
    faction						england
    culture						northern_european
    religion					catholic
    symbol						models_strat/symbol_england.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 215, green 0, blue 0
    secondary_colour				red 255, green 210, blue 0
    loading_logo					loading_screen/symbols/symbol128_england.tga
    standard_index					12
    logo_index					FACTION_LOGO_ENGLAND
    small_logo_index				SMALL_FACTION_LOGO_ENGLAND
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				yes
    can_have_princess				yes
    has_family_tree					yes
    for reference.

    What do you have in the line in red for Ireland?

  9. #9

    Default Re: Building showing up for non specified factions

    Mesoamerican for Ireland.

  10. #10
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Building showing up for non specified factions

    Mesoamerican is not a religion. It is culture. Big difference. Put Orthodox in the religion line and see if it works.

    Check the descr_religions.txt for religions acepted by the vanilla game.

  11. #11

    Default Re: Building showing up for non specified factions

    Well that must be what is causing the game some confusion, as I added it to religions also. That must be mixing the game up having the same name for two completely different things. I figured it was something like that. Good eye and thanks for the save

    EDIT: Well I fixed that but it wasn't causing a problem, or the problem. Same thing is still happening even if I use pagan as a religion and make a building buildable by "ireland" or "pagan". And I can't enter the culture because other factions have the same culture but different religions.
    Last edited by alreadyded; April 22, 2011 at 11:53 PM.

  12. #12
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Building showing up for non specified factions

    You can mix religions in the same culture. Eastern European culture has Catholic and Orthodox factions.

  13. #13

    Default Re: Building showing up for non specified factions

    Yea, but how do I stop the same culture from building the two different religious buildings? I have to use either Ireland or pagan to specify it only to certain cultures. If I use Northern_european, I will have the same problem but with different factions.

  14. #14
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Building showing up for non specified factions

    Russia has the same problem being Eastern European and Orthodox with Poland and Hungary as neighbors being Eastern european and Catholic. Sectarian rifts are part of history and the game.

    I have the Cumans in my mod. I got tired of them and the Mongols and Timurids showing up as Middle eastern and Islam, and made Asian culture and Shaman religion for the three. They still speak Middle Eastern with Middle Eastern buildings, though.

Posting Permissions

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