大西王来了
欧陆风云5吧
全部回复
仅看楼主
level 7
网中雁 楼主
你是否还在为人物过多卡顿而烦恼,是否在为国家严重的人口老龄化而担忧?我的意思是作为p社游戏,既然都已经有了自动结婚,自然要有自动处决。
2025年11月28日 09点11分 1
level 7
网中雁 楼主
第一个功能我称之为选贤举能。效果是清除除了能力值前20,50,200的非王室成员。为了保证未成年人的身心健康,该效果只针对成年人。
2025年11月28日 10点11分 2
模组已更新添加了清除异教异文化角色和低能力孩童功能。注意所有清除功能均不可逆,记得清除前保存。
2025年11月29日 02点11分
level 7
网中雁 楼主
第二个功能我称之为优化婚姻市场。效果是清除没有生育能力的女角色以及超过45岁的男角色,同样不清理王室成员和孩子。另外为了避免清理时不小心清理掉了内阁成员和将领,该功能也不会清理已婚人士。
2025年11月28日 10点11分 3
level 7
网中雁 楼主
第三个功能我称之为艺考。前两个功能均不清理艺术家,但这个功能可以清理能力低于30的拙劣艺术家。
2025年11月28日 10点11分 4
level 11
大佬这是哪个mod啊
2025年11月28日 10点11分 5
level 7
清理艺术家不赖[太开心]
2025年11月28日 10点11分 6
level 6
来个模组名字
不然一开始殖民美洲刷出来的巨量部落外星人会卡死游戏
2025年11月28日 10点11分 7
level 11
求mod名
2025年11月28日 10点11分 8
level 7
网中雁 楼主
别求mod名了,这是楼主自己做的。快来个大佬教教我怎么上传创意工坊。目前该mod还仅仅是一个txt,加入event文件后通过控制台调用。
2025年11月28日 10点11分 9
游戏主界面右上角,打开模组和DLC菜单,Open Mod Tools,Create Mod,Path填写mod的目录(在C盘documents文件夹的paradox interactive/eu5对应的文件夹下),create mod stub创建mod然后把mod内容放到里面,创建好后upload new mod
2025年11月28日 15点11分
level 7
网中雁 楼主
kill.1 = {
type = country_event
title = kill.1.title
desc = kill.1.desc
picture = GFX_evt_execution
trigger = {
is_human = yes
}
fire_only_once = no
immediate = {
every_character = {
limit = {
is_alive = yes
is_adult = yes
is_heir = no
is_consort = no
is_regent = no
is_artist = no
NOT = { has_estate = estate_type:crown_estate }
owner = root
}
set_variable = {
name = pop
value = yes
target = this
}
}
ordered_character = {
order_by = total_abilities
limit = { has_variable = pop }
max = 20
set_variable = {
name = Top_20
value = yes
target = this
}
}
ordered_character = {
order_by = total_abilities
limit = { has_variable = pop }
max = 50
set_variable = {
name = Top_50
value = yes
target = this
}
}
ordered_character = {
order_by = total_abilities
limit = { has_variable = pop }
max = 200
set_variable = {
name = Top_200
value = yes
target = this
}
}
}
option = {
name = kill.1.option1
ai_chance = { factor = 0 }
every_character = {
limit = {
has_variable = pop
NOT = { has_variable = Top_20 }
}
kill_character = {
target = this
reason = execution
killer = root.ruler
}
}
every_character = {
limit = { has_variable = pop }
remove_variable = Top_20
remove_variable = Top_50
remove_variable = Top_200
remove_variable = pop
}
}
option = {
name = kill.1.option2
ai_chance = { factor = 0 }
every_character = {
limit = {
has_variable = pop
NOT = { has_variable = Top_50 }
}
kill_character = {
target = this
reason = execution
killer = root.ruler
}
}
every_character = {
limit = { has_variable = pop }
remove_variable = Top_20
remove_variable = Top_50
remove_variable = Top_200
remove_variable = pop
}
}
option = {
name = kill.1.option3
ai_chance = { factor = 0 }
every_character = {
limit = {
has_variable = pop
NOT = { has_variable = Top_200 }
}
kill_character = {
target = this
reason = execution
killer = root.ruler
}
}
every_character = {
limit = { has_variable = pop }
remove_variable = Top_20
remove_variable = Top_50
remove_variable = Top_200
remove_variable = pop
}
}
option = {
name = kill.1.option4
ai_chance = { factor = 100 }
every_character = {
limit = { has_variable = pop }
remove_variable = Top_20
remove_variable = Top_50
remove_variable = Top_200
remove_variable = pop
}
}
}
2025年11月28日 10点11分 10
把代码发出来先凑合着用,直接在event文件里随便建一个txt输进去就能用。这段是选贤举能的代码,越往下处决的人越少,具体数字也可以自己修改。
2025年11月28日 10点11分
level 1
6
2025年11月28日 10点11分 11
level 7
神中神
2025年11月28日 10点11分 12
level 7
网中雁 楼主
kill.2 = {
type = country_event
title = kill.2.title
desc = kill.2.desc
picture = GFX_evt_execution
trigger = {
is_human = yes
}
fire_only_once = no
immediate = {
every_character = {
limit = {
is_alive = yes
is_adult = yes
is_heir = no
is_consort = no
is_regent = no
is_artist = no
NOT = { has_estate = estate_type:crown_estate }
owner = root
OR = {
AND = {
is_female = yes
is_married = no
fertility = 0
}
AND = {
is_female = no
is_married = no
age_in_years > 45
}
}
}
set_variable = {
name = old_pop
value = yes
target = this
}
}
}
option = {
name = kill.2.option1
ai_chance = { factor = 0 }
every_character = {
limit = { has_variable = old_pop }
kill_character = {
target = this
reason = execution
killer = root.ruler
}
}
every_character = {
limit = { has_variable = old_pop }
remove_variable = old_pop
}
}
option = {
name = kill.2.option2
ai_chance = { factor = 100 }
every_character = {
limit = { has_variable = old_pop }
remove_variable = old_pop
}
}
}
2025年11月28日 10点11分 13
level 7
网中雁 楼主
kill.3 = {
type = country_event
title = kill.3.title
desc = kill.3.desc
picture = GFX_evt_execution
trigger = {
is_human = yes
}
fire_only_once = no
immediate = {
every_character = {
limit = {
is_alive = yes
is_adult = yes
is_heir = no
is_consort = no
is_regent = no
is_artist = yes
artist_skill < 0.3
owner = root
}
set_variable = {
name = Bad_artist
value = yes
target = this
}
}
}
option = {
name = kill.3.option1
ai_chance = { factor = 0 }
every_character = {
limit = {
has_variable = Bad_artist
}
kill_character = {
target = this
reason = execution
killer = root.ruler
}
}
every_character = {
limit = { has_variable = Bad_artist }
remove_variable = Bad_artist
}
}
option = {
name = kill.3.option2
ai_chance = { factor = 100 }
every_character = {
limit = { has_variable = Bad_artist }
remove_variable = Bad_artist
}
}
}
2025年11月28日 10点11分 14
为什么我都单独建了两个txt,但是输入它们的名字还是会出来第一个事件?就比如我event kill.2,但是出来的事件还是kill1的,3事件也是出来1事件,这是为啥啊?
2025年12月04日 05点12分
@helynd 那就是后面的代码有问题,我后来也修了一下代码,steam上的和这个已经不太一样了。你要真想用这一串代码,我建议你拿ai查一下代码逻辑
2025年12月04日 06点12分
@网中雁 [惊哭][狂汗],这么复杂吗?那我还是先用第一个吧[黑线]
2025年12月04日 06点12分
level 7
网中雁 楼主
大家还有什么想实现的功能可以提出来,目前我的想法是再加一个清除负面特质小孩的和清除异教异文化角色的事件
2025年11月28日 10点11分 15
1 2 3 4 尾页