score-o.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. {
  2. "schemaVersion": "1",
  3. "version": "2026.03.25",
  4. "app": {
  5. "id": "sample-score-o-001",
  6. "title": "积分赛示例",
  7. "locale": "zh-CN"
  8. },
  9. "map": {
  10. "tiles": "../map/lxcb-001/tiles/",
  11. "mapmeta": "../map/lxcb-001/tiles/meta.json",
  12. "declination": 6.91,
  13. "initialView": {
  14. "zoom": 17
  15. }
  16. },
  17. "playfield": {
  18. "kind": "control-set",
  19. "source": {
  20. "type": "kml",
  21. "url": "../kml/lxcb-001/10/c01.kml"
  22. },
  23. "CPRadius": 6,
  24. "controlOverrides": {
  25. "start-1": {
  26. "template": "focus",
  27. "title": "比赛开始",
  28. "body": "从这里触发,先熟悉地图方向。原生内容卡会先弹出,再可进入 H5 详情。",
  29. "autoPopup": true,
  30. "once": true,
  31. "priority": 1,
  32. "contentExperience": {
  33. "type": "h5",
  34. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  35. "bridge": "content-v1",
  36. "presentation": "dialog"
  37. },
  38. "clickTitle": "积分赛起点",
  39. "clickBody": "点击起点可查看自由打点规则与终点说明。",
  40. "clickExperience": {
  41. "type": "h5",
  42. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  43. "bridge": "content-v1",
  44. "presentation": "dialog"
  45. }
  46. },
  47. "control-1": {
  48. "template": "minimal",
  49. "score": 10,
  50. "clickTitle": "1号点",
  51. "clickBody": "这是一个基础积分点,适合作为开局热身。",
  52. "clickExperience": {
  53. "type": "h5",
  54. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  55. "bridge": "content-v1",
  56. "presentation": "dialog"
  57. }
  58. },
  59. "control-2": {
  60. "template": "minimal",
  61. "score": 20,
  62. "title": "2号点",
  63. "body": "这个点配置成手动查看。点击“查看内容”后先出原生卡,再可进入 H5。",
  64. "autoPopup": false,
  65. "once": true,
  66. "priority": 1,
  67. "clickTitle": "2号点",
  68. "clickBody": "这个点配置成点击查看,经过时不会自动弹。",
  69. "clickExperience": {
  70. "type": "h5",
  71. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  72. "bridge": "content-v1",
  73. "presentation": "dialog"
  74. }
  75. },
  76. "control-3": {
  77. "template": "story",
  78. "score": 30,
  79. "title": "湖边步道",
  80. "body": "这里适合短暂停留观察周边地形。自动弹原生内容卡,并提供 H5 详情入口。",
  81. "autoPopup": true,
  82. "once": false,
  83. "priority": 1,
  84. "clickTitle": "湖边步道",
  85. "clickBody": "点击可查看这一区域的补充说明。",
  86. "contentExperience": {
  87. "type": "h5",
  88. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  89. "bridge": "content-v1",
  90. "presentation": "dialog"
  91. }
  92. },
  93. "control-4": {
  94. "score": 40
  95. },
  96. "control-5": {
  97. "score": 50
  98. },
  99. "control-6": {
  100. "template": "focus",
  101. "score": 60,
  102. "title": "悬崖边",
  103. "body": "这里很危险啊。",
  104. "autoPopup": true,
  105. "once": true,
  106. "priority": 2,
  107. "clickTitle": "悬崖边",
  108. "clickBody": "点击查看地形风险提示。"
  109. },
  110. "control-7": {
  111. "score": 70
  112. },
  113. "control-8": {
  114. "score": 80
  115. },
  116. "finish-1": {
  117. "template": "focus",
  118. "title": "比赛结束",
  119. "body": "恭喜完成本次路线,准备查看结果。这里也保留 H5 详情入口用于测试。",
  120. "autoPopup": true,
  121. "once": true,
  122. "priority": 2,
  123. "clickTitle": "终点说明",
  124. "clickBody": "点击终点可再次查看结束与结算提示。",
  125. "clickExperience": {
  126. "type": "h5",
  127. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  128. "bridge": "content-v1",
  129. "presentation": "dialog"
  130. }
  131. }
  132. },
  133. "metadata": {
  134. "title": "积分赛控制点示例(2 起终点 + 8 积分点)",
  135. "code": "score-o-001"
  136. }
  137. },
  138. "game": {
  139. "mode": "score-o",
  140. "rulesVersion": "1",
  141. "session": {
  142. "startManually": true,
  143. "requiresStartPunch": true,
  144. "requiresFinishPunch": false,
  145. "autoFinishOnLastControl": false,
  146. "maxDurationSec": 5400
  147. },
  148. "punch": {
  149. "policy": "enter-confirm",
  150. "radiusMeters": 5,
  151. "requiresFocusSelection": false
  152. },
  153. "scoring": {
  154. "type": "score",
  155. "defaultControlScore": 10
  156. },
  157. "guidance": {
  158. "showLegs": false,
  159. "legAnimation": false,
  160. "allowFocusSelection": true
  161. },
  162. "visibility": {
  163. "revealFullPlayfieldAfterStartPunch": true
  164. },
  165. "finish": {
  166. "finishControlAlwaysSelectable": true
  167. },
  168. "telemetry": {
  169. "heartRate": {
  170. "age": 30,
  171. "restingHeartRateBpm": 62,
  172. "userWeightKg": 65
  173. }
  174. },
  175. "feedback": {
  176. "audioProfile": "default",
  177. "hapticsProfile": "default",
  178. "uiEffectsProfile": "default"
  179. }
  180. },
  181. "resources": {
  182. "audioProfile": "default",
  183. "contentProfile": "default",
  184. "themeProfile": "default-race"
  185. },
  186. "debug": {
  187. "allowModeSwitch": false,
  188. "allowMockInput": false,
  189. "allowSimulator": false
  190. }
  191. }