Unit Properties
Posted: Wed May 06, 2015 11:58 pm
What I have so far
Modding Units
In Mod's Directory structure in Sov_charts.xml (only modifications and New units)
add a line under the Table name="Unit" section
Properties:
name
displayname=UNITNAME### --- ties to entry in sov_text.xml
art=(name of png) --- located in \Data\images\units\combat
realm="Iron Barony"
rlmid="28"
form="11" ???
pce="2" ???
bld="2" --- time to build
war="2" ???
sound="growl" --- attack sound
movesound="pantingshort" --- moving sound
class="Cavalry" --- unit type
race="Orc"
entity="Unit" --- unit or indiv
cwork="253" ???
total_cost="300" --- cost to buy
total_upkeep="80" --- upkeep cost
purch="yes" --- purchasable unit
trans="No" ??? able to transport units
time="2" --- time till built
cap="0" --- Capacity Transporting
contact="0" ???
purch="0" --- Unit purchasable
pack="No" --- unit can not shoot after moving if yes
terrain="Any" --- Harbor, 0 or any
type="Standard" --- unit type Merc, Elite, Unique
atttype="Physical" --- type of damage dealt
attack="1" --- attack value
defense="0" --- def value
move="4" --- move value
life="80" --- usually 100
spot="2" ???
rng_att="2" --- range attack
range="2" --- range of attack
speed="3" --- speed of attack auto resolve
morale="2" --- morale
heal="2" --- health regen
special1=(special ability)
special2=(special ability)
special3=(special ability)
metal1a=(medal abilities)
metal1b=(medal abilities)
metal2a=(medal abilities)
metal2b=(medal abilities)
soundranged="bow_release_arrow_02" === sound of ranged attack
attackanim="attack_peppering" --- animation of attack
resource1=(Resource)
res1="2" --- number of resource 1 required to purchase
resource2=(resource)
res2="0" --- number of resource 2 required to purchase
unitdesc="UNITDESC21" --- line in sov_text.xml describing unit
text="" --- text when viewing unit
Modding Units
In Mod's Directory structure in Sov_charts.xml (only modifications and New units)
add a line under the Table name="Unit" section
Properties:
name
displayname=UNITNAME### --- ties to entry in sov_text.xml
art=(name of png) --- located in \Data\images\units\combat
realm="Iron Barony"
rlmid="28"
form="11" ???
pce="2" ???
bld="2" --- time to build
war="2" ???
sound="growl" --- attack sound
movesound="pantingshort" --- moving sound
class="Cavalry" --- unit type
race="Orc"
entity="Unit" --- unit or indiv
cwork="253" ???
total_cost="300" --- cost to buy
total_upkeep="80" --- upkeep cost
purch="yes" --- purchasable unit
trans="No" ??? able to transport units
time="2" --- time till built
cap="0" --- Capacity Transporting
contact="0" ???
purch="0" --- Unit purchasable
pack="No" --- unit can not shoot after moving if yes
terrain="Any" --- Harbor, 0 or any
type="Standard" --- unit type Merc, Elite, Unique
atttype="Physical" --- type of damage dealt
attack="1" --- attack value
defense="0" --- def value
move="4" --- move value
life="80" --- usually 100
spot="2" ???
rng_att="2" --- range attack
range="2" --- range of attack
speed="3" --- speed of attack auto resolve
morale="2" --- morale
heal="2" --- health regen
special1=(special ability)
special2=(special ability)
special3=(special ability)
metal1a=(medal abilities)
metal1b=(medal abilities)
metal2a=(medal abilities)
metal2b=(medal abilities)
soundranged="bow_release_arrow_02" === sound of ranged attack
attackanim="attack_peppering" --- animation of attack
resource1=(Resource)
res1="2" --- number of resource 1 required to purchase
resource2=(resource)
res2="0" --- number of resource 2 required to purchase
unitdesc="UNITDESC21" --- line in sov_text.xml describing unit
text="" --- text when viewing unit