Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How do I make entrance/exit?
How do I make entrance/exit?
Mar 27 2009, 9:31 pm
By: GoD)Samurai  

Mar 27 2009, 9:31 pm GoD)Samurai Post #1



I been editing UMS maps using SCMDraft but I am still confused about locations. When I hit location, I see entrance/exit, attack 1 and so on, but I don't know how to make them work.
Anyway, right now I need to know how to make location. Please help me , thank you!

EDIT:
I actually want the entrance/exit to work as reverse as well, so that u can go in and out continuously. Thank u.

Post has been edited 1 time(s), last time on Mar 28 2009, 12:49 am by NudeRaider. Reason: merged posts



None.

Mar 27 2009, 9:40 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

How to create a Location:
1. select the Location layer in the top bar
2. click on the map and make a square (like selecting multiple units at once in sc)
3. you can select locations and edit them. just click them and hit the enter key

Locations are used in combination with triggers to have a sense or actually to effect something.

edit: now I saw your new post: you can edit your posts instead of making a new one

You need that 2 locations (I will call them A and B) and a switch that disables the teleport/move trigger. If you don't use something like a switch to deactivate that, your units will enter and exit during the same trigger cycle.

// A -> B
C: Current Player brings at least 1 men to location A
C: Switch is cleared (chose one)
A: preserve trigger
A: move all men owned by current player at location A to B
A: set switch

// B -> A
C: Current Player brings at least 1 men to location B
C: Switch is cleared (chose one)
A: preserve trigger
A: move all men owned by current player at location B to A
A: set switch

// makes the door useable again
C: Switch is set
C: Current Player brings exactly 0 men to location A
C: Current Player brings exactly 0 men to location B
A: preserve trigger
A: clear switch

Post has been edited 1 time(s), last time on Mar 27 2009, 9:48 pm by Ahli.




Mar 27 2009, 10:20 pm GoD)Samurai Post #3



so put them in the end of trigger edit ?????

also another question.
How do u make siege tank to be stay sieged, so that nobody can't unsiege? I have this ums map, theres only 1 tank, but i want it to be stay siege moded.



None.

Mar 27 2009, 10:25 pm Falkoner Post #4



To make it stay, just disable the tech, or make it so it's not researched, then they can't unseige.



None.

Mar 27 2009, 11:03 pm GoD)Samurai Post #5



Quote from Ahli
How to create a Location:
1. select the Location layer in the top bar
2. click on the map and make a square (like selecting multiple units at once in sc)
3. you can select locations and edit them. just click them and hit the enter key

Locations are used in combination with triggers to have a sense or actually to effect something.

edit: now I saw your new post: you can edit your posts instead of making a new one

You need that 2 locations (I will call them A and B) and a switch that disables the teleport/move trigger. If you don't use something like a switch to deactivate that, your units will enter and exit during the same trigger cycle.

// A -> B
C: Current Player brings at least 1 men to location A
C: Switch is cleared (chose one)
A: preserve trigger
A: move all men owned by current player at location A to B
A: set switch

// B -> A
C: Current Player brings at least 1 men to location B
C: Switch is cleared (chose one)
A: preserve trigger
A: move all men owned by current player at location B to A
A: set switch

// makes the door useable again
C: Switch is set
C: Current Player brings exactly 0 men to location A
C: Current Player brings exactly 0 men to location B
A: preserve trigger
A: clear switch

Do I use Trigger editor ??? man help plz

I saved it in the trigger editer, and when I reopened it , they are gone..

Post has been edited 1 time(s), last time on Mar 27 2009, 11:12 pm by GoD)Samurai.



None.

Mar 27 2009, 11:14 pm GoD)Samurai Post #6



//----------------------------------------------------//
Trigger("All players"){
Conditions:
Always();

Actions:
Kill Unit At Location("Player 8", "Zerg Scourge", All, "Balrog Fight");
Preserve Trigger();
}
//--------------------------//

this is one of trigger shown in the trigger edit.
so I put after them. Did I do right?



None.

Mar 27 2009, 11:23 pm Elvang Post #7



Make sure you hit the compile button, its a check mark. Also, if you copy and pasted what Ahli posted it won't compile as its not in the trigedit syntax.



None.

Mar 27 2009, 11:31 pm GoD)Samurai Post #8



Quote from Elvang
Make sure you hit the compile button, its a check mark. Also, if you copy and pasted what Ahli posted it won't compile as its not in the trigedit syntax.

