Jump to content

Category:Editing Working with Sprites: Difference between revisions

From EDukeWiki
Hank (talk | contribs)
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 25: Line 25:


The size of a sprite can be modified in 3D mode by moving the cursor over the sprite and pressing the KP ( aka numpad ) Arrow keys (8,6,2 and 4). To accelerate the sizing function, press the KP 5 key with the KP Arrows keys.
The size of a sprite can be modified in 3D mode by moving the cursor over the sprite and pressing the KP ( aka numpad ) Arrow keys (8,6,2 and 4). To accelerate the sizing function, press the KP 5 key with the KP Arrows keys.
In Mapster32 you can also enter the [[sizeat|size]] of sprites in 2D mode. Hover with your mouse over the sprite to highlight it. Press the F8 key and use the arrow keys to navigate to the {X,Y}repeat slot.  The value of the smallest setting is (4, 4). You need to enter this value by typing the 4, then ENTER and another 4. You can also manipulate the [[cstat]] value of sprites. The flags(hex): slot accepts valid cstat values.
<strong>A sprite can be made invisible.</strong>
The invisibility cstat value is 32768. You can set this on sprites with the key combo [']+[I].


==Security Cameras==
==Security Cameras==
''Map Name: [[Media:Tutorial.map|TUTORIAL.MAP]] (ROOM 6-H)''
STEP 1: Place one sprite where you want the viewscreen to be.  You can use either sprite #502 or sprite #499.  Give the screen a unique hitag value.
STEP 2: Place several sprites where you want cameras to be.  The camera sprite is #621.  Give all the camera sprites that you want associated with the viewscreen created in step 1, a lotag value equal to the screen's hitag value.
NOTE 1: The angle of the camera sprite (its tail in 2D) is the angle that the camera will point.
NOTE 2: To make cameras pan right and left, give them a hitag.  Set the camera's angle to the center of the arc in which you want it to pan.  Then set the hitag value equal to the build units of angle measure.  A value of 256 will make the camera rotate 45 degrees to both the left and right of the sprite's angle.
NOTE 3: To change how far the camera looks either up or down, change the shade value of the camera itself (by pressing the [']+[S] keys on the camera sprite in 3D mode).  A negative (bright) value will make the camera look down, and a positive (dark) value will make the camera look up.  The brighter (smaller) or darker (larger) the value, the more the camera will either look down or up.


==Vents==
==Vents==
''Map Name: [[Media:Tutorial.map|TUTORIAL.MAP]] (ROOM 6-I)''
To make a vent and vent cover, simply follow these steps:
STEP 1: Create the vent area sectors.  Make this area accessible from a room in your level.
STEP 2: Place the Vent sprite (#595) at the entrance of your vent area. In 3D mode, resize this sprite to properly fit the vent area entrance. The game blocks this sprite and set the hitscan to ON, by default. Check that the sprite is not one sided and is flush with the wall (floor).


=="3D"� Bridges==
=="3D"� Bridges==
Line 78: Line 102:


==Exploding Helicopter & Sky Car==
==Exploding Helicopter & Sky Car==
To create the exploding helicopter or car effect, simply place the Helicopter sprite (#1346) or the Dukecar sprite (#2491) where you want it to originate from. Set the angle of the sprite to the direction you want the car to travel in, and raise the sprite up as high as you want in 3D mode.
Note: This effect is triggered once only, when the player starts the map. You should leave enough room for the car or helicopter to travel through its path - if you don't, it will slide down the first wall it hits, making a very unrealistic effect.


==Cranes==
==Cranes==

Latest revision as of 07:02, 24 November 2012

This category currently contains no pages or media.