edit-cd2025/README.md

100 lines
3.3 KiB
Markdown
Raw Normal View History

2022-07-21 12:43:41 -05:00
# Minetest Edit Mod
2022-04-28 16:24:13 -05:00
[![ContentDB](https://content.minetest.net/packages/Mr.%20Rar/edit/shields/downloads/)](https://content.minetest.net/packages/Mr.%20Rar/edit/)
2022-07-21 12:43:41 -05:00
## Overview
2022-07-21 12:43:41 -05:00
This mod named `edit` allows copying, pasting, filling, deleting, opening and saving 3D areas.
2023-02-14 15:29:44 -06:00
Schematics are loaded and saved from .mts files located in the world sub folder `schems`.
2022-04-27 07:40:29 -05:00
This mod was inspired by the Fill Start and Fill End blocks in Manic Digger.
![screenshot](screenshot.png)
2022-07-21 12:43:41 -05:00
## Items
2023-02-14 15:29:44 -06:00
| Name | Item ID | Image |
2022-07-21 12:43:41 -05:00
| ------ | ----------- | ----------------------------- |
| Copy | edit:copy | ![](textures/edit_copy.png) |
| Paste | edit:paste | ![](textures/edit_paste.png) |
| Fill | edit:fill | ![](textures/edit_fill.png) |
| Open | edit:open | ![](textures/edit_open.png) |
| Save | edit:save | ![](textures/edit_save.png) |
| Undo | edit:undo | ![](textures/edit_undo.png) |
## Dependencies
2022-07-21 12:43:41 -05:00
None
## Usage
2023-02-14 15:29:44 -06:00
### Copy Tool
2022-07-21 12:43:41 -05:00
2023-02-14 15:29:44 -06:00
![figure.png](figure.png)
2022-07-21 12:43:41 -05:00
2023-02-14 15:29:44 -06:00
When the copy tool is placed at opposite corners of an area, they select the area as show in the figure. The copy tool uses the location under the placed position. When the copy tool is placed for the first time, a marker entity is placed. To cancel the copy operation, punch the entity marker. When a copy tool is placed a second time, the selected area is copied and the entity marker is removed.
2022-07-21 12:43:41 -05:00
2023-02-14 15:29:44 -06:00
### Paste Tool
2022-07-21 12:43:41 -05:00
2023-02-14 15:29:44 -06:00
The paste tool is used for pasting the area copied by the copy tool or a schematic loaded with the open tool. When a paste tool is placed, the copied area or schematic is placed at the corner of the paste tool. The copied area can be rotated by punching while holding the paste tool.
2022-07-21 12:43:41 -05:00
### Fill Node
2023-02-14 15:29:44 -06:00
Fill nodes are used to fill a 3D area with a certain item. Start by placing two fill nodes at opposite corners of the desired area. The selected area includes the positions of the fill nodes themselves as shown in the figure.
2022-07-21 12:43:41 -05:00
Once a second fill node is placed, a dialog appears listing all items in the players inventory. Clicking an item will cause it to be used used for filling the selected area. Clicking on a blank slot will cause the selected area to be filled with air. To cancel the fill, press the "X".
2022-07-21 12:43:41 -05:00
### Open Tool
2022-07-21 12:43:41 -05:00
Right click with this tool to load a .mts schematic for pasting from the the world subfolder `schems`.
2022-07-21 12:43:41 -05:00
### Save Tool
2022-07-21 12:43:41 -05:00
Right click with this tool to save copied area as a .mts schematic in the the world subfolder `schems`.
2022-07-21 12:43:41 -05:00
### Undo Tool
2022-07-21 12:43:41 -05:00
Right click with this tool to undo a world modification like filling or pasting.
Use a second time to redo the undo.
Only the most resent world modification can be undone.
## Settings
### edit_paste_preview_max_entities
If the copied area has a larger number of nodes, some nodes will be randomly excluded from the preview.
### edit_max_operation_volume
The maximum volume of any edit operation. Increase to allow larger operations.
### edit_use_fast_node_fill
Fast filling of nodes. This uses VoxelManip for fast node placement.
No node placement callbacks are called so some nodes might be broken.
## Privileges
Edit tools and nodes can only be used by players with `edit` privilege.
## License
2023-03-20 12:15:40 -05:00
MIT by MrRar check [License](LICENSE.txt) file, this mod was started by MrRar,
2022-07-21 12:43:41 -05:00
minetest-mods community.