yea when i pasted and compiled, theres error on string and some things like that.
what is trigedit syntax?
Man I just need to put ENTRANCE/Exit thats all.. every one of u sounds so complicated, instead of giving me answer..
anyway I am editing some RPG game map.. I just want to put secret area by adding entrance/exit ..



None.

Mar 27 2009, 11:45 pm Elvang Post #9



The trigedit syntax is listed in 'trigedit help.txt' in the scmdraft2 folder. What ahli listed is about as clear as it can get without posting a trigger file. Each C: stands for a condition, with each A: standing for an action, might be easier if you use Classic Trigedit instead of the text one in scmdraft.



None.

Mar 27 2009, 11:56 pm GoD)Samurai Post #10



I been editing UMS maps using SCMDraft but I am still confused about locations. When I hit location, I see entrance/exit, attack 1 and so on, but I don't know how to make them work.
Anyway, right now I need to know how to make location. Please help me , thank you!

EDIT:
hmm
u know what, I am actually figuring out a little bit by myself. Getting close to answer.
just don't close this thread, I might ask further questions. Thanks for helping.
I will ask more questions in this thread soon or later after testing the map.

Post has been edited 1 time(s), last time on Mar 28 2009, 12:52 am by NudeRaider. Reason: merged posts



None.

Mar 27 2009, 11:59 pm Elvang Post #11



You'll want to use [men], that covers any unit that isn't a resource or building.



None.

Mar 30 2009, 6:44 pm GoD)Samurai Post #12



Quote from GoD)Samurai
Quote from Ahli
How to create a Location:
1. select the Location layer in the top bar
2. click on the map and make a square (like selecting multiple units at once in sc)
3. you can select locations and edit them. just click them and hit the enter key

Locations are used in combination with triggers to have a sense or actually to effect something.

edit: now I saw your new post: you can edit your posts instead of making a new one

You need that 2 locations (I will call them A and B) and a switch that disables the teleport/move trigger. If you don't use something like a switch to deactivate that, your units will enter and exit during the same trigger cycle.

// A -> B
C: Current Player brings at least 1 men to location A
C: Switch is cleared (chose one)
A: preserve trigger
A: move all men owned by current player at location A to B
A: set switch

// B -> A
C: Current Player brings at least 1 men to location B
C: Switch is cleared (chose one)
A: preserve trigger
A: move all men owned by current player at location B to A
A: set switch

// makes the door useable again
C: Switch is set
C: Current Player brings exactly 0 men to location A
C: Current Player brings exactly 0 men to location B
A: preserve trigger
A: clear switch

Do I use Trigger editor ??? man help plz

I saved it in the trigger editer, and when I reopened it , they are gone..

so where can I find switch?? I checked units, location, there is nothing. I can't find it so please help.
In classic trigger edit, when I hit switch, it shows many switches that are already set by original creator of map. And I need to make new switch, which I don't know where I can find it.
Anyway please help. Thanks.



None.

Mar 30 2009, 7:12 pm rockz Post #13

ᴄʜᴇᴇsᴇ ɪᴛ!

Use a new switch. There should be one that is unused. Just click on one that isn't being used. How do you know which one isn't being used? You have to look through the triggers and find them all. Personally, I never use switches.

Alternatively you can use a death count of an unused unit like cantina. Set deaths of cantina for player 11 to 1 = set switch, set deaths of cantina for player 11 to 0 = clear switch. The map maker probably didn't use this. Cantina is an unused unit which will crash starcraft if it's placed on the map, but it's still considered a unit, and has a place in the memory for death counts.

I don't understand what you mean:
Quote
so where can I find switch?? I checked units, location, there is nothing. I can't find it so please help.
Switch is a condition and set switch is an action. There is no "layer" or anything like that where you view switches. They are simply on or off. All switches are there in the map, so you can't make new ones, you have to use an unused one. There are a total of 256 switches available to you to use.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Mar 30 2009, 11:28 pm NudeRaider Post #14

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yeah, don't overcomplicate it. Go into the trigger editor, choose the condition or action and just use the switch in the manner Ahli showed.

The only problem is not to use an already used switch. If the creator of the map you're editing named them then it'll be easy. You can do that via the "switch" button in the trigger overview, which you obviously already found.
If the used switches just have the standard numbering then you have to - as rockz said - check every single trigger to make sure which switch is unused.

The text triggers can help you with that. Copy them into notepad and seach for "switch" and note any number you find.

And tbh I'd stay away from death counts for now. Get the basics first.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
Please log in to shout.


Members Online: 1alicee4491rr7, 5lydiac8991rB2, 4taylore9322yh1