|
|
@ -1403,6 +1403,20 @@ MainMap_QM.prototype = { |
|
|
this.util.lightOptions.s_col = this.util.allMap[this.util.selectBuild].s_col || 0xfffff0; |
|
|
this.util.lightOptions.s_col = this.util.allMap[this.util.selectBuild].s_col || 0xfffff0; |
|
|
this.util.lightOptions.g_col = this.util.allMap[this.util.selectBuild].g_col || 0xffffff; |
|
|
this.util.lightOptions.g_col = this.util.allMap[this.util.selectBuild].g_col || 0xffffff; |
|
|
this.util.lightOptions.a_int = this.util.allMap[this.util.selectBuild].a_int || 0.6; |
|
|
this.util.lightOptions.a_int = this.util.allMap[this.util.selectBuild].a_int || 0.6; |
|
|
|
|
|
|
|
|
|
|
|
if(this.util.allMap[this.util.selectBuild].c_site && this.util.allMap[this.util.selectBuild].c_site.split(",")){ |
|
|
|
|
|
this.util.guiOptions.cameraX = this.util.allMap[this.util.selectBuild].c_site.split(",")[0] || 0; |
|
|
|
|
|
this.util.guiOptions.cameraY = this.util.allMap[this.util.selectBuild].c_site.split(",")[1] ?? 220; |
|
|
|
|
|
this.util.guiOptions.cameraZ = this.util.allMap[this.util.selectBuild].c_site.split(",")[2] ?? 220; |
|
|
|
|
|
} |
|
|
|
|
|
if(this.util.allMap[this.util.selectBuild].m_site && this.util.allMap[this.util.selectBuild].m_site.split(",")){ |
|
|
|
|
|
this.util.guiOptions.targatX = this.util.allMap[this.util.selectBuild].m_site.split(",")[0] || 0; |
|
|
|
|
|
this.util.guiOptions.targatY = this.util.allMap[this.util.selectBuild].m_site.split(",")[1] || 0; |
|
|
|
|
|
this.util.guiOptions.targatZ = this.util.allMap[this.util.selectBuild].m_site.split(",")[2] || 0; |
|
|
|
|
|
} |
|
|
|
|
|
if(this.util.allMap[this.util.selectBuild].m_zoom){ |
|
|
|
|
|
this.util.sceneGap.scale = this.util.allMap[this.util.selectBuild].m_zoom; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
let { playSpeed = 6, collision = true, showStyle = false, modelIcon = true, shopStyle = "shopName", shadow = true, otherPath = [], navColor = 0xEE6A50, iconUrl = [], overlap = false, iconName = false, camZoom = 3, inArea = false, pathColor = 0xb47834, pathStyle = "3D" } = options; |
|
|
let { playSpeed = 6, collision = true, showStyle = false, modelIcon = true, shopStyle = "shopName", shadow = true, otherPath = [], navColor = 0xEE6A50, iconUrl = [], overlap = false, iconName = false, camZoom = 3, inArea = false, pathColor = 0xb47834, pathStyle = "3D" } = options; |
|
|
this.util.options.playSpeed = playSpeed != 6 ? playSpeed : this.util.options.playSpeed; |
|
|
this.util.options.playSpeed = playSpeed != 6 ? playSpeed : this.util.options.playSpeed; |
|
|
|