Basic Operations and Modifying Geometry
While square sectors may be fun you may want to vary your geometry in your custom missions. Here we will talk about ways to add, remove and alter map components to suit your needs. Lets switch back to Sector Mode.
Adding Map Components
To add a new components (Remember: They are Sectors/Walls/Vertices/Objects - or SWVO) simply select it by clicking on it (it will turn red) and press the Insert button (To the right of the Backspace key). Do it now while selecting the sector. A new Sector will appear where your mouse pointer is located .
Additionally, you can Right Click on the map to bring up the Pop-Up menu and choose Duplicate. It's the same thing as pressing insert.
This new sector is an exact copy (Same shape, height, textures etc...) as your original. You can keep pressing insert as often as you'd like and more and more copies of the sector will appear. Remember you can move the copies around around by holding the CTRL button. This will work for any map component.
Now switch to the Wall Mode and hover over any of the Sector's walls. Press Insert and the wall will be split in two. You will get a pop-up confirming that you want to split the wall. Choose Yes.
The sector will have now have five walls and 5 vertices. You can move the new wall around (with CTRL ) just like any other component.
Just like the sectors you can Right-Click and choose Split-Wall to split the wall instead of pressing the insert button.
If you switch to Vertex Mode and press Insert you will be greeted with the same split-wall pop-up confirmation as in the Wall Mode. This is because for every new wall you create a new vertex will also be made and vice-versa. You can also insert more vertices by choosing the duplicate from the right-click menu. Once created, you should be able to move it around with CTLR button.
One more thing about Vertices. If you hold CTRL button and left click while in Vertex Mode you can add additional vertices without pressing the Insert button. It's a quick way to add them if you want to draw a particular shape.
Finally, In Object Mode, you can create more objects by pressing the Insert button and just like the rest you will get an exact duplicate of the original object, at the position where you were pointing to with your mouse at that very moment.
Deleting Map Components
To delete a map component in any map mode, simply press the Delete key underneath the Insert key. You will get a prompt to confirm you want to delete the component.
You can also delete a component by Right-Clicking on the map and choosing Delete from the pop-up menu.
If you ever make a mistake and delete something important, don't forget you can Undo an action by holding CTRL and pressing Z or bringing up the pop-up menu (by right clicking) and choosing Undo.
Selecting Multiple Components
Now that you have multiple sectors you can make editor operations on them all at once.
To select more than one component hold Shift and Left-click on the item in question. Try clicking on multiple sectors holding Shift.
Here you can see that there are multiple sectors selected because their color changed. Items that are multi-selected will turn White in color. You can remove items from the multi-selection by left-clicking the selected component again. And if you ever want to clear your multi-selection completely simply press the Backspace key. You can also bring up the pop-up menu and choose Clear Multiselection option.
Here are something you can do when items are multi-selected.
- You can move them at once by holding the CTRL button.
- You can Add your selection at once by using the Insert key. So if you have 3 sectors selected you will create 3 more in another location.
- You can Delete your selection by using the Delete key. Please be careful, you may be accidentally delete more sectors than you want !
There is another way you can select multiple map components.
If you hold ALT you will create a white selection rectangle with which you can cover multiple map components.
Here you can see the white dotted rectangle. When you let go, all the sectors will be selected.
Copying and Pasting
Another way you can add components to your mission is by using Copy and Paste. To do that select any component, hold CTRL and then press C to store the item in memory and then hold Ctrl and press V to paste it anywhere on the map. You can also bring up the pop-up menu and choose Copy/Paste options.
This will work with multi-selected items and will even work between different instances of WDFUSE. So you can have two WDFUSE editor open at a time, copy a sector from the first one and be able to paste it into your own map. What's more - you can have a friend copy their own sector, paste the text representation of it (from Clipboard) and send it to you by email or chat. You can then select the text, copy it and then paste it into your map!
Sector Pop-Up Operations
When you Right Click on the sector you will get a popup with various options. Many are self-explanatory but we will concentrate on Rotate, Flip and Stitch.
Rotate
You can rotate a sector by 10, 45 or 90 degrees as well as the inverse of those numbers by selecting the rotation values from the pop-up menu.
Here the square sector now was turned 45 degrees.
You can also use the hotkeys Shift+Up or Shift+Down to move a sector (or sectors) by 10 degrees or Shift+Left and Shift+Right to rotate a sector by 90 degrees.
Flip
You can flip a sector horizontally (X axis) or vertically (Z axis) from the pop-up menu.
You can see that the sector was flipped.
You can also flip a sector with ALT+Left or ALT+Right hotkeys.
Scale
You can also scale the size of your sectors. You can make them bigger or smaller from the pop-up menu. (There are more advanced options allowing you to scale with any desired factor - but here the two most common are offered.)
You can also use the hotkey ALT+Up or ALT+Down hotkeys.
The tutorial continues with the 3D Renderer article.
WDFUSE Tutorials
- Introduction
- WDFUSE Tutorial - Configuration
- WDFUSE Tutorial - Basic Geometry
- WDFUSE Tutorial - Basic Geometry II
- WDFUSE Tutorial - 3D Renderer
- WDFUSE Tutorial - Advanced Geometry
- WDFUSE Tutorial - Advanced Geometry II
- WDFUSE Tutorial - Advanced Geometry III
- WDFUSE Tutorial - Objects
- WDFUSE Tutorial - Scripting
- WDFUSE Tutorial - Scripting II
- WDFUSE Tutorial - Scripting III