I need help making AI rebuild pre-placed buildings and units on map as i want it to.
I tried to set it up by going to properties of unit and making rebuild count 13 - AI still did not rebuilt it not even once.
I tried to set it up with trigger with "set default rebuild count" to 14/14/14/14 - AI ignored that as well
I'm fairly new to editing, but this is second map in which it does not work how i want it to. What am i doing wrong? How do i set it up properly, please? Thanks!
Does the AI have sufficient resources (minerals/gas) to rebuild? Do they have the tech requirements? For example you need an engineering bay to build a missile turret.
Side note, I've found players generally don't like a rebuilding enemy AI. So keep that in mind when making a level.
Yes I had the exact same problem. Did not find a solution within that AI editor. Ended up making an independent trigger that looks to see if a certain building is dead the instructs an SCV to go build one if it doesn't find, say, a barracks in the place it's supposed to be. A little bit of a roundabout but only takes about 15 min to make a whole base autonomous if you make an action definition.
Yes, i made sure that AI has 500k starting resources & some resources in base and all requirements. I tried to play around with those triggers, sometimes ai kept rebuilding it indefinitely, sometimes not at all. I will try experimenting with it a bit more, but for now i just go with no rebuilds. I originally planned to make AI rebuild in higher difficulty levels of map, but if it's something that players don't really like, maybe it's better to design future maps without AI rebuilds - will try to go with it, thanks!
@Bilxor
That sounds like good workaround. For me (=editor newbie) it sounds quite complex to do, but i will try to look into that. Thanks!
No prob. Here is how it looks if this helps. Every 30 or 60 seconds or so on a periodic timer I have this run. Basically it checks to see if there is a building in a small rectangular region (where it should be) and if destroyed, grabs a worker and tells it to build. That's the blue rectangle.
The following part creates a tech reactor as an add-on if the building needs one.
I need help making AI rebuild pre-placed buildings and units on map as i want it to.
I tried to set it up by going to properties of unit and making rebuild count 13 - AI still did not rebuilt it not even once.
I tried to set it up with trigger with "set default rebuild count" to 14/14/14/14 - AI ignored that as well
I'm fairly new to editing, but this is second map in which it does not work how i want it to. What am i doing wrong? How do i set it up properly, please? Thanks!
Does the AI have sufficient resources (minerals/gas) to rebuild? Do they have the tech requirements? For example you need an engineering bay to build a missile turret.
Side note, I've found players generally don't like a rebuilding enemy AI. So keep that in mind when making a level.
In reply to Forge_User_78431582:
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
@MaskedImposter
Yes, i made sure that AI has 500k starting resources & some resources in base and all requirements. I tried to play around with those triggers, sometimes ai kept rebuilding it indefinitely, sometimes not at all. I will try experimenting with it a bit more, but for now i just go with no rebuilds. I originally planned to make AI rebuild in higher difficulty levels of map, but if it's something that players don't really like, maybe it's better to design future maps without AI rebuilds - will try to go with it, thanks!
@Bilxor
That sounds like good workaround. For me (=editor newbie) it sounds quite complex to do, but i will try to look into that. Thanks!
No prob. Here is how it looks if this helps. Every 30 or 60 seconds or so on a periodic timer I have this run. Basically it checks to see if there is a building in a small rectangular region (where it should be) and if destroyed, grabs a worker and tells it to build. That's the blue rectangle.
The following part creates a tech reactor as an add-on if the building needs one.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)