Ah right,
I'll try copy and paste stuff over into the right places (although no doubt i'll go wrong somewhere xD).
I'm using the git version (since the svn one was broken when i downlaoded it - seems i got caught just before the git change).
Edit:
Just to clarify, the --- a (in red) stuff on the links I need to take out and the +++ b (in green) I add in?
Ok so, there were a few lines causing errors, mainly to do with the AI_LOG and MILITARY, for some reason the version i'm using doesn't know about these things, I've commented those lines out for now since as far as I'm aware the logs aren't needed for the AI to work(?).
The only error left causing me a problem is:
Error 2 error C2039: 'getCountOfUnitType' : is not a member of 'Glest::Entities::Faction' c:\Users\Matt\Desktop\Take 2 - GLEST\glestae\source\game\ai\ai.cpp 424
Yeah, the "faction->getCountOfUnitType" isn't in faction. I'm assuming this is a version problem. Could I get the code used in Faction.cpp/.h so that this line works please xD
Ok, I used a work around for that by just using the getCountOfType already available in the ai.cpp
And yes, they attack constantly
Which is pretty much how I intended, but I might need to play around with the ammount of units it produces, It got to a stage (about 5-10 minutes in) where the AI sent a constant string of enemies at me (about 2-5 yards between each) spanning the length of the map, and it didn't stop xD
Probably need to lower the ammount of workers so they can't produce resources quick enough.
So i'll play around with that, but it's pretty much how I want it, designed to force you into a more defensive role to see if you can still push through their 'endless' waves.
Cheers for that code, worked like a charm.
Edit:
Btw, is there and easy way to make a release version of my version so that I can have other people test it? If it's possible just an .exe and as minimal ammount of files to go with it.
I've not used CMake before so I can't tell how it's possible since the file system looks a bit complicated to me.
Edit by Omega: Merged 3 posts into one. Please do not triple post if only one hour apart.