CreateGroup function
Moderators: hoijui, Moderators
- tow_dragon
- Posts: 45
- Joined: 05 May 2006, 13:53
CreateGroup function
I have a big problem. I don't know how to use this function. please give me some examples. When I had tried some arguments, Spring crashed. Help!!!
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Actually AAI kinda works in svn.
Suffers from building buildings ontop of units (or other buildings). Need to change the cases for some of the conf files /directorys though.
Tried latest NTAI from svn still same
no power buildings & just spams Construction units & defense buildings 
Oh well back to tagged released with AAI & NTAI 7.5 for me
Suffers from building buildings ontop of units (or other buildings). Need to change the cases for some of the conf files /directorys though.
Tried latest NTAI from svn still same


Oh well back to tagged released with AAI & NTAI 7.5 for me
There are many additions in UnitDef and WeaponDef since last release (limited fuel for example), that can make current AIs uncompatible.
There is also some bugs fixed:
- attack commands are now cancelled when enemy goes outside los, which may affect some AI's attack systems
- CanBuildAt can no longer detect enemy buildings outside los, which probably is cause of "building on top buildings" bug.
There is also some bugs fixed:
- attack commands are now cancelled when enemy goes outside los, which may affect some AI's attack systems
- CanBuildAt can no longer detect enemy buildings outside los, which probably is cause of "building on top buildings" bug.
I can see aircraft targeting being completely screwed up (they├óÔé¼Ôäóre constantly getting in and out of LOS), same with any microing behaviour that keeps units at max range.Rafal99 wrote:There is also some bugs fixed:
- Attack commands are now cancelled when enemy goes outside los, which may affect some AI's attack systems
This if anything will worsen that bug. Enemy building exists (mex, hidden camera near its base, anything really), AI doesn├óÔé¼Ôäót detect it, tries to build on top of enemy (that bug if you look was usually only limited to allied units). In fact i cant possibly see how this can help the problem, since all it does is limit the amount of info received. Its a step forward but if i can keep the old one (possibly in the cheat interface) it would be appreciated.- CanBuildAt can no longer detect enemy buildings outside los, which probably is cause of "building on top buildings" bug.
I could be wrong, but it seems like this will break normal human gameplay (the attack bit certainly will, bombers forgetting their targets etc), possibly most AIs and certainly KAI, which just means ill have to write extra code just to bring the old functionality back(KAI probably has half of the spring code in it anyways so i guess a couple hundred lines wont hurt much

I find handlecommand overrated, it seems each release breaks the AIs anyways, and devs are likely to re-release to make use of any new features added. With AIs in the svn handlecommand just looks like an ugly fix to a problem that doesn├óÔé¼Ôäót even exist, though I├óÔé¼Ôäóm speaking for myself here i guess...
Oops, my mistake: Attack commands are cancelled when enemy goes outside radar.krogothe wrote:I can see aircraft targeting being completely screwed up (they├óÔé¼Ôäóre constantly getting in and out of LOS), same with any microing behaviour that keeps units at max range.Rafal99 wrote:There is also some bugs fixed:
- Attack commands are now cancelled when enemy goes outside los, which may affect some AI's attack systems
But probably this will broke a lot of stuff anyway. Devs are thinking about better solution to it.
I am working on a small patch to the interface (i have wrote one already), and i am thinking about moving some stuff outside of GetValue() funtion, which is bloated the most. I am also planning to add GetValue(), GetProperty() and HandleCommand() functions to CAICheats too. First of all, i will need to ask the devs if they agree.krogothe wrote:Now if the current SVN really breaks AIs, cant we just have the interface commands properly added (handlecommand is starting to get bloated),
But now (in 2 hours exactly) i am going on vacation for a week, so i will continue the work when i go back.
And btw you can write a patch too!
