Sarge85
Multiplayer Noob
Goal:
Unique Unit: Holy Warrior
Modifier: 25% reduction in build time in city with state religion.
What i've done so far:
Added to UnitInfosXML
<bStateReligion>1</bStateReligion>
<iStateReligionUnitProductionModifier>0</iStateReligionUnitProductionModifier>
Above was taken from the Organized Religon Civic
I added this to UnitSchema:
<ElementType name="bStateReligion" content="textOnly" dt:type="boolean"/>
<ElementType name="iStateReligionUnitProductionModifier" content="textOnly" dt:type="int"/>
I also added under:
<ElementType name="UnitInfo" content="eltOnly">
<element type="bStateReligion"/>
<element type="iStateReligionUnitProductionModifier"/>
=====
Sadly the XML won't load. I'm not at my game computer so I'm not sure what the exact message is.
Am I in the ball park though?
I was wondering if I have to list the <Element Type > in the Schema in a particular order
My other question is do I have to add:
<bStateReligion>1</bStateReligion>
<iStateReligionUnitProductionModifier>0</iStateReligionUnitProductionModifier>
to every single unit, or can i just leave it on the Holy Warrior?
===
Noob Modding
Sarge
Unique Unit: Holy Warrior
Modifier: 25% reduction in build time in city with state religion.
What i've done so far:
Added to UnitInfosXML
<bStateReligion>1</bStateReligion>
<iStateReligionUnitProductionModifier>0</iStateReligionUnitProductionModifier>
Above was taken from the Organized Religon Civic
I added this to UnitSchema:
<ElementType name="bStateReligion" content="textOnly" dt:type="boolean"/>
<ElementType name="iStateReligionUnitProductionModifier" content="textOnly" dt:type="int"/>
I also added under:
<ElementType name="UnitInfo" content="eltOnly">
<element type="bStateReligion"/>
<element type="iStateReligionUnitProductionModifier"/>
=====
Sadly the XML won't load. I'm not at my game computer so I'm not sure what the exact message is.
Am I in the ball park though?
I was wondering if I have to list the <Element Type > in the Schema in a particular order
My other question is do I have to add:
<bStateReligion>1</bStateReligion>
<iStateReligionUnitProductionModifier>0</iStateReligionUnitProductionModifier>
to every single unit, or can i just leave it on the Holy Warrior?
===
Noob Modding
Sarge