Staredit Network

Staredit Network -> UMS Assistance -> Help with Cloaking Bunkers
Report, edit, etc...Posted by Staredit.Net Essence on 2005-03-02 at 11:52:41
I need help with createing a trigger for makeing a supply depot into a bunker. I saw the tutorial on it but there is still one thing i need help with.

¤ Move all Terran SCV at 'Anywhere' to 'scvHome'

¤ Center location labeled 'supplyDepot' on Supply Depot' owned by 'Current Player' at 'Anywhere'

¤ Center location labeled 'moveBunker' on 'Bunker' owned by 'Player 8' at 'p1Bunkers'

i have the 3 locations i need but there one called P1 Bunkers i have no idea where or why i put that. Can someone help me.


Thanks
Report, edit, etc...Posted by AqoTrooper on 2005-03-02 at 12:07:38
I'll go thru it again from the beggining and hopefully you'll understand.

To replace a supply depot with a bunker you need to create a location in the size of it (3*2) and than this trigger:

Players:
the one you want to get his depots become bunkers

Conditions:
Current player brings at least 1 supply depot to anywhere

Actions:
Comment(whatever...)
Center [location1] on supply depot owned by current player at anywhere
Remove all supply depot owned by current player at [location1]
Create 1 bunker at [location1]
Preserve trigger


Now, you can't create buildings on units, and SCVs hover above what they build - so if you just do that you'll get an unplaceble message in 50% of the cases and the bunker won't appear, so you need to move the SCV aside, create the building, and than move the building back, so change the trigger to this (location2 should be placed somewhere when units can stand (not water or cliff) but units can't regularly get there):

Players:
the one you want to get his depots become bunkers

Conditions:
Current player brings at least 1 supply depot to anywhere

Actions:
Comment(whatever...)
Center [location1] on supply depot owned by current player at anywhere
Remove all supply depot owned by current player at [location1]
Move all SCV owned by current player at [location1] to [location2]
Create 1 bunker at [location1]
Move all SCV owned by current player at [location2] to [location1]
Preserve trigger


Now, you want the bunker to be invisi, so you add a doodas state and voila:

Players:
the one you want to get his depots become bunkers

Conditions:
Current player brings at least 1 supply depot to anywhere

Actions:
Comment(whatever...)
Center [location1] on supply depot owned by current player at anywhere
Remove all supply depot owned by current player at [location1]
Move all SCV owned by current player at [location1] to [location2]
Create 1 bunker at [location1]
Move all SCV owned by current player at [location2] to [location1]
Disable doodas states for all bunker owned by current player
Preserve trigger


Example map added.

Also, notice that if you want to add units inside the bunker you have to do that before you disable it.
Report, edit, etc...Posted by chuiu on 2005-03-02 at 12:16:42
Man, that would confuse me more than the tutorial.

"P1 Bunkers" is just the place that the bunkers are going. You don't have to make a location, you can just use anywhere.
Report, edit, etc...Posted by AqoTrooper on 2005-03-02 at 12:18:42
QUOTE(chuiu_os @ Mar 2 2005, 08:16 PM)
Man, that would confuse me more than the tutorial.
[right][snapback]156960[/snapback][/right]

Look again, I've added helpful colors!
Besides, how can that be cofusing? all he has to do is take a look at the example map and read the last line in my previous post, the rest is to exaplain how it works since he asked about it.

QUOTE(chuiu_os @ Mar 2 2005, 08:16 PM)
You don't have to make a location, you can just use anywhere.
[right][snapback]156960[/snapback][/right]

but then they'll appear in the middle of the map... he might already have something there!
Report, edit, etc...Posted by chuiu on 2005-03-02 at 13:10:35
I still think it's more confusing than the actual tutorial. And I edited my post because I posted a wrong description.

P1 bunkers is where all the p8 bunkers are, the ones needed to properly move the p1 bunkers to a new location every time.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-03-02 at 16:15:33
thank you very much!!! IT WORKS and my sucky map is a step further...
Next Page (1)