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

how to modify Great General Bonus

Discussion in 'Civ5 - Creation & Customization' started by tac_NCVD, May 30, 2020.

  1. tac_NCVD

    tac_NCVD Chieftain

    Joined:
    Feb 29, 2020
    Messages:
    18
    Gender:
    Male
    Is it possible to modify the Great General Bonus? the xml tag i found is Boolean but not Integers.
    Code:
    
            <Row>
                <Type>PROMOTION_GREAT_GENERAL</Type>
                <Description>TXT_KEY_PROMOTION_GREAT_GENERAL</Description>
                <Help>TXT_KEY_PROMOTION_GREAT_GENERAL_HELP</Help>
                <Sound>AS2D_IF_LEVELUP</Sound>
                <GreatGeneral>true</GreatGeneral>
                <PortraitIndex>59</PortraitIndex>
                <IconAtlas>ABILITY_ATLAS</IconAtlas>
                <PediaType>PEDIA_ATTRIBUTES</PediaType>
                <PediaEntry>TXT_KEY_PEDIA_PROMOTION_GREAT_GENERAL</PediaEntry>
            </Row>
    
     
  2. LeeS

    LeeS Imperator Supporter

    Joined:
    Jul 23, 2013
    Messages:
    6,965
    Location:
    Illinois, USA
    The actual effects are specified in table "Defines", but I cannot remember whether these are Defines that can actually be modded or whether the game ignores changes made to them (as it does for certain specific defines)
    Code:
    <GameData>
    	<Defines>
    		<Row Name="GREAT_GENERAL_RANGE">
    			<Value>2</Value>
    		</Row>
    		<Row Name="GREAT_GENERAL_STRENGTH_MOD">
    			<Value>15</Value>
    		</Row>
    	</Defines>
    </GameData>
    Altering the defines would apply to the UNIT_GREAT_GENERAL as well as any unique units that also use the Great General Promotion.
     
    tac_NCVD likes this.
  3. tac_NCVD

    tac_NCVD Chieftain

    Joined:
    Feb 29, 2020
    Messages:
    18
    Gender:
    Male
    thanks
     

Share This Page