Sliding Doors: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) |
Hendricks266 (talk | contribs) |
||
Line 13: | Line 13: | ||
The following symbols are used: | The following symbols are used: | ||
<nowiki>*</nowiki> | |||
- | <nowiki>*</nowiki> vertex | ||
- ¦ red lines | |||
= | = | / \ white lines | ||
:STEP 1: Start by making the following sectors. All are valid player space. | :STEP 1: Start by making the following sectors. All are valid player space. | ||
Line 49: | Line 48: | ||
| b | | | b | | ||
*------*------* | *------*------* | ||
| | | ¦ | | ||
| | | ¦ | Sector 'c1' and 'c2' are the two parts | ||
| | | ¦ | of the door which will slide apart. | ||
| c1 | | c1 ¦ c2 | | ||
*------*------* | *------*------* | ||
| | | | | | ||
Line 70: | Line 69: | ||
| b | | | b | | ||
*------*------* | *------*------* | ||
|\ | |\ ¦ /| | ||
| \ | | \ ¦ / | Make sure sectors 'f' and 'g' are valid player spaces. | ||
|f * | |f * ¦ * g| (Alt-S in 2D mode). | ||
| / c1 | | / c1 ¦ c2 \ | | ||
|/ | |/ ¦ \| | ||
*------*------* | *------*------* | ||
| | | | | | ||
Line 92: | Line 91: | ||
| b | | | b | | ||
*------*------* | *------*------* | ||
|\ | |\ ¦ /| | ||
| \ | | \ ¦ / | Raise the floors of sectors 'f' and 'g' and for each sector | ||
|f *v1 | |f *v1 ¦ v2* g| mask one of the diagonal lines. In this example we'll mask | ||
| / | | / ¦ \ | <- these two diagonal lines. Mask them for example with 'glass2'. | ||
|/ c1 | |/ c1 ¦ c2 \| If you use 'glass1' you'll be able to break the glass and walk | ||
*------*------* through the door without ever having to open it. | *------*------* through the door without ever having to open it. | ||
| v3 | Make the walls a bit translucent so you can see through them. | | v3 | Make the walls a bit translucent so you can see through them. | ||
Line 114: | Line 113: | ||
| b | | | b | | ||
*------*------* | *------*------* | ||
|\ | |\ ¦ /| | ||
| \ c1 | | \ c1 ¦ c2 / | 'v1' and 'v2' have been moved down onto 'v3' The three | ||
|f \ | |f \ ¦ / g| vertices are all in the same place. They do NOT connect. | ||
| \ | | \ ¦ / | | ||
| \ | | \ ¦ / | | ||
*------*------* | *------*------* | ||
| v1-3 | | | v1-3 | | ||
Line 138: | Line 137: | ||
| b | | | b | | ||
v4 *------*------* v5 | v4 *------*------* v5 | ||
|\ | |\ ¦ /| | ||
| \ c1 | | \ c1 ¦ c2 / | Insert two new vertices on the diagonal lines. | ||
|f \ | |f \ ¦ / g| 'v4' and 'v5' have been named for the next picture. | ||
| * | | * ¦ * | | ||
| \ | | \ ¦ / | | ||
*------*------* | *------*------* | ||
| v1-3 | | | v1-3 | | ||
Line 161: | Line 160: | ||
| * v6 | | | * v6 | | ||
| /!\ | | | /!\ | | ||
| / | | / ¦ \ | | ||
| / | | / ¦ \ | | ||
| / | | / ¦ \ | | ||
| / c1! c2 \ | | | / c1! c2 \ | | ||
|/ | |/ ¦ \| | ||
v4 *---* | v4 *---* ¦ *---* v5 | ||
| f \ | | f \ ¦ / g | | ||
*------*------* | *------*------* | ||
| v1-3 | | | v1-3 | | ||
Line 185: | Line 184: | ||
| v6 | The little triangles in the middle are sectors | | v6 | The little triangles in the middle are sectors | ||
v4 *---*--*--*---* v5 'c1' and 'c2'. | v4 *---*--*--*---* v5 'c1' and 'c2'. | ||
| f \ | | f \ ¦ / g | | ||
v7 *------*------* v8 | v7 *------*------* v8 | ||
| v1-3 | | | v1-3 | | ||
Line 203: | Line 202: | ||
/ v6 \ | / v6 \ | ||
v4 *-----*--*--*-----* v5 Move the vertices to the outside a bit. | v4 *-----*--*--*-----* v5 Move the vertices to the outside a bit. | ||
| f \ | | f \ ¦ / g | | ||
v7 *--------*--------* v8 | v7 *--------*--------* v8 | ||
\ v1-3 / | \ v1-3 / | ||
Line 217: | Line 216: | ||
|v9 v6 |v10 | |v9 v6 |v10 | ||
v4 *-*---*--*--*---*-* v5 'v9' and 'v10' have been moved down. Sector 'b' has | v4 *-*---*--*--*---*-* v5 'v9' and 'v10' have been moved down. Sector 'b' has | ||
| f \ | | f \ ¦ / g | a width of 0. Same goes for vertices 'v11' and 'v12', | ||
v7 *-*------*------*-* v8 they have been moved up. Sector 'd' also has a width | v7 *-*------*------*-* v8 they have been moved up. Sector 'd' also has a width | ||
|v11 v12| of 0. | |v11 v12| of 0. |
Revision as of 15:15, 13 June 2007
NOTE: Much of information on this page is from around 1999. Some may be outdated, and some may be incorrect -- this page exists to get you started with the Level Editing and may not currently cover some of the additional features available in Mapster32.
Sliding Doors
Map Name: ADVANCED.MAP (ROOM 1-C)
Again, due to the extremely difficult task of explaining this how-to, I have provided a step by step example in the tutorial map, showing how to make this door. Just take a look at the example and it should make sense (it goes step by step in the building process).
See Through Sliding Doors
Here's a step by step explanation on how to make sliding glass doors.
The following symbols are used:
* vertex - ¦ red lines = | / \ white lines
- STEP 1: Start by making the following sectors. All are valid player space.
*=============* | | Sectors 'a' and 'e' are the corridor in which | a | the door will be made. *-------------* | | | b | *-------------* | | | | Sector 'c' will be the actual door. | | | c | *-------------* | | | d | *-------------* | | | e | *=============*
- STEP 2: Split sector 'c' in half.
*=============* | | | a | *-------------* | | | b | *------*------* | ¦ | | ¦ | Sector 'c1' and 'c2' are the two parts | ¦ | of the door which will slide apart. | c1 ¦ c2 | *------*------* | | | d | *-------------* | | | e | *=============*
- STEP 3: Make sectors 'f' and 'g'.
*=============* | | | a | *-------------* | | | b | *------*------* |\ ¦ /| | \ ¦ / | Make sure sectors 'f' and 'g' are valid player spaces. |f * ¦ * g| (Alt-S in 2D mode). | / c1 ¦ c2 \ | |/ ¦ \| *------*------* | | | d | *-------------* | | | e | *=============*
- STEP 4: Raise floor of sectors 'f' and 'g' and mask walls. Then lower floor again.
*=============* | | | a | *-------------* | | | b | *------*------* |\ ¦ /| | \ ¦ / | Raise the floors of sectors 'f' and 'g' and for each sector |f *v1 ¦ v2* g| mask one of the diagonal lines. In this example we'll mask | / ¦ \ | <- these two diagonal lines. Mask them for example with 'glass2'. |/ c1 ¦ c2 \| If you use 'glass1' you'll be able to break the glass and walk *------*------* through the door without ever having to open it. | v3 | Make the walls a bit translucent so you can see through them. | d | Also make them blockable and hittable ('b' and 'Ctrl-H in 2D mode). *-------------* Lower the floors again to the same height as the floors of sectors | | 'c1' and 'c2'. | e | *=============* 'v1' 'v2' and 'v3' have been named for the next picture.
- STEP 5: Move vertices.
*=============* | | | a | *-------------* | | | b | *------*------* |\ ¦ /| | \ c1 ¦ c2 / | 'v1' and 'v2' have been moved down onto 'v3' The three |f \ ¦ / g| vertices are all in the same place. They do NOT connect. | \ ¦ / | | \ ¦ / | *------*------* | v1-3 | | d | *-------------* | | | e | *=============*
- STEP 6: Place sector effectors, gpspeed and music sprites and give sector lotag. Give sectors 'c1' and 'c2' both a lotag of 25. Put sector effectors in sector c1 and c2. Make them point towards each other (',' and '.' key in 2D mode, angle 0 and 1024) and give them a lotag of 15. Give them the same unique hitag. Also put gpspeed sprites in sectors 'c1' and 'c2'. They determine how far the door will open. The largest grid in build is 512. Give the gpspeed sprites the correct value for the lotag. Finally you can put a music sprite in one of the door sectors ('c1' _or_ 'c2'). Don't put music sprites in both sectors. The lotag is the door sound when it opens or closes.
- STEP 7: Add vertices.
*=============* | | | a | *-------------* | | | b | v4 *------*------* v5 |\ ¦ /| | \ c1 ¦ c2 / | Insert two new vertices on the diagonal lines. |f \ ¦ / g| 'v4' and 'v5' have been named for the next picture. | * ¦ * | | \ ¦ / | *------*------* | v1-3 | | d | *-------------* | | | e | *=============*
- STEP 8: Move 'v4' and 'v5' down.
*=============* | | | a | *-------------* | b | | | | * v6 | | /!\ | | / ¦ \ | | / ¦ \ | | / ¦ \ | | / c1! c2 \ | |/ ¦ \| v4 *---* ¦ *---* v5 | f \ ¦ / g | *------*------* | v1-3 | | d | *-------------* | | | e | *=============*
- STEP 9: Move 'v6' down.
*=============* | | | a | *-------------* | b | | v6 | The little triangles in the middle are sectors v4 *---*--*--*---* v5 'c1' and 'c2'. | f \ ¦ / g | v7 *------*------* v8 | v1-3 | | d | *-------------* | | | e | *=============*
- STEP 10: Move 'v4' 'v5' 'v7' and 'v8'.
*=============* | | | a | v9 *-------------* v10 | b | / v6 \ v4 *-----*--*--*-----* v5 Move the vertices to the outside a bit. | f \ ¦ / g | v7 *--------*--------* v8 \ v1-3 / | d | v11 *-------------* v12 | | | e | *=============*
- STEP 11: Move 'v9' and 'v10' down, move 'v11' and 'v12' up.
*=============* | a | |v9 v6 |v10 v4 *-*---*--*--*---*-* v5 'v9' and 'v10' have been moved down. Sector 'b' has | f \ ¦ / g | a width of 0. Same goes for vertices 'v11' and 'v12', v7 *-*------*------*-* v8 they have been moved up. Sector 'd' also has a width |v11 v12| of 0. | | | e | *=============*
- STEP 12: Make sure sectors 'f' and 'g' aren't too wide or it will look ugly. If you want a vertical bar in the door (i.e. doorpost) just draw a non-valid player space in sector 'f' and/or 'g'. These non-valid player spaces will slide aside with the door so they are best put in the middle. You can of course also partially raise the floors of sectors 'f' and 'g' and lower the ceilings and still mask the wall (With any texture you like! :) )