Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
1. ur code has scout player's /Vassal's county. Modding holding is too complicated.
2. "player.location" points to wherever the player is travelling or commanding the army or in the capital. The code below works well for me:
han_show_army = {
scope = character
saved_scopes = {
player
army_commander
}
is_shown = {
OR = {
is_allied_to = scope:player
this = scope:player
is_vassal_or_below_of = scope:player
scope:army_commander.location.county_controller = scope:player
scope:army_commander.location.county_controller = { is_vassal_or_below_of = scope:player }
scope:army_commander.location.county_controller = { is_allied_to = scope:player }
"scope:army_commander.location.squared_distance(scope:player.location)" <= 2018
any_army = {
limit = { # limit{}needed otherwise can't work
army_owner = scope:player # Owner must be player
}
"scope:army_commander.location.squared_distance(prev.location)" <= 628
}
}
}
}
player.location points to the players capital or something else ?
在 han_gui.txt 中添加“scope:army_commander.location.squared_distance(scope:player.location)”<=500 来实现侦察功能 https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3415867864&searchtext=bro%27s+