Forum Archive. A read-only snapshot of the Warfare Incorporated forums (2003–2020), preserved for historical purposes.  ·  warfareincorporated.com
Warfare Incorporated Forum

How to make enemies do there own thing?
Author Message
Scuff
Developing Poster
Joined: 02 Aug 2009
Posts: 11
 Post Posted: Mon Aug 03, 2009 11:44 am  Post subject: How to make enemies do there own thing?

I'm trying to make my own Skirmish maps, but how would I make the enemie start building buildings and units? All the enemie starts out with is the Headquaters.
Ewindal
Mega-Poster


Joined: 04 Mar 2009
Posts: 285
Location: Norway
 Post Posted: Mon Aug 03, 2009 1:10 pm  

The enemy can only build 7 buildings before its bugged.
Rahul006
Semi-frequent Poster


Joined: 29 Nov 2009
Posts: 40
 Post Posted: Mon Jan 11, 2010 7:45 pm  

There is No AI as such but by using triggers, actions and unit groups you can make a challenging enemy anyway. Also you can set enemy units to hunt your units or guard, etc. Setting aggresiveness will also determine if a unit attacks or runs away.
galm
ForeRunner


Joined: 18 Oct 2009
Posts: 2382
Location: New York
 Post Posted: Mon Jan 11, 2010 7:58 pm  

thats tru i forgot i should use that.

Last edited by galm on Fri Mar 19, 2010 7:22 pm; edited 1 time in total
joedude
WI Forum Novice
Joined: 17 Mar 2010
Posts: 8
 Post Posted: Fri Mar 19, 2010 9:59 am  

I found that it is just easier to give the computer buildings and create triggers that make the computer repair them when damaged. Also, you can create unit groups and have the computer create the groups at specific times (like when it is under an attack) or curcumstances. I created a unit group that is made when under attack or when it owns 50- melee units. I also made a trigger that allows my computer enemy to make bullpups if it has 2- bullpups under its controll so that you can sabatoge it without disableing a good game. If you tinker with it, I'm sure you'll find a solution. Also, dont put corporate raiders in a group, they'll just stand there doing nothing while the other units hunt you because they're not made to attack units, they're made to attack buildings, so watch out for that.