[DEV] BetaAI | TOTAL REDO ?
Improvements and ideas
-
- Posts: 43
- Joined: Sun May 22, 2011 3:26 pm
[DEV] BetaAI | TOTAL REDO ?
Needs a total redo.
Last edited by BenjaminLSR on Thu Oct 11, 2012 7:07 am, edited 9 times in total.
-
- Posts: 43
- Joined: Sun May 22, 2011 3:26 pm
- BaronOfStuff
- Posts: 438
- Joined: Sun May 22, 2011 7:25 pm
Interesting stuff. The AI is currently pretty pathetic, so any improvements are probably welcome.
One thing that it really needs to be capable of is sending more squads to attack, regardless of the condition of the previous squad sent out; at the moment, they just cram their base with new stuff until the last unit from the 'current' attack wave is destroyed, and all too frequently this last unit somehow manages to get lost in the middle of nowhere for some inexplicable reason.
While watching 200+ enemy units suddenly mobilise and go on the attack can be quite funny, it slows the game to a crawl and doesn't really make the imminent fight 'difficult' -- it eventually just becomes tedious to pick off unit after unit with a wall of defences (not to mention you can just avoid this last unit and smash the AI base to pieces while it sits around with its thumb up its ass, hopelessly waiting to attack again -- which is where your plan to enable the AI to counter-attack - or at least react to an attack on its own base - should be very useful).
One thing that it really needs to be capable of is sending more squads to attack, regardless of the condition of the previous squad sent out; at the moment, they just cram their base with new stuff until the last unit from the 'current' attack wave is destroyed, and all too frequently this last unit somehow manages to get lost in the middle of nowhere for some inexplicable reason.
While watching 200+ enemy units suddenly mobilise and go on the attack can be quite funny, it slows the game to a crawl and doesn't really make the imminent fight 'difficult' -- it eventually just becomes tedious to pick off unit after unit with a wall of defences (not to mention you can just avoid this last unit and smash the AI base to pieces while it sits around with its thumb up its ass, hopelessly waiting to attack again -- which is where your plan to enable the AI to counter-attack - or at least react to an attack on its own base - should be very useful).
-
- Posts: 43
- Joined: Sun May 22, 2011 3:26 pm
-
- Posts: 43
- Joined: Sun May 22, 2011 3:26 pm
CounterAttack:
Allow troops wandering around base to quick move to an enemy curently attacking any structures. In fact, this script was supposed to be just a test but it makes AI far more reactiv to base invasion.
C# demo: http://pastebin.com/zXsNVCyz
BaseCapture:
Early tests reveals that engineers are now capturing structures.
BuildLimit:
Should allow to create AI pattern such as, agressive, economy, defensive by tweaking maximum amount of the same building.
It should also avoid AI to build three ****ing radar domes and ten refineries.
HasAmmo():
Helicopter and plane should returntobase if out of ammo.
Cargo:
Just started working on cargo copter. Hope I'll succeed on this task.
Allow troops wandering around base to quick move to an enemy curently attacking any structures. In fact, this script was supposed to be just a test but it makes AI far more reactiv to base invasion.
C# demo: http://pastebin.com/zXsNVCyz
BaseCapture:
Early tests reveals that engineers are now capturing structures.
BuildLimit:
Should allow to create AI pattern such as, agressive, economy, defensive by tweaking maximum amount of the same building.
It should also avoid AI to build three ****ing radar domes and ten refineries.
HasAmmo():
Helicopter and plane should returntobase if out of ammo.
Cargo:
Just started working on cargo copter. Hope I'll succeed on this task.
-
- Posts: 43
- Joined: Sun May 22, 2011 3:26 pm
-
- Posts: 43
- Joined: Sun May 22, 2011 3:26 pm
You may want to test that.
What I know so far:
What I know so far:
- Almost total redo of the AI.
- Copters: OK (maybe more work around RETURN TO BASE you moron)
- Planes: OK (more work to come)
- Build limits: OK (1 radar, silo only when neededs, 1 fix per factory, won't build more than 2 harv per refinery, won't build helipad when their is already an empty one)
- Engineer capture: OK (beware of them, i mean, seriously)
- Spy infiltrate: OK (same as engineers)
- Fast/Total counter attack: OK (pretty usefull)
- Cargo copter should do the deal... (more work to come)
- Attachments
-
- patch.zip
- (21.7 KiB) Downloaded 478 times
- BaronOfStuff
- Posts: 438
- Joined: Sun May 22, 2011 7:25 pm
-
- Posts: 43
- Joined: Sun May 22, 2011 3:26 pm
-
- Posts: 43
- Joined: Sun May 22, 2011 3:26 pm
Feel free to mail me at: valkiriebc@hotmail.fr.cusaro wrote: ↑i wonder what is the problem with ai and water units? i see you drop this from your list.
i'm only a php developer with no c# experiences or such projects but maybe i can try to work this out.
I'm coding AI on my personnal SVN.
I'll maybe give a look at those sea buildings/units. But that's not my priority.
EDIT
For you cusaro, I tried to think about how boats could aim both land/sea/air units.