BeatriceBernardo
Chieftain
- Joined
- Apr 28, 2017
- Messages
- 10
Note that I'm using Jasper Kitty template, so I would prefer to continue using it, and not make drastic changes like using SQL instead of XML, since the template used XML.
I prefer to use existing arts assets.
I managed to make a new civ, and a new building, since it is in the template. I have made this much:
What's next is the Units.artdef and Mod.Art.xml
For Units.artdef, do I just have to copy paste it verbatim into a new file in my Jasper Kitty Solution?
For Mod.Art.xml, my Jasper Kitty Solution already has a Mod.Art.xml how should I combine them?
Generally, what other changes should I make in my Jasper Kitty Solution to make this new unit unique to my civ?
I prefer to use existing arts assets.
I managed to make a new civ, and a new building, since it is in the template. I have made this much:
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
<!-- Almost all gameplay types should first be added to the types table. -->
<!-- This serves as a central way to reference any type -->
<Types>
<Row Type="UNIT_BLUE" Kind="KIND_UNIT" />
</Types>
<!-- Define the actual unit. -->
<UnitReplaces>
<Row CivUniqueUnitType="UNIT_BLUE" ReplacesUnitType="UNIT_SLINGER"/>
</UnitReplaces>
<Units>
<Row>
<UnitType>UNIT_BLUE</UnitType>
<Name>LOC_UNIT_BLUE_NAME</Name>
<Description>LOC_UNIT_BLUE_DESCRIPTION</Description>
<BaseSightRange>2</BaseSightRange>
<BaseMoves>3</BaseMoves>
<Combat>15</Combat>
<RangedCombat>20</RangedCombat>
<Range>2</Range>
<Domain>DOMAIN_LAND</Domain>
<FormationClass>FORMATION_CLASS_LAND_COMBAT</FormationClass>
<Cost>30</Cost>
<CanCapture>True</CanCapture>
<PromotionClass>PROMOTION_CLASS_RANGED</PromotionClass>
<InitialLevel>1</InitialLevel>
<CanTrain>True</CanTrain>
<PurchaseYield>YIELD_GOLD</PurchaseYield>
<MandatoryObsoleteTech>TECH_MACHINERY</MandatoryObsoleteTech>
<AdvisorType>ADVISOR_CONQUEST</AdvisorType>
</Row>
</Units>
</GameData>
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
<!-- For simplicity sake, we're going to reuse existing icons. -->
<IconDefinitions>
<!-- This is the unit icon for the unit. -->
<Row Name="ICON_UNIT_BLUE" Atlas="ICON_ATLAS_UNITS" Index="21"/>
<!-- This is the portrait of the unit. -->
<Row Name="ICON_UNIT_BLUE_PORTRAIT" Atlas="ICON_ATLAS_UNIT_PORTRAITS" Index="21"/>
</IconDefinitions>
</GameData>
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
<LocalizedText>
<!-- The name of the unit. -->
<Row Tag="LOC_UNIT_BLUE_NAME" Language="en_US">
<Text>BLUE</Text>
</Row>
<!-- It's description. -->
<Row Tag="LOC_UNIT_BLUE_DESCRIPTION" Language="en_US">
<Text>A simple BLUE.</Text>
</Row>
</LocalizedText>
</GameData>
What's next is the Units.artdef and Mod.Art.xml
For Units.artdef, do I just have to copy paste it verbatim into a new file in my Jasper Kitty Solution?
For Mod.Art.xml, my Jasper Kitty Solution already has a Mod.Art.xml how should I combine them?
Generally, what other changes should I make in my Jasper Kitty Solution to make this new unit unique to my civ?