![]() |
| Warfare Incorporated Forum Index » Mission Authoring » |
| Issues with AI building construction? |
| Author | Message | |
|---|---|---|
|
Callex Established Forum User Joined: 17 Dec 2008 Posts: 65 Location: United Kingdom |
Ok, so I've been making a map in which the computer player builds its base from scratch at predetermined areas, and everything seems to work right up until the 6th structure when the computer seems to just cease building completely.
The problem doesnt appear to be with the content of the triggers, as I duplicated a single trigger several times, all of them almost identical except for the areas in which the buildings are made; only 6 buildings are built. It seems only the top five building triggers work, even after re-arranging them. I've also tried giving the AI infinite credits but to no avail... The triggers look like this: Trig 1 IF: Side 2 owns exactly 0 Power Generator. THEN: Build Power Generator at 'Power1' for Side 2 with 100 percent health. Trig 2 IF: Site 2 owns exacty 0 Galaxite Processor Side 2 owns exactly 1 Power Generator THEN: Build Galaxite Processor at 'Process1' for Side 2 with 100 percent health. and so on... So, any thoughts as to what might be causing this? Any help is much appreciated Edit: After some more tests it seems to be the 'Create unit at area' function is unable to create more than 5 structures in a game, even if they are spawned, although it seems to work fine with normal units. Is this a known issue or have I just set the map up wrong or something?. |
|
|
scottlu WI Founder Joined: 15 Aug 2003 Posts: 1773 |
Can you post the .ld of the simplest possible map that reproduces this? I can take a look.
|
|
|
PhillipEarl Mega-Poster Joined: 12 Jan 2004 Posts: 329 Location: Charlotte, NC |
I've experienced this too, Scott- we had a Google chat about this very thing - I still have the .ld file as well, if that helps. At one point, I'd deleted every other trigger in the file except the building ones and set it to defog the entire map upon load - it still only built six buildings.
|
|
|
Callex Established Forum User Joined: 17 Dec 2008 Posts: 65 Location: United Kingdom |
I've made a .ld that demonstrates it pretty well. It wont let me attach files to this topic so i've just uploaded it here: http://tinyurl.com/buildingerrordemo
|
|
| Back to top · Warfare Incorporated Forum Index |