钢铁雄心4增加工厂事件修改范例
时间:2016-06-13 14:34:33 来源:52pcgame 作者:cuthbert 热度: 720 次
《钢铁雄心4》中我们可以通过控制台和自己修改的事件文档来创造一个事件,这里就提供一个用来增加工厂的事件案例,可以参考学习使用。
country_event = {
id = "political.91"
title = "infrastructure"
desc = "infrastructure"
is_triggered_only = yes
这个选项是加基础建设用的,核心省份都会加满交通防空和机场,不溢出
option = {
name = "infrastructure"
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = infrastructure
size > 0
}
}
add_building_construction = {
type = infrastructure
level = 1
instant_build = yes
}
}
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = anti_air_building
size > 0
}
}
add_building_construction = {
type = anti_air_building
level = 1
instant_build = yes
}
}
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = air_base
size > 0
}
}
add_building_construction = {
type = air_base
level = 1
instant_build = yes
}
}
}
这个选项是加科技用的(注意使用的时候先研究其他的战术,把已有的战术删掉,战术陆军是第1个,海军是第3个,空军是第3个,还有最好关掉电脑声音),工业加满,电子加满,jet和核弹加到43年,各种战术加满,兵器加到1940年,装甲武器机械化加到41年
option = {
name = "set_technology"
#industry
set_technology = { basic_machine_tools = 1 }
set_technology = { improved_machine_tools = 1 }
set_technology = { advanced_machine_tools = 1 }
set_technology = { assembly_line_production = 1 }
set_technology = { streamlined_line = 1 }
set_technology = { concentrated_industry = 1 }
set_technology = { concentrated_industry2 = 1 }
set_technology = { concentrated_industry3 = 1 }
set_technology = { concentrated_industry4 = 1 }
set_technology = { concentrated_industry5 = 1 }
set_technology = { construction1 = 1 }
set_technology = { construction2 = 1 }
set_technology = { construction3 = 1 }
set_technology = { construction4 = 1 }
set_technology = { construction5 = 1 }
set_technology = { excavation1 = 1 }
set_technology = { excavation2 = 1 }
set_technology = { excavation3 = 1 }
set_technology = { excavation4 = 1 }
set_technology = { excavation5 = 1 }
set_technology = { synth_oil_experiments = 1 }
set_technology = { oil_plant = 1 }
set_technology = { improved_oil_plant = 1 }
set_technology = { advanced_oil_plant = 1 }
#electronic_mechanical_engineering
set_technology = { electronic_mechanical_engineering = 1 }
set_technology = { radio = 1 }
set_technology = { radio_detection = 1 }
set_technology = { decimetric_radar = 1 }
set_technology = { improved_decimetric_radar = 1 }
set_technology = { centimetric_radar = 1 }
set_technology = { improved_centimetric_radar = 1 }
set_technology = { advanced_centimetric_radar = 1 }
set_technology = { mechanical_computing = 1 }
set_technology = { computing_machine = 1 }
set_technology = { improved_computing_machine = 1 }
set_technology = { advanced_computing_machine = 1 }
set_technology = { basic_encryption = 1 }
set_technology = { improved_encryption = 1 }
set_technology = { advanced_encryption = 1 }
set_technology = { basic_decryption = 1 }
set_technology = { improved_decryption = 1 }
set_technology = { advanced_decryption = 1 }
set_technology = { experimental_rockets = 1 }
set_technology = { atomic_research = 1 }
set_technology = { nuclear_reactor = 1 }
#air_doctrine
set_technology = { force_rotation = 1 }
set_technology = { fighter_baiting = 1 }
set_technology = { low_echelon_support = 1 }
set_technology = { dispersed_fighting = 1 }
set_technology = { operational_destruction = 1 }
set_technology = { fighter_veteran_initiative = 1 }
set_technology = { naval_strike_torpedo_tactics_oi = 1 }
set_technology = { cas_veteran_initiative = 1 }
set_technology = { carousel_bombing = 1 }
set_technology = { infiltration_bombing = 1 }
set_technology = { air_skirmish = 1 }
set_technology = { high_level_bombing = 1 }
#air_techs
set_technology = { early_fighter = 1 }
set_technology = { cv_early_fighter = 1 }
set_technology = { fighter1 = 1 }
set_technology = { cv_fighter1 = 1 }
set_technology = { fighter2 = 1 }
set_technology = { cv_fighter2 = 1 }
set_technology = { CAS1 = 1 }
set_technology = { cv_CAS1 = 1 }
set_technology = { CAS2 = 1 }
set_technology = { cv_CAS2 = 1 }
set_technology = { naval_bomber1 = 1 }
set_technology = { cv_naval_bomber1 = 1 }
set_technology = { naval_bomber2 = 1 }
set_technology = { cv_naval_bomber2 = 1 }
set_technology = { early_bomber = 1 }
set_technology = { heavy_fighter1 = 1 }
set_technology = { heavy_fighter2 = 1 }
set_technology = { tactical_bomber1 = 1 }
set_technology = { tactical_bomber2 = 1 }
set_technology = { strategic_bomber1 = 1 }
set_technology = { strategic_bomber2 = 1 }
#naval_doctrine
set_technology = { base_strike = 1 }
set_technology = { carrier_primacy = 1 }
set_technology = { carrier_task_forces = 1 }
set_technology = { floating_airfield_bs = 1 }
set_technology = { massed_strikes = 1 }
set_technology = { floating_fortress_bs = 1 }
set_technology = { carrier_battlegroups = 1 }
set_technology = { submarine_operations_bs = 1 }
set_technology = { undersea_blockade_bs = 1 }
set_technology = { convoy_interdiction_bs = 1 }
set_technology = { submarine_offensive_bs = 1 }
set_technology = { convoy_escorts_bs = 1 }
set_technology = { escort_patrols = 1 }
set_technology = { convoy_sailing_bs = 1 }
set_technology = { integrated_convoy_defence_bs = 1 }
#naval
set_technology = { early_destroyer = 1 }
set_technology = { basic_destroyer = 1 }
set_technology = { improved_destroyer = 1 }
set_technology = { early_light_cruiser = 1 }
set_technology = { basic_light_cruiser = 1 }
set_technology = { improved_light_cruiser = 1 }
set_technology = { early_heavy_cruiser = 1 }
set_technology = { basic_heavy_cruiser = 1 }
set_technology = { improved_heavy_cruiser = 1 }
set_technology = { early_battlecruiser = 1 }
set_technology = { basic_battlecruiser = 1 }
set_technology = { early_battleship = 1 }
set_technology = { basic_battleship = 1 }
set_technology = { improved_battleship = 1 }
set_technology = { heavy_battleship = 1 }
set_technology = { transport = 1 }
set_technology = { landing_craft = 1 }
set_technology = { early_carrier = 1 }
set_technology = { basic_carrier = 1 }
set_technology = { improved_carrier = 1 }
set_technology = { early_submarine = 1 }
set_technology = { basic_submarine = 1 }
set_technology = { improved_submarine = 1 }
#land_doctrine
set_technology = { mobile_warfare = 1 }
set_technology = { delay = 1 }
set_technology = { elastic_defence = 1 }
set_technology = { mobile_infantry = 1 }
set_technology = { mass_motorization = 1 }
set_technology = { mechanised_offensive = 1 }
set_technology = { kampfgruppe = 1 }
set_technology = { firebrigades = 1 }
set_technology = { backhand_blow = 1 }
set_technology = { modern_blitzkrieg = 1 }
#artillery
set_technology = { gw_artillery = 1 }
set_technology = { interwar_artillery = 1 }
set_technology = { artillery1 = 1 }
set_technology = { artillery2 = 1 }
set_technology = { rocket_artillery = 1 }
set_technology = { interwar_antiair = 1 }
set_technology = { antiair1 = 1 }
set_technology = { antiair2 = 1 }
set_technology = { interwar_antitank = 1 }
set_technology = { antitank1 = 1 }
set_technology = { antitank2 = 1 }
#armor
set_technology = { gwtank = 1 }
set_technology = { basic_light_tank = 1 }
set_technology = { basic_light_td = 1 }
set_technology = { basic_light_art = 1 }
set_technology = { basic_light_spaa = 1 }
set_technology = { improved_light_tank = 1 }
set_technology = { improved_light_td = 1 }
set_technology = { improved_light_art = 1 }
set_technology = { improved_light_spaa = 1 }
set_technology = { advanced_light_tank = 1 }
set_technology = { advanced_light_td = 1 }
set_technology = { advanced_light_art = 1 }
set_technology = { advanced_light_spaa = 1 }
set_technology = { basic_medium_tank = 1 }
set_technology = { basic_medium_td = 1 }
set_technology = { basic_medium_art = 1 }
set_technology = { basic_medium_spaa = 1 }
set_technology = { improved_medium_tank = 1 }
set_technology = { improved_medium_td = 1 }
set_technology = { improved_medium_art = 1 }
set_technology = { improved_medium_spaa = 1 }
set_technology = { basic_heavy_tank = 1 }
set_technology = { basic_heavy_td = 1 }
set_technology = { basic_heavy_art = 1 }
set_technology = { basic_heavy_spaa = 1 }
set_technology = { improved_heavy_tank = 1 }
set_technology = { improved_heavy_td = 1 }
set_technology = { improved_heavy_art = 1 }
set_technology = { improved_heavy_spaa = 1 }
#support
set_technology = { tech_support = 1 }
set_technology = { tech_engineers = 1 }
set_technology = { tech_engineers2 = 1 }
set_technology = { tech_recon = 1 }
set_technology = { tech_recon2 = 1 }
set_technology = { tech_military_police = 1 }
set_technology = { tech_military_police2 = 1 }
set_technology = { tech_maintenance_company = 1 }
set_technology = { tech_maintenance_company2 = 1 }
set_technology = { tech_field_hospital = 1 }
set_technology = { tech_field_hospital2 = 1 }
set_technology = { tech_logistics_company = 1 }
set_technology = { tech_logistics_company2 = 1 }
set_technology = { tech_signal_company = 1 }
set_technology = { tech_signal_company2 = 1 }
#infantry
set_technology = { infantry_weapons = 1 }
set_technology = { infantry_weapons1 = 1 }
set_technology = { infantry_weapons2 = 1 }
set_technology = { improved_infantry_weapons = 1 }
set_technology = { improved_infantry_weapons_2 = 1 }
set_technology = { support_weapons = 1 }
set_technology = { support_weapons2 = 1 }
set_technology = { support_weapons3 = 1 }
set_technology = { motorised_infantry = 1 }
set_technology = { motorized_rocket_unit = 1 }
set_technology = { mechanised_infantry = 1 }
set_technology = { marines = 1 }
set_technology = { marines2 = 1 }
set_technology = { tech_mountaineers = 1 }
set_technology = { tech_mountaineers2 = 1 }
set_technology = { paratroopers = 1 }
set_technology = { paratroopers2 = 1 }
}
设定科技格子用的,设定为6格
option = {
name = "set_research_slots"
set_research_slots = 6
}
}
country_event = {
id = "political.92"
title = "add_core"
desc = "add_core"
is_triggered_only = yes
所有占有的省份都转为核心省份
option = {
name = "add_core"
every_owned_state = {
limit = {
NOT = { is_core_of = THIS }
}
add_core_of = THIS
}
}
}
country_event = {
id = "political.95"
title = "resource"
desc = "resource"
is_triggered_only = yes
德国和苏联首都加资源加人力
option = {
name = "ger"
add_resource = { type = oil amount = 300 state = 64 }
add_resource = { type = aluminium amount = 600 state = 64 }
add_resource = { type = rubber amount = 300 state = 64 }
add_resource = { type = tungsten amount = 300 state = 64 }
add_resource = { type = steel amount = 600 state = 64 }
add_resource = { type = chromium amount = 300 state = 64 }
64 = {
add_manpower = 50000000
}
}
option = {
name = "sov"
add_resource = { type = oil amount = 100 state = 219 }
add_resource = { type = aluminium amount = 500 state = 219 }
add_resource = { type = rubber amount = 300 state = 219 }
add_resource = { type = tungsten amount = 200 state = 219 }
add_resource = { type = steel amount = 600 state = 219 }
add_resource = { type = chromium amount = 100 state = 219 }
219 = {
add_manpower = 50000000
}
}
}
country_event = {
id = "political.96"
title = "add_popularity"
desc = "add_popularity"
is_triggered_only = yes
德意北欧4国匈牙利罗马尼亚保加利亚土耳其西班牙葡萄牙法西斯化,用了后大概1个月国家政体会转变成法西斯或发生内战
option = {
name = "ger"
GER = { add_popularity = { ideology = fascism popularity = 1 } }
ITA = { add_popularity = { ideology = fascism popularity = 1 } }
DEN = { add_popularity = { ideology = fascism popularity = 1 } }
NOR = { add_popularity = { ideology = fascism popularity = 1 } }
SWE = { add_popularity = { ideology = fascism popularity = 1 } }
FIN = { add_popularity = { ideology = fascism popularity = 1 } }
HUN = { add_popularity = { ideology = fascism popularity = 1 } }
ROM = { add_popularity = { ideology = fascism popularity = 1 } }
SPR = { add_popularity = { ideology = fascism popularity = 1 } }
POR = { add_popularity = { ideology = fascism popularity = 1 } }
BUL = { add_popularity = { ideology = fascism popularity = 1 } }
TUR = { add_popularity = { ideology = fascism popularity = 1 } }
}
苏联和中国赤化
option = {
name = "SOV"
SOV = { add_popularity = { ideology = fascism popularity = 1 } }
CHI = { add_popularity = { ideology = fascism popularity = 1 } }
}
}
热门新闻
我要评论 查看全部评论 (1)>>