2.4杂项
未列出的文件夹内文件为无关主要修改内容的文件
X:\Factorio\data\base\prototypes\entity\demo-doodads.lua
装饰品,珊瑚,绒毛,星点等
X:\Factorio\data\base\prototypes\entity\demo-projectiles.lua
虫族的唾#液,
acceleration = 0.005,(加速度)
damage = {amount = 10, type = "acid"}(伤害数值,伤害类型)
X:\Factorio\data\base\prototypes\entity\demo-particles.lua
碎屑,挖矿时周围掉落的沫,与弹壳类似
X:\Factorio\data\base\prototypes\entity\demo-remnants.lua
残骸
time_before_removed = 60 * 60 * 15, -- 15 minutes(存在时间,修改后两个数字同步即可)
:\Factorio\data\base\prototypes\entity\demo-trees.lua
树,可以修改树的HP,开采速度,开采量,图样等等
2.5 炮塔含虫族攻击单位
X:\Factorio\data\base\prototypes\entity\demo-turrets.lua
name = "small-worm-turret",(小型虫族炮塔 NPC)
max_health = 200,(生命值)
……
healing_per_tick = 0.01,(生命恢复速度)
……
folded_speed = 0.01,(伸缩头速度1)
……
prepare_range = 25,(视野)
preparing_speed = 0.025,(开始准备时间)
preparing_animation = small_worm_preparing,(动画效果)
prepared_speed = 0.015,(准备完成时间)
……
starting_attack_speed = 0.03,(开始攻击速度)
starting_attack_animation = small_worm_starting_attack,(动画效果)
ending_attack_speed = 0.03,(结束攻击速度)
……
folding_speed = 0.015,(伸缩头速度2)
……
ammo_category = "bullet",(发射物效果)
cooldown = 15,(冷却时间)
range = 17,(射程)
projectile_creation_distance = 1.8,(子弹被发射的初始距离)
……
starting_speed = 0.5(发射物速度)
……
name = "gun-turret",(机枪炮塔)
……
max_health = 200,(HP)
……
rotation_speed = 0.015,(转速)
preparing_speed = 0.08,(准备攻击速度)
folding_speed = 0.08,(伸缩头速度)
dying_explosion = "huge-explosion",(爆炸效果)
inventory_size = 1,(弹药仓格数)
automated_ammo_count = 10,(自动装弹发数,打出多少发后装弹)
……
ammo_category = "bullet",(弹药效果)
cooldown = 6,(冷却时间)
……
name = "shell-particle",(散落在周围的弹壳数据)
direction_deviation = 0.1,
speed = 0.1,
speed_deviation = 0.03,
center = {0, 0.6},
creation_distance = 0.6,
starting_frame_speed = 0.2,
starting_frame_speed_deviation = 0.1
},
range = 17,(攻击范围)
name = "small-worm-corpse",(小型虫族尸体 可以修改动画速度,动画效果,等等)
X:\Factorio\data\base\prototypes\entity\turrets.lua
name = "medium-worm-turret",(中型虫族炮塔 NPC)
name = "big-worm-turret",(大型虫族炮塔)
大部分同小型虫族炮塔条目
特有条目
resistances =(抗性,参照前面能源装甲注释)
{
{
type = "physical",
decrease = 4,
},
{
type = "explosion",
decrease = 5,
percent = 15,
……
rotation_speed = 1,(转速)
……
ammo_category = "rocket",(发射物种类)
cooldown = 100,冷却
range = 20,(距离)
projectile_creation_distance = 1.9,(发射物起始距离)
damage_modifier = 3,(伤害倍数)
name = "laser-turret",(激光炮塔 重要)
大多同普通机枪炮塔,没有弹药仓
特有条目
energy_consumption = "1kJ",(发射炮弹的能量消耗)
……
type = "projectile",
projectile = "laser",
starting_speed = 0.28(子弹速度)
……
buffer_capacity = "200kJ",(炮塔能储存的电量)
input_flow_limit = "100kW",(充电速度)
drain = "6kW",(待机消耗)
……
ammo_category = "electric",(弹药效果)
cooldown = 20,(冷却)
damage = 2,(伤害)
damage_modifier = 2,(伤害倍数,这里是我自己添加,本身没有倍数)
projectile_center = {0, 0},
projectile_creation_distance = 0.6,
range = 100,(射程)
sound =
name = "medium-worm-corpse",(中型虫族炮塔尸体)
name = "big-worm-corpse",(大型虫族炮塔尸体)
同小型虫族炮塔尸体
更多相关内容请关注:异星工厂专题