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

[FIXED] 49-turn Golden Age?

Discussion in 'Civ5 - Bug Reports' started by Knayr, Sep 25, 2010.

  1. Knayr

    Knayr Chieftain

    Joined:
    Jul 30, 2008
    Messages:
    26
    Location:
    DE
    I'm playing on normal speed, as Persia. My save file is a turn late, but just a moment ago I completed the Taj Mahal. With Persia, Golden Age length is extended by 50%, and I'm also in control of Chichen Itza, which adds another 50%. I was expecting a 20-or-so duration Golden Age, but when it popped up I was surprised to see it start at 49. I completed that turn, just to see if it would adjust down to a more reasonable level, but it only counted down by one turn.

    Here's a save file.

    Oh, and also an autosave that takes place a few turns before I popped a Great Engineer for the Taj.

    Crazy.

    --K
     

    Attached Files:

  2. es4

    es4 Chieftain

    Joined:
    Aug 11, 2009
    Messages:
    73
    I think what is happening here is that the Golden Age bonuses are (incorrectly) applied twice to the Taj.

    I was India with Chichen Itza and built the Taj Mahal. I got a 22 turn golden age (10 * 1.5 * 1.5). As Persia, you got a 49-turn golden age (10 * 1.5 * 1.5 * 1.5 * 1.5). 10, 15, 22, 33, 49.
     
  3. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,083
    :hmm: Certainly looks strange.

    I noticed that the XML text for Chichen Itza references the Taj Mahal!

    Code:
    <Row>
                <Type>BUILDING_CHICHEN_ITZA</Type>
                <BuildingClass>BUILDINGCLASS_CHICHEN_ITZA</BuildingClass>
                <Cost>450</Cost>
                <PrereqTech>TECH_CIVIL_SERVICE</PrereqTech>
                <Help>TXT_KEY_WONDER_TAJ_MAHAL_HELP</Help>
                <Description>TXT_KEY_BUILDING_CHICHEN_ITZA</Description>
                <Civilopedia>TXT_KEY_WONDER_CHICHENITZA_DESC</Civilopedia>
                <Quote>TXT_KEY_WONDER_CHICHENITZA_QUOTE</Quote>
                <ArtDefineTag>CHICHEN ITZA</ArtDefineTag>
                <MaxStartEra>ERA_RENAISSANCE</MaxStartEra>
                <SpecialistType>SPECIALIST_ENGINEER</SpecialistType>
                <GreatPeopleRateChange>1</GreatPeopleRateChange>
                <NukeImmune>true</NukeImmune>
                <HurryCostModifier>-1</HurryCostModifier>
                <MinAreaSize>-1</MinAreaSize>
                <ConquestProb>100</ConquestProb>
                <GoldenAgeModifier>50</GoldenAgeModifier>
                <Culture>1</Culture>
                <DisplayPosition>4</DisplayPosition>
                <IconAtlas>BW_ATLAS_2</IconAtlas>
                <PortraitIndex>12</PortraitIndex>
                <WonderSplashImage>WonderConceptChichenItza.dds</WonderSplashImage>
                <WonderSplashAudio>AS2D_WONDER_SPEECH_CHICHEN_ITZA</WonderSplashAudio>
            </Row>
    
    and the XML for Taj Mahal references teh Pyramids.

    Code:
    		<Row>
    			<Type>BUILDING_TAJ_MAHAL</Type>
    			<BuildingClass>BUILDINGCLASS_TAJ_MAHAL</BuildingClass>
    			<Cost>600</Cost>
    			<PrereqTech>TECH_PRINTING_PRESS</PrereqTech>
    			<Help>TXT_KEY_WONDER_PYRAMIDS_HELP</Help>
    			<Description>TXT_KEY_BUILDING_TAJ_MAHAL</Description>
    			<Civilopedia>TXT_KEY_WONDER_TAJMAHAL_DESC</Civilopedia>
    			<Quote>TXT_KEY_WONDER_TAJMAHAL_QUOTE</Quote>
    			<ArtDefineTag>TAJ MAHAL</ArtDefineTag>
    			<MaxStartEra>ERA_INDUSTRIAL</MaxStartEra>
    			<SpecialistType>SPECIALIST_ARTIST</SpecialistType>
    			<GreatPeopleRateChange>2</GreatPeopleRateChange>
    			<NukeImmune>true</NukeImmune>
    			<HurryCostModifier>-1</HurryCostModifier>
    			<MinAreaSize>-1</MinAreaSize>
    			<ConquestProb>100</ConquestProb>
    			<GoldenAge>true</GoldenAge>
    			<Culture>1</Culture>
    			<DisplayPosition>2</DisplayPosition>
    			<IconAtlas>BW_ATLAS_2</IconAtlas>
    			<PortraitIndex>18</PortraitIndex>
    			<WonderSplashImage>WonderConceptTajMahal.dds</WonderSplashImage>
    			<WonderSplashAudio>AS2D_WONDER_SPEECH_TAJ_MAHAL</WonderSplashAudio>
    		</Row>
    
    ..In game, the correct text is shown. Maybe these tags aren't used?

    Nothing in the XML to reference Taj Mahal increasing the length of a GA.
     
  4. Mallipeep

    Mallipeep Warlord

    Joined:
    Nov 6, 2002
    Messages:
    150
    The tags are used allright, if you look at the CIV5GameTextInfos_Jon.xml you see such lines:

    Code:
    <!-- If your name is not Jon Shafer, please don't add anything to this file. -->
    
    <Row Tag="TXT_KEY_WONDER_TAJ_MAHAL_HELP">
                <Text>Length of [ICON_GOLDEN_AGE] Golden Ages increased by 50%</Text>
    </Row>
    
    
    <Row Tag="TXT_KEY_WONDER_PYRAMIDS_HELP">
    	<Text>The empire enters a [ICON_GOLDEN_AGE] Golden Age.</Text>
    </Row>
     
  5. Knayr

    Knayr Chieftain

    Joined:
    Jul 30, 2008
    Messages:
    26
    Location:
    DE
    Wow, all kinds of inconsistencies and bugs up in here!
     
  6. Anastomosis

    Anastomosis Chieftain

    Joined:
    May 18, 2007
    Messages:
    36
    Actually, it's because the same aliens that created the Chichen Itza also helped with the Taj Mahal. Jon Shafer and the creators of Civ V are just acknowledging this. :mischief:
     
  7. player1 fanatic

    player1 fanatic Fanatic

    Joined:
    Mar 19, 2002
    Messages:
    2,639
    Gender:
    Male
    Location:
    Belgrade, Serbia
    I just got this.

    Nice... :D

    I knew getting Darius was good idea. ;)
     

Share This Page