Widerstreit Posted March 10, 2018 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. Link to comment Share on other sites More sharing options...
Nescio Posted March 10, 2018 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 Link to comment Share on other sites More sharing options...
Widerstreit Posted March 10, 2018 Author Share Posted March 10, 2018 oh, that seems logic. ^^ THX Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now