Results 1 to 11 of 11

Thread: New Building(s) CTD on Splash Screen

  1. #1
    Seether's Avatar RoTK Workhorse
    Join Date
    Oct 2005
    Location
    FloRida
    Posts
    5,404

    Default New Building(s) CTD on Splash Screen

    Having an issue with getting 4 sets of religious buildings to work. No matter where I put them in EDB (or which order I place the temples), get a CTD on splash with last building processed being the one previous to these temples. Tried rewriting code, in case of a corrupt line, but same result. Not sure if I'm just overlooking something or what...?

    EDB
    Spoiler Alert, click show to read: 
    Code:
    building temple_of_yong
    {
        religion heretic
        levels temple_of_yong_shrine temple_of_yong_temple temple_of_yong_large_temple temple_of_yong_awesome_temple temple_of_yong_pantheon
        {
            temple_of_yong_shrine requires factions { korea, }
            {
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 1
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 1
                cost 400
                settlement_min town
                upgrades
                {
                    temple_of_yong_temple
                }
            }
            temple_of_yong_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 2
                    recruits_exp_bonus bonus 1
                    religion_level bonus 2
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 2
                cost 800
                settlement_min large_town
                upgrades
                {
                    temple_of_yong_large_temple
                }
            }
            temple_of_yong_large_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 3
                    recruits_exp_bonus bonus 2
                    religion_level bonus 3
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 3
                cost 1600
                settlement_min city
                upgrades
                {
                    temple_of_yong_awesome_temple
                }
            }
            temple_of_yong_awesome_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 4
                    recruits_exp_bonus bonus 3
                    religion_level bonus 4
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 4
                cost 3200
                settlement_min large_city
                upgrades
                {
                    temple_of_yong_pantheon
                }
            }
            temple_of_yong_pantheon requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 5
                    recruits_exp_bonus bonus 3
                    religion_level bonus 5
                    income_bonus bonus 10
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 5
                cost 6400
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins
        {
        }
    }
    
    building temple_of_pinigseu
    {
        religion heretic
        levels temple_of_pinigseu_shrine temple_of_pinigseu_temple temple_of_pinigseu_large_temple temple_of_pinigseu_awesome_temple temple_of_pinigseu_pantheon
        {
            temple_of_pinigseu_shrine requires factions { korea, }
            {
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 1
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 1
                cost 400
                settlement_min town
                upgrades
                {
                    temple_of_pinigseu_temple
                }
            }
            temple_of_pinigseu_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 2
                    farming_level bonus 1
                    religion_level bonus 2
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 2
                cost 800
                settlement_min large_town
                upgrades
                {
                    temple_of_pinigseu_large_temple
                }
            }
            temple_of_pinigseu_large_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 3
                    farming_level bonus 2
                    religion_level bonus 3
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 3
                cost 1600
                settlement_min city
                upgrades
                {
                    temple_of_pinigseu_awesome_temple
                }
            }
            temple_of_pinigseu_awesome_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 4
                    farming_level bonus 2
                    religion_level bonus 4
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 4
                cost 3200
                settlement_min large_city
                upgrades
                {
                    temple_of_pinigseu_pantheon
                }
            }
            temple_of_pinigseu_pantheon requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 5
                    farming_level bonus 3
                    religion_level bonus 5
                    income_bonus bonus 10
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 5
                cost 6400
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins
        {
        }
    }
    
    building temple_of_jumong
    {
        religion heretic
        levels temple_of_jumong_shrine temple_of_jumong_temple temple_of_jumong_large_temple temple_of_jumong_awesome_temple temple_of_jumong_pantheon
        {
            temple_of_jumong_shrine requires factions { korea, }
            {
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 1
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 1
                cost 400
                settlement_min town
                upgrades
                {
                    temple_of_jumong_temple
                }
            }
            temple_of_jumong_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 2
                    law_bonus bonus 1
                    religion_level bonus 2
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 2
                cost 800
                settlement_min large_town
                upgrades
                {
                    temple_of_jumong_large_temple
                }
            }
            temple_of_jumong_large_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 3
                    law_bonus bonus 1
                    religion_level bonus 3
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 3
                cost 1600
                settlement_min city
                upgrades
                {
                    temple_of_jumong_awesome_temple
                }
            }
            temple_of_jumong_awesome_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 4
                    law_bonus bonus 2
                    religion_level bonus 4
                    agent_limit priest 2
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 4
                cost 3200
                settlement_min large_city
                upgrades
                {
                    temple_of_jumong_pantheon
                }
            }
            temple_of_jumong_pantheon requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 5
                    law_bonus bonus 3
                    religion_level bonus 5
                    income_bonus bonus 10
                    agent_limit priest 2
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 5
                cost 6400
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins
        {
        }
    }
    
    building temple_of_samjogo
    {
        religion heretic
        levels temple_of_samjogo_shrine temple_of_samjogo_temple temple_of_samjogo_large_temple temple_of_samjogo_awesome_temple temple_of_samjogo_basilica
        {
            temple_of_samjogo_shrine requires factions { korea, }
            {
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 1
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 1
                cost 400
                settlement_min town
                upgrades
                {
                    temple_of_samjogo_temple
                }
            }
            temple_of_samjogo_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 2
                    population_growth_bonus bonus 1
                    religion_level bonus 2
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 2
                cost 800
                settlement_min large_town
                upgrades
                {
                    temple_of_samjogo_large_temple
                }
            }
            temple_of_samjogo_large_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 3
                    population_growth_bonus bonus 1
                    religion_level bonus 3
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 3
                cost 1600
                settlement_min city
                upgrades
                {
                    temple_of_samjogo_awesome_temple
                }
            }
            temple_of_samjogo_awesome_temple requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 4
                    population_growth_bonus bonus 2
                    religion_level bonus 4
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 4
                cost 3200
                settlement_min large_city
                upgrades
                {
                    temple_of_samjogo_pantheon
                }
            }
            temple_of_samjogo_pantheon requires factions { korea, } and hidden_resource AA01-Gov
            {
                capability
                {
                    happiness_bonus bonus 5
                    population_growth_bonus bonus 3
                    religion_level bonus 5
                    income_bonus bonus 10
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 5
                cost 6400
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins
        {
        }
    }


    export_buildings.txt
    Spoiler Alert, click show to read: 
    Code:
    {temple_of_pinigseu_name}Pinigseu Temples
    {temple_of_pinigseu_shrine}Pinigseu Shrine
    {temple_of_pinigseu_shrine_desc}
    {temple_of_pinigseu_shrine_desc_short}Shrine to Pinigseu,
    {temple_of_pinigseu_temple}Small Pinigseu Temple
    {temple_of_pinigseu_temple_desc}
    {temple_of_pinigseu_temple_desc_short}Smalle Temple to Pinigseu,
    {temple_of_pinigseu_large_temple}Large Pinigseu Temple
    {temple_of_pinigseu_large_temple_desc}
    {temple_of_pinigseu_large_temple_desc_short}Large Temple to Pinigseu,
    {temple_of_pinigseu_awesome_temple}Grand Pinigseu Temple
    {temple_of_pinigseu_awesome_temple_desc}
    {temple_of_pinigseu_awesome_temple_desc_short}Grand Temple to Pinigseu,
    {temple_of_pinigseu_pantheon}Extravagant Pinigseu Temple
    {temple_of_pinigseu_pantheon_desc}
    {temple_of_pinigseu_pantheon_desc_short}Extravagant Temple to Pinigseu,
    {temple_of_yong_name}Yong Temples
    {temple_of_yong_shrine}Yong Shrine
    {temple_of_yong_shrine_desc}
    {temple_of_yong_shrine_desc_short}Shrine to Yong,
    {temple_of_yong_temple}Small Yong Temple
    {temple_of_yong_temple_desc}
    {temple_of_yong_temple_desc_short}Small Temple to Yong,
    {temple_of_yong_large_temple}Large Yong Temple
    {temple_of_yong_large_temple_desc}
    {temple_of_yong_large_temple_desc_short}Large Temple to Yong,
    {temple_of_yong_awesome_temple}Grand Yong Temple
    {temple_of_yong_awesome_temple_desc}
    {temple_of_yong_awesome_temple_desc_short}Grand Temple to Yong,
    {temple_of_yong_pantheon}Extravagant Yong Temple
    {temple_of_yong_pantheon_desc}
    {temple_of_yong_pantheon_desc_short}Extravagant Temple to Yong,
    {temple_of_samjogo_name}Samjogo Temples
    {temple_of_samjogo_shrine}Samjogo Shrine
    {temple_of_samjogo_shrine_desc}
    {temple_of_samjogo_shrine_desc_short}Shrine to Samjogo,
    {temple_of_samjogo_temple}Small Samjogo Temple
    {temple_of_samjogo_temple_desc}
    {temple_of_samjogo_temple_desc_short}Small Temple to Samjogo,
    {temple_of_samjogo_large_temple}Large Samjogo Temple
    {temple_of_samjogo_large_temple_desc}
    {temple_of_samjogo_large_temple_desc_short}Large Temple to Samjogo,
    {temple_of_samjogo_awesome_temple}Grand Samjogo Temple
    {temple_of_samjogo_awesome_temple_desc}
    {temple_of_samjogo_awesome_temple_desc_short}Grand Temple to Samjogo,
    {temple_of_samjogo_pantheon}Extravagant Samjogo Temple
    {temple_of_samjogo_pantheon_desc}
    {temple_of_samjogo_pantheon_desc_short}Extravagant Temple to Samjogo,
    {temple_of_jumong_name}Jumong Temples
    {temple_of_jumong_shrine}Jumong Shrine
    {temple_of_jumong_shrine_desc}
    {temple_of_jumong_shrine_desc_short}Shrine to Jumong,
    {temple_of_jumong_temple}Small Jumong Temple
    {temple_of_jumong_temple_desc}
    {temple_of_jumong_temple_desc_short}Small Temple to Jumong,
    {temple_of_jumong_large_temple}Large Jumong Temple
    {temple_of_jumong_large_temple_desc}
    {temple_of_jumong_large_temple_desc_short}Large Temple to Jumong,
    {temple_of_jumong_awesome_temple}Grand Jumong Temple
    {temple_of_jumong_awesome_temple_desc}
    {temple_of_jumong_awesome_temple_desc_short}Grand Temple to Jumong,
    {temple_of_jumong_pantheon}Extravagant Jumong Temple
    {temple_of_jumong_pantheon_desc}
    {temple_of_jumong_pantheon_desc_short}Extravagant Temple to Jumong,


    descr_ui_buildings.txt
    Spoiler Alert, click show to read: 
    Code:
    	temple_of_jumong_shrine shrine
    	temple_of_jumong_temple temple
    	temple_of_jumong_large_temple large_temple
    	temple_of_jumong_awesome_temple awesome_temple
    	temple_of_jumong_pantheon pantheon
    	temple_of_yong_shrine shrine
    	temple_of_yong_temple temple
    	temple_of_yong_large_temple large_temple
    	temple_of_yong_awesome_temple awesome_temple
    	temple_of_yong_pantheon pantheon
    	temple_of_samjogo_shrine shrine
    	temple_of_samjogo_temple temple
    	temple_of_samjogo_large_temple large_temple
    	temple_of_samjogo_awesome_temple awesome_temple
    	temple_of_samjogo_pantheon pantheon
    	temple_of_pinigseu_shrine shrine
    	temple_of_pinigseu_temple temple
    	temple_of_pinigseu_large_temple large_temple
    	temple_of_pinigseu_awesome_temple awesome_temple
    	temple_of_pinigseu_pantheon pantheon
    Member of the Imperial House of Hader - Under the Benevolent Patronage of y2day
    A Wolf Among Sheep: A Rise of Three Kingdoms AAR

  2. #2
    Titus le Chmakus's Avatar Biarchus
    Join Date
    Aug 2014
    Location
    Skiing on the Spine of the World or hunting in Lurkwood
    Posts
    648

    Default Re: New Building(s) CTD on Splash Screen

    What does your log says ?

  3. #3
    Seether's Avatar RoTK Workhorse
    Join Date
    Oct 2005
    Location
    FloRida
    Posts
    5,404

    Default Re: New Building(s) CTD on Splash Screen

    Nothing. As I said above, according to the log the last building to process in EDB is whatever building is directly before the new building(s), regardless of where they are placed in EDB.
    Member of the Imperial House of Hader - Under the Benevolent Patronage of y2day
    A Wolf Among Sheep: A Rise of Three Kingdoms AAR

  4. #4

    Default Re: New Building(s) CTD on Splash Screen

    Did you add them to the "tree" at the top/bottom of the export_buildings?

  5. #5

    Default Re: New Building(s) CTD on Splash Screen

    Try running
    http://www.twcenter.net/forums/showt...RITICAL-UPDATE!
    on it...

    also I suspect you might need something - even if just a .
    after the
    {temple_of_pinigseu_shrine_desc}
    type entries.

  6. #6
    Seether's Avatar RoTK Workhorse
    Join Date
    Oct 2005
    Location
    FloRida
    Posts
    5,404

    Default Re: New Building(s) CTD on Splash Screen

    In the export_buildings.txt spoiler in the OP, I have the four {[tree name]_name} entries.
    Member of the Imperial House of Hader - Under the Benevolent Patronage of y2day
    A Wolf Among Sheep: A Rise of Three Kingdoms AAR

  7. #7

    Default Re: New Building(s) CTD on Splash Screen

    have addet buildingpictures or atleast placeholders?

  8. #8
    Seether's Avatar RoTK Workhorse
    Join Date
    Oct 2005
    Location
    FloRida
    Posts
    5,404

    Default Re: New Building(s) CTD on Splash Screen

    Quote Originally Posted by Gebilde View Post
    have addet buildingpictures or atleast placeholders?
    Yes, that is what is defined in descr_ui_buildings.txt.

    Quote Originally Posted by makanyane View Post
    Try running
    http://www.twcenter.net/forums/showt...RITICAL-UPDATE!
    on it...

    also I suspect you might need something - even if just a .
    after the
    {temple_of_pinigseu_shrine_desc}
    type entries.
    I put 'placeholder' in all of the description entries and that did the trick. So, yes, something has to be in the description entries otherwise it will cause a CTD. Thank you again, mak!
    Member of the Imperial House of Hader - Under the Benevolent Patronage of y2day
    A Wolf Among Sheep: A Rise of Three Kingdoms AAR

  9. #9

    Default Re: New Building(s) CTD on Splash Screen

    Could it be all those commas at the end of the descr_short entries?

  10. #10
    Titus le Chmakus's Avatar Biarchus
    Join Date
    Aug 2014
    Location
    Skiing on the Spine of the World or hunting in Lurkwood
    Posts
    648

    Default Re: New Building(s) CTD on Splash Screen

    I think I know why ! Because the building tree of temples is something specifically hardcoded for religious system. It needs a specific coding for it to work (for the builings auto destruct). smalle_temple_xxx, temple_xxx, large_temple_xxx ...

    Try to replace the very first "temple" of your code by "church". Dunno if it will work but it is worth trying !

    Code:
    building temple_of_yong   <---- THIS ONE, not the others
    {
        religion heretic
        levels temple_of_yong_shrine temple_of_yong_temple temple_of_yong_large_temple temple_of_yong_awesome_temple temple_of_yong_pantheon
        {
            temple_of_yong_shrine requires factions { korea, }
            {
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 1
                    agent_limit priest 1
                    agent priest 0 requires factions { korea, } and not event_counter priest_limit 1
                }
                material wooden
                construction 1
                cost 400
                settlement_min town
                upgrades
                {
                    temple_of_yong_temple
                }
            }
    And repeat it to all the temple trees you have.

  11. #11

    Default Re: New Building(s) CTD on Splash Screen

    guys, if you read post 8 he said;
    I put 'placeholder' in all of the description entries and that did the trick. So, yes, something has to be in the description entries otherwise it will cause a CTD.
    it's fixed

Posting Permissions

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