分类分类
关注+2018-02-05作者:佚名
枪械:
X:\Factorio\data\base\prototypes\item\gun.lua
查找如下字符串
name = "railgun",
找到如下段落
{
type = "gun",
name = "railgun",
icon = "__base__/graphics/icons/railgun.png",
flags = {"goes-to-main-inventory"},
subgroup = "gun",
order = "c[railgun]",
attack_parameters =
{
ammo_category = "railgun",
cooldown = 2 * 60,(冷却时间
movement_slow_down_factor = 0.6,(攻击中移动速度倍率
projectile_creation_distance = 0.6,(弹药开始攻击的距离
range = 20,(最大攻击范围,与弹药距离不冲突,弹药中的为弹药长度与宽度,这里是鼠标指示位置在距离人物多远可以发射
sound =
{
{
filename = "__base__/sound/railgun.wav",
volume = 0.8(音量
}
}
},
stack_size = 4(堆叠数量
}
}
相关文章
更多+相同厂商
热门推荐
点击查看更多
点击查看更多
点击查看更多
说两句网友评论