Shots Fired 为 TACZ 武器添加了弹壳掉落。开枪后,会获得一个空弹壳。
感谢让本模组得以实现的人们:
MarbledNull: 指导我完成了模组制作的基础入门。
Corrinedev/jeducklet: 编写了本模组超过一半的核心系统,并在每一步都给予了我坚定的支持。
没有你们的支持我无法完成这项工作。请去 这里 和 这里 看看他们的项目。他们目前正在开发一些非常酷的项目,如果方便的话,加入他们的 Discord 服务器一探究竟吧。
教程与说明。
(顺便提一下,大家如果没看明白的话,这个模组必须安装 TACZ 才能生效,所以请务必确保已安装。)
Shots Fired 为 TACZ 武器添加了弹壳掉落。开枪后,会获得一个空弹壳。目前,这些弹壳还没有对应的物品形态或用途。这类默认配置将由我尚未发布的另一个模组 Create: Mass Munitions 添加,这是一个面向所有枪械模组的 Create 自动化模组。在此期间,请使用我们的配置文件来添加你自己的物品。
如何使用 Shots Fired:
由于 S-F 目前仅支持 TACZ,本迷你教程将仅解释 TACZ 的工作原理以及如何配置以使模组按你的喜好运行。
所有 TACZ 枪械在 Forge 中都是同一个物品。它们通过 NBT 数据区分。当我提到“gunId”时,我指的并不是字面上的 itemId(即 tacz:modern_kinetic_weapon),而是 TACZ 自定义的 NBT 标签“GunId”,在我们的代码中以常规风格格式表示为“gunId”。如果你没看懂这一点,别担心,重要的内容在本段之后,你也可以通过我的 Discord 获取支持。
本模组依赖两个重要的配置项。
第一个配置项用于界定 TACZ 的 gunId 数据和开火时掉落的 Forge 物品,格式为 "tacz:yourGunIdnbtdatahere"|"forge:itemid"。实际操作中看起来像这样:"tacz:glock_17|minecraft:apple"。
第二个配置项指定了弹壳从枪口抛出的方式。你可以控制弹壳在三个方向上的位移,旋转其轨迹在所有三个轴向上,以及调整其力度。我计划在未来重新实现“isRight”功能,允许你镜像弹壳抛出方向,使其向左而非向右飞出,以防你使用的是左手持握的枪械。
我建议使用 KubeJS 的 /kubejs hand 命令来获取你手中物品的完整 NBT 数据,这样可以极其轻松地获取枪械的 NBT 数据。因此,向配置中添加武器会变得容易得多。
本模组的高度可配置性使其成为模组包创作者的有力工具,他们可以利用它为玩家提供更沉浸式的体验。玩家本身也没有被遗忘,我们正在积极开发一个完整的装填/回收系统,用于处理空弹壳,并提供符合版权法的正确 3D 模型(不幸的是,我的一些竞争对手的模型违反了版权法),Shots Fired 将原生支持该系统。
Shots Fired adds casing drops to tacz weapons. Shoot a gun, get an empty casing.
A THANK YOU TO THE PEOPLE WHO MADE THIS MOD POSSIBLE:
MarbledNull: Coached me through the very basics of modding.
Corrinedev/jeducklet: Wrote more than half of the core systems of this mod, and had my back every step of the way.
Couldn't have done it without you guys. Go check them out here and here. They're both in the midst of developing some very cool projects, so join their Discords and take a peek if you can.
Tutorial and Explanation.
(By the way folks, if it's not clear, this mod does require tacz to do anything, so make sure you have it installed.)
Shots Fired adds casing drops to tacz weapons. Shoot a gun, get an empty casing. Currently, there are no casing items or uses for these items. Such default configuration will be added by a yet unreleased mod of mine called Create: Mass Munitions, an Create automation mod for all the gun mods. In the mean time, use our config to add your own items.
How to use Shots Fired:
As S-F currently only supports tacz, this mini tutorial will only explain how tacz works and what to do to get the mod functioning to your liking with it.
All tacz guns are the same forge item. They are seperated by their nbt. When I refer to "gunId" I do NOT mean the literal itemId, which would be tacz:modern_kinetic_weapon. I mean tacz's custom nbt called "GunId," represented in our code by "gunId" per normal style formatting. If you didn't understand that, don't worry, the important stuff is after this paragraph and I'm available for support through my discord.
There are 2 important configs that this mod relies on.
The first simply delineates tacz's gunId data and the forge item that is dropped when the gun is fired in the form "tacz:yourGunIdnbtdatahere"|"forge:itemid". In practice this looks like "tacz:glock_17|minecraft:apple".
The second specifies how these casings should be ejection from the gun. You can control the casing's displacement in all three directions and rotate its arc on all three axis's, as well as adjust its power. I plan to some point re-implement the "isRight" feature where you are able to mirror casing ejection such they fly to the left instead of the right, in case you're using a left handed gun.
I recommend using KubeJS's "/kubejs hand" command to get the full nbt of the item you're holding as it makes it trivially easy to get the nbt of your gun. As such it makes it far easier to add weapons to the config.
The full configurability of this mod makes it a powerful tool for modpack creators who are looking to provide a more immersive experience for their players. Players themselves haven't been forgotten either, active development is underway for a full reloading / recycling system for empty casings with proper 3d models (that don't violate copyright law like a couple of my competitors unfortunately do) that Shots Fired will natively support.
下载 Shots Fired
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shots Fired
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shots Fired
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shots Fired
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shots Fired
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shots Fired
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shots Fired
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shots Fired
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 0.2.4 版本覆盖了旧版内容,实质上导致 0.2.3 的所有内容被删除。此热修复已恢复相关内容。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
评论 0
登录后参与评分
还没有评论,来抢沙发吧