Staredit Network

Staredit Network -> UMS Assistance -> create bunkers with marines inside them..
Report, edit, etc...Posted by whaaaaat02 on 2005-08-18 at 09:17:11
How do you create a bunker with marines inside them.

So when an SCV builds a bunker and it finishes it, the marines are allready in it. This is also seen in maps like tower defence etc

same goes for make a bunker with ghosts in it.

Sidenote: is it possible to have protoss units in a bunker? Just a thought
Report, edit, etc...Posted by LegacyWeapon on 2005-08-18 at 10:22:23
You need to create the units next to it and then load them up with the AI script.

It's not possible to put Protoss units in a bunker.
Report, edit, etc...Posted by whaaaaat02 on 2005-08-18 at 14:43:58

Trigger
Description:
create bunker with marines in it
Players:
¤ 1 till 4
Conditions:
¤ current player brings at least 1 terran bunker at anywhere
Actions:
¤ somethin somethin somethin
¤ execute ai script enter closest bunker at anywhere



Im missing one thing in the trigger (somethin somethin somethin).
I could do this trigger with a location but since you can create a bunker almost anywhere, putting in location in it hasnt much use. Unless you can somehow when u create a bunker a locoation comes with it.

Report, edit, etc...Posted by Pie_Sniper on 2005-08-18 at 14:51:01
Use move location to move the location over the bunker.
Report, edit, etc...Posted by whaaaaat02 on 2005-08-18 at 15:20:49
I added the move locations, but nothing good happend from that could you give me complete trigger maybe
Report, edit, etc...Posted by mc_Smurf on 2005-08-18 at 15:28:17
I've always wanted to know how you do this... but I not that great with triggers.
Report, edit, etc...Posted by SacredElf on 2005-08-18 at 16:00:31
u have to move the Scv to somwhere else, run IA, disable bunker, and bring the scv back "Preserve Trigger"
Report, edit, etc...Posted by Sniper on 2005-08-18 at 16:01:07
Condition:
Current player brings at least 1 supply depot to anywhere

Action:
Move location "building" on supply depot owned by current player
Move all scv owned by current player at anywhere to "scv hold"
Remove all supply depot owned by current player at "building"
Create 1 bunker for current player at "building"
Create 3 Marines for current player at "building"
Run ai script "enter closest bunker" at "building"
Move location "Marines(1x1 location)" on bunker owned by current player at "buildings"
Preserve Trigger

Condition:
Current player brings at least 3 men to location "Marines(1x1 location)"

Action:
Set doodad state for bunker to disabled owned by current player at "building"
Move all scv owned by current player at "scv hold" to "building"
Preserve Trigger
Report, edit, etc...Posted by whaaaaat02 on 2005-08-18 at 16:28:01
Aah thnx Mp)Sniper, havent tried it yet but looks good smile.gif

So before i try it (which will be tomorrow its gettin late)

-This is when you make a supply depot it turns into a bunker right?

-It doesnt matter where you place the loc Building and loc Marines AT FIRST righhht?

- And how bout that loc SCV hold??

Just to be clear


Report, edit, etc...Posted by SacredElf on 2005-08-18 at 16:33:31
-yes, u make a supply and it turns intoa bunker

-mmm some1 told me that orders doesnt matter, but i think it does

-u have to move scv somewhere else so he dont got trapped into bunker
Report, edit, etc...Posted by Sniper on 2005-08-18 at 16:55:20
Yes the order DOES matter. If you place rines first you'll get a bunker unplaceable. If you don't move your scv first you'll get a bunker unplaceable. If you don't move your location on the depot first your supply depot will appear on the last spot you built the depot.
Report, edit, etc...Posted by MapUnprotector on 2005-08-18 at 16:57:34
Yea, it really doesn't make sense if you changed the order. Unless you're like moving the scv before centering location "building" on the supply depot. That wouldn't really affect anything.
Report, edit, etc...Posted by whaaaaat02 on 2005-08-19 at 04:40:38
Well i tried it, and it didnt work.

- I make a depot, nothing happens

- I make a bunker, i get un unplaceable order and a bunker is created with allot of marines arround em.

Theres allot more wrong, just download my map and see for your self. I think thats the best way of explaining.

The first action on that trigger is move location bulding on depot owned by current player at...?? (i tried anywhere and building)


[attachmentid=13067]
Report, edit, etc...Posted by MapUnprotector on 2005-08-19 at 11:41:47
The very first thing I noticed was your conditions.

The problem is that in the method you are trying to do, the person has to build a bunker for the conditions to be met. However, in the method you are doing the person actually has to make a supply depot.

This is because once the condition is met, the trigger will REPLACE the supply depot with a bunker.

So try changing bunker to supply depot in your conditions.


If you notice the triggers that Mp)Sniper posted, you will see in the conditions it says supply depot, not bunker.
Report, edit, etc...Posted by Stealth on 2005-08-19 at 12:15:01
Link Here
Report, edit, etc...Posted by whaaaaat02 on 2005-08-19 at 15:06:20
DUDE, what a incredibly stupid dumb mistake i made... i changed the condition and it works!!!!

Stealth, i searched and searched, i couldnt find what you linked me. OMG

Thnx guys
Report, edit, etc...Posted by Stealth on 2005-08-19 at 15:08:16
its the invisible bunker tutorial
Report, edit, etc...Posted by MapUnprotector on 2005-08-19 at 16:07:48
Invisible bunkers requires more steps than the triggers Mp)Sniper posted. Basically you just move the bunker to a different spot but the units keep shooting from the original location. The invisible bunker tutorial has a good method for how to move the bunkers though.
Report, edit, etc...Posted by Stealth on 2005-08-19 at 16:13:24
http://www.staredit.net/index.php?tutorial=51

Heres the link for the tutorials
Report, edit, etc...Posted by MapUnprotector on 2005-08-19 at 16:25:58
By the way, if you are using invisible bunkers then you don't need the trigger that Mp)Sniper posted that says to disable the bunker. Disabling bunkers is only if you want to cloak them.
Next Page (1)