Hello!
You can either create a small mod (for this you will need a unique GUID you can create online as well as the template for your .modinfo file, which you can find in one of the mod subforums) which is the preferred, "clean" method that is also suitable for multiplayer, or - if you just want to try around a bit to get the hang of it - you can just edit the core game files. You can reset these files anytime you want using Steam's repair option, so there can't go anything wrong.
In any case, the info you are looking for can be found here:
Steam\steamapps\common\Sid Meier's Civilization VI\Base\Assets\Gameplay\Data\Units.xml
Open this file with any text editor, press Ctrl+F, search for
<Units> and you should see something like this:
Code:
<Units>
<Row UnitType="UNIT_SETTLER" BaseMoves="2" Cost="80" AdvisorType="ADVISOR_GENERIC" BaseSightRange="3" ZoneOfControl="false" Domain="DOMAIN_LAND" FormationClass="FORMATION_CLASS_CIVILIAN" FoundCity="true" PopulationCost="1" PrereqPopulation="2" Name="LOC_UNIT_SETTLER_NAME" Description="LOC_UNIT_SETTLER_DESCRIPTION" CanCapture="False" CostProgressionModel="COST_PROGRESSION_PREVIOUS_COPIES" CostProgressionParam1="20" PurchaseYield="YIELD_GOLD" PseudoYieldType="PSEUDOYIELD_UNIT_SETTLER"/>
<Row UnitType="UNIT_BUILDER" BaseMoves="2" Cost="50" AdvisorType="ADVISOR_GENERIC" BaseSightRange="2" ZoneOfControl="false" Domain="DOMAIN_LAND" FormationClass="FORMATION_CLASS_CIVILIAN" Name="LOC_UNIT_BUILDER_NAME" Description="LOC_UNIT_BUILDER_DESCRIPTION" CanCapture="False" CostProgressionModel="COST_PROGRESSION_PREVIOUS_COPIES" CostProgressionParam1="4" PurchaseYield="YIELD_GOLD" BuildCharges="3"/>
....
Here you can find all the units of the basegame and their basic attributes, most of it should be pretty self-explanatory.
When you navigate to
Code:
<Row UnitType="UNIT_BATTLESHIP" BaseMoves="5" Cost="430" AdvisorType="ADVISOR_CONQUEST" BaseSightRange="2" ZoneOfControl="true" Domain="DOMAIN_SEA" FormationClass="FORMATION_CLASS_NAVAL" Name="LOC_UNIT_BATTLESHIP_NAME" Description="LOC_UNIT_BATTLESHIP_DESCRIPTION" PurchaseYield="YIELD_GOLD" PseudoYieldType="PSEUDOYIELD_UNIT_NAVAL_COMBAT" PromotionClass="PROMOTION_CLASS_NAVAL_RANGED" Maintenance="6" Combat="60" RangedCombat="70" Range="3" PrereqTech="TECH_STEEL" StrategicResource="RESOURCE_COAL" AntiAirCombat="65"/>
for example, you can see
Range="3"
Now your options are:
a) Editing the core game files: Just change that value to 4 or whatever you need, in case you want to shoot the moon or something. Save and restart the game.
b) Creating a mod, using XML: add the following to your XML-file:
Code:
<GameInfo>
<Units>
<Update>
<Where UnitType="UNIT_BATTLESHIP"/>
<Set Range="4"/>
</Update>
<Update>
<Where UnitType="UNIT_MISSILE_CRUISER"/>
<Set Range="4"/>
</Update>
</Units>
</GameInfo>
c) Creating a mod, using SQL: add the following to your SQL-file:
Code:
UPDATE Units SET Range = 4 Where UnitType = "UNIT_BATTLESHIP";
UPDATE Units SET Range = 4 Where UnitType = "UNIT_MISSILE_CRUISER";
Well, that's the first step.
