The Riftbreaker 银河破裂者

The Riftbreaker 银河破裂者

Entity Patcher
Claus  [开发者] 9 月 15 日 下午 2:34
Tables
Input

two table style, apply changes to all blueprints.
local blueprints = { "buildings/resources/pipe_connector_t", "buildings/resources/pipe_connector_x", "buildings/resources/pipe_corner", "buildings/resources/pipe_ground", "buildings/resources/pipe_straight", "buildings/resources/pipe_straight_windowless" } local blueprint_components = { ["BuildingDesc"] = { ["radius_name"] = "pipeline", ["min_radius"] = "0", ["min_radius_effect"] = "voice_over/announcement/building_too_close" } } edu:Applpy(blueprints, blueprint_components)

single blueprint style individual edit for each blueprint
local overrides_hash = { CalcHash( "wall" ), CalcHash( "tower" ) } local table = { ["buildings/defense/repair_facility"] = { ["BuildingDesc"] = { type = "tower", overrides = overrides_hash }, ["HealthDesc"] = { max_health = "600", health = "600" } }, ["buildings/defense/repair_facility_lvl_2"] = { ["BuildingDesc"] = { type = "tower", overrides = overrides_hash }, ["HealthDesc"] = { max_health = "850", health = "850" } }, ["buildings/defense/repair_facility_lvl_3"] = { ["BuildingDesc"] = { type = "tower", overrides = overrides_hash }, ["HealthDesc"] = { max_health = "1100", health = "1100" } } } edu:Apply(table)
最后由 Claus 编辑于; 9 月 15 日 下午 2:44
< >
正在显示第 1 - 4 条,共 4 条留言
Claus  [开发者] 9 月 15 日 下午 6:06 
EffectDesc component table format using "lamp" as id to find the group then apply changes on that group the inner Effects has to be own table with all fields wanted to edit.
["EffectDesc"] = { ["lamp"] = { ["enabled"] = "0", ["Effects"] = { ["blueprint"] = "effects/buildings_and_machines/tower_omni_light" } }, }
can also put group = "something", if want to change from name lamp
最后由 Claus 编辑于; 9 月 15 日 下午 6:07
Claus  [开发者] 9 月 26 日 下午 8:20 
Single table, with vector3 type field, order of variable - any. Database fields is guarded by type
local value = 36 local scale_value = 8.2 local patch = { ["buildings/main/cryo_station"] = { ["LuaComponent"] = { ["database"] = { ["float"] = { range = value } } }, ["FogOfWarRevealerComponent"] = { radius = value } }, ["effects/buildings_main/cryo_station_energy"] = { ["GridMarkerComponent"] = { extend = value }, ["DecalComponent"] = { scale = { x = scale_value, y = scale_value, z = scale_value } } } }
最后由 Claus 编辑于; 9 月 26 日 下午 8:23
Claus  [开发者] 9 月 30 日 下午 8:20 
WeaponItemDesc example, min_value, max_value, default all can be changed as well
local weapon_bp_base = { "items/weapons/bouncing_blades_item", "items/weapons/sniper_rifle_item", "items/weapons/burst_rifle_item", "items/weapons/semi_auto_item", "items/weapons/shotgun_item" } local map = { ["WeaponItemDesc"] = { ["stat_def_vec"] = { ["DAMAGE_OVER_TIME"] = { ["stat_features"] = "BASE_MINMAX|MODABLE", ["stat_type"] = "DAMAGE_OVER_TIME" } } } }

Note: to set stat_features and stat_type they have to exist
Claus  [开发者] 10 月 1 日 下午 10:22 
Extra fields for tables
["WeaponItemDesc"] = { ["stat_def_vec"] = { ["FIRE_RATE"] = { ["min=max"] = "", ["default=max"] = "" }, ["FIRE_PER_BURST"] = { ["min=max"] = "", ["default=max"] = "" }, ["FIRE_PER_SHOT"] = { ["min=max"] = "", ["default=max"] = "" }, ["DAMAGE_VALUE"] = { ["min=max"] = "", ["default=max"] = "" }, ["DAMAGE_SPREAD"] = { ["min=max"] = "", ["default=max"] = "" }, ["DAMAGE_CRITICAL_CHANCE"] = { ["min=max"] = "", ["default=max"] = "" }, ["DAMAGE_OVER_TIME"] = { ["min=max"] = "", ["default=max"] = "" }, ["DAMAGE_SPLASH"] = { ["min=max"] = "", ["default=max"] = "" }, ["DAMAGE_LIFESTEAL"] = { ["min=max"] = "", ["default=max"] = "" }, ["DAMAGE_PENETRATION"] = { ["min=max"] = "", ["default=max"] = "" }, ["AMMO_STUN"] = { ["min=max"] = "", ["default=max"] = "" }, ["AMMO_COST"] = { ["min=max"] = "", ["default=max"] = "" }, ["AMMO_AUTOAIM"] = { ["min=max"] = "", ["default=max"] = "" }, ["AMMO_CLUSTER"] = { ["min=max"] = "", ["default=max"] = "" }, ["AMMO_ANGLE_SPEED"] = { ["min=max"] = "", ["default=max"] = "" }, ["BEAM_RANGE"] = { ["min=max"] = "", ["default=max"] = "" }, } }

The above table has fields that does not exist but when read they will do operations

other fields of same type is
mm* -- mult both fields with same value mm- -- desc both fields with same value mm= -- set both fields at same time mm+ -- add both fields with same value default* -- mult field with value default- -- desc field with same value default+ -- add field with value -- used for setting new items default0= -- will set value if field value is 0, mm0= -- will set values to field value is 0 (type str, split by '|')

There is other fields was well on health2, set both max_health and health
heath* health- health/ health+
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50