Project Zomboid

Project Zomboid

Not enough ratings
指路石传送 Waystone Teleport
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
164.482 KB
18 Sep, 2022 @ 1:02am
1 Change Note ( view )

Subscribe to download
指路石传送 Waystone Teleport

Description
新增一个物品:指路石和它的制作配方


你可以通过指路石记录一个主传送点(快乐老家)和最多十个任意传送点,然后在之后传送到这些地方,另外传送走之后还可以回到上一次传走的地点。

传送会花费一些时间,并且任何移动和动作都会打断传送。传回主传送点是最快的,回到上一个地点次之,往记录的十个任意地点传是最慢的。

传送点信息存在玩家对象而不是指路石上,所以任何一枚指路石对玩家都是相同的。

菜单有点小 bug,点击之后不会自动关闭,一些选项有点问题(比如删掉的传送点还在,新增的传送点不会立刻出现在菜单里,需要重新右键指路石刷新菜单)。我实在不想和这个鬼菜单代码搏斗了,文档也找不到,就这样吧,又不是不能用。要是有人修好了这个问题麻烦告诉我一声,我好毛来用,多谢


=================================================================

This mod adds a now item: Waystone, aloneside with recipes to make it.

Waystone allows you to record current position as waypoints, which you can warp to anytime later. You can register 10+1 waypoints, including one Main Waypoint (home sweet home) and 10 Random Waypoints.
If you have teleported away, there's another option you can return to your last coordinate.

Warping will take a while, among which warping to Master Waypoint is fastest, and then returning, finally warping to a Random Waypoint .

Waypoint information stores on player Object not the stone, so every stone are the same to you.

The context menu is a little glitchy, you will need to right click the waystone again to refresh the menu (sometimes it won't shut down after operation). If anyone knows how to close a context menu after its OnClickEvent, please tell me, thanks.


Workshop ID: 2864504657
Mod ID: waystone
16 Comments
Whi-iceberg 15 Aug @ 8:14am 
@胜天半子古尔丹 G.B.F. 还没更新好吗:steamhappy:
秋婵落水 13 Jun @ 7:28pm 
@胜天半子古尔丹 G.B.F. 快端上来吧,单机模式不用平衡,玩得爽才是关键
最近心态爆炸,也没想好上传工坊之后怎么做平衡(毕竟直接传送太强了),拖延症犯了:lunar2019crylaughingpig:,把我搞明白的几个问题先分享一下吧:
- timedaction是有问题的,传送太远会导致传送失败,直接传送会比较好
- 菜单不自动关闭,改成这样就可以了:
======
--local reset = submenu:addOption(getText("IGUI_WAYSTONE_MasterReset"), submenu, nil)
local reset = submenu:addOption(getText("IGUI_WAYSTONE_MasterReset"))
--local resetSub = self.invMenu.context:getNew(self.invMenu.context)
local resetSub = self.invMenu.context:getNew(submenu)
--resetSub:addOption(getText("IGUI_WAYSTONE_MasterResetConfirm"), reset, self.BindMaster, getPlayer())
resetSub:addOption(getText("IGUI_WAYSTONE_MasterResetConfirm"), getPlayer(), self.BindMaster)
--self.invMenu.context:addSubMenu(reset, resetSub)
submenu:addSubMenu(reset, resetSub)
======
CPDSSS  [author] 31 Dec, 2024 @ 6:11pm 
@胜天半子古尔丹
好,交给你了
胜天半子古尔丹 G.B.F. 25 Dec, 2024 @ 10:28am 
大佬,请问还更新吗?我挺喜欢这个mod的功能,如果你暂时没有精力更新的话,我可以传个新版本到工坊吗?
shangjiaxuan 8 Aug, 2023 @ 10:31pm 
看起来最新版本游戏不知道为什么主传送点之外的点如果太远会传送失败。根据调试的猜想是主传送点一般有玩家建筑所以一直在内存,而出去的情况一般不在。TimedAction可能有超时或者加载区块的特殊处理。代码改成直接SetX而不是timedaction就能传送,TimedAction太远并且没怎么去过似乎就传送不了。测试和中间等待的时长无关,类型和输入都是对的。
Dragontamer997 22 Feb, 2023 @ 7:41pm 
I keep getting the same bug as Tranquil. It would teleport me to my main waypoint for a few minutes after I start, but then would only teleport me to a couple spaces up from where I was standing.
Killergoonie 11 Jan, 2023 @ 11:13pm 
I'm also getting the same bug where it teleports me either to the same spot or a little further up. I'm also playing solo. It seems to be able to teleport me back to the main waypoint but only for a few mins before it stops and starts not teleporting me at all.
CPDSSS  [author] 12 Dec, 2022 @ 8:08am 
@NiMSiM If you're playing multiplayer, check your server's Anti-cheat option (I said #3 before but after some document searching it says #2 instead).
CPDSSS  [author] 12 Dec, 2022 @ 8:06am 
@秋水林月 我在单机档测试了一下,传送还是可以用的。在多人档/服务器用需要取消反作弊选项。
你需要找到你的服务器设置文件 ini ,拉到最底下,找到 AntiCheatProtectionType 那一坨,把 Type2 置为 false (我一开始记成 3 了,不过后来查了一下大概是 2,你可以试试)。
这游戏服务器有速度检测,移动太快(TP当然算)会把你扔回原来的位置