Don't Starve Together

Don't Starve Together

274 ratings
Moving Box - Geometric Plant (Updated by JC)
4
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
202.581 KB
6 May, 2023 @ 1:02am
23 Jun @ 1:27am
30 Change Notes ( view )

Subscribe to download
Moving Box - Geometric Plant (Updated by JC)

Description
(All credits go to Peanut Butter & Jelly for the original mod and the updated version by Im So HM02, I've simply updated it with the one more structure and Geometric Placement )

Moving box is a base moving tool used to pack buildings that have already been placed (and you change your mind), making it easy to reposition them. The main ability is shown in the gif above.

There are 2 main parts that i modified
①Now, "Moving Box (Full)" could be planted by right click on the ground(also could be picked up/ stored in inventory). This is mainly for compatibility with "Geometric Placement" mod, further make a handy way to build you base.
②Add support packing structures:
• Technology: "Shadowcraft Plinth" & "Brightsmithy"
• Character : "Mighty Gym" for Wolfgang, "Sisturn" for Windy, "Magician's Chest" for Maxwell
• Lighting : "FirePit" & "Endothermic Fire Pit" & "Lamb Idol"s & "Ice Crystaleyezer" (available when burnt out)
• Nest : "Pig House" & "Rabbit Hutch" (creatures like pigman may get stuck cause' the house moved. Restart will fix)
• Tent : "Tent" & "Siesta Lean-To"(but neither Walter's portable nor webber's spiderden QvQ)
more you can comment to me. (but take balance in consideration)
How-To-Make
Stand with "Science Machine" for the first time, and the "Moving Box" will appear in the TOOLS filter column(the second one), also in MOD filter column(the gear icon near the search bar) that can be selected.

Note:
1. This mod is an independent self-contained mod(althourgh it named "Update"), which means you dont need to enable the original mod or any prerequisites.
2. There must be some bugs in mod, please use it in caution.If any bugs appears, you can still use the moving box like the raw-mod-way by: shift+right click to drop the "moving box (full)" from inventory to the ground, then unpack the box using left click. (cause each struct has its own function right? so is a huge work QAQ)
3. ModOption'Up to 1 Box can be picked up' has been added. "Moving Box (Full) could be stored in inventory" breaks/affects the design of the raw mod, in my view, but for easy use with "Geometric Placement" mod and technical reason, i didn't come up with a better idea

移动盒子是一个搬家工具,用于打包已经摆放的建筑物,方便重新放置,功能如上面动图。我在移动盒子的他人更新版本上再做更新,主要有两点
①主要改动:可以把打包后、背在身上的盒子用鼠标拿起来,然后通过使用右键进行“种植”来部署建筑物,此方法配合几何布局mod,从而方便家园党的基地设计
②添加了更多建筑物支持:
• 人物建筑:大力士健身房(空间压缩术XD)、温蒂姐妹骨灰盒、老麦魔术师箱子
• 火堆建筑:火堆&冷火堆&咩咩羊雕像&冰眼结晶器 (熄灭后才可以打包)
• 生物建筑:猪屋&兔屋(打包的时间里恰好猪人从猪屋出来,则这个猪人会卡在后台,重上游戏可解)
• 帐篷建筑:帐篷&遮阳棚(没有 沃尔特的便携式帐篷 和 韦伯的蜘蛛巢)
• 移动科技:暗影术基座&辉煌铁匠铺
其他可以告诉我,别太离谱0.0
如何制作
第一次制作要站在一本科技旁边,“工具栏”最后一个物品即为移动盒子(三个莎草纸+一个蜘蛛网),也可以在制作栏右上、搜索栏后边的齿轮图标找到本mod物品

注意:
1. 本mod是独立mod,也就是仅启用本mod即可,不需要再启动旧版本
2. 个人mod制作出于兴趣,难免存在bug,请谨慎使用,必要时存档备份。如果出现问题,仍可先使用原mod的功能:在物品栏里按shift+右键将盒子丢地上,在地上左键单击盒子解包。(每个建筑功能都不一样,所以工作量其实不小QAQ)
3. 现已添加“背包限存一个”的选项。 打包盒改动影响了原mod的设计,如可以将大量建筑打包后放进背包随用随取……我只是希望能利用几何摆放来布置家、搬家而已,暂时没有想到更好的办法去兼容几何摆放,好在游戏中种植和建筑的放置使用同一套间隔系统。



Update 5: Now the name of the box will reveal what's packed in
更新5:现在,盒子的名称会显示里面装的是什么

Update 4: Added the setting option of 'up to 1 MovingBox(full) can be picked up' and enabled by default
更新4:添加了“背包限存一个满打包盒”的设置选项,并默认开启

Major Update 3: Now, the preview placeholder could be correct by the LAST structure you packed, instead of constant “coldfirepit”.
重要更新3:现在“种植”时显示的建筑占位不再是“冷火堆”,而是实际打包的建筑(这个动态预览图只支持记住最后打包的建筑:(



Major Update 2: Now, the preview plant range could be correct by the LAST structure you packed.
重要更新2:现在“种植”时显示的可种植范围,是由实际打包的建筑摆放范围决定(这个范围预览只支持记住最后打包的建筑:(



更新1:语言本地化,添加了盒子物品的简体中文和繁體中文(機翻);多语言配置&代码优化整理:“娱乐至上”;


BUGFIX7: Placing props and walls can be accurately placed, while other buildings' offset issues are still being resolved...
修复7:放置类道具以及墙类建筑可以被准确放置,其他建筑偏移问题仍在解决。。。

BUGFIX6: packed buildings will NOT spontaneous combust
修复6:打包的建筑物不再自燃

BUGFIX5: fixed crash in detached client and server, (when testing, i'm in client host).
修复5:修复了从带服务器的客户端启动mod后会崩溃的情况,测试mod时位于本地单人存档

BUGFIX4: fixed the possibility that "moving box (full)" could pack another structure.
修复4:修复了满打包盒可以再次进行打包动作的bug.

BUGFIX3: fixed the bug that "moving box (full)" could duplicate in the world position(0, 0) when planting.
修复3:修复了“种植”动作使得打包盒在世界(0, 0)处复制一份的问题.

BUGFIX2: fixed the boxing structures like fence/door to work and show normally
修复2:修复了栅栏类建筑的正确打包和显示

BUGFIX1: fixed the plant range of structures that created by "item" and "kit"
修复1:修复了使用“套装”创建的建筑物,在打包时的范围错误bug
How-To/实现方法:
Update3: server->get_pack_structure->get_placer_name->netvar(string)->client->SpawnFrefab->GetCurrentBank->GetBuild->find_current_animation_by_debugstring->Set_Bank\Build\Animation_by_PostInit
Update2: server->get_pack_structure->get_min_spacing->netvar(float)->client->setDeploySpacing->setDeployMode
BUGFIX4: ACTION is server-ONLY, that means the client never knows what has been packed in it, so all data needed should be transported by netvars(and be short). Instead of global vars, use hooks、networks、netvars、rpcs、ListenForEvent to achieve. (so affects the way of Update2 and Update3)(这几个功能的实现是真麻烦呀QAQ)
132 Comments
UU减速器稳定掉线不连接  [author] 29 Aug @ 10:33am 
:steamhappy:
时光凉 28 Aug @ 10:12pm 
支持
UU减速器稳定掉线不连接  [author] 27 Aug @ 6:56am 
@sun 虽然还有很多小毛病,不过感谢支持~
sun 26 Aug @ 10:12pm 
强迫症用这个mod已经爽死了
6gL12 10 Aug @ 2:19am 
失效了嘛?
UU减速器稳定掉线不连接  [author] 21 Jul @ 3:11am 
@ilbb 没有试出来,我这里还是正常的,原则上在哪里种应该都能打开?
UU减速器稳定掉线不连接  [author] 21 Jul @ 3:10am 
@Start-2U 一直不可以,除非你打开了 允许mod建筑的开关
ilbb 6 Jul @ 6:47pm 
遇到一个bug,打包了一个火坑到奶奶岛,放地上种的时候消失了,然后出现在世界中心位置(目测),还复制了好几个,但是这几个都是打不开的,用t键删掉之后地图上的火坑图标还在
Start-2U 30 Jun @ 3:44am 
目前可以打包远古科技塔,希望能把这个排除去除,伙食增加开关按钮
UU减速器稳定掉线不连接  [author] 23 Jun @ 1:33am 
@MegaTHEshkaF @落雪无痕 @Aspire

我修复了crash的部分,至于为什么回档后会打不开,这里一直复现不出来这个bug,我自己的回档总是好的
I have fixed the crash section, and as for why it won't open after rollback, I can't reproduce this bug here. My own is always good