Staredit Network

Staredit Network -> UMS Assistance -> Bunkers
Report, edit, etc...Posted by joker2kill on 2006-03-07 at 14:20:05
so i wanna make the bunker thing where they MOVE to a lower section of the map...such as in slot TD, and where they take up a bunker owned by p12 down there. So basically what i am saying is that i want to create a supply, make it a bunker with the units that the player picks, and move the bunker to the lower section of the map, taking up one of p12's bunkers.

i have emphasised the inportant parts tongue.gif
any help would be appreciated!
and all i need is the triggs for it plz! biggrin.gif
Report, edit, etc...Posted by Urmom(U) on 2006-03-07 at 14:30:35
Fill up the area down below so that you wouldn't be able to create a bunker there. Then for the trigger which converts the supply depot into a bunker, remove 1 of the bunkers at the bottom, and then move the bunker that was created where the supply depot was to the bottom place.

I assume you could make the trigger for this but if you want me to I will.
Report, edit, etc...Posted by joker2kill on 2006-03-07 at 14:41:36
QUOTE(urmom @ Mar 7 2006, 11:30 AM)
Fill up the area down below so that you wouldn't be able to create a bunker there.  Then for the trigger which converts the supply depot into a bunker, remove 1 of the bunkers at the bottom, and then move the bunker that was created where the supply depot was to the bottom place.

I assume you could make the trigger for this but if you want me to I will.
[right][snapback]441091[/snapback][/right]

dont worry i can make it smile.gif
but still about the other points, such as making the unit which they wanted, (they bring a civ to a location that contains a mixture of units)would i use switches for thoes?
Report, edit, etc...Posted by Urmom(U) on 2006-03-07 at 15:11:57
If I get what your saying, you are talking about choosing the units that go inside bunkers?

I did this by having it so that bringing a unit to the first unit package location would set a deathcounter to 1. The next location would set it to 2 etc. Then in the part of the bunker trigger where you create unit, I had it set a switch. Then I'd make one of these triggers for all the death counter possibilities.
Trigger
Conditions:
¤ Switch is Set
¤ Current Player has suffered exactly 1 death of [unit]
Actions:
¤ Create package of units at 'bunker location'
¤ Clear Switch
¤ Preserve Trigger

That's just more efficient because each player just needs to have 1 free swith and 1 free deathcounter.
Report, edit, etc...Posted by joker2kill on 2006-03-08 at 21:35:46
wouldnt that unit just create the units? do i add in there run ai script:enter bunker at location?


+ couldnt you just do this for each bunk?:
Trigger
Players:
¤ any
Conditions:
¤ Bring(exactly,1,civ,package1);
Actions:
¤ Setswitch(switch1,set);

then
Trigger
Conditions:
¤ switch(switch1,set);
¤ command(atleast,1,supply depot,anywhere);
Actions:
¤ Wait(1000);
¤ Createunit(packaged units,anwhere,currentplayer);
¤ Moveunit(Currentplayer,atleast,1,SCV,Away);
¤ RunAiScript(enterbunkeratlocation,all,anyunit);
¤ PreserveTrigger();
Report, edit, etc...Posted by Urmom(U) on 2006-03-09 at 19:09:13
You can't create units in your conditions. tongue.gif
But basically thats the idea, you just have a wait in the bunker making trigger to allow the units to be created and then you run the AI script.
Report, edit, etc...Posted by joker2kill on 2006-03-11 at 10:43:38
QUOTE(urmom @ Mar 9 2006, 04:08 PM)
You can't create units in your conditions.  tongue.gif
But basically thats the idea, you just have a wait in the bunker making trigger to allow the units to be created and then you run the AI script.
[right][snapback]442289[/snapback][/right]

i didnt mean to make it in the cods tongue.gif so how long of a wait is necessary?
i ment commands tongue.gif

QUOTE(joker2kill @ Mar 7 2006, 11:19 AM)
and move the bunker to the lower section of the map, taking up one of p12's bunkers.
[right][snapback]441089[/snapback][/right]

actually im thinking of just moving the bunkers to one area, such as moving them somewhere, and that area is covered by a building, like in income D

ALSO ONE MORE QUESTION:

i cant get the looping music trigger right, i tryed both ones in the tuts, but neither seem to work!
Report, edit, etc...Posted by (U)Bolt_Head on 2006-03-11 at 20:01:17
QUOTE(joker2kill @ Mar 7 2006, 01:19 PM)
so i wanna make the bunker thing where they move to a lower section of the map...such as in slot TD, and where they take up a bunker owned by p12 down there. So basically what i am saying is that i want to create a supply, make it a bunker with the units that the player picks, and move the bunker to the lower section of the map, taking up one of p12's bunkers.

[right][snapback]441089[/snapback][/right]


Wow are you talking about the mysterious they?

Who is they?
Ohh they must be them....
Who is them?
Report, edit, etc...Posted by joker2kill on 2006-03-12 at 10:34:53
QUOTE((U)Bolt_Head @ Mar 11 2006, 05:00 PM)
Wow are you talking about the mysterious they?

Who is they?
Ohh they must be them....
Who is them?
[right][snapback]443741[/snapback][/right]

-.- you know what im talking about...BUNKERS for god sakes, and that doesnt answer my question for god sakes offtopic.gif spam.gif
Report, edit, etc...Posted by fritfrat(U) on 2006-03-12 at 11:26:03
I met the mysterious "them" one time. You know when someone asks how the heck something was done, and they just respond "a wizard did it"? Well, if it's in starcraft, he's the "them." It's true!

Joker, urmom already answered your questions. If you have any further questions about your original question or concerning a new topic, please state them; we will try to help you. All you have stated so far, however, is your music looping problem, which you made a new thread for.
Report, edit, etc...Posted by Urmom(U) on 2006-03-12 at 14:23:57
Can you post the triggers for looping music that you are having trouble with?

edit: nvm I found your topic
Next Page (1)