Fix: Map detection in Microlayer Medley Chapter A

This commit is contained in:
LmeSzinc 2021-08-19 23:12:06 +08:00
parent 721f58ae18
commit f168518ee6
3 changed files with 22 additions and 6 deletions

View File

@ -53,6 +53,22 @@ class Config:
MAP_HAS_AMBUSH = False
# ===== End of generated config =====
DETECTION_BACKEND = 'perspective'
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 9
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
'height': (50, 255 - 80),
'width': 1,
'prominence': 10,
'distance': 35,
}
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
'height': (255 - 80, 255),
'prominence': 10,
'distance': 50,
'width': (0, 7),
'wlen': 1000
}
class Campaign(CampaignBase):
MAP = MAP

View File

@ -45,7 +45,7 @@ A7, B7, C7, D7, E7, F7, G7, \
class Config(ConfigBase):
# ===== Start of generated config =====
MAP_SIREN_TEMPLATE = ['CApurple']
MAP_SIREN_TEMPLATE = ['CA']
MOVABLE_ENEMY_TURN = (2,)
MAP_HAS_SIREN = True
MAP_HAS_MOVABLE_ENEMY = True

View File

@ -69,11 +69,11 @@ DIC_SIREN_NAME_CHI_TO_ENG = {
'z24': 'Z24',
'niulunbao': 'Nuremberg',
'longqibing': 'Carabiniere',
'sairenquzhu_ii': 'DDpurple',
'sairenqingxun_ii': 'CLpurple',
'sairenzhanlie_ii': 'BBpurple',
'sairenhangmu_ii': 'CVpurple',
'sairenzhongxun_ii': 'CApurple',
'sairenquzhu_ii': 'DD',
'sairenqingxun_ii': 'CL',
'sairenzhongxun_ii': 'CA',
'sairenzhanlie_ii': 'BB',
'sairenhangmu_ii': 'CV',
'qinraozhe': 'Intruder',
'xianghe': 'Shokaku',
'ruihe': 'Zuikaku',