Ai Building Firebases next to structures

Bug #894892 reported by Hogo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
New
Wishlist
Unassigned

Bug Description

I would like it so we could make the AI build small defense firebases next to structures defined. Eg We could make the Ai build say 2 patriot 4 Prism tower and 1 grand cannon next to a oil Derrick or a tech building that we specifi.

Build this Defense

[SMALLDEF]
2 Prism
2 Patriot
4 Pill Box

And then Define a structure like

BuildDefense=SMALLDEF ; KEY POINTS/Tags
BuildBeside=CAAIRP ; Examples tech Airfield

This would provide A big Change in AI Games and would make the AI more human.

Revision history for this message
gordon-creAtive (gordon-creative) wrote :

I think this should be kept more general, so that this can be reused to -for example- place all power plants together or to make the AI place certain buildings in a more structured way.

Revision history for this message
Hogo (hogo) wrote :

Well that would also be nice to have it like that but I think that having defense fire bases by the AI would be a really cool feature for us AI modders.

Revision history for this message
Electro (owlberteinstein-b) wrote :

Wouldn't it be easier like this, per building:
AlliesDefendWith=[comma separated BuildingTypes]
SovietsDefendWith=[comma separated BuildingTypes]
ThirdDefendWith=[comma separated BuildingTypes]
FourthDefendWith=[comma separated BuildingTypes]...

Revision history for this message
Hogo (hogo) wrote :

Yes that would work but you still need to be able to choose the building it builds and the building to place them next too. and what formation.

Revision history for this message
Black Temple Gaurdian (black-temple-gaurdian) wrote :

I think Electro means you add those to the building.
So for your example:

[CAAIRP]
    ...
AlliesDefendWith=ATESLA,GAPILL,NASAM
AlliedDefenseNumbers=2,4,2

Revision history for this message
Hogo (hogo) wrote :

Oh If so sorry I miss understood. Thats sounds about right and would work quite well and keep clean codes ordered :)

Revision history for this message
Black Temple Gaurdian (black-temple-gaurdian) wrote :

Yeah, I thinks its the bit where he put 'per unit', that got me thinking about vehicles and infantry.

Revision history for this message
Electro (owlberteinstein-b) wrote :

Corrected.

Revision history for this message
Millennium (kotaka) wrote :

So, this basically means a taskforce for buildings rather than units?... interesting, I'm a strong supporter of implementing taskforces wherever possible...

Revision history for this message
MRMIdAS (mrmidas) wrote :

Also maybe have distance tags, like DefenceCells= / AADefenceCells= so you can get the AI to place AA defences and Ground defences at certain distances from the structure.

Revision history for this message
Linglin (linglin) wrote :

I think if AI Builds a small base near the Building will be good.(just like my tatic)
Oh,Wait!Looks like if this logic in Ares we can delete old AI defense building logic
just use these codes to Base Buildings,and such as AI Build a Nuclear Reactor with no defense Building/troops will disappear.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.