要使炮塔确定要攻击哪些玩家,需要安装我的另一个模组 Factions Proper。
由于炮塔是一个方块(BLOCK)而非实体(ENTITY),因此它可以与 Valkyrien Skies 的飞船兼容。
本模组添加了一个专为飞艇船长和基地建造者设计的炮塔方块。与其他基于实体的炮塔模组不同,后者可能会在移动平台上出现穿模问题,本炮塔作为一个固化的方块实体,能够与 Valkyrien Skies 飞船完美同步。它集成了 Factions Proper 模组,确保炮塔只向你指定的目标开火。
炮塔需要持续的红石信号才能保持激活状态。通电时,其内部核心会发出红光(使方块呈现亮红色);断电后,它会立即关闭(使方块恢复暗色)。
该方块默认拥有 100 点生命值(HP)。它可能会受到敌方投射物或近战武器的伤害。当生命值耗尽时,它会爆炸但不会造成方块破坏。你可以在图形用户界面(GUI)中查看其生命值。
你可以通过 GUI 自定义炮塔将谁视为威胁。以下选项取决于是否安装了 Factions Proper 模组:
- 怪物 (Monsters):攻击任何标准敌对生物。
- 中立 (Neutral):攻击处于“中立”状态的阵营中的玩家。
- 敌人 (Enemy):攻击明确标记为“敌人”的阵营中的玩家。
- 无阵营 (Stateless):攻击不属于任何阵营的玩家。
- 盟友 (Ally):攻击友方阵营。(此选项默认关闭,因为向朋友开火通常是个坏主意)。
炮塔永远不会攻击其所有者或同一阵营内的任何其他玩家。此外,它还编程为忽略创造模式或旁观模式下的任何人,以防止不必要的开火。
右键点击炮塔可打开弹药 GUI。此窗口包含一个 3×3 网格,你可以存储最多 9 组弹药。示例截图已发布在模组页面中。
该炮塔与多个流行模组兼容,并以“防空”速度发射它们的弹药(弹道更平直、速度更快):
- Minecraft 原版箭矢
- 骨箭:(Primitive Start 模组)
- 基础子弹:(MrCrayfish’s Gun Mod 模组)
- 高级子弹:(MrCrayfish’s Gun Mod 模组)
你阵营内的玩家可以更改炮塔的瞄准设置。任何阵营的玩家或无阵营玩家都可以打开炮塔的库存。
REQUIRES my other mod Factions Proper for the turret to determine which players to target with the turret.
As the turret is a BLOCK and not an ENTITY, it works on Valkryien Skies ships.
This mod adds a turret block designed specifically for the needs of airship captains and base builders. Unlike other entity-based turret mods that can glitch through moving platforms, this turret is a solid block entity that stays perfectly synced with Valkyrien Skies ships. It integrates with the Factions Proper mod to ensure it only fires on the people you actually want it to hit.
The turret requires a constant redstone signal to stay active. When powered, its internal core glows red (making the block appear bright red); when the power is cut, it shuts down immediately (making the block appear dark again).
The block has 100 HP by default. It can be damaged by enemy projectiles or melee weapons. When it runs out of HP, it blows up but does not cause block damage. You can see the HP in the GUI.
You can customize exactly who the turret perceives as a threat through its GUI. The options below depend on the Factions Proper mod.
Monsters: Targets any standard hostile mob.
Neutral: Targets players in factions with "Neutral" status.
Enemy: Targets players in factions explicitly marked as "Enemy".
Stateless: Targets players who are not in a faction.
Ally: Targets allied factions. (This is off by default, because shooting your friends is usually a bad idea).
The turret will never target its owner or any player in the owner's same faction. It is also programmed to ignore anyone in Creative or Spectator mode to prevent unnecessary fire.
Right-clicking the turret opens the Ammunition GUI. This window features a 3×3 grid where you can store up to 9 stacks of ammunition. Screenshot posted in the mod page for example.
The turret is compatible with several popular mods and fires them at an "Anti-Air" velocity (flatter trajectory and high speed):
Vanilla Minecraft Arrows
Bone Arrows: (Primitive Start mod)
Basic Bullets: (MrCrayfish’s Gun Mod)
Advanced Bullets: (MrCrayfish’s Gun Mod)
Players within your faction can change the targeting settings of the turret. Anyone on any faction or a stateless player can open the turret's inventory.
评论 0
登录后参与评分
还没有评论,来抢沙发吧