Skip to content

Commit

Permalink
Schema: Fix CameraHint
Browse files Browse the repository at this point in the history
  • Loading branch information
toasterparty committed Jan 6, 2024
1 parent 8e9c2e0 commit 6f0a912
Showing 1 changed file with 35 additions and 32 deletions.
67 changes: 35 additions & 32 deletions schema/randomprime.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3026,39 +3026,42 @@
},
"cameraHints": {
"description": "Add camera hint + camera hint trigger pairs to this room. They are somewhat broken.",
"type": "object",
"properties": {
"triggerPos": {
"description": "Position of the trigger.",
"$ref": "#/$defs/vector3"
},
"triggerScale": {
"description": "Extent of the trigger.",
"$ref": "#/$defs/vector3Positive"
},
"cameraPos": {
"description": "Position of the Camera Hint.",
"$ref": "#/$defs/vector3"
},
"cameraRot": {
"description": "Facing angle of the Camera Hint.",
"$ref": "#/$defs/vector3"
"type": "array",
"items": {
"type": "object",
"properties": {
"triggerPos": {
"description": "Position of the trigger.",
"$ref": "#/$defs/vector3"
},
"triggerScale": {
"description": "Extent of the trigger.",
"$ref": "#/$defs/vector3Positive"
},
"cameraPos": {
"description": "Position of the Camera Hint.",
"$ref": "#/$defs/vector3"
},
"cameraRot": {
"description": "Facing angle of the Camera Hint.",
"$ref": "#/$defs/vector3"
},
"behavior": {
"description": "- `0`: `Default`\n- `1`: `FreezeLookPosition`\n- `2`: `HintBallToCam`\n- `3`: `HintInitializePosition`\n- `4`: `HintFixedPosition`\n- `5`: `HintFixedTransform`\n- `6`: `PathCameraDesiredPos`\n- `7`: `PathCamera`\n- `8`: `SpindleCamer`\n",
"type": "integer",
"minimum": 0,
"maximum": 8
}
},
"behavior": {
"description": "- `0`: `Default`\n- `1`: `FreezeLookPosition`\n- `2`: `HintBallToCam`\n- `3`: `HintInitializePosition`\n- `4`: `HintFixedPosition`\n- `5`: `HintFixedTransform`\n- `6`: `PathCameraDesiredPos`\n- `7`: `PathCamera`\n- `8`: `SpindleCamer`\n",
"type": "integer",
"minimum": 0,
"maximum": 8
}
},
"required": [
"triggerPos",
"triggerScale",
"cameraPos",
"cameraRot",
"behavior"
],
"additionalProperties": false
"required": [
"triggerPos",
"triggerScale",
"cameraPos",
"cameraRot",
"behavior"
],
"additionalProperties": false
}
},
"blocks": {
"description": "Add blocks to this room. They are specifically the sandstone blocks found in Ruined nursery as they are the closest thing to a 1x1x1 perfect square as I could find.",
Expand Down

0 comments on commit 6f0a912

Please sign in to comment.