chaosislife Posted June 6, 2011 Report Share Posted June 6, 2011 Haven't seen anything about it so I figured I'd ask where to find the files relating to the units stats similar to how AOM used the proto(x)? Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted June 7, 2011 Report Share Posted June 7, 2011 binaries\data\mods\public\simulation\templates Quote Link to comment Share on other sites More sharing options...
chaosislife Posted June 7, 2011 Author Report Share Posted June 7, 2011 Thanks, now how much trouble would I get into if i simply ignored the inheritance hierarchy and put all of a units data in one file? The inheritance is neat, efficient and bloody annoying. Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted June 7, 2011 Report Share Posted June 7, 2011 Well, with inheritance, you only have to add the items in the unit entity that are different from the parent entities, which overwrites those things only. It means you don't have to have all 100 different tags in each entity. Quote Link to comment Share on other sites More sharing options...
chaosislife Posted June 7, 2011 Author Report Share Posted June 7, 2011 (edited) Eh, I like simplicity, if i want to change a value I don't want to have to open five files trying to hunt down which file has the value I need. I think this works best for entire classes of units rather than unique units.Of course the great thing I'm seeing here is that if I want all my tags in one file, that should work just as well. Flexibility is good. Edited June 7, 2011 by chaosislife Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted June 8, 2011 Report Share Posted June 8, 2011 if i want to change a value I don't want to have to open five files trying to hunt down which file has the value I need.You don't have to. Just put that tag (and new value) in your unit entity and it will overwrite the inherited value. Quote Link to comment Share on other sites More sharing options...
chaosislife Posted June 8, 2011 Author Report Share Posted June 8, 2011 Heh, I usually don't know how to type out the exact tag so I'd have to copy paste it anyhow. Quote Link to comment Share on other sites More sharing options...
fcxSanya Posted June 8, 2011 Report Share Posted June 8, 2011 Some day we will have an entity editor, which should be handy for people, who don't like to edit xml files manually. Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted June 8, 2011 Report Share Posted June 8, 2011 I actually have a pretty cool mockup for just such an editor. It's outdated--the tags have all been reorganized since I made the mockup--it would still be a good basis for the layout. All the editor would have to do is spit out XML files based on the values we put in the fields.It should probably ask you a few questions before you get started, like "Is this a Unit or a Building?" and give you options based on these answers. Quote Link to comment Share on other sites More sharing options...
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.