1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. Photobucket has changed its policy concerning hotlinking images and now requires an account with a $399.00 annual fee to allow hotlink. More information is available at: this link.
    Dismiss Notice
  3. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  4. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  5. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  6. Dismiss Notice
  7. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

How can i modify the Adjacent bouns?

Discussion in 'Civ6 - Creation & Customization' started by Acerick, Dec 13, 2017.

  1. Acerick

    Acerick Chieftain

    Joined:
    Dec 13, 2017
    Messages:
    6
    Gender:
    Male


    can somebody help me?
     
  2. Acerick

    Acerick Chieftain

    Joined:
    Dec 13, 2017
    Messages:
    6
    Gender:
    Male
  3. leif erikson

    leif erikson Game of the Month Fanatic Administrator Supporter GOTM Staff

    Joined:
    Feb 2, 2003
    Messages:
    22,673
    Location:
    Plymouth, MA
  4. LeeS

    LeeS Imperator

    Joined:
    Jul 23, 2013
    Messages:
    5,140
    Location:
    Illinois, USA
    Depends entirely on what you want to accomplish. You need to explain what it is you want to do. Some things are very possible and some things are not possible or not very easily possible.
     
  5. Acerick

    Acerick Chieftain

    Joined:
    Dec 13, 2017
    Messages:
    6
    Gender:
    Male
    Thank you for comment ! i want the manmade wonder can provide adjacent bouns like district。is it possible?
     
  6. LeeS

    LeeS Imperator

    Joined:
    Jul 23, 2013
    Messages:
    5,140
    Location:
    Illinois, USA
    The stave church does this for adjacent woods tiles. Woods are FEATURE_FOREST.:
    Code:
    <Modifiers>
    	<!--Adjust Dynamic Plot Yield-->
    	<Row>
    		<ModifierId>STAVE_CHURCH_FAITHWOODSADJACENCY</ModifierId>
    		<ModifierType>MODIFIER_SINGLE_CITY_FEATURE_ADJACENCY</ModifierType>
    	</Row>
    </Modifiers>
    <ModifierArguments>
    	<!--Adjust Dynamic Plot Yield-->
    	<Row>
    		<ModifierId>STAVE_CHURCH_FAITHWOODSADJACENCY</ModifierId>
    		<Name>DistrictType</Name>
    		<Value>DISTRICT_HOLY_SITE</Value>
    	</Row>
    	<Row>
    		<ModifierId>STAVE_CHURCH_FAITHWOODSADJACENCY</ModifierId>
    		<Name>FeatureType</Name>
    		<Value>FEATURE_FOREST</Value>
    	</Row>
    	<Row>
    		<ModifierId>STAVE_CHURCH_FAITHWOODSADJACENCY</ModifierId>
    		<Name>YieldType</Name>
    		<Value>YIELD_FAITH</Value>
    	</Row>
    	<Row>
    		<ModifierId>STAVE_CHURCH_FAITHWOODSADJACENCY</ModifierId>
    		<Name>Amount</Name>
    		<Value>1</Value>
    	</Row>
    	<Row>
    		<ModifierId>STAVE_CHURCH_FAITHWOODSADJACENCY</ModifierId>
    		<Name>Description</Name>
    		<Value>LOC_STAVE_CHURCH_FOREST_FAITH</Value>
    	</Row>
    </ModifierArguments>
    <BuildingModifiers>
    	<!--Adjust Dynamic Plot Yield-->
    	<Row>
    		<BuildingType>BUILDING_STAVE_CHURCH</BuildingType>
    		<ModifierId>STAVE_CHURCH_FAITHWOODSADJACENCY</ModifierId>
    	</Row>
    </BuildingModifiers>
    I am not sure if there is another <ModifierType> other than MODIFIER_SINGLE_CITY_FEATURE_ADJACENCY that allows you to specify anything other than adjacent features.

    Also, though wonders are also buildings, they are also treated as a special case of District ("DISTRICT_WONDER") but this applies to any and all wonders that are placed on the map and I am not certain whether you can state adjacency bonuses for "DISTRICT_WONDER" like you can for "DISTRICT_CAMPUS", "DISTRICT_HOLY_SITE", etc.
     
  7. Acerick

    Acerick Chieftain

    Joined:
    Dec 13, 2017
    Messages:
    6
    Gender:
    Male
    oh!Thank you! but a little bit wrong .I mean to make wonders can provide +1 science for campus ,+1 production for Industrial district ,+1 gold for commercial hub ,etc. Wonders like a normal district providing corresponding yield type.

    I just try what you mentioned,I replace AdjacentWonder="true"/> with AdjacentDistrict="DISTRICT_WONDER"/>
    So i got this (yeah,i gonna build a theater on a banana)
    hhh a big progress
     
  8. LeeS

    LeeS Imperator

    Joined:
    Jul 23, 2013
    Messages:
    5,140
    Location:
    Illinois, USA
    Ok, I get you. You want adjaceny from wonders being adjacent to specified districts. This is one example that I am using in a private mod
    Code:
    	<District_Adjacencies>
    		<Row DistrictType="DISTRICT_CAMPUS" YieldChangeId="Wonder_Science"/>
    	</District_Adjacencies>
    	<Adjacency_YieldChanges>
    		<Replace ID="Wonder_Science" Description="LOC_DISTRICT_WONDER_SCIENCE" YieldType="YIELD_SCIENCE" YieldChange="1" TilesRequired="1" AdjacentWonder="true"/>
    	</Adjacency_YieldChanges>
    You will also need to define the text to be used for "LOC_DISTRICT_WONDER_SCIENCE" in the Language database.

    The effect is to give +1 Science to campuses for each adjacent World Wonder.
     
  9. Acerick

    Acerick Chieftain

    Joined:
    Dec 13, 2017
    Messages:
    6
    Gender:
    Male


    Code:
    [CODE]        <Row Tag="LOC_DISTRICT_WONDER_CULTURE">
                <Text>+{1_num} [ICON_Culture] Culture from the adjacent {1_Num : plural 1?wonder; other?wonders;}.</Text>
            </Row>
            <Row Tag="LOC_DISTRICT_WONDER_GOLD">
                <Text>+{1_num} [ICON_Gold] Gold from the adjacent {1_Num : plural 1?wonder; other?wonders;}.</Text>
            </Row>
            <Row Tag="LOC_DISTRICT_WONDER_PRODUCTION">
                <Text>+{1_num} [ICON_Production] Production from the adjacent {1_Num : plural 1?wonder; other?wonders;}.</Text>
            </Row>
            <Row Tag="LOC_DISTRICT_WONDER_SCIENCE">
                <Text>+{1_num} [ICON_Science] Science from the adjacent {1_Num : plural 1?wonder; other?wonders;}.</Text>
            </Row>
    [/CODE]

    <Replace ID="Wonder_Culture" Description="LOC_DISTRICT_WONDER_CULTURE" YieldType="YIELD_CULTURE" YieldChange="1" TilesRequired="1" AdjacentWonder="true"/>
    <Replace ID="Wonder_Gold" Description="LOC_DISTRICT_WONDER_GOLD" YieldType="YIELD_GOLD" YieldChange="1" TilesRequired="1" AdjacentWonder="true"/>
    <Replace ID="Wonder_Production" Description="LOC_DISTRICT_WONDER_PRODUCTION" YieldType="YIELD_PRODUCTION" YieldChange="1" TilesRequired="1" AdjacentWonder="true"/>
    <Replace ID="Wonder_Science" Description="LOC_DISTRICT_WONDER_SCIENCE" YieldType="YIELD_SCIENCE" YieldChange="1" TilesRequired="1" AdjacentWonder="true"/>


    is it look like this?
     
  10. LeeS

    LeeS Imperator

    Joined:
    Jul 23, 2013
    Messages:
    5,140
    Location:
    Illinois, USA
  11. Acerick

    Acerick Chieftain

    Joined:
    Dec 13, 2017
    Messages:
    6
    Gender:
    Male
    thank you sir ! i'm appreciate:)
     

Share This Page