So I got a bunch of units ingame and I want the AI to build them in skirmish. I went to the file called TacticalMultiplayerBuildLandUnitsGeneric.lua and added in the line to build them (I use notepad++). I found it strange that the lines were in gray and the lines I added are in black. After editing it the AI won't build anything now :(! I think there was a post on this before but I can't find it. Could someone please help me? I am a noob at coding .lua files. Also I was wondering how to enhance the AI and make them real tough (build a lot, smart, use tactics, etc.). I know this was done on a few mods but like I said I don't understand very much about .lua files. Thanks anyone in advance.
I take what n0e says way too seriously
20th November 2007
Notepad++ may be hiding some formatting from you. Try using just plain notepad or wordpad and see if you notice anything different between your lines.
Thanks for your reply. I looked at the my lines compared to the lines that were already there and it looks the exact same formatting wise. I can post the code here if you like to see it, but I will be adding more units to it later on for my mod. I don't know what I did wrong. Thanks