New York State Civ

New York State Civ 1.1

Mav12

Chieftain
Joined
Dec 19, 2011
Messages
55
Location
White Plains, NY
Mav12 submitted a new resource:

New York State Civ - This mod adds New York State under John Rockefeller. It is a civ with all-around bonuses

View attachment 458179
This mod adds a civilization based on the state of New York. I tried to do a balance of both upstate and downstate. This mod is in a playable state but still needs to undergo more testing to make sure the 2nd half of the UA and the leader ability properly work (as of now they should) and the bonuses are balanced, but I dont have the time, so if you play the mod or see something please tell me if something isn't working right or something is to OP or needs...

Read more about this resource...
 
Hi, how do you upload your civilization to the forum. It says I have insufficient privilege. Also, I am about to try playing as NY :)
 
I like what you've done with this, I would suggest to release the other civs seperately though as they don't feel linked enough to be the leader of the same civ in a different timeperiod but more like a different civ. As I'm not from the US and I don't know enough about NY history to really point out figures of importance the only thing I can offer from my (Dutch) background is Peter Stuyvesant who was Governor of New Amsterdam before the English bought/conquered the area. As a Dutch governor his ability might be something related to the Dutch colonial ventures which were focused on commerce. A boost to trade or gold generation might be valid.

This isn't a very serious suggestion though, was mostly here to say the civ looks nice.
I'm going to try and play with this soon if I get the chance
 
This looks really great! It's really really solid. I noticed that you created your own SubjectRequirementSetIds! That's excellent news! Did you find any limitations? God, I may have to change Cyrus' ability if creating a new SubjectRequirementSetId is that easy!
 
This looks really great! It's really really solid. I noticed that you created your own SubjectRequirementSetIds! That's excellent news! Did you find any limitations? God, I may have to change Cyrus' ability if creating a new SubjectRequirementSetId is that easy!
Your only limited in terms of the requirement types you can have (there listed in GameEffects.xml after all the effects) and what collections you can apply a modifier to (I for example would like to have the pop bonus only apply to the city the neighborhood is built in, instead of every city with a neighborhood, but the game dosent have a single city collection, just an all cities and a nearest city to unit)

To create a requirement you just need the following:
1) A SubjectRequirementSetId (can be named anything)
2) A RequirementSetType (this is either REQUIREMENTSET_TEST ANY or ALL) it determines wether the requirment is met if either ALL the condtions are met or ANY of them are met.
3) The RequirementSetRequirements must have separate entries for each "Condition"
4) A Requirement must have a type that's listed in GameEffects.xml
5) RequirementArguments has the type of object AND the object

I recommend finding what the game uses the requirment type listed in GameEffects your gonna use for and copying from there (ie in order to add the Chain Attack ability to my Xeonblade civ I looked at the Hoplite)

