Staredit Network

Staredit Network -> UMS Assistance -> Setting computer AI
Report, edit, etc...Posted by Last_Ranger on 2006-06-06 at 18:46:04
I'm working on a survival/story map. The name of the game is that a protoss and terran exploration fleet has crash landed in a fortified area of an unknown world. As hostile forces (zerg) converge on their location, a rescue fleet is inbound in three days. My current Zerg spawns begin in upper left hand corner and go around the map in sequence. The problem is that the spawns either attack to the crash site but don't attack the players, or they spawn and do nothing.

My previous trigger set was:
Condition:
Elapsed time: >750 seconds

Action:
Wait 5 Seconds
Create 20 Broodling
Order->Attack->Crash Zone
Preserve Trigger

My current set is
Condition:
Always

Action:
Set AI: Send All on Random Suicide
Preserve Trigger

Thanks for the help.
<=====]=LR
Report, edit, etc...Posted by Noober on 2006-06-06 at 19:07:28
Why is there a wait for 5 seconds after a countdown of 750? That makes absolutely no sense. Just do a countdown of 755 seconds.

Uh.. try running the ai script after the broodlings spawn, and getting rid of the attack to location. Or, use patrol to location instead of attack.
Report, edit, etc...Posted by Toothfariy on 2006-06-06 at 19:42:57
ok first, the wait is for the time between spwans. so they dont make a mllion in one spawn. since there is a perserved trigger, the elasped time is set 'atleast' so after the condition is met, it will keep fireing the trigger. get what im saying?

ne hoot

you need to make sure that you are both hostile to each other. if attack to a location doesn't work then you got some major problems. order them to move there insted of attack.
Report, edit, etc...Posted by Noober on 2006-06-06 at 19:44:26
Oh, I didn't see the preserved.

No, use patrol to location instead of attack or move.
Report, edit, etc...Posted by Toothfariy on 2006-06-06 at 19:54:14
i suppose you could try it but personally i wouldn't suggest it cause it tends to glitch when it fires like a hundred times.
Report, edit, etc...Posted by L-inspecteur_Chocolat on 2006-06-06 at 20:57:32
Sending all units on a suicide mission is all you need. You should take out the "Attack to location". The two triggers will conflict.
Report, edit, etc...Posted by Last_Ranger on 2006-06-06 at 23:22:43
Well thanks, the suicide seemed to work, now the problem is that the AI bugs with my tanks. Because it programs to suicide, when the units are hit by artillery fire the AI orders to attack the attackers. What happens is units that do nothing but swarm outside gateway. Anyway around this, or should I just make fewer spawns?
Report, edit, etc...Posted by Kenoli on 2006-06-07 at 02:55:18
QUOTE(Last_Ranger)
Well thanks, the suicide seemed to work, now the problem is that the AI bugs with my tanks. Because it programs to suicide, when the units are hit by artillery fire the AI orders to attack the attackers. What happens is units that do nothing but swarm outside gateway. Anyway around this, or should I just make fewer spawns?
So, you have siege tanks defending the area?
Are the attacking units unable to hit the tanks? (Tanks on higher ground/out of range/invincible, etc.)
This could cause the attacking units to run away, or run around trying to find a way to get to the unit that shot them.
Report, edit, etc...Posted by Last_Ranger on 2006-06-07 at 02:59:01
Yes, that's exactly the problem. Because the spawns are broodlings, they can't hit the tanks, so I think that the AI is trying to get around them. It works to a point for other players, they get heat on them, but I just kind of sit there, with my tanks, pounding broodlings away...
Report, edit, etc...Posted by Kenoli on 2006-06-07 at 03:23:09
Make a ramp so the broodlings can come pouring in. =)
Report, edit, etc...Posted by Last_Ranger on 2006-06-07 at 03:47:53
The layout isn't conducive to that. The tanks are on mid level terrain on the left side, so there's not real way to get a ramp facing that way.
Report, edit, etc...Posted by Hikari256 on 2006-06-07 at 10:23:11
QUOTE(Last_Ranger @ Jun 7 2006, 03:47 AM)
The layout isn't conducive to that. The tanks are on mid level terrain on the left side, so there's not real way to get a ramp facing that way.
[right][snapback]501249[/snapback][/right]


there is if you use advanced map editors
Report, edit, etc...Posted by Toothfariy on 2006-06-07 at 14:21:34
lol you dont know who your talking to here. there is a way, belive me. if you want. i'll make you a nice looking ramp. or talk to WoodenFire, he can do it also.
Next Page (1)