Category:Editing Ending the Level

From EDukeWiki
Jump to navigation Jump to search
Build/Mapster32 Map Editing

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.

Nuke Buttons

Map Name: NONE

The Nuke Button sprite (#142) is the sprite that you hit to end the current level. Simply place it on a wall and give it a lotag value of 65535. To link a Nuke Button sprite to a secret level, change the palette value of the sprite to 14, and change the lotag value to the level number you want to go to next (if the secret level is level number 9, you would make the lotag value equal to 9).

IMPORTANT: Make sure the button does not have it's blocking flag set as this can make it difficult or impossible to operate.

NOTE: Nuke buttons can also use lotag values such as 32767 and 65534 to end the current level.

Ending Sectors

Map Name: NONE

This allows the player to end a level by walking onto a sector (you don't have to press the Nuke Button). Simply give the sector you want the player to end the level on a sector lotag value of 65535 (by pressing [T] on the sector in 2D mode).

Ending Sectors with Messages

Map Name: NONE

Remember in Episode 1, Level 2 where Duke gets trapped by the aliens and the message "We're gonna fry your ass, Nukem!" appears? To create the same effect in your level, simply give the ending sector a lotag value of 65534. The same message as above (quote 102) will appear on screen.

Also, give the sector a hitag value of the sound number that you wish to play (when the player walks on this sector).

Switch Operated End of Level Sector

Map Name: NONE

At times you may want to use a End of Level sector, but only enable it when a specific event or switch had been activated.

  • Step 1: Give the Level End sector a lotag of 65535 (65534)
  • Step 2: Place an ActivatorLocked Sprite in this sector and give it an unique lotag
  • Step 3: Place a Touchplate in the player's start sector, or any sector the player has to travel into. Give it a hitag of 1 and the same unique lotag as in step 2. (This will deactivate the End Of Level sector)
  • Step 4: Place any type of Switch somewhere in the level and give it the same lotag as in Step 2. (This will re-activate the End Of Level sector)
Note 1: On start-up, the Level End Sector is active. When the player travel in this sector the level will end. This is why step 3 is required.
Note 2: The idea stems from 'empy'

This category currently contains no pages or media.