I thought no one had answered to this question...let me explain first why I need this: I am developing a new AI and would like to let it build a template like:
medium cannon - cobra - halftrack
the issue is that I do not know how to call it. I have tried varus combinations of names but no one is working.
Looking at the file templates.txt, this template seems to be missing, but I noticed that also many other templates are missing in the templates.txt file, see below 2 templates that the AI is building and that arenot listed in templates.txt :
Code: Select all
"SK-Cobra-Hover-Lancer"
"SK-Python-Hover-Hcannon"
..therefore I have thought that the templates do not have to be listed in this file but must follow some rule...WHICH ONE?
For example if I try with
...it is not working even if it is a combination of the two mentioned working templates.
and what is more confusing...if I try to add to the ai script the template "NP-M-MdCannon-Halftrack" which is indeed in the templates.txt I get an error message...I am lost!!!!!
13KukYNexus666 wrote:
In debug mode,on debug menu,switch to wanted player,click on units and watch them...
1- I have tried with the debugmode, I can see the name of the unit but this is not the name I need to indicate on the AI script...the name of the units you see in debug mode are more like a description.
Ilr wrote:Doesn't extracting the list from MP.WZ also work? ...(and is a lot better for Copy-Pasting coding anyway)
It worked for me... I think...
what do you mean with MP.WZ?