Sector Effector Reference Guide: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Nexus (talk | contribs)
 
(35 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Build Intro}}
{{Build Intro}}
<strong>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.</strong>


==Sector Effector Lotag Listing==
==Sector Effector Lotag Listing==
{| class="wikitable"
! bgcolor="#c0c0c0" | '''Tag number'''
! bgcolor="#c0c0c0" | '''Name'''
! bgcolor="#c0c0c0" | '''Associated [[Sector Tag Reference Guide|sector tag]]'''


<strong>0:</strong> Rotating sector (See [[SE0]])<br />
! bgcolor="#c0c0c0" | '''Description'''
<strong>1:</strong> Center point for above<br />
|-
<strong>2:</strong> Earthquake<br />
|'''[[SE0 | 0]]'''
<strong>3:</strong> Random light effect after light is shot out<br />
|Rotating Sector
<strong>4:</strong> Random light effect<br />
|30 (optional)
<strong>5:</strong> <u>N/A</u><br />
|See [[:Category:Editing Moving Sectors#Rotating Sectors (Gears)]]. The hitag of this sectoreffector must be something other than zero because a sectoreffector with both tags equal to zero causes an error.
<strong>6:</strong> Subway Engine <em>(Pulls other cars)</em><br />
|-
<strong>7:</strong> Transporter<br />
|'''[[SE1 | 1]]'''
<strong>8:</strong> Door opens - room lights up<br />
| Pivot Sprite for SE 0
<strong>9:</strong> Ceiling light lowers - room lights up<br />
| 30 (optional)
<strong>10:</strong> Door auto close <em>(set Hitag to delay)</em><br />
|See [[:Category:Editing Moving Sectors#Rotating Sectors (Gears)]].
<strong>11:</strong> Swinging Door<br />
|-
<strong>12:</strong> Light switch<br />
|'''[[SE2|2]]'''
<strong>13:</strong> Used to make holes in walls<br />
|Earthquake
<strong>14:</strong> Subway car<br />
|N/A
<strong>15:</strong> Sliding door <em>(ST 25)</em><br />
|See [[:Category:Editing General Sector Effects#Earthquake]].
<strong>16:</strong> <u>N/A</u><br />
|-
<strong>17:</strong> Elevator transporter <em>(ST 15)</em> See [[SE17]].<br />
|'''[[SE3|3]]'''
<strong>18:</strong> Incremental sector rise/fall <em>(PPAK only)</em><br />
|Random Lights After Shot Out
<strong>19:</strong> Lower ceiling when explosion hits sector<br />
|N/A
<strong>20:</strong> Stretch sector <em>(ST 27)</em><br />
|See [[:Category:Editing Lighting Effects#Making Lights Blink When Shot]]
<strong>21:</strong> Lower floor or ceiling <em>(ST 28)</em><br />
|-
<strong>22:</strong> Prong for teeth doors<br />
|'''[[SE4|4]]'''
<strong>23:</strong> One way teleporter exit <em>(PPAK only)</em><br />
|Random Lights
<strong>24:</strong> Conveyor belt or water current<br />
|N/A
<strong>25:</strong> Engine Piston <em>(moves up and down)</em><br />
|See [[:Category:Editing Lighting Effects#Making Lights Blink]].
<strong>26:</strong> <u>N/A</u><br />
|-
<strong>27:</strong> Demo Camera Location<br />
|bgcolor="#ffb099"|'''[[Sector_effectors#SE5_-_Boss_Sector|5]]'''
<strong>28:</strong> Lightning Bolt Engine <em>(PPAK only)</em><br />
|bgcolor="#ffb099"|(undocumented)
<strong>29:</strong> Used to make waves<br />
|bgcolor="#ffb099"|N/A
<strong>30:</strong> 2 way train <em>(ST 31)</em><br />
|bgcolor="#ffb099"|When used with a series of sequentially numbered [[Level_editing#Locator|locator]]s, this causes the sector to move rapidly to the locator nearest the player. It also spawns some fireballs that won't hit the player. It was intended to be a boss ship in [[Lameduke]], but it was eventually abandoned. The effect is very buggy. There are graphics glitches, and the moving sector eventually seems to just go around in circles.
<strong>31:</strong> Used to raise or lower the floor<br />
|-
<strong>32:</strong> Used to raise or lower the ceiling<br />
|'''6'''
<strong>33:</strong> Earthquake Debris<br />
|Subway
<strong>34:</strong> <u>N/A</u><br />
|N/A
<strong>35:</strong> <u>N/A</u><br />
|See [[:Category:Editing Moving Sectors#One Car Subways]].
<strong>36:</strong> Used for Shooters
|-
|'''7'''
|Teleporter
|N/A
|See [[:Category:Editing Teleporters]]
|-
|'''8'''
| Up Open Door Lights
|20, 21, 22, 23, 25, or 26
|See [[:Category:Editing Lighting_Effects#Open Door & Room Lights Up]]
|-
|'''9'''
|Down Open Door Lights
|20, 21, 22, 23, 25, or 26
|See [[:Category:Editing Lighting_Effects#Open Door & Room Lights Up]]
|-
|'''10'''
|Door Auto Close
|20, 21, 22, 23, 25, or 26
|Hitag = delay
|-
|'''11'''
|Rotate Sector Door
|23
|Hinge for the swinging door. See [[Swinging Doors]].
|-
|'''12'''
| Light Switch
|N/A
|See [[:Category:Editing Lighting Effects#Light Switches]].
|-
|'''13'''
| C-9 Explosive
| N/A
| See [[:Category:Editing C-9 Effects#Cracked Walls]].
|-
|'''14'''
|Subway Car
|N/A
|See [[:Category:Editing Moving Sectors#Making Multi-Car Subways]].
|-
|'''[[Sector_effectors#SE15_-_Slide_Door|15]]'''
|Slide Door
|25
|See [[Sliding Doors]].
|-
|bgcolor="#ffb099"|'''16'''
|bgcolor="#ffb099"|Rotate Reactor Sector
|bgcolor="#ffb099"|N/A
|bgcolor="#ffb099"|All this does is rotate the sector a small amount and raise the ceiling by about a quarter of a step at runtime. It is an incomplete effect that is not used in the game.
|-
|'''[[SE17 | 17]]'''
|Elevator Transport
|15
|See [[:Category:Editing Sectors That Rise and Fall#Elevator Transports]].
|-
|'''18'''
|Incremental Sector Rise/Fall
|N/A
|Causes the sector to be raised or lowered by one step every time it is activated. Only works in version 1.4 or above. See [[:Category:Editing Sectors That Rise and Fall]].
|-
|'''19'''
|Explosion Lowers Ceiling
|N/A
|If an explosion occurs in a sector containing this SE, the ceiling drops to the floor. This effect is not used in the game but is fully functional. The rate the ceiling falls can be controlled with a [[Level_editing#GPSPEED|GPSPEED]]. See [[:Category:Editing Sectors That Rise and Fall#Making the Ceiling Fall Upon an Explosion]].
|-
|'''20'''
|Stretch (also known as "Bridge")
|27
||See [[:Category:Editing General Sector Effects#Stretching Sectors]].
|-
|'''21'''
|Drop Floor
|28
|See [[:Category:Editing Sectors That Rise and Fall]].
|-
|'''22'''
|Teeth Door Prong
|29
|See [[Teeth Doors]]
|-
|'''23'''
|One-Way Teleporter Destination
|N/A
|See [[:Category:Editing Teleporters#One Way Teleporters (Version 1.4 or 1.5 Required)]].
|-
|'''24'''
|Conveyor Belt or Water Current
|N/A
||See [[:Category:Editing General Sector Effects#Conveyor Belts & Water Current]].
|-
|'''25'''
|Engine
|N/A
|Ceiling continually lowers to the floor and raises again. Its speed can be regulated with a [[Level_editing#GPSPEED|GPSPEED]].
|-
|bgcolor="#ffb099"|'''26'''
|bgcolor="#ffb099"|(undocumented)
|bgcolor="#ffb099"|N/A
|bgcolor="#ffb099"|A rudimentary and incomplete implementation of a step escalator. The effect repeatedly raises the sector by two clicks and moves it one grid size 3 square in the direction of the SE's angle, and then snaps back instantly. It carries sprites along with it. The effect is incomplete, so there are graphics glitches like stretching textures, and it can kill Duke by carrying him into non-player space. Use with caution.
|-
|'''27'''
|Demo Camera
|N/A
|Used to record demos.
|-
|'''28'''
| Lightning
|N/A
|Version 1.4 or above
|-
|'''29'''
|Float
|N/A
|See [[:Category:Editing Water#Making Waves]].
|-
|'''30'''
|Two-Way Train
|31
|See [[:Category:Editing Moving Sectors#Two-Way Trains]].
|-
|'''[[Sector_effectors#SE31 - Floor Rise/Fall|31]]'''
|Floor Rise/Fall
|N/A
|See [[:Category:Editing Sectors That Rise and Fall]].
|-
|'''[[Sector_effectors#SE32_-_Ceiling_Rise.2FFall|32]]'''
|Ceiling Rise/Fall
|N/A
|See [[:Category:Editing Sectors That Rise and Fall]].
|-
|'''33'''
|Earthquake Debris
|N/A
|Use in conjunction with an earthquake (SE 2) to spawn bits of scrap. See [[:Category:Editing General Sector Effects#Earthquake]]. It is also used in the exploding ceiling effect (see [[:Category:Editing C-9 Effects#Making the Ceiling Blow Up (And Enemies Fall From the Sky!)]]).
|-
|bgcolor="#ffb099"|'''34'''
|bgcolor="#ffb099"|(undocumented)
|bgcolor="#ffb099"|N/A
|bgcolor="#ffb099"|A conveyor belt effect very similar to SE 24. It moves at about half the speed, and the floor texture moves at right angles to the direction of motion.
|-
|bgcolor="#ffb099"|'''35'''
|bgcolor="#ffb099"|(undocumented)
|bgcolor="#ffb099"|N/A
|bgcolor="#ffb099"|An unfinished implementation of a drill head. The floor is lowered at runtime, and then the ceiling lowers to the floor repeatedly. Silent, harmless explosions and bits of scrap are continually spawned in the sector. Can be combined with rotating sectors (SE 0,1) to simulate a drill, but is pretty much useless.
|-
|'''36'''
|Projectile Shooter
|N/A
|See [[:Category:Editing Miscellaneous#Shooters]]
|-
|bgcolor="#99ff99"|'''[[SE49 | 49]]'''
|bgcolor="#99ff99"|Point Light
|bgcolor="#99ff99"|N/A
|bgcolor="#99ff99"|Casts uniform light in all directions as name suggests. Does not cast shadows. HITAG = light distance (range: 0-65535)
XVEL/YVEL/ZVEL = RGB values (range: 0-255) (edit with F8 when SE highlighted in 2D mode.)
TRANSPARENCY = priority (solid sprite = high priority, 33% transparency = lower priority, 66% = lowest priority. This is required to avoid glitches resulting from projectile lights interacting with world lights.)
Centre bit (press c on SE in 3D mode): Inverts colours so it subtracts light to the scene instead of adding it. E.g use a pure white light to make the SE emit pure black.
|-
|bgcolor="#99ff99"|'''[[SE50|50]]'''
|bgcolor="#99ff99"|Spotlight
|bgcolor="#99ff99"|N/A
|bgcolor="#99ff99"|Casts light in one direction as name suggests. Casts shadows. HITAG = light distance (range: 0-65535)
XVEL/YVEL/ZVEL = RGB values (range: 0-255) (edit with F8 when SE highlighted in 2D mode.)
Angle of SE = direction light points in.
Shade = width of light (range: -127 to 127)
Extra = horizontal up/down angle. Light points roughly 45 degrees down by default. An extra of 100 points straight ahead. Positive values angle light up, negative values angle light downn.
Owner = picnum of sprite/texture to project.
TRANSPARENCY = priority (solid sprite = high priority, 33% transparency = lower priority, 66% = lowest priority. This is required to avoid glitches resulting from projectile lights interacting with world lights.)
1-Way (press 1 on SE to make 1-sided) = Does not project shadow maps. Spotlights without shadows are much better for performance, and useful for projecting textures.
Centre bit (press c on SE in 3D mode): Inverts colours so it subtracts light to the scene instead of adding it. E.g use a pure white light to make the SE emit pure black.
|}
 
[[Category:Level editing documentation]]

Latest revision as of 12:41, 5 February 2015

Build/Mapster32 Map Editing


Sector Effector Lotag Listing

Tag number Name Associated sector tag Description
0 Rotating Sector 30 (optional) See Category:Editing Moving Sectors#Rotating Sectors (Gears). The hitag of this sectoreffector must be something other than zero because a sectoreffector with both tags equal to zero causes an error.
1 Pivot Sprite for SE 0 30 (optional) See Category:Editing Moving Sectors#Rotating Sectors (Gears).
2 Earthquake N/A See Category:Editing General Sector Effects#Earthquake.
3 Random Lights After Shot Out N/A See Category:Editing Lighting Effects#Making Lights Blink When Shot
4 Random Lights N/A See Category:Editing Lighting Effects#Making Lights Blink.
5 (undocumented) N/A When used with a series of sequentially numbered locators, this causes the sector to move rapidly to the locator nearest the player. It also spawns some fireballs that won't hit the player. It was intended to be a boss ship in Lameduke, but it was eventually abandoned. The effect is very buggy. There are graphics glitches, and the moving sector eventually seems to just go around in circles.
6 Subway N/A See Category:Editing Moving Sectors#One Car Subways.
7 Teleporter N/A See Category:Editing Teleporters
8 Up Open Door Lights 20, 21, 22, 23, 25, or 26 See Category:Editing Lighting_Effects#Open Door & Room Lights Up
9 Down Open Door Lights 20, 21, 22, 23, 25, or 26 See Category:Editing Lighting_Effects#Open Door & Room Lights Up
10 Door Auto Close 20, 21, 22, 23, 25, or 26 Hitag = delay
11 Rotate Sector Door 23 Hinge for the swinging door. See Swinging Doors.
12 Light Switch N/A See Category:Editing Lighting Effects#Light Switches.
13 C-9 Explosive N/A See Category:Editing C-9 Effects#Cracked Walls.
14 Subway Car N/A See Category:Editing Moving Sectors#Making Multi-Car Subways.
15 Slide Door 25 See Sliding Doors.
16 Rotate Reactor Sector N/A All this does is rotate the sector a small amount and raise the ceiling by about a quarter of a step at runtime. It is an incomplete effect that is not used in the game.
17 Elevator Transport 15 See Category:Editing Sectors That Rise and Fall#Elevator Transports.
18 Incremental Sector Rise/Fall N/A Causes the sector to be raised or lowered by one step every time it is activated. Only works in version 1.4 or above. See Category:Editing Sectors That Rise and Fall.
19 Explosion Lowers Ceiling N/A If an explosion occurs in a sector containing this SE, the ceiling drops to the floor. This effect is not used in the game but is fully functional. The rate the ceiling falls can be controlled with a GPSPEED. See Category:Editing Sectors That Rise and Fall#Making the Ceiling Fall Upon an Explosion.
20 Stretch (also known as "Bridge") 27 See Category:Editing General Sector Effects#Stretching Sectors.
21 Drop Floor 28 See Category:Editing Sectors That Rise and Fall.
22 Teeth Door Prong 29 See Teeth Doors
23 One-Way Teleporter Destination N/A See Category:Editing Teleporters#One Way Teleporters (Version 1.4 or 1.5 Required).
24 Conveyor Belt or Water Current N/A See Category:Editing General Sector Effects#Conveyor Belts & Water Current.
25 Engine N/A Ceiling continually lowers to the floor and raises again. Its speed can be regulated with a GPSPEED.
26 (undocumented) N/A A rudimentary and incomplete implementation of a step escalator. The effect repeatedly raises the sector by two clicks and moves it one grid size 3 square in the direction of the SE's angle, and then snaps back instantly. It carries sprites along with it. The effect is incomplete, so there are graphics glitches like stretching textures, and it can kill Duke by carrying him into non-player space. Use with caution.
27 Demo Camera N/A Used to record demos.
28 Lightning N/A Version 1.4 or above
29 Float N/A See Category:Editing Water#Making Waves.
30 Two-Way Train 31 See Category:Editing Moving Sectors#Two-Way Trains.
31 Floor Rise/Fall N/A See Category:Editing Sectors That Rise and Fall.
32 Ceiling Rise/Fall N/A See Category:Editing Sectors That Rise and Fall.
33 Earthquake Debris N/A Use in conjunction with an earthquake (SE 2) to spawn bits of scrap. See Category:Editing General Sector Effects#Earthquake. It is also used in the exploding ceiling effect (see Category:Editing C-9 Effects#Making the Ceiling Blow Up (And Enemies Fall From the Sky!)).
34 (undocumented) N/A A conveyor belt effect very similar to SE 24. It moves at about half the speed, and the floor texture moves at right angles to the direction of motion.
35 (undocumented) N/A An unfinished implementation of a drill head. The floor is lowered at runtime, and then the ceiling lowers to the floor repeatedly. Silent, harmless explosions and bits of scrap are continually spawned in the sector. Can be combined with rotating sectors (SE 0,1) to simulate a drill, but is pretty much useless.
36 Projectile Shooter N/A See Category:Editing Miscellaneous#Shooters
49 Point Light N/A Casts uniform light in all directions as name suggests. Does not cast shadows. HITAG = light distance (range: 0-65535)

XVEL/YVEL/ZVEL = RGB values (range: 0-255) (edit with F8 when SE highlighted in 2D mode.) TRANSPARENCY = priority (solid sprite = high priority, 33% transparency = lower priority, 66% = lowest priority. This is required to avoid glitches resulting from projectile lights interacting with world lights.) Centre bit (press c on SE in 3D mode): Inverts colours so it subtracts light to the scene instead of adding it. E.g use a pure white light to make the SE emit pure black.

50 Spotlight N/A Casts light in one direction as name suggests. Casts shadows. HITAG = light distance (range: 0-65535)

XVEL/YVEL/ZVEL = RGB values (range: 0-255) (edit with F8 when SE highlighted in 2D mode.) Angle of SE = direction light points in. Shade = width of light (range: -127 to 127) Extra = horizontal up/down angle. Light points roughly 45 degrees down by default. An extra of 100 points straight ahead. Positive values angle light up, negative values angle light downn. Owner = picnum of sprite/texture to project. TRANSPARENCY = priority (solid sprite = high priority, 33% transparency = lower priority, 66% = lowest priority. This is required to avoid glitches resulting from projectile lights interacting with world lights.) 1-Way (press 1 on SE to make 1-sided) = Does not project shadow maps. Spotlights without shadows are much better for performance, and useful for projecting textures. Centre bit (press c on SE in 3D mode): Inverts colours so it subtracts light to the scene instead of adding it. E.g use a pure white light to make the SE emit pure black.