For example, I tried to explain the Rockefeller's Leader Ability requirments as follows:
EDIT: I just relized the cc in the Modifier id wasnt just a copying bork and actually [prevented the ability from working, gonna fix that here, and in the mod now This is what I ment by the mod still needing testing
Code:
    <TraitModifiers>
        <Row TraitType="TRAIT_LEADER_INDUSTRIALIST_TYCOON" ModifierId="TRAIT_ROCKEFELLER_PRODUCTION_BONUS_TO_WONDERS"/>
        <Row TraitType="TRAIT_LEADER_INDUSTRIALIST_TYCOON" ModifierId="TRAIT_ROCK_ECONOMIC_GOVERNMENT_SLOT"/>
    </TraitModifiers>
<!-- This lists what modifiers are attached to the trait-->
    <Modifiers>
        <Row>
            <ModifierId>TRAIT_ROCK_ECONOMIC_GOVERNMENT_SLOT</ModifierId>
            <ModifierType>MODIFIER_PLAYER_CULTURE_ADJUST_GOVERNMENT_SLOTS_MODIFIER</ModifierType>
        </Row>
<!-- From Punt mod,  says what modifier type is used, in this case its a pre-defined one from Modifer.xml that adds a policy slot-->
        <Row>
            <ModifierId>TRAIT_ROCKEFELLER_PRODUCTION_BONUS_TO_WONDERS</ModifierId>
            <ModifierType>MODIFIER_ALL_CITIES_ATTACH_MODIFIER</ModifierType>
            <Permanent>true</Permanent>
            <SubjectRequirementSetId>ROCKEFELLER_HAS_COMMERCIAL_AND_INDUSTRIAL</SubjectRequirementSetId>
        </Row>
<!-- Again pre-defined one from Modifer.xml is used, in addition to a RequirmentSetId that sets a requirement NOTE: this modifier type attaches another modifier to all cities that meet the requirement -->
        <Row>
            <ModifierId>ROCKEFELLER_PRODUCTION_BONUS</ModifierId>
            <ModifierType>MODIFIER_PLAYER_CITIES_ADJUST_ALL_PROJECTS_PRODUCTION</ModifierType>
        </Row>
<!-- This is the modifier that the above one is attaches to all cities, (see the 2nd group of <ModierArguments>) It is a type that adjusts wonder production, used in vanilla for Hong Kong's bonus-->
    </Modifiers>
    <ModifierArguments>
        <Row>
            <ModifierId>TRAIT_ROCK_ECONOMIC_GOVERNMENT_SLOT</ModifierId>
            <Name>GovernmentSlotType</Name>
            <Value>SLOT_ECONOMIC</Value>
        </Row>
<!-- This tells the game what kind of policy slot to add -->
        <Row>
            <ModifierId>TRAIT_ROCKEFELLER_PRODUCTION_BONUS_TO_WONDERS</ModifierId>
            <Name>ModifierId</Name>
            <Value>ROCKEFELLER_PRODUCTION_BONUS</Value>
        </Row>
<!-- This tells the game which modifier to attach to the trait modifier -->
        <Row>
            <ModifierId>ROCKEFELLER_PRODUCTION_BONUS</ModifierId>
            <Name>Amount</Name>
            <Value>15</Value>
        </Row>
<!-- This tells the game how much bonus to give, in this case 15% -->
    </ModifierArguments>
    <RequirementSets>
        <Row>
            <RequirementSetId>ROCKEFELLER_HAS_COMMERCIAL_AND_INDUSTRIAL</RequirementSetId>
            <RequirementSetType>REQUIREMENTSET_TEST_ALL</RequirementSetType>
        </Row>
<!-- This tells the game that ALL of the below requirements (From now on I call them conditions b/c using the same word over gets confusing) must be true for the requirmentSet to be met -->
    </RequirementSets>
    <RequirementSetRequirements>
        <Row>
            <RequirementSetId>ROCKEFELLER_HAS_COMMERCIAL_AND_INDUSTRIAL</RequirementSetId>
            <RequirementId>ROCKEFELLER_ELEGABLE_COMMERCIAL_DISTRICT</RequirementId>
        </Row>
<!-- This tells the game that The RequirmentSet needs to have this condition (in this case I named it after the district this needs) -->
        <Row>
            <RequirementSetId>ROCKEFELLER_HAS_COMMERCIAL_AND_INDUSTRIAL</RequirementSetId>
            <RequirementId>ROCKEFELLER_ELEGABLE_INDUSTRIAL_DISTRICT</RequirementId>
        </Row>
<!-- Same as above, NOTE how each separate district needs its own requirmentId -->
    </RequirementSetRequirements>
    <Requirements>
        <Row>
            <RequirementId>ROCKEFELLER_ELEGABLE_COMMERCIAL_DISTRICT</RequirementId>
            <RequirementType>REQUIREMENT_CITY_HAS_DISTRICT</RequirementType>
        </Row>
<!-- Tells the game what kind of requirement the condition is -->
        <Row>
            <RequirementId>ROCKEFELLER_ELEGABLE_INDUSTRIAL_DISTRICT</RequirementId>
            <RequirementType>REQUIREMENT_CITY_HAS_DISTRICT</RequirementType>
        </Row>
<!-- Same as above, again note how each condition is separate for the RequirmentSetRequirments -->
    </Requirements>
    <RequirementArguments>
        <Row>
            <RequirementId>ROCKEFELLER_ELEGABLE_COMMERCIAL_DISTRICT</RequirementId>
            <Name>DistrictType</Name>
            <Value>DISTRICT_COMMERCIAL_HUB</Value>
        </Row>
<!-- Tells the game that the district needed to meet the condition is a Commercial Hub -->
        <Row>
            <RequirementId>ROCKEFELLER_ELEGABLE_INDUSTRIAL_DISTRICT</RequirementId>
            <Name>DistrictType</Name>
            <Value>DISTRICT_INDUSTRIAL_ZONE</Value>
        </Row>
<!--Same but Industrial Zone -->
    </RequirementArguments>
 
Last edited:
Top Bottom