Staredit Network

Staredit Network -> UMS Assistance -> AI script for burrow?
Report, edit, etc...Posted by Kyuubi. on 2006-02-22 at 16:07:28
Hey, i've been wondering if there would be an ai script for zerg units to burrow. I remembered from one of the broodwar zerg campaigns, they had lurkers burrow. Maybe i'm not seeing it or it isn't there in the ai script trigger, so is there an ai script to order units to burrow?
Report, edit, etc...Posted by u_dunu_who_me_is on 2006-02-22 at 17:38:33
No, I am pretty sure there is not. There prolly was with EUDs, but those went poof. blink.gif
Report, edit, etc...Posted by l)ark_13 on 2006-02-22 at 17:39:41
Wasn't UED's, its just how lurkers attack.
And no, no AI Script for burrowing units.
Report, edit, etc...Posted by A_of_s_t on 2006-02-22 at 23:54:33
u sure, ive used it b4 (or was that making the zerglings have borrow and attacking them... hmmm) but, i wouldnt trust what I say...
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-23 at 00:13:46
QUOTE(SlyShadow @ Feb 22 2006, 04:07 PM)
Hey, i've been wondering if there would be an ai script for zerg units to burrow.  I remembered from one of the broodwar zerg campaigns, they had lurkers burrow.  Maybe i'm not seeing it or it isn't there in the ai script trigger, so is there an ai script to order units to burrow?
[right][snapback]432666[/snapback][/right]


Blizzard hacks

QUOTE(A_of_s_t @ Feb 22 2006, 11:54 PM)
u sure, ive used it b4 (or was that making the zerglings have borrow and attacking them... hmmm) but, i wouldnt trust what I say...
[right][snapback]433020[/snapback][/right]


Ive seen it before too

I think this might work:

Make a location or use a center location to save locations on said unit to burrow create a unit like a marine so it will attack the burrowed unit wait about 200 miliseconds and remove the marine and when the marine attacks if burrow is usable the unit should burrow to save itself
Report, edit, etc...Posted by A_of_s_t on 2006-02-23 at 00:33:54
yes, thats was in the map i saw it in. Yes, that was it. It should work (unless the computer is slow to respond because of overdose of triggers.)
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-23 at 00:51:20
QUOTE(A_of_s_t @ Feb 23 2006, 12:33 AM)
yes, thats was in the map i saw it in.  Yes, that was it.  It should work (unless the computer is slow to respond because of overdose of triggers.)
[right][snapback]433049[/snapback][/right]


that shouldnt matter you just gotta make sure the marines dmg is at 1 or 0 so that nobody notices that the health isnt full even tho Zerg units refill health
Report, edit, etc...Posted by Kyuubi. on 2006-02-23 at 01:06:15
thanks for the info...I do know how computer burrowable units ai work though(i think). When given the burrow ability they auto burrow when left alone...but i'm just looking for an ai telling them when to or order them to burrow at a certain time like ordering them to burrow instead of attacking when enemy units are close. I know hero zerg units don't unburrow even when enemy units are close unless giving them an order.
Report, edit, etc...Posted by Phant on 2006-02-23 at 07:49:46
You could also refill the life with triggers.
Maybe it would be useful to move the unit to a special location for burrow there and remove it then. So you can be sure that only that exact unit will burrow.
Also if you want to have a army of lurkers that move individually and when they arrive to the target location they burrow one by one, you can give the units to another player. So you can detect which units are already burrowed.
Report, edit, etc...Posted by Kumano on 2006-02-23 at 07:59:24
There is no AI script for burrow, but when they are idle they will automatically burrow which I think is what happened in that mission. Also, EUDs don't have AI scripts to my knowledge, it doesn't create new data it just modifies the data that we normally can't.
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-23 at 11:34:49
QUOTE(SlyShadow @ Feb 23 2006, 01:06 AM)
thanks for the info...I do know how computer burrowable units ai work though(i think).  When given the burrow ability they auto burrow when left alone...but i'm just looking for an ai telling them when to or order them to burrow at a certain time like ordering them to burrow instead of attacking when enemy units are close.  I know hero zerg units don't unburrow even when enemy units are close unless giving them an order.
[right][snapback]433080[/snapback][/right]


If you want them to burrow at a certain time or location you can still do what I said and about the unburrowing u can make a big location by them and order them to attack units owned by the player(s) at that location
Report, edit, etc...Posted by Conquer)Fa( on 2006-02-24 at 19:31:04
I think i've found a solution, if you want only a few units to burrow.

1. Have a player (say player 7) who is a computer- and has burrow researced.
2. Place a location (say "Zergling Burrower") and have it so in a start trigger:
3.
-=Players=-
7,8 (player 7 and 8 should both be computers, player 8 is ur main enemy)
-=Conditions=-
Elapsed Game Time is at least 0 game seconds
-=Actions=-
Move all <zergling, hydralisk, lurker?> at "Burrow1" to "Zergling Burrower"
Move all <zergling, hydralisk, lurker?> at "Burrow2" to "Zergling Burrower"
and so on- make sure u dont have giant big 1s cause u have to move the units back later
Give all <zergling,hydralisk, lurker?> at "Zergling Burrower" For player 8 to player 7.
-Wait for <100-200 milliseconds>
Give all <zergling,hydralisk, lurker?> at "Zergling Burrower" For player 7 to player 8.
move all <zerglnig?> at "Zergling Burrower" to "Burrow1"
move all <hydralisk?> at "Zergling Burrower" to "Burrow 2"
move all <lurker?> at "Zergling Burrowre" to "Burrow 3"
<DONT PRESERVE TRIGGER>
Comment: Zergling Burrower BETA ( Thank u so much Conquer)Fa( biggrin.gif )
-= End =-

That should work.
Next Page (1)