feat(map-camera): 맵별 고정 카메라 — MapCamera 스크립트로 11맵 카메라 framing 고정
맵 로드 시 플레이어 CameraComponent를 data/camera.json 값(현재 map01: zoom100·screenOffset0.5/0.655·confine)으로 설정. - data/camera.json: 카메라 framing 단일 설정 - tools/gen-camera.mjs: MapCamera.codeblock 생성 + 11맵 루트에 script.MapCamera 부착(idempotent) - 새 CameraComponent 미생성(엔진 소유) — 기존 플레이어 카메라 속성만 런타임 설정 - OnBeginPlay(client, ExecSpace 6) + LocalPlayer 카메라 재시도 타이머 - 메이커 Play 검증: zoom 60 테스트로 적용 입증, 100으로 복원. idempotent·결정적 - 참고: 맵 루트 client 스크립트는 ExecSpace 6 필요(1은 미발동) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "bdadf19a-cc27-4a45-99c6-7a439c858a1b",
|
||||
"path": "/maps/map01",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map01",
|
||||
"path": "/maps/map01",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6946,4 +6950,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "000007d0-0000-4000-8000-0000000007d0",
|
||||
"path": "/maps/map02",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map02",
|
||||
"path": "/maps/map02",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00000bb8-0000-4000-8000-000000000bb8",
|
||||
"path": "/maps/map03",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map03",
|
||||
"path": "/maps/map03",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00000fa0-0000-4000-8000-000000000fa0",
|
||||
"path": "/maps/map04",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map04",
|
||||
"path": "/maps/map04",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00001388-0000-4000-8000-000000001388",
|
||||
"path": "/maps/map05",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map05",
|
||||
"path": "/maps/map05",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00001770-0000-4000-8000-000000001770",
|
||||
"path": "/maps/map06",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map06",
|
||||
"path": "/maps/map06",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00001b58-0000-4000-8000-000000001b58",
|
||||
"path": "/maps/map07",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map07",
|
||||
"path": "/maps/map07",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00001f40-0000-4000-8000-000000001f40",
|
||||
"path": "/maps/map08",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map08",
|
||||
"path": "/maps/map08",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00002328-0000-4000-8000-000000002328",
|
||||
"path": "/maps/map09",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map09",
|
||||
"path": "/maps/map09",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00002710-0000-4000-8000-000000002710",
|
||||
"path": "/maps/map10",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map10",
|
||||
"path": "/maps/map10",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
{
|
||||
"id": "00002af8-0000-4000-8000-000000002af8",
|
||||
"path": "/maps/map11",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent",
|
||||
"componentNames": "MOD.Core.MapComponent,MOD.Core.FootholdComponent,script.MapCamera",
|
||||
"jsonString": {
|
||||
"name": "map11",
|
||||
"path": "/maps/map11",
|
||||
@@ -1103,6 +1103,10 @@
|
||||
]
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "script.MapCamera",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -6653,4 +6657,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user