Skip to content

Commit

Permalink
fix: invalid map with Iberia DLC #7
Browse files Browse the repository at this point in the history
  • Loading branch information
Art-Stea1th committed Apr 29, 2021
1 parent 7dbb890 commit 3e89a2c
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 83 deletions.
64 changes: 33 additions & 31 deletions Discovery Map Helper/dmh_mod/def/map_data.sii
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
SiiNunit {

map_data : .map.data {

road_color: 0xFF0C0CCF // Advisor map undiscovered route
road_discovered_color: 0xFF505050 // Advisor map discovered route
job_road_color: 0xFF07077C // Job market map undiscoveder route
job_road_discovered_color: 0xFF353535 // Job market map discovered route
world_road_color: 0xFF0C0CCF // Main map undiscovered route
world_road_discovered_color: 0xFF505050 // Main map discovered route

fleet_manager_road_color: 0xFF424242 // Fleet manager map undiscovered route
fleet_manager_road_discovered_color: 0xFF424242 // Fleet manager map discovered route

prefab_color: 0xFF0C42DF // Undiscovered prefab driveable areas
prefab_obstacle_color: 0xFF07077C // Undiscovered prefab buildings
prefab_grass_color: 0xFF0C42DF // Undiscovered prefab grass areas
prefab_discovered_color: 0xFF5F5F5F // Discovered prefab driveable areas
prefab_obstacle_discovered_color: 0xFF333333 // Discovered prefab buildings
prefab_grass_discovered_color: 0xFF5F5F5F // Discovered prefab grass

outline_color: 0xFF000000 // Route outline
navigation_color: 0x80FFFFFF // Navigation path color
navigation_highlight_color: 0xB0FFFFFF // Navigation path color, highligted segment
navigation_fade_color: 0x50FFFFFF // Navigation path color, faded segment
navigation_arrow_color: 0xFFFFFFFF // Navigation crossroad arrows color


zoom_uplift[0]: 50.0 // close zoom for 3d map
zoom_uplift[1]: 220.0 // far zoom for 3d map
zoom_uplift[2]: 900.0 // close zoom for minimap
Expand All @@ -31,7 +33,7 @@ SiiNunit {
zoom_uplift[5]: 5000.0 // closest zoom for world map
zoom_uplift[6]: 18500.0 // middle zoom for world map
zoom_uplift[7]: 45000.0 // whole world map zoom

player_size[0]: 15.0
player_size[1]: 35.0
player_size[2]: 120.0
Expand All @@ -40,7 +42,7 @@ SiiNunit {
player_size[5]: 350.0
player_size[6]: 900.0
player_size[7]: 2200.0

road_size_factor[0]: 1.0
road_size_factor[1]: 1.0
road_size_factor[2]: 1.5
Expand All @@ -49,16 +51,16 @@ SiiNunit {
road_size_factor[5]: 1.5
road_size_factor[6]: 4.5
road_size_factor[7]: 8.0

full_detail[0]: true
full_detail[1]: true
full_detail[2]: true
full_detail[3]: true
full_detail[4]: true
full_detail[5]: true
full_detail[6]: true
full_detail[7]: true

full_detail[6]: false
full_detail[7]: false
icon_size[0]: (13.0, 13.0)
icon_size[1]: (10.0, 10.0)
icon_size[2]: (7.0, 7.0)
Expand All @@ -67,7 +69,7 @@ SiiNunit {
icon_size[5]: (13.0, 13.0)
icon_size[6]: (11.0, 11.0)
icon_size[7]: (13.0, 13.0)

company_icon_size[0]: (32.0, 8.0)
company_icon_size[1]: (20.0, 5.0)
company_icon_size[2]: (0.0, 0.0)
Expand All @@ -76,25 +78,25 @@ SiiNunit {
company_icon_size[5]: (40.0, 10.0)
company_icon_size[6]: (16.0, 4.0)
company_icon_size[7]: (16.0, 4.0)

camera_limits_min[0]: (-1000000.0, -1000000.0)
camera_limits_min[1]: (-1000000.0, -1000000.0)
camera_limits_min[2]: (-1000000.0, -1000000.0)
camera_limits_min[3]: (-1000000.0, -1000000.0)
camera_limits_min[4]: (-57000.0, -63000.0)
camera_limits_min[5]: (-55000.0, -62000.0)
camera_limits_min[6]: (-46000.0, -56000.0)
camera_limits_min[7]: (-30000.0, -45000.0)

camera_limits_min[4]: (-93000.0, -63000.0)
camera_limits_min[5]: (-91000.0, -62000.0)
camera_limits_min[6]: (-83000.0, -56000.0)
camera_limits_min[7]: (-67000.0, -45000.0)
camera_limits_max[0]: (1000000.0, 1000000.0)
camera_limits_max[1]: (1000000.0, 1000000.0)
camera_limits_max[2]: (1000000.0, 1000000.0)
camera_limits_max[3]: (1000000.0, 1000000.0)
camera_limits_max[4]: (64000.0, 77000.0)
camera_limits_max[5]: (62000.0, 76000.0)
camera_limits_max[6]: (54000.0, 70000.0)
camera_limits_max[7]: (38000.0, 60000.0)

camera_limits_max[4]: (77000.0, 77000.0)
camera_limits_max[5]: (75000.0, 76000.0)
camera_limits_max[6]: (67000.0, 70000.0)
camera_limits_max[7]: (51000.0, 60000.0)
map_items_flags[0]: 0x1C00
map_items_flags[1]: 0x1C00
map_items_flags[2]: 0x1402
Expand All @@ -103,19 +105,19 @@ SiiNunit {
map_items_flags[5]: 0x1C00
map_items_flags[6]: 0x1C00
map_items_flags[7]: 0x1402

map_3d_camera_pitch: 40.0 // camera pitch in 3d map

ui_map_center: (-13500.0, -4950.0) // in editor coordinates
ui_map_size: (5308.2, 5200.0) // map texture in real km

ui_map_camera_min: (-30000.0, -45000.0)
ui_map_camera_max: (38000.0, 60000.0)

ui_map_camera_min: (-67000.0, -45000.0)
ui_map_camera_max: (51000.0, 60000.0)
ui_map_always_draw_city: true

# navigation params
navigation_city_penalty: 3.0
navigation_slow_road_penalty: 5.0
}
}
}
2 changes: 1 addition & 1 deletion Discovery Map Helper/dmh_mod/manifest.sii
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SiiNunit {

display_name: "Discovery Map Helper"
author: "Stanislav Kuzmich [Art.Stea1th]"
package_version: "1.6.1811"
package_version: "1.7.2104"

category[]: "other"
category[]: "ui"
Expand Down
Loading

0 comments on commit 3e89a2c

Please sign in to comment.