LordStark Posted June 4, 2022 Report Share Posted June 4, 2022 (edited) When I upgrade my citizen soldiers to Men at Arms I would like to remove their ability to build things - how do I do this? Edited June 4, 2022 by LordStark Quote Link to comment Share on other sites More sharing options...
ChronA Posted June 4, 2022 Report Share Posted June 4, 2022 <Builder disable=""/> I think adding this to your Man At Arms unit's XML template file would do what you want. 1 1 Quote Link to comment Share on other sites More sharing options...
LordStark Posted June 5, 2022 Author Report Share Posted June 5, 2022 Thanks, what would be the code to disable the resource gathering ability? More importantly, how did you know such a code would work? Quote Link to comment Share on other sites More sharing options...
Freagarach Posted June 5, 2022 Report Share Posted June 5, 2022 They could know that by looking at example templates from the main game. That syntax is used a bit. I highly recommend looking at the templates (and components) from the vanilla game as well. Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted June 5, 2022 Report Share Posted June 5, 2022 5 hours ago, LordStark said: Thanks, what would be the code to disable the resource gathering ability? More importantly, how did you know such a code would work? The ideal would be to try everything in the game and the mods of 0 A.D. Quote Link to comment Share on other sites More sharing options...
ChronA Posted June 5, 2022 Report Share Posted June 5, 2022 8 hours ago, Freagarach said: They could know that by looking at example templates from the main game. That syntax is used a bit. I highly recommend looking at the templates (and components) from the vanilla game as well. Correct. Likewise to remove resource gathering is <ResourceGatherer disable=""/> 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.