What happened to the item editor?
Weren't we supposed to have an item editor in the workshop? I actually see the assets for it (such as the dxpacks) so I'm assuming it wasn't enabled for this version... I hope the day 0 will have it as it was a promised feature.
Also, I've been trying to add new items manually in the XML file and the item won't show up in game. What I'm trying to do is create a bow that shoots fire arrows.
- <!-- Equipment Display Name/Description -->
- <GameItemType InternalName="Weapon_CedarShortbow_Fire">
- <DisplayName>Cedar Shortbow with Fire Arrows</DisplayName>
- <Description>A bow of rough cedarwood, strung with milkweed fiber. Equipped with Fire Arrows</Description>
- <!-- Equipment Type -->
- <Type>Weapon</Type>
- <Type>Defense</Type>
- <CanBeEquipped>1</CanBeEquipped>
- <IsAvailableForSovereignCustomization>false</IsAvailableForSovereignCustomization>
- <ShopValue>30</ShopValue>
- <WeaponType>Bow</WeaponType>
- <!-- Equipment Graphics -->
- <IconFile>Archer_Bow_Icon_Fire.png</IconFile>
- <TintR>0</TintR>
- <TintG>0</TintG>
- <TintB>0</TintB>
- <GameItemTypeModel>
- <Attachment>hand_Left_Lcf</Attachment>
- <ModelFile>Gfx\HKB\Items\Archer_Bow.hkb</ModelFile>
- <Texture_All>Gfx\HKB\Items\K_Female_Armor_Archer_Texture_01.png</Texture_All>
- </GameItemTypeModel>
- <!-- SFX -->
- <EquipSFX>Equip_BowandArrow_01</EquipSFX>
- <EquipSFX>Equip_BowandArrow_02</EquipSFX>
- <EquipSFX>Equip_BowandArrow_03</EquipSFX>
- <AttackSFX>Hit_Arrow1</AttackSFX>
- <AttackSFX>Hit_Arrow2</AttackSFX>
- <AdditionalTrainingTurns>3</AdditionalTrainingTurns>
- <!-- Equipment Production Requirements -->
- <ProductionRequirement>
- <Type>Resource</Type>
- <Attribute>Gold</Attribute>
- <Value>3.0</Value>
- </ProductionRequirement>
- <ProductionRequirement>
- <Type>Resource</Type>
- <Attribute>Materials</Attribute>
- <Value>3.0</Value>
- </ProductionRequirement>
- <!-- Equipment Prerequisites -->
- <Prereq>
- <Type>Tech</Type>
- <Attribute>Ranged_Weapons_Amarian</Attribute>
- <Value>0</Value>
- </Prereq>
- <Prereq>
- <Type>Tech</Type>
- <Attribute>Weapons_Of_Piercing_Trogs</Attribute>
- <Value>0</Value>
- </Prereq>
- <!-- Equipment Modifiers -->
- <GameModifier>
- <ModType>Unit</ModType>
- <Attribute>AdjustUnitStat</Attribute>
- <StrVal>UnitStat_Attack</StrVal>
- <Value>3.0</Value>
- </GameModifier>
- <GameModifier>
- <ModType>Unit</ModType>
- <Attribute>AdjustUnitStat</Attribute>
- <StrVal>UnitStat_CombatSpeed</StrVal>
- <Value>-0.5</Value>
- </GameModifier>
- <GameModifier>
- <ModType>Unit</ModType>
- <Attribute>UnlockRangedAction</Attribute>
- <StrVal>BasicBowAttack</StrVal>
- </GameModifier>
- <GameModifier>
- <ModType>Unit</ModType>
- <Attribute>UnlockRangedAction</Attribute>
- <StrVal>FireArrows</StrVal>
- </GameModifier>
- <TacticalRange>8</TacticalRange>
- </GameItemType>
I also created an effect in the rangedspells xml:
- <!-- ************** -->
- <!-- * Fire Arrows* -->
- <!-- ************** -->
- <SpellDef InternalName="FireArrows">
- <DisplayName>Fire Arrows</DisplayName>
- <Description>Fires a volley of flaming arrows</Description>
- <Image>ArcaneArrow.png</Image>
- <IconFG>Icon_Arrows.png</IconFG>
- <IconBG>Icon_Arrows.png</IconBG>
- <IconColor>32,45,243</IconColor>
- <Radius>0.0</Radius>
- <Range>2.0</Range>
- <ManaCost>0</ManaCost>
- <MoveCost>10</MoveCost>
- <SpellType>Strategic</SpellType>
- <SpellClass>Offensive</SpellClass>
- <IsRangedAttack>1</IsRangedAttack>
- <SpellTargetType>EnemyUnit</SpellTargetType>
- <ValidTerrainCategory>Land</ValidTerrainCategory>
- <ValidTerrainCategory>Beach</ValidTerrainCategory>
- <ValidTerrainCategory>Forest</ValidTerrainCategory>
- <ValidTerrainCategory>City</ValidTerrainCategory>
- <ValidTerrainCategory>Water</ValidTerrainCategory>
- <ValidTerrainCategory>Cliff</ValidTerrainCategory>
- <ValidTerrainCategory>Mountain</ValidTerrainCategory>
- <GameModifier InternalName="FireArrowDamage01">
- <ModType>Unit</ModType>
- <Attribute>DefendableDamage</Attribute>
- <!-- Use the unit's attack stat to determine damage done by the arrow -->
- <Calculate InternalName = "Value" ValueOwner="CastingUnit">
- <Expression><![CDATA[[UnitStat_Attack]*-1]]></Expression>
- </Calculate>
- <Attribute>CurHealth</Attribute>
- <Value>-2</Value>
- <PerTurn>1</PerTurn>
- <Duration>4</Duration>
- </GameModifier>
- <SpellCastEffectName>Flame_Dart3</SpellCastEffectName>
- <SpellCastEffectScale>0.15</SpellCastEffectScale>
- <SpellCastProjectile>1</SpellCastProjectile>
- <SpellCastProjectileSpeed>800</SpellCastProjectileSpeed>
- <SpellDefEffect>
- <EffectName>Flame_Impact</EffectName>
- <LocalPosition>0,35,0</LocalPosition>
- <EffectScale>1.0</EffectScale>
- <EffectDelay>0.0</EffectDelay>
- <SnapToTerrain>1</SnapToTerrain>
- </SpellDefEffect>
- </SpellDef>
I simply added the lines in (I created a new icon as well)... but when I research the required tech nothing shows up in game, just the original cedar shortbow. Am I missing something?