首先,找到这个文件:
C:\HTB君王之略\mods\htb806\data\text
historic_events
这个是所有策略的中文文本,并且有相应的代码,比如哭泣谷:
{KILL_EN_TITLE}策略:哭泣谷
.
然后找到脚本所在的文件:
C:\HTB君王之略\mods\htb806\data\world\maps\campaign\imperial_campaign
campaign_script
然后搜索kill_en,找到的第二个kill_en就是这个法令开启的条件:
monitor_event EventCounter EventCounterType kill_en_accepted
and I_EventCounter kill_en_accepted = 1
if I_CompareCounter gwent >= 1
and I_EventCounter tradition_selected < 1
inc_counter gwent -1
historic_event kill_en1
end_if
if I_CompareCounter bp < 5
and I_EventCounter tradition_selected >= 1
and I_CompareCounter gwent >= 1
inc_counter gwent -1
inc_counter bp 10
end_if
if I_CompareCounter bp >= 5
and I_EventCounter tradition_selected >= 1
inc_counter bp -5
historic_event kill_en1
end_if
set_event_counter kill_en_accepted 0
end_monitor
这段第三行: if I_CompareCounter gwent >= 1 中的 gwent就是策略点的意思。
这段
if I_CompareCounter gwent >= 1
and I_EventCounter tradition_selected < 1
inc_counter gwent -1
historic_event kill_en1
end_if
意思是说,如果当前策略点有1或者更多,那么会开启策略,并且减去一个策略点。
下边 if I_CompareCounter bp >= 5 的bp,如果没错的话,就是指奖励点。后边的意思大概是指英格兰走传统线的话,点数消耗方式。但ai好像不会做出这种选择。我选择直接删了后边的,并且策略点判定数改成了10,因为策略点上限是5,所以永远也开启不了哭泣谷了。当然这是理论上玩家和AI都会这样,但应该不会有意外。以下是我得修改:
monitor_event EventCounter EventCounterType kill_en_accepted
and I_EventCounter kill_en_accepted = 1
if I_CompareCounter gwent >= 10
and I_EventCounter tradition_selected < 1
inc_counter gwent -1
historic_event kill_en1
end_if
set_event_counter kill_en_accepted 0
end_monitor
如果有错误,欢迎各位指出。
C:\HTB君王之略\mods\htb806\data\text
historic_events
这个是所有策略的中文文本,并且有相应的代码,比如哭泣谷:
{KILL_EN_TITLE}策略:哭泣谷
.
然后找到脚本所在的文件:
C:\HTB君王之略\mods\htb806\data\world\maps\campaign\imperial_campaign
campaign_script
然后搜索kill_en,找到的第二个kill_en就是这个法令开启的条件:
monitor_event EventCounter EventCounterType kill_en_accepted
and I_EventCounter kill_en_accepted = 1
if I_CompareCounter gwent >= 1
and I_EventCounter tradition_selected < 1
inc_counter gwent -1
historic_event kill_en1
end_if
if I_CompareCounter bp < 5
and I_EventCounter tradition_selected >= 1
and I_CompareCounter gwent >= 1
inc_counter gwent -1
inc_counter bp 10
end_if
if I_CompareCounter bp >= 5
and I_EventCounter tradition_selected >= 1
inc_counter bp -5
historic_event kill_en1
end_if
set_event_counter kill_en_accepted 0
end_monitor
这段第三行: if I_CompareCounter gwent >= 1 中的 gwent就是策略点的意思。
这段
if I_CompareCounter gwent >= 1
and I_EventCounter tradition_selected < 1
inc_counter gwent -1
historic_event kill_en1
end_if
意思是说,如果当前策略点有1或者更多,那么会开启策略,并且减去一个策略点。
下边 if I_CompareCounter bp >= 5 的bp,如果没错的话,就是指奖励点。后边的意思大概是指英格兰走传统线的话,点数消耗方式。但ai好像不会做出这种选择。我选择直接删了后边的,并且策略点判定数改成了10,因为策略点上限是5,所以永远也开启不了哭泣谷了。当然这是理论上玩家和AI都会这样,但应该不会有意外。以下是我得修改:
monitor_event EventCounter EventCounterType kill_en_accepted
and I_EventCounter kill_en_accepted = 1
if I_CompareCounter gwent >= 10
and I_EventCounter tradition_selected < 1
inc_counter gwent -1
historic_event kill_en1
end_if
set_event_counter kill_en_accepted 0
end_monitor
如果有错误,欢迎各位指出。
