chaosislife Posted June 27, 2013 Report Share Posted June 27, 2013 Since, we use a inheritance system, with a couple of levels of inheritance I quickly run out of room for new buildings. Does anyone know of a way to disable particular units or buildings in the template so I can have more room for the new buildings? If not, is there a way to disable all of the buildings and then just add the ones i want? Without having to change the unit's entire inheritance? Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted June 27, 2013 Report Share Posted June 27, 2013 Can you try prepending it with a - sign?It works for technologies, but I don't know how consistently it is implemented.see the technologies of http://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/simulation/templates/structures/iber_wall_tower.xml as an example. Quote Link to comment Share on other sites More sharing options...
chaosislife Posted June 27, 2013 Author Report Share Posted June 27, 2013 (edited) Yup, that works. On a more helpful to the actual project note, this can be used to disable blacksmiths for civs that shouldn't have them without changing inheritance. Although I'm not sure if it would be easier than removing the entry from template_unit_infantry and then adding it to the units that should have it as you'd still need to add -structures/{civ}_blacksmith to every unit that shouldn't have it. Edited June 27, 2013 by chaosislife 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.