Ok, I'm now fiddling with my AI. It can tell if you're on OTA and fi you're arm or core. But it cant tell the difference between XTA and OTA or XTA and AA or OTA and AA.... Also having there been no release for TAWorld domination I havent a clue where to begin on there.
And I'm not sure what best todo for swta either.
The point of this si at the moment everything should work dynamically EXEPT the initial build order. It would also be useful at a later point when I expand upon the attack system.
So what should the initial build order for the commander be in swta & TAWD, and what test should I perform to distinguish between OTA/XTA/and AA, and something that isnt specific to a particular version of AA or XTA either.
Mod detection
Moderator: Moderators
- GrOuNd_ZeRo
- Posts: 1370
- Joined: 30 Apr 2005, 01:10
- [K.B.] Napalm Cobra
- Posts: 1222
- Joined: 16 Aug 2004, 06:15
:idea:get the AI manager to look in the spring dir. if it see's OTA_Settings... it should assume its OTA if its not got any extra files it should asssume its XTA, and if it has a file called AA.txt in it it should assume its AA, would be pretty easy to do...i think...not like i can program or anything but that might help
Min3mat, if the AA.txt file was present yes maybe I could do that, but that doesnt mean AA is the mod being used, there may also be an OTA.txt or an XTA.txt.
And right now I think the source doesnt have that fully implemented so i need other ways of figuring out. It would also be useful if someone created a new mod based on OTA that it could still detect OTA traits and behave as if it where playing a normal game rather than simply saying there isnt any media installed.
And right now I think the source doesnt have that fully implemented so i need other ways of figuring out. It would also be useful if someone created a new mod based on OTA that it could still detect OTA traits and behave as if it where playing a normal game rather than simply saying there isnt any media installed.