Widerstreit 3 Posted March 10, 2018 Report Share Posted March 10, 2018 Hello, I starded modding today. Most things are clear to me, but where can I find the actual stats (like <attack><mellee><hack>*<hack>) which are used by units at the moment? I am using the SVN and in the public folder under simulation/templates/units/* there are no informations. I know how to make a new unit like in the tutorial. Quote Link to post Share on other sites
Nescio 1.482 Posted March 10, 2018 Report Share Posted March 10, 2018 7 minutes ago, Widerstreit said: Hello, I starded modding today. Most things are clear to me, but where can I find the actual stats (like <attack><mellee><hack>*<hack>) which are used by units at the moment? I am using the SVN and in the public folder under simulation/templates/units/* there are no informations. I know how to make a new unit like in the tutorial. Templates typically inherit from others; open any xml template and have a look at the second line, all the information you need is there: <Entity parent="*"> Unless a new value is specified in a template, the child has the same values as its parents. Basically all unit templates form a tree; e.g.: template_unit.xml template_unit_cavalry.xml template_unit_cavalry_ranged.xml template_unit_cavalry_ranged_javelinist.xml units/athen_cavalry_javelinist_b.xml units/athen_cavalry_javelinist_a.xml units/athen_cavalry_javelinist_e.xml 1 1 Quote Link to post Share on other sites
Widerstreit 3 Posted March 10, 2018 Author Report Share Posted March 10, 2018 oh, that seems logic. ^^ THX Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.