#75 [suggestion] Add buildable buildings

開啟中
MisterE1234 年之前創建 · 5 條評論

Remember how I suggested that it would be neat to have players be able to save a building, and then allow other player to pay for it to be built on their property?

Something like this mod may be able to implement that: https://minetest-bower.herokuapp.com/mods/towntest

Remember how I suggested that it would be neat to have players be able to save a building, and then allow other player to pay for it to be built on their property? Something like this mod may be able to implement that: https://minetest-bower.herokuapp.com/mods/towntest
NathanS21 評論 4 年之前'
所有者

Latest code changes were four years ago, not sure if this mod still even works. LOL. Something to look into in the future, other things are more important in my opinion.

Latest code changes were four years ago, not sure if this mod still even works. LOL. Something to look into in the future, other things are more important in my opinion.
MisterE123 評論 4 年之前'
發佈者

Please add the mod handle_schematics , which adds this functionality. One can save buildings, then others or yourself can build them elsewhere. If you are in creative, the building is placed immediately, and if you are in survival, dig and build marker nodes are placed over the construction site to tell you what to do. Right-clicking a spot places the node there and pulls it from your inventory. The node is properly rotated automatically. Another feature is that you can replace one type of node with another during the planning phase.

handle_schematics is rough around the edges, but it works, and it provides this functionality.

https://forum.minetest.net/viewtopic.php?t=13116

One thing I have noticed is that for the first time you use it, you have to save at least one building, and then you have to have the server restart before it becomes available for building. Assuming that your server restarts anyways every so often, I don't think that this is much of an issue.

Please add the mod handle_schematics , which adds this functionality. One can save buildings, then others or yourself can build them elsewhere. If you are in creative, the building is placed immediately, and if you are in survival, dig and build marker nodes are placed over the construction site to tell you what to do. Right-clicking a spot places the node there and pulls it from your inventory. The node is properly rotated automatically. Another feature is that you can replace one type of node with another during the planning phase. handle_schematics is rough around the edges, but it works, and it provides this functionality. https://forum.minetest.net/viewtopic.php?t=13116 One thing I have noticed is that for the first time you use it, you have to save at least one building, and then you have to have the server restart before it becomes available for building. Assuming that your server restarts anyways every so often, I don't think that this is much of an issue.
NathanS21 評論 4 年之前'
所有者

I tried that mod a short while back, was going to see about doing a mod review on it, but it refused to work for me. I'll give it another look.

I'd have to change up a few things, as the current code doesn't have a way to craft the signs, but that's not anything too hard to remedy.

I tried that mod a short while back, was going to see about doing a mod review on it, but it refused to work for me. I'll give it another look. I'd have to change up a few things, as the current code doesn't have a way to craft the signs, but that's not anything too hard to remedy.
MisterE123 評論 4 年之前'
發佈者

It works for me now, though its not intuitive. It certainly could use some clean-up.

1) build a simple structure

2) place a sign on 2 opposite corners of the buildings, at the same ground level, such that the building extends to the right of each sign, and nothing to the left.

3) open formspec on the back one. You should see [main] and [save a building]. Click the latter. Then click [set this position as the new end position]. Exit the formspec with [esc]

4) go around to the other side, and open formspec, and click save a building. click [proceed with saving]

5) enter the height from the sign to the top of the building. if the building should include blocks below "ground level", enter that as a negative height offset. enter a filename. click [save building now]

6) in the next screen, you can select material types, and indicate a different material to use instead. click proceed

7) Now click [check project status]. Then click [Save current building as]. Click [save]

8) exit formspec and restart server.

9) disable creative

10) play game

11) Somewhere else, place a sign.

12) open its formspec, and now you should see [import from world]. Click that. click [current world]. Click your structure.

13) select a material to optionally replace with another material. otherwise click [proceed]

14) exit formspec. You should now have a structure that is made of dig icons and scaffolding icons. First, dig under all the dig icons.

15) then go to the sign and click [update]

16) now place the blocks for your structure by removing scaffolding and replacing it with the proper node. The infotext of each scaffold block indicates the node required at that location.

17) now click [check project status/update] then [save current building as] then [save]. THen exit formspec. Then re-enter formspec.Then click [restore original landscape]. Then click [abort this project and start new]. Click [yes]. Click [Back] several times. Exit formspec. Dig sign.

Following the above instructions works. The problem that it works around is that when you finish a building, the mod doesnt recognize that, so you can remove the sign. THe workaround is to save a new version of the sign, and then restore the original landscape, which now includes the building. Then abort the new project.

To make the mod much easier to use, the mod should be able to recognize that the building is complete, if only when the [check project status/update] button is clicked. Then it should release its "under construction" state.

However the mod can be used as-is.

some other obvious problems: you must restart the server before newly saved structures become available from the menu.

When you are saving, you should not enter a new project when you have finished saving, instead, you should get a "project saved!" message and be finished.

It works for me now, though its not intuitive. It certainly could use some clean-up. 1) build a simple structure 2) place a sign on 2 opposite corners of the buildings, at the same ground level, such that the building extends to the right of each sign, and nothing to the left. 3) open formspec on the back one. You should see [main] and [save a building]. Click the latter. Then click [set this position as the new end position]. Exit the formspec with [esc] 4) go around to the other side, and open formspec, and click save a building. click [proceed with saving] 5) enter the height from the sign to the top of the building. if the building should include blocks below "ground level", enter that as a negative height offset. enter a filename. click [save building now] 6) in the next screen, you can select material types, and indicate a different material to use instead. click [proceed] (you could look at the preview first, just for fun.) 7) Now click [check project status]. Then click [Save current building as]. Click [save] 8) exit formspec and restart server. 9) disable creative 10) play game 11) Somewhere else, place a sign. 12) open its formspec, and now you should see [import from world]. Click that. click [current world]. Click your structure. 13) select a material to optionally replace with another material. otherwise click [proceed] 14) exit formspec. You should now have a structure that is made of dig icons and scaffolding icons. First, dig under all the dig icons. 15) then go to the sign and click [update] 16) now place the blocks for your structure by removing scaffolding and replacing it with the proper node. The infotext of each scaffold block indicates the node required at that location. 17) now click [check project status/update] then [save current building as] then [save]. THen exit formspec. Then re-enter formspec.Then click [restore original landscape]. Then click [abort this project and start new]. Click [yes]. Click [Back] several times. Exit formspec. Dig sign. Following the above instructions works. The problem that it works around is that when you finish a building, the mod doesnt recognize that, so you can remove the sign. THe workaround is to save a new version of the sign, and then restore the original landscape, which now includes the building. Then abort the new project. To make the mod much easier to use, the mod should be able to recognize that the building is complete, if only when the [check project status/update] button is clicked. Then it should release its "under construction" state. However the mod can be used as-is. some other obvious problems: you must restart the server before newly saved structures become available from the menu. When you are saving, you should not enter a new project when you have finished saving, instead, you should get a "project saved!" message and be finished.
NathanS21 評論 4 年之前'
所有者

Hmm, I didn't restart my world when I tried it out, maybe that was the issue. I also thought that I read that you were suppose to be able to just click on the scaffolding, and if you had the material in inventory it would automatically be placed. I'll try it again.

Hmm, I didn't restart my world when I tried it out, maybe that was the issue. I also thought that I read that you were suppose to be able to just click on the scaffolding, and if you had the material in inventory it would automatically be placed. I'll try it again.
登入 才能加入這對話。
未選擇里程碑
未指派成員
2 參與者
正在加載...
取消
保存
尚未有任何內容