当时我闲得发慌,就开始着手制作这个模组;一年后我又闲得发慌,于是把它完成了。
这是我尝试在 Minecraft 中实现立体机动装置的成果。
这个模组看起来似乎平平无奇,但我确实投入了不少心血:它包含了一套完全可用的双持系统(无需任何核心模组修改)、饰品渲染系统以及一些存在缺陷的向量数学运算。
如果你对它的实现原理感兴趣,或者你认为有改进的空间,该代码完全开源,可以通过点击上方横幅中的“source”链接在 GitHub 上找到。
使用方法:
本模组需要 Azanor 制作的 Baubles 模组。开始之前,首先合成一套立体机动装置和一个立体机动装置手柄。立体机动装置装备在腰带槽位中,而手柄用于操作它——你会注意到它是双持的。从 Minecraft 1.9.4 及更高版本开始,你需要在每只手中各装备一个手柄。
左键点击操作左侧手柄,右键点击操作右侧手柄,这不难理解。普通点击会挥动相应的武器,但不会造成任何伤害!没错,你首先必须将刀刃装入手柄。你可以从枪套中将刀刃装备到手柄上。你可以直观地看到每个枪套中还剩多少把刀刃,并且也有工具提示。
要从枪套中装备刀刃,请按住 Ctrl + 点击(左键对应左侧手柄/枪套,右键对应右侧)。
你可能会问,我该如何把刀刃放进枪套里呢?合成几把刀刃,然后手持刀刃右键点击可将它们放入右侧枪套,按住 Shift 并右键点击则可将其放入左侧枪套。是的,你可以用裸刃攻击敌人,但你可能会割伤自己。
好了,现在你已经掌握了如何装备刀刃并进行攻击,让我们谈谈如何使用立体机动装置。按住 Shift + 点击可发射抓钩(同样,左键点击左侧,右键点击右侧),随后的 Shift + 点击会立即收回对应的抓钩。
通过按住快捷键(默认:左侧为 'z',右侧为 'x'),可以开始收卷抓钩(并将你拉向已钩住的抓钩)。
基本上这就是立体机动装置的使用方法。哦对了,我忘了说,当你穿着立体机动装置时,按住 Shift 并按住空格键,你将不是跳跃,而是从背后的喷嘴喷出气体,从而有效地将你推向面朝的方向。
附注:你会受到坠落伤害,而且很多,这就是为什么有特殊的冲击缓冲靴来减少坠落伤害的原因。当然,你也可以使用其他方法来防止坠落伤害……
So I was bored and started working on this, one year later I was bored again and finished it.
This is my attempt on creating 3D maneuver gear in Minecraft,
This mod doesn't seem like much, but I've put quite some effort in it, it has a fully functional dual wielding system (without any coremodding), bauble rendering system and some flawed vector math.
If you're interested on how it's done, or you think you know how to improve it, the code is fully Open Source and can be found on GitHub by clicking on 'source' on the banner above.
How to Use:
This mod requires Baubles by Azanor, to get started, first craft a set of Maneuver Gear and a Maneuver Gear handle. The maneuver gear is equipped in the belt slot and the handle is used to operate it, you'll notice that it is dual wielded. From Minecraft 1.9.4 and onwards, you need to equip one handle in each hand.
left clicking operates the left handle, right clicking the right, not difficult to understand. Regular click swings the respective weapon, but it doesn't do any damage! That's right, you first have to equip a blade into the handle. Blades can be equipped on the handle by equipping them from your holster. You can visually see how many blades you have left in each holster and there is a tooltip as well.
To equip a blade from the holster ctrl + click (left for left handle/holster, right click for the right).
How do I get blades in my holster you ask? Craft a couple, and right click with a blade in your hand to put them in the right holster and shift-right click to put them in the left holster. Yes you can hit enemies with a bare blade, but you'll probably cut yourself.
Okay, now that you've got down how to equip blades and attack, let's talk about actually using the maneuver gear. Shift + click launches a grapple (again, left click the left and right click the right), a subsequent shift + click instantly retracts the corresponding grapple.
It is possible to start reeling in a grapple (and pulling yourself towards the hooked grapple) by holding the hotkey (default: 'z' for left and 'x' for right).
And that's basicly how to use the maneuver gear. Oh right I forgot, while wearing the maneuver gear, while holding shift and pressing space, instead of jumping you will vent gas out the nozzle on your back effectively trusting you in the direction you are facing.
P.S. You will take fall damage, a lot, that's why there is special impact compensating boots to reduce fall damage. Or you could use something else to prevent fall damage of course...
评论 0
登录后参与评分
还没有评论,来抢沙发吧