m (DF21net moved page WDFUSE Tutorial - Basics Geometry II to WDFUSE Tutorial - Basic Geometry II: Typo as always...) |
No edit summary |
||
Line 54: | Line 54: | ||
If you hold '''ALT''' you will create a white selection rectangle with which you can cover multiple map components. | If you hold '''ALT''' you will create a white selection rectangle with which you can cover multiple map components. | ||
[[File:Alt Select.png|none|thumb|553x553px]] | [[File:Alt Select.png|none|thumb|553x553px]] | ||
Here you can see the white dotted rectangle. When you let go, | Here you can see the white dotted rectangle. When you let go, all the sectors will be selected. | ||
=== Copying and Pasting === | === Copying and Pasting === | ||
Line 60: | Line 60: | ||
[[File:Copy-Paste.png|none|thumb|363x363px]] | [[File:Copy-Paste.png|none|thumb|363x363px]] | ||
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! | 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! | ||
The tutorial continues with the [[WDFUSE Tutorial - 3D Renderer|3D Renderer]] article. |
Revision as of 09:59, 23 June 2022
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.
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.
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!
The tutorial continues with the 3D Renderer article.