Warfare Incorporated :: View topic - Issues with AI building construction?
Warfare Incorporated Forum Index
 FAQ   Search   Memberlist   Usergroups 
 Profile   Log in to check your private messages   Log in 
 
Issues with AI building construction?

 
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring
View previous topic :: View next topic  
Author Message
Callex
Established Forum User


Joined: 17 Dec 2008
Posts: 65
Location: United Kingdom

PostPosted: Sat Dec 20, 2008 4:44 pm    Post subject: Issues with AI building construction? Reply with quote

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 Smile

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?. Confused
Back to top
View user's profile Send private message MSN Messenger
scottlu
WI Founder


Joined: 15 Aug 2003
Posts: 1773

PostPosted: Mon Dec 22, 2008 9:35 am    Post subject: Reply with quote

Can you post the .ld of the simplest possible map that reproduces this? I can take a look.
_________________
Warfare Incorporated Development Team
Back to top
View user's profile Send private message
PhillipEarl
Mega-Poster


Joined: 12 Jan 2004
Posts: 329
Location: Charlotte, NC

PostPosted: Mon Dec 22, 2008 12:12 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Callex
Established Forum User


Joined: 17 Dec 2008
Posts: 65
Location: United Kingdom

PostPosted: Mon Dec 22, 2008 1:59 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group