192 lines
5.4 KiB
JSON
192 lines
5.4 KiB
JSON
{
|
||
"schemaVersion": "1",
|
||
"version": "2026.03.25",
|
||
"app": {
|
||
"id": "sample-score-o-001",
|
||
"title": "积分赛示例",
|
||
"locale": "zh-CN"
|
||
},
|
||
"map": {
|
||
"tiles": "../map/lxcb-001/tiles/",
|
||
"mapmeta": "../map/lxcb-001/tiles/meta.json",
|
||
"declination": 6.91,
|
||
"initialView": {
|
||
"zoom": 17
|
||
}
|
||
},
|
||
"playfield": {
|
||
"kind": "control-set",
|
||
"source": {
|
||
"type": "kml",
|
||
"url": "../kml/lxcb-001/10/c01.kml"
|
||
},
|
||
"CPRadius": 6,
|
||
"controlOverrides": {
|
||
"start-1": {
|
||
"template": "focus",
|
||
"title": "比赛开始",
|
||
"body": "从这里触发,先熟悉地图方向。原生内容卡会先弹出,再可进入 H5 详情。",
|
||
"autoPopup": true,
|
||
"once": true,
|
||
"priority": 1,
|
||
"contentExperience": {
|
||
"type": "h5",
|
||
"url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
|
||
"bridge": "content-v1",
|
||
"presentation": "dialog"
|
||
},
|
||
"clickTitle": "积分赛起点",
|
||
"clickBody": "点击起点可查看自由打点规则与终点说明。",
|
||
"clickExperience": {
|
||
"type": "h5",
|
||
"url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
|
||
"bridge": "content-v1",
|
||
"presentation": "dialog"
|
||
}
|
||
},
|
||
"control-1": {
|
||
"template": "minimal",
|
||
"score": 10,
|
||
"clickTitle": "1号点",
|
||
"clickBody": "这是一个基础积分点,适合作为开局热身。",
|
||
"clickExperience": {
|
||
"type": "h5",
|
||
"url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
|
||
"bridge": "content-v1",
|
||
"presentation": "dialog"
|
||
}
|
||
},
|
||
"control-2": {
|
||
"template": "minimal",
|
||
"score": 20,
|
||
"title": "2号点",
|
||
"body": "这个点配置成手动查看。点击“查看内容”后先出原生卡,再可进入 H5。",
|
||
"autoPopup": false,
|
||
"once": true,
|
||
"priority": 1,
|
||
"clickTitle": "2号点",
|
||
"clickBody": "这个点配置成点击查看,经过时不会自动弹。",
|
||
"clickExperience": {
|
||
"type": "h5",
|
||
"url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
|
||
"bridge": "content-v1",
|
||
"presentation": "dialog"
|
||
}
|
||
},
|
||
"control-3": {
|
||
"template": "story",
|
||
"score": 30,
|
||
"title": "湖边步道",
|
||
"body": "这里适合短暂停留观察周边地形。自动弹原生内容卡,并提供 H5 详情入口。",
|
||
"autoPopup": true,
|
||
"once": false,
|
||
"priority": 1,
|
||
"clickTitle": "湖边步道",
|
||
"clickBody": "点击可查看这一区域的补充说明。",
|
||
"contentExperience": {
|
||
"type": "h5",
|
||
"url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
|
||
"bridge": "content-v1",
|
||
"presentation": "dialog"
|
||
}
|
||
},
|
||
"control-4": {
|
||
"score": 40
|
||
},
|
||
"control-5": {
|
||
"score": 50
|
||
},
|
||
"control-6": {
|
||
"template": "focus",
|
||
"score": 60,
|
||
"title": "悬崖边",
|
||
"body": "这里很危险啊。",
|
||
"autoPopup": true,
|
||
"once": true,
|
||
"priority": 2,
|
||
"clickTitle": "悬崖边",
|
||
"clickBody": "点击查看地形风险提示。"
|
||
},
|
||
"control-7": {
|
||
"score": 70
|
||
},
|
||
"control-8": {
|
||
"score": 80
|
||
},
|
||
"finish-1": {
|
||
"template": "focus",
|
||
"title": "比赛结束",
|
||
"body": "恭喜完成本次路线,准备查看结果。这里也保留 H5 详情入口用于测试。",
|
||
"autoPopup": true,
|
||
"once": true,
|
||
"priority": 2,
|
||
"clickTitle": "终点说明",
|
||
"clickBody": "点击终点可再次查看结束与结算提示。",
|
||
"clickExperience": {
|
||
"type": "h5",
|
||
"url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
|
||
"bridge": "content-v1",
|
||
"presentation": "dialog"
|
||
}
|
||
}
|
||
},
|
||
"metadata": {
|
||
"title": "积分赛控制点示例(2 起终点 + 8 积分点)",
|
||
"code": "score-o-001"
|
||
}
|
||
},
|
||
"game": {
|
||
"mode": "score-o",
|
||
"rulesVersion": "1",
|
||
"session": {
|
||
"startManually": true,
|
||
"requiresStartPunch": true,
|
||
"requiresFinishPunch": false,
|
||
"autoFinishOnLastControl": false,
|
||
"maxDurationSec": 5400
|
||
},
|
||
"punch": {
|
||
"policy": "enter-confirm",
|
||
"radiusMeters": 5,
|
||
"requiresFocusSelection": false
|
||
},
|
||
"scoring": {
|
||
"type": "score",
|
||
"defaultControlScore": 10
|
||
},
|
||
"guidance": {
|
||
"showLegs": false,
|
||
"legAnimation": false,
|
||
"allowFocusSelection": true
|
||
},
|
||
"visibility": {
|
||
"revealFullPlayfieldAfterStartPunch": true
|
||
},
|
||
"finish": {
|
||
"finishControlAlwaysSelectable": true
|
||
},
|
||
"telemetry": {
|
||
"heartRate": {
|
||
"age": 30,
|
||
"restingHeartRateBpm": 62,
|
||
"userWeightKg": 65
|
||
}
|
||
},
|
||
"feedback": {
|
||
"audioProfile": "default",
|
||
"hapticsProfile": "default",
|
||
"uiEffectsProfile": "default"
|
||
}
|
||
},
|
||
"resources": {
|
||
"audioProfile": "default",
|
||
"contentProfile": "default",
|
||
"themeProfile": "default-race"
|
||
},
|
||
"debug": {
|
||
"allowModeSwitch": false,
|
||
"allowMockInput": false,
|
||
"allowSimulator": false
|
||
}
|
||
}
|