1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

City capture by ships

Discussion in 'CivBE - General Modding Discussion' started by PvtHudson, Apr 26, 2016.

  1. PvtHudson

    PvtHudson Chieftain

    Joined:
    Apr 18, 2016
    Messages:
    15
    Hello all!
    Is there a mod which forbids ships to capture land cities? If no, how difficult is it to implement?
     
  2. Gaia_

    Gaia_ Chieftain

    Joined:
    Mar 30, 2016
    Messages:
    17
    Any mellee unit can take cities ... soo only thing you can do is give it a debuff vs. cities just like leashed aliens get for example ... but they would still be able to take cities if ranged take HP to zero first. Try this:

    <UnitPromotions>
    <Row>
    <Type>PROMOTION_NAVAL_WEAKVSCITY</Type
    <CannotBeChosen>true</CannotBeChosen>
    <CityAttack>-100</CityAttack>
    </Row>​
    </UnitPromotions>

    Fill in other text as needed for description and help text etc (see other similar files)

    <UnitPromotions_UnitCombats>
    <Row>
    <PromotionType>PROMOTION_NAVAL_WEAKVSCITY</PromotionType>
    <UnitCombatType>UNITCOMBAT_NAVALMELEE</UnitCombatType>
    </Row>​
    </UnitPromotions_UnitCombats>

    <Unit_FreePromotions>
    <Row>
    <UnitType>UNIT_NAVAL_MELEE</UnitType>
    <PromotionType>PROMOTION_NAVAL_WEAKVSCITY</PromotionType>
    </Row>​
    </Unit_FreePromotions>
     

Share This Page