@bendyline/molen-tooling 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capture/harness.js +386 -318
- package/dist/capture/worldgen-preview.js +254 -254
- package/dist/docs-src/guide/adaptive-performance.md +30 -3
- package/dist/docs-src/guide/aircraft.md +125 -3
- package/dist/docs-src/guide/ambient-life.md +15 -1
- package/dist/docs-src/guide/boats.md +9 -4
- package/dist/docs-src/guide/boost-mode.md +64 -0
- package/dist/docs-src/guide/determinism.md +1 -1
- package/dist/docs-src/guide/dioramas.md +11 -4
- package/dist/docs-src/guide/earth-view.md +104 -4
- package/dist/docs-src/guide/entities.md +3 -0
- package/dist/docs-src/guide/graphics-performance.md +177 -13
- package/dist/docs-src/guide/input.md +34 -1
- package/dist/docs-src/guide/liveries.md +167 -0
- package/dist/docs-src/guide/livery-catalog.md +2659 -0
- package/dist/docs-src/guide/livery-gallery.md +2684 -0
- package/dist/docs-src/guide/medium-fi.md +13 -5
- package/dist/docs-src/guide/night-lighting.md +96 -0
- package/dist/docs-src/guide/project.md +1 -1
- package/dist/docs-src/guide/regional-world.md +3 -1
- package/dist/docs-src/guide/rendering-backends.md +6 -2
- package/dist/docs-src/guide/surface-rendering.md +12 -0
- package/dist/docs-src/guide/terrain.md +38 -0
- package/dist/docs-src/guide/vehicles.md +13 -1
- package/dist/docs-src/guide/worldgen.md +20 -5
- package/dist/docs-src/llms.txt +6 -1
- package/dist/docs-src/schemas/archstyle.md +29 -0
- package/dist/docs-src/schemas/components.md +776 -1
- package/dist/docs-src/schemas/regional-catalog.md +39 -0
- package/dist/docs-src/schemas/scatter.md +36 -0
- package/dist/docs-src/schemas/structure-placement-data.md +91 -0
- package/dist/docs-src/schemas/structure-placements.md +91 -0
- package/dist/docs-src/schemas/worldgen-batch.md +105 -0
- package/dist/templates/city-courier/gen/molen-types.ts +103 -1
- package/dist/templates/city-courier/scripts/molen-scripts.d.ts +102 -0
- package/dist/templates/index.json +17 -17
- package/dist/templates/skybound/gen/molen-types.ts +103 -1
- package/dist/templates/skybound/scripts/molen-scripts.d.ts +102 -0
- package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +102 -0
- package/dist/templates/top-down-arena/src/gen/molen-types.ts +103 -1
- package/package.json +12 -12
|
@@ -47,6 +47,7 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
|
|
|
47
47
|
| `boat` | kernel/boats | Waterline-aligned powered hull with data-driven handling and shared seats. |
|
|
48
48
|
| `boatInput` | kernel/boats | Helm intent: signed thrust, steering and low-speed anchor. Only the driver controls it. |
|
|
49
49
|
| `boatState` | kernel/boats | Snapshot-safe hull motion, buoyancy and anchoring; owned by installBoats. |
|
|
50
|
+
| `boostMode` | kernel | World-wide 4× travel assist for people and vehicles. Control response times stay normal. |
|
|
50
51
|
| `character` | kernel/character | Kinematic character controller state (speed/jump/gravity + kernel-owned vy/grounded). |
|
|
51
52
|
| `collider` | kernel/kinematics | 2.5D kinematic collider (circle or XZ AABB) with layer/mask bitmasks. |
|
|
52
53
|
| `collider3d` | physics-rapier | 3D collider (ball/cuboid/capsule/hull/trimesh/asset/heightfield) with layer/mask, sensor, and material params. Static without a rigidbody. |
|
|
@@ -63,6 +64,7 @@ with `registerComponent(name, zodSchema, meta)` from `@bendyline/molen-schema`.
|
|
|
63
64
|
| `kinematicBody` | kernel/kinematics | Velocity-driven body for the kinematic collision layer. |
|
|
64
65
|
| `lifetime` | kernel | Auto-despawn countdown in ticks. |
|
|
65
66
|
| `light` | client | A light source at the entity transform (directional/point/spot). |
|
|
67
|
+
| `livery` | client | Reusable model paint slots, bound surface markings and selectable liveries. Visual only. |
|
|
66
68
|
| `localTransform` | kernel/gameplay | Parent-relative transform for entities carrying `parent`. |
|
|
67
69
|
| `model.signals` | client | Bind same-entity simulation fields and named numeric expressions to GLB transforms and visibility. Supports calibration, cyclic needles and timed response. Visual only; no physics writes. |
|
|
68
70
|
| `mountable` | kernel/vehicles | Mount points in local meters, ordered safe exit candidates, and interaction reach. Seat position is the rider camera anchor. |
|
|
@@ -153,6 +155,10 @@ Required: `kind`, `type`, `lane`, `s`, `speed`, `seed`, `length`, `width`, `stat
|
|
|
153
155
|
"minimum": 0,
|
|
154
156
|
"description": "Speed along the lane in m/s."
|
|
155
157
|
},
|
|
158
|
+
"boosted": {
|
|
159
|
+
"description": "Lane speed includes the 4× travel boost.",
|
|
160
|
+
"type": "boolean"
|
|
161
|
+
},
|
|
156
162
|
"cruise": {
|
|
157
163
|
"type": "number",
|
|
158
164
|
"exclusiveMinimum": 0,
|
|
@@ -1838,6 +1844,12 @@ Required: none
|
|
|
1838
1844
|
"minimum": 0,
|
|
1839
1845
|
"maximum": 1
|
|
1840
1846
|
},
|
|
1847
|
+
"referenceElevation": {
|
|
1848
|
+
"description": "Sun elevation in degrees whose sunlit-ground brightness is kept as the sun climbs higher: above it, sun and sky light scale down together so a level surface in sun receives the same light, as a camera adapts its exposure. Omit for constant light, which renders midday ground brighter than its authored color.",
|
|
1849
|
+
"type": "number",
|
|
1850
|
+
"minimum": 1,
|
|
1851
|
+
"maximum": 90
|
|
1852
|
+
},
|
|
1841
1853
|
"castShadow": {
|
|
1842
1854
|
"description": "Sun shadows; also requires environment.shadows. Default true.",
|
|
1843
1855
|
"type": "boolean"
|
|
@@ -2072,6 +2084,12 @@ Required: none
|
|
|
2072
2084
|
"minimum": 0,
|
|
2073
2085
|
"maximum": 1
|
|
2074
2086
|
},
|
|
2087
|
+
"referenceElevation": {
|
|
2088
|
+
"description": "Sun elevation in degrees whose sunlit-ground brightness is kept as the sun climbs higher: above it, sun and sky light scale down together so a level surface in sun receives the same light, as a camera adapts its exposure. Omit for constant light, which renders midday ground brighter than its authored color.",
|
|
2089
|
+
"type": "number",
|
|
2090
|
+
"minimum": 1,
|
|
2091
|
+
"maximum": 90
|
|
2092
|
+
},
|
|
2075
2093
|
"castShadow": {
|
|
2076
2094
|
"description": "Sun shadows; also requires environment.shadows. Default true.",
|
|
2077
2095
|
"type": "boolean"
|
|
@@ -2419,6 +2437,418 @@ Required: `type`
|
|
|
2419
2437
|
|
|
2420
2438
|
</details>
|
|
2421
2439
|
|
|
2440
|
+
### `livery`
|
|
2441
|
+
|
|
2442
|
+
Reusable model paint slots, bound surface markings and selectable liveries. Visual only.
|
|
2443
|
+
|
|
2444
|
+
Required: `selected`, `slots`, `variants`
|
|
2445
|
+
|
|
2446
|
+
```json
|
|
2447
|
+
{
|
|
2448
|
+
"selected": "red",
|
|
2449
|
+
"slots": {
|
|
2450
|
+
"body": {
|
|
2451
|
+
"materials": [
|
|
2452
|
+
"body-paint"
|
|
2453
|
+
]
|
|
2454
|
+
}
|
|
2455
|
+
},
|
|
2456
|
+
"variants": [
|
|
2457
|
+
{
|
|
2458
|
+
"id": "red",
|
|
2459
|
+
"label": "Red",
|
|
2460
|
+
"provenance": {
|
|
2461
|
+
"kind": "original",
|
|
2462
|
+
"note": "Original paint.",
|
|
2463
|
+
"references": []
|
|
2464
|
+
},
|
|
2465
|
+
"paints": {
|
|
2466
|
+
"body": {
|
|
2467
|
+
"color": "#b8463d"
|
|
2468
|
+
}
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
]
|
|
2472
|
+
}
|
|
2473
|
+
```
|
|
2474
|
+
|
|
2475
|
+
<details>
|
|
2476
|
+
<summary>JSON Schema</summary>
|
|
2477
|
+
|
|
2478
|
+
```json
|
|
2479
|
+
{
|
|
2480
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2481
|
+
"type": "object",
|
|
2482
|
+
"properties": {
|
|
2483
|
+
"selected": {
|
|
2484
|
+
"type": "string",
|
|
2485
|
+
"minLength": 1,
|
|
2486
|
+
"maxLength": 128,
|
|
2487
|
+
"description": "Selected variant id; patch only this field to change the livery."
|
|
2488
|
+
},
|
|
2489
|
+
"slots": {
|
|
2490
|
+
"type": "object",
|
|
2491
|
+
"propertyNames": {
|
|
2492
|
+
"type": "string",
|
|
2493
|
+
"minLength": 1,
|
|
2494
|
+
"maxLength": 128
|
|
2495
|
+
},
|
|
2496
|
+
"additionalProperties": {
|
|
2497
|
+
"type": "object",
|
|
2498
|
+
"properties": {
|
|
2499
|
+
"materials": {
|
|
2500
|
+
"minItems": 1,
|
|
2501
|
+
"type": "array",
|
|
2502
|
+
"items": {
|
|
2503
|
+
"type": "string",
|
|
2504
|
+
"minLength": 1,
|
|
2505
|
+
"maxLength": 128
|
|
2506
|
+
},
|
|
2507
|
+
"description": "Exact glTF material names belonging to this paint region."
|
|
2508
|
+
},
|
|
2509
|
+
"node": {
|
|
2510
|
+
"description": "Optional named glTF subtree restricting this region.",
|
|
2511
|
+
"type": "string",
|
|
2512
|
+
"minLength": 1,
|
|
2513
|
+
"maxLength": 128
|
|
2514
|
+
}
|
|
2515
|
+
},
|
|
2516
|
+
"required": [
|
|
2517
|
+
"materials"
|
|
2518
|
+
],
|
|
2519
|
+
"additionalProperties": false
|
|
2520
|
+
},
|
|
2521
|
+
"description": "Stable paint regions bound to named model materials."
|
|
2522
|
+
},
|
|
2523
|
+
"anchors": {
|
|
2524
|
+
"description": "Reusable marking projectors attached to model paint regions.",
|
|
2525
|
+
"type": "object",
|
|
2526
|
+
"propertyNames": {
|
|
2527
|
+
"type": "string",
|
|
2528
|
+
"minLength": 1,
|
|
2529
|
+
"maxLength": 128
|
|
2530
|
+
},
|
|
2531
|
+
"additionalProperties": {
|
|
2532
|
+
"type": "object",
|
|
2533
|
+
"properties": {
|
|
2534
|
+
"slot": {
|
|
2535
|
+
"type": "string",
|
|
2536
|
+
"minLength": 1,
|
|
2537
|
+
"maxLength": 128,
|
|
2538
|
+
"description": "Paint region receiving the projected marking."
|
|
2539
|
+
},
|
|
2540
|
+
"position": {
|
|
2541
|
+
"type": "array",
|
|
2542
|
+
"prefixItems": [
|
|
2543
|
+
{
|
|
2544
|
+
"type": "number"
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"type": "number"
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"type": "number"
|
|
2551
|
+
}
|
|
2552
|
+
],
|
|
2553
|
+
"items": false,
|
|
2554
|
+
"minItems": 3,
|
|
2555
|
+
"maxItems": 3,
|
|
2556
|
+
"description": "Projector center as fractions of the region bounds, measured from their minimum corner."
|
|
2557
|
+
},
|
|
2558
|
+
"size": {
|
|
2559
|
+
"type": "array",
|
|
2560
|
+
"prefixItems": [
|
|
2561
|
+
{
|
|
2562
|
+
"type": "number",
|
|
2563
|
+
"exclusiveMinimum": 0,
|
|
2564
|
+
"maximum": 4
|
|
2565
|
+
},
|
|
2566
|
+
{
|
|
2567
|
+
"type": "number",
|
|
2568
|
+
"exclusiveMinimum": 0,
|
|
2569
|
+
"maximum": 4
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
"type": "number",
|
|
2573
|
+
"exclusiveMinimum": 0,
|
|
2574
|
+
"maximum": 4
|
|
2575
|
+
}
|
|
2576
|
+
],
|
|
2577
|
+
"items": false,
|
|
2578
|
+
"minItems": 3,
|
|
2579
|
+
"maxItems": 3,
|
|
2580
|
+
"description": "Projector width, height and depth as fractions of the longest region dimension."
|
|
2581
|
+
},
|
|
2582
|
+
"rotation": {
|
|
2583
|
+
"type": "array",
|
|
2584
|
+
"prefixItems": [
|
|
2585
|
+
{
|
|
2586
|
+
"type": "number"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"type": "number"
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"type": "number"
|
|
2593
|
+
}
|
|
2594
|
+
],
|
|
2595
|
+
"items": false,
|
|
2596
|
+
"minItems": 3,
|
|
2597
|
+
"maxItems": 3,
|
|
2598
|
+
"description": "XYZ Euler rotation in radians; local positive Z points out of the surface."
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
"required": [
|
|
2602
|
+
"slot",
|
|
2603
|
+
"position",
|
|
2604
|
+
"size",
|
|
2605
|
+
"rotation"
|
|
2606
|
+
],
|
|
2607
|
+
"additionalProperties": false
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
"variants": {
|
|
2611
|
+
"minItems": 1,
|
|
2612
|
+
"maxItems": 64,
|
|
2613
|
+
"type": "array",
|
|
2614
|
+
"items": {
|
|
2615
|
+
"type": "object",
|
|
2616
|
+
"properties": {
|
|
2617
|
+
"id": {
|
|
2618
|
+
"type": "string",
|
|
2619
|
+
"minLength": 1,
|
|
2620
|
+
"maxLength": 128,
|
|
2621
|
+
"description": "Stable identifier used by selected."
|
|
2622
|
+
},
|
|
2623
|
+
"label": {
|
|
2624
|
+
"type": "string",
|
|
2625
|
+
"minLength": 1,
|
|
2626
|
+
"maxLength": 256,
|
|
2627
|
+
"description": "Display name for this livery."
|
|
2628
|
+
},
|
|
2629
|
+
"provenance": {
|
|
2630
|
+
"type": "object",
|
|
2631
|
+
"properties": {
|
|
2632
|
+
"kind": {
|
|
2633
|
+
"type": "string",
|
|
2634
|
+
"enum": [
|
|
2635
|
+
"photo",
|
|
2636
|
+
"inspired",
|
|
2637
|
+
"original"
|
|
2638
|
+
],
|
|
2639
|
+
"description": "Whether the appearance is photograph verified, reference inspired or an original design."
|
|
2640
|
+
},
|
|
2641
|
+
"note": {
|
|
2642
|
+
"type": "string",
|
|
2643
|
+
"minLength": 1,
|
|
2644
|
+
"description": "Attribution, verification scope and any deliberate approximations."
|
|
2645
|
+
},
|
|
2646
|
+
"references": {
|
|
2647
|
+
"type": "array",
|
|
2648
|
+
"items": {
|
|
2649
|
+
"type": "object",
|
|
2650
|
+
"properties": {
|
|
2651
|
+
"title": {
|
|
2652
|
+
"type": "string",
|
|
2653
|
+
"minLength": 1,
|
|
2654
|
+
"description": "Human-readable reference title."
|
|
2655
|
+
},
|
|
2656
|
+
"url": {
|
|
2657
|
+
"type": "string",
|
|
2658
|
+
"pattern": "^https?:\\/\\/[^\\s]+$",
|
|
2659
|
+
"description": "HTTP or HTTPS source URL."
|
|
2660
|
+
}
|
|
2661
|
+
},
|
|
2662
|
+
"required": [
|
|
2663
|
+
"title",
|
|
2664
|
+
"url"
|
|
2665
|
+
],
|
|
2666
|
+
"additionalProperties": false
|
|
2667
|
+
},
|
|
2668
|
+
"description": "Public references supporting the appearance; required for photo and inspired designs."
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
"required": [
|
|
2672
|
+
"kind",
|
|
2673
|
+
"note",
|
|
2674
|
+
"references"
|
|
2675
|
+
],
|
|
2676
|
+
"additionalProperties": false,
|
|
2677
|
+
"description": "Evidence and authorship for the appearance."
|
|
2678
|
+
},
|
|
2679
|
+
"paints": {
|
|
2680
|
+
"type": "object",
|
|
2681
|
+
"propertyNames": {
|
|
2682
|
+
"type": "string",
|
|
2683
|
+
"minLength": 1,
|
|
2684
|
+
"maxLength": 128
|
|
2685
|
+
},
|
|
2686
|
+
"additionalProperties": {
|
|
2687
|
+
"type": "object",
|
|
2688
|
+
"properties": {
|
|
2689
|
+
"color": {
|
|
2690
|
+
"type": "string",
|
|
2691
|
+
"pattern": "^#[0-9a-fA-F]{6}$",
|
|
2692
|
+
"description": "Base paint color as an sRGB hex triplet."
|
|
2693
|
+
},
|
|
2694
|
+
"roughness": {
|
|
2695
|
+
"description": "Optional material roughness override.",
|
|
2696
|
+
"type": "number",
|
|
2697
|
+
"minimum": 0,
|
|
2698
|
+
"maximum": 1
|
|
2699
|
+
},
|
|
2700
|
+
"metalness": {
|
|
2701
|
+
"description": "Optional material metalness override.",
|
|
2702
|
+
"type": "number",
|
|
2703
|
+
"minimum": 0,
|
|
2704
|
+
"maximum": 1
|
|
2705
|
+
},
|
|
2706
|
+
"camouflage": {
|
|
2707
|
+
"description": "Optional camouflage projected in model space without changing authored UVs.",
|
|
2708
|
+
"type": "object",
|
|
2709
|
+
"properties": {
|
|
2710
|
+
"colors": {
|
|
2711
|
+
"minItems": 2,
|
|
2712
|
+
"maxItems": 4,
|
|
2713
|
+
"type": "array",
|
|
2714
|
+
"items": {
|
|
2715
|
+
"type": "string",
|
|
2716
|
+
"pattern": "^#[0-9a-fA-F]{6}$"
|
|
2717
|
+
},
|
|
2718
|
+
"description": "Two to four colors for deterministic camouflage patches."
|
|
2719
|
+
},
|
|
2720
|
+
"scale": {
|
|
2721
|
+
"type": "number",
|
|
2722
|
+
"exclusiveMinimum": 0,
|
|
2723
|
+
"maximum": 100,
|
|
2724
|
+
"description": "Pattern repetitions across the longest paint-region dimension."
|
|
2725
|
+
},
|
|
2726
|
+
"seed": {
|
|
2727
|
+
"type": "integer",
|
|
2728
|
+
"minimum": 0,
|
|
2729
|
+
"maximum": 4294967295,
|
|
2730
|
+
"description": "Unsigned deterministic pattern seed."
|
|
2731
|
+
}
|
|
2732
|
+
},
|
|
2733
|
+
"required": [
|
|
2734
|
+
"colors",
|
|
2735
|
+
"scale",
|
|
2736
|
+
"seed"
|
|
2737
|
+
],
|
|
2738
|
+
"additionalProperties": false
|
|
2739
|
+
}
|
|
2740
|
+
},
|
|
2741
|
+
"required": [
|
|
2742
|
+
"color"
|
|
2743
|
+
],
|
|
2744
|
+
"additionalProperties": false
|
|
2745
|
+
},
|
|
2746
|
+
"description": "Paint overrides keyed by stable paint-region name; omitted regions retain their authored appearance."
|
|
2747
|
+
},
|
|
2748
|
+
"markings": {
|
|
2749
|
+
"description": "Surface markings to project for this variant.",
|
|
2750
|
+
"maxItems": 32,
|
|
2751
|
+
"type": "array",
|
|
2752
|
+
"items": {
|
|
2753
|
+
"type": "object",
|
|
2754
|
+
"properties": {
|
|
2755
|
+
"anchor": {
|
|
2756
|
+
"type": "string",
|
|
2757
|
+
"minLength": 1,
|
|
2758
|
+
"maxLength": 128,
|
|
2759
|
+
"description": "Reusable model marking anchor."
|
|
2760
|
+
},
|
|
2761
|
+
"graphic": {
|
|
2762
|
+
"type": "object",
|
|
2763
|
+
"properties": {
|
|
2764
|
+
"label": {
|
|
2765
|
+
"description": "Optional descriptive label; rendered lettering belongs in the polygon artwork.",
|
|
2766
|
+
"type": "string",
|
|
2767
|
+
"maxLength": 256
|
|
2768
|
+
},
|
|
2769
|
+
"shapes": {
|
|
2770
|
+
"minItems": 1,
|
|
2771
|
+
"maxItems": 4096,
|
|
2772
|
+
"type": "array",
|
|
2773
|
+
"items": {
|
|
2774
|
+
"type": "object",
|
|
2775
|
+
"properties": {
|
|
2776
|
+
"color": {
|
|
2777
|
+
"type": "string",
|
|
2778
|
+
"pattern": "^#[0-9a-fA-F]{6}$",
|
|
2779
|
+
"description": "Flat polygon color as an sRGB hex triplet."
|
|
2780
|
+
},
|
|
2781
|
+
"points": {
|
|
2782
|
+
"minItems": 3,
|
|
2783
|
+
"maxItems": 512,
|
|
2784
|
+
"type": "array",
|
|
2785
|
+
"items": {
|
|
2786
|
+
"type": "array",
|
|
2787
|
+
"prefixItems": [
|
|
2788
|
+
{
|
|
2789
|
+
"type": "number",
|
|
2790
|
+
"minimum": 0,
|
|
2791
|
+
"maximum": 1
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"type": "number",
|
|
2795
|
+
"minimum": 0,
|
|
2796
|
+
"maximum": 1
|
|
2797
|
+
}
|
|
2798
|
+
],
|
|
2799
|
+
"items": false,
|
|
2800
|
+
"minItems": 2,
|
|
2801
|
+
"maxItems": 2
|
|
2802
|
+
},
|
|
2803
|
+
"description": "Polygon vertices in normalized 0–1 coordinates with positive Y upward."
|
|
2804
|
+
}
|
|
2805
|
+
},
|
|
2806
|
+
"required": [
|
|
2807
|
+
"color",
|
|
2808
|
+
"points"
|
|
2809
|
+
],
|
|
2810
|
+
"additionalProperties": false
|
|
2811
|
+
},
|
|
2812
|
+
"description": "Original flat artwork polygons, painted in order."
|
|
2813
|
+
}
|
|
2814
|
+
},
|
|
2815
|
+
"required": [
|
|
2816
|
+
"shapes"
|
|
2817
|
+
],
|
|
2818
|
+
"additionalProperties": false,
|
|
2819
|
+
"description": "Resolution-independent artwork rasterized for the surface projector."
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
"required": [
|
|
2823
|
+
"anchor",
|
|
2824
|
+
"graphic"
|
|
2825
|
+
],
|
|
2826
|
+
"additionalProperties": false
|
|
2827
|
+
}
|
|
2828
|
+
}
|
|
2829
|
+
},
|
|
2830
|
+
"required": [
|
|
2831
|
+
"id",
|
|
2832
|
+
"label",
|
|
2833
|
+
"provenance",
|
|
2834
|
+
"paints"
|
|
2835
|
+
],
|
|
2836
|
+
"additionalProperties": false
|
|
2837
|
+
},
|
|
2838
|
+
"description": "Available livery recipes for this model."
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
"required": [
|
|
2842
|
+
"selected",
|
|
2843
|
+
"slots",
|
|
2844
|
+
"variants"
|
|
2845
|
+
],
|
|
2846
|
+
"additionalProperties": false
|
|
2847
|
+
}
|
|
2848
|
+
```
|
|
2849
|
+
|
|
2850
|
+
</details>
|
|
2851
|
+
|
|
2422
2852
|
### `model.signals`
|
|
2423
2853
|
|
|
2424
2854
|
Bind same-entity simulation fields and named numeric expressions to GLB transforms and visibility. Supports calibration, cyclic needles and timed response. Visual only; no physics writes.
|
|
@@ -3546,6 +3976,40 @@ Required: `mode`, `speed`, `strideRate`, `phaseAt`, `phaseAtTick`, `modeAtTick`
|
|
|
3546
3976
|
|
|
3547
3977
|
## Owner: kernel
|
|
3548
3978
|
|
|
3979
|
+
### `boostMode`
|
|
3980
|
+
|
|
3981
|
+
World-wide 4× travel assist for people and vehicles. Control response times stay normal.
|
|
3982
|
+
|
|
3983
|
+
Required: `enabled`
|
|
3984
|
+
|
|
3985
|
+
```json
|
|
3986
|
+
{
|
|
3987
|
+
"enabled": true
|
|
3988
|
+
}
|
|
3989
|
+
```
|
|
3990
|
+
|
|
3991
|
+
<details>
|
|
3992
|
+
<summary>JSON Schema</summary>
|
|
3993
|
+
|
|
3994
|
+
```json
|
|
3995
|
+
{
|
|
3996
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3997
|
+
"type": "object",
|
|
3998
|
+
"properties": {
|
|
3999
|
+
"enabled": {
|
|
4000
|
+
"type": "boolean",
|
|
4001
|
+
"description": "Enable 4× travel speed for people and vehicles."
|
|
4002
|
+
}
|
|
4003
|
+
},
|
|
4004
|
+
"required": [
|
|
4005
|
+
"enabled"
|
|
4006
|
+
],
|
|
4007
|
+
"additionalProperties": false
|
|
4008
|
+
}
|
|
4009
|
+
```
|
|
4010
|
+
|
|
4011
|
+
</details>
|
|
4012
|
+
|
|
3549
4013
|
### `lifetime`
|
|
3550
4014
|
|
|
3551
4015
|
Auto-despawn countdown in ticks.
|
|
@@ -4052,6 +4516,26 @@ Required: `kind`, `spec`
|
|
|
4052
4516
|
"description": "Single engine, implicitly named main. Supply exactly one of engine or engines.",
|
|
4053
4517
|
"type": "object",
|
|
4054
4518
|
"properties": {
|
|
4519
|
+
"mixtureControl": {
|
|
4520
|
+
"description": "Manual piston mixture; omitted leaves fuel scheduling automatic.",
|
|
4521
|
+
"type": "boolean"
|
|
4522
|
+
},
|
|
4523
|
+
"propellerControl": {
|
|
4524
|
+
"description": "Constant-speed propeller; the lever selects RPM and the governor varies pitch.",
|
|
4525
|
+
"type": "object",
|
|
4526
|
+
"properties": {
|
|
4527
|
+
"minRpm": {
|
|
4528
|
+
"type": "number",
|
|
4529
|
+
"minimum": 0.3,
|
|
4530
|
+
"maximum": 0.95,
|
|
4531
|
+
"description": "Minimum governed RPM as a fraction of rated propeller RPM."
|
|
4532
|
+
}
|
|
4533
|
+
},
|
|
4534
|
+
"required": [
|
|
4535
|
+
"minRpm"
|
|
4536
|
+
],
|
|
4537
|
+
"additionalProperties": false
|
|
4538
|
+
},
|
|
4055
4539
|
"propulsion": {
|
|
4056
4540
|
"description": "Installed propulsion type; omitted preserves the legacy constant-power model.",
|
|
4057
4541
|
"type": "string",
|
|
@@ -4196,6 +4680,26 @@ Required: `kind`, `spec`
|
|
|
4196
4680
|
"items": {
|
|
4197
4681
|
"type": "object",
|
|
4198
4682
|
"properties": {
|
|
4683
|
+
"mixtureControl": {
|
|
4684
|
+
"description": "Manual piston mixture; omitted leaves fuel scheduling automatic.",
|
|
4685
|
+
"type": "boolean"
|
|
4686
|
+
},
|
|
4687
|
+
"propellerControl": {
|
|
4688
|
+
"description": "Constant-speed propeller; the lever selects RPM and the governor varies pitch.",
|
|
4689
|
+
"type": "object",
|
|
4690
|
+
"properties": {
|
|
4691
|
+
"minRpm": {
|
|
4692
|
+
"type": "number",
|
|
4693
|
+
"minimum": 0.3,
|
|
4694
|
+
"maximum": 0.95,
|
|
4695
|
+
"description": "Minimum governed RPM as a fraction of rated propeller RPM."
|
|
4696
|
+
}
|
|
4697
|
+
},
|
|
4698
|
+
"required": [
|
|
4699
|
+
"minRpm"
|
|
4700
|
+
],
|
|
4701
|
+
"additionalProperties": false
|
|
4702
|
+
},
|
|
4199
4703
|
"propulsion": {
|
|
4200
4704
|
"description": "Installed propulsion type; omitted preserves the legacy constant-power model.",
|
|
4201
4705
|
"type": "string",
|
|
@@ -4937,6 +5441,140 @@ Required: `kind`, `spec`
|
|
|
4937
5441
|
},
|
|
4938
5442
|
"description": "External collisionProbes setting."
|
|
4939
5443
|
},
|
|
5444
|
+
"collisionParts": {
|
|
5445
|
+
"description": "Breakable airframe sections: local probe spheres, section center, mass fraction, normal break speed (m/s), GLB nodes and attached engines. Replaces collisionProbes.",
|
|
5446
|
+
"minItems": 1,
|
|
5447
|
+
"maxItems": 64,
|
|
5448
|
+
"type": "array",
|
|
5449
|
+
"items": {
|
|
5450
|
+
"type": "object",
|
|
5451
|
+
"properties": {
|
|
5452
|
+
"id": {
|
|
5453
|
+
"type": "string",
|
|
5454
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
|
|
5455
|
+
"description": "Unique section id used by damage and debris state."
|
|
5456
|
+
},
|
|
5457
|
+
"role": {
|
|
5458
|
+
"type": "string",
|
|
5459
|
+
"enum": [
|
|
5460
|
+
"body",
|
|
5461
|
+
"leftWing",
|
|
5462
|
+
"rightWing",
|
|
5463
|
+
"tail",
|
|
5464
|
+
"rotor",
|
|
5465
|
+
"gear",
|
|
5466
|
+
"engine"
|
|
5467
|
+
],
|
|
5468
|
+
"description": "Flight role; +X is the left wing. Body sections cannot detach."
|
|
5469
|
+
},
|
|
5470
|
+
"probes": {
|
|
5471
|
+
"minItems": 1,
|
|
5472
|
+
"maxItems": 64,
|
|
5473
|
+
"type": "array",
|
|
5474
|
+
"items": {
|
|
5475
|
+
"minItems": 3,
|
|
5476
|
+
"maxItems": 3,
|
|
5477
|
+
"type": "array",
|
|
5478
|
+
"items": {
|
|
5479
|
+
"type": "number"
|
|
5480
|
+
}
|
|
5481
|
+
},
|
|
5482
|
+
"description": "Local collision sphere centers, meters."
|
|
5483
|
+
},
|
|
5484
|
+
"radius": {
|
|
5485
|
+
"type": "number",
|
|
5486
|
+
"exclusiveMinimum": 0,
|
|
5487
|
+
"description": "Probe and detached-piece collision radius, meters."
|
|
5488
|
+
},
|
|
5489
|
+
"center": {
|
|
5490
|
+
"minItems": 3,
|
|
5491
|
+
"maxItems": 3,
|
|
5492
|
+
"type": "array",
|
|
5493
|
+
"items": {
|
|
5494
|
+
"type": "number"
|
|
5495
|
+
},
|
|
5496
|
+
"description": "Section center in model coordinates, meters."
|
|
5497
|
+
},
|
|
5498
|
+
"massFraction": {
|
|
5499
|
+
"type": "number",
|
|
5500
|
+
"exclusiveMinimum": 0,
|
|
5501
|
+
"maximum": 1,
|
|
5502
|
+
"description": "Share of the original mass removed on separation."
|
|
5503
|
+
},
|
|
5504
|
+
"breakSpeed": {
|
|
5505
|
+
"description": "Joint failure speed in m/s for a normal impact. Loaded sliding also causes shear damage. Omit for an unbreakable section.",
|
|
5506
|
+
"type": "number",
|
|
5507
|
+
"exclusiveMinimum": 0
|
|
5508
|
+
},
|
|
5509
|
+
"nodes": {
|
|
5510
|
+
"type": "array",
|
|
5511
|
+
"items": {
|
|
5512
|
+
"type": "string",
|
|
5513
|
+
"minLength": 1
|
|
5514
|
+
},
|
|
5515
|
+
"description": "GLB node names belonging to this section, including attached controls."
|
|
5516
|
+
},
|
|
5517
|
+
"fragments": {
|
|
5518
|
+
"description": "Optional region for splitting shared markings and detail meshes.",
|
|
5519
|
+
"type": "object",
|
|
5520
|
+
"properties": {
|
|
5521
|
+
"nodes": {
|
|
5522
|
+
"minItems": 1,
|
|
5523
|
+
"type": "array",
|
|
5524
|
+
"items": {
|
|
5525
|
+
"type": "string",
|
|
5526
|
+
"minLength": 1
|
|
5527
|
+
},
|
|
5528
|
+
"description": "Shared static meshes to partition by triangle centroid."
|
|
5529
|
+
},
|
|
5530
|
+
"min": {
|
|
5531
|
+
"minItems": 3,
|
|
5532
|
+
"maxItems": 3,
|
|
5533
|
+
"type": "array",
|
|
5534
|
+
"items": {
|
|
5535
|
+
"type": "number"
|
|
5536
|
+
},
|
|
5537
|
+
"description": "Minimum corner of the section region in model meters."
|
|
5538
|
+
},
|
|
5539
|
+
"max": {
|
|
5540
|
+
"minItems": 3,
|
|
5541
|
+
"maxItems": 3,
|
|
5542
|
+
"type": "array",
|
|
5543
|
+
"items": {
|
|
5544
|
+
"type": "number"
|
|
5545
|
+
},
|
|
5546
|
+
"description": "Maximum corner of the section region in model meters."
|
|
5547
|
+
}
|
|
5548
|
+
},
|
|
5549
|
+
"required": [
|
|
5550
|
+
"nodes",
|
|
5551
|
+
"min",
|
|
5552
|
+
"max"
|
|
5553
|
+
],
|
|
5554
|
+
"additionalProperties": false
|
|
5555
|
+
},
|
|
5556
|
+
"engines": {
|
|
5557
|
+
"description": "Engine ids that fail when this section detaches.",
|
|
5558
|
+
"type": "array",
|
|
5559
|
+
"items": {
|
|
5560
|
+
"type": "string",
|
|
5561
|
+
"pattern": "^[A-Za-z][A-Za-z0-9_-]*$",
|
|
5562
|
+
"description": "Stable engine id, such as left or right; single-engine form uses main."
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
},
|
|
5566
|
+
"required": [
|
|
5567
|
+
"id",
|
|
5568
|
+
"role",
|
|
5569
|
+
"probes",
|
|
5570
|
+
"radius",
|
|
5571
|
+
"center",
|
|
5572
|
+
"massFraction",
|
|
5573
|
+
"nodes"
|
|
5574
|
+
],
|
|
5575
|
+
"additionalProperties": false
|
|
5576
|
+
}
|
|
5577
|
+
},
|
|
4940
5578
|
"visual": {
|
|
4941
5579
|
"type": "object",
|
|
4942
5580
|
"properties": {
|
|
@@ -5638,6 +6276,18 @@ Required: `power`, `pitch`, `roll`, `yaw`, `brake`, `engine`, `gear`, `flaps`
|
|
|
5638
6276
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5639
6277
|
"type": "object",
|
|
5640
6278
|
"properties": {
|
|
6279
|
+
"mixture": {
|
|
6280
|
+
"description": "Common mixture: 0 idle cutoff, 1 full rich (default).",
|
|
6281
|
+
"type": "number",
|
|
6282
|
+
"minimum": 0,
|
|
6283
|
+
"maximum": 1
|
|
6284
|
+
},
|
|
6285
|
+
"propeller": {
|
|
6286
|
+
"description": "Common propeller lever: 0 minimum governed RPM, 1 maximum (default).",
|
|
6287
|
+
"type": "number",
|
|
6288
|
+
"minimum": 0,
|
|
6289
|
+
"maximum": 1
|
|
6290
|
+
},
|
|
5641
6291
|
"power": {
|
|
5642
6292
|
"type": "number",
|
|
5643
6293
|
"minimum": 0,
|
|
@@ -5687,6 +6337,18 @@ Required: `power`, `pitch`, `roll`, `yaw`, `brake`, `engine`, `gear`, `flaps`
|
|
|
5687
6337
|
"minimum": 0,
|
|
5688
6338
|
"maximum": 1
|
|
5689
6339
|
},
|
|
6340
|
+
"mixture": {
|
|
6341
|
+
"description": "Individual mixture override; inherits common mixture.",
|
|
6342
|
+
"type": "number",
|
|
6343
|
+
"minimum": 0,
|
|
6344
|
+
"maximum": 1
|
|
6345
|
+
},
|
|
6346
|
+
"propeller": {
|
|
6347
|
+
"description": "Individual propeller RPM override; inherits common propeller.",
|
|
6348
|
+
"type": "number",
|
|
6349
|
+
"minimum": 0,
|
|
6350
|
+
"maximum": 1
|
|
6351
|
+
},
|
|
5690
6352
|
"enabled": {
|
|
5691
6353
|
"description": "Individual engine switch; common engine switch is the master cutoff.",
|
|
5692
6354
|
"type": "boolean"
|
|
@@ -5774,6 +6436,102 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
|
|
|
5774
6436
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5775
6437
|
"type": "object",
|
|
5776
6438
|
"properties": {
|
|
6439
|
+
"damage": {
|
|
6440
|
+
"description": "Persistent section integrity and separation, keyed by collision part id.",
|
|
6441
|
+
"type": "object",
|
|
6442
|
+
"propertyNames": {
|
|
6443
|
+
"type": "string"
|
|
6444
|
+
},
|
|
6445
|
+
"additionalProperties": {
|
|
6446
|
+
"type": "object",
|
|
6447
|
+
"properties": {
|
|
6448
|
+
"integrity": {
|
|
6449
|
+
"type": "number",
|
|
6450
|
+
"minimum": 0,
|
|
6451
|
+
"maximum": 1,
|
|
6452
|
+
"description": "Remaining joint integrity, 0 broken to 1 intact."
|
|
6453
|
+
},
|
|
6454
|
+
"detached": {
|
|
6455
|
+
"type": "boolean",
|
|
6456
|
+
"description": "Section has separated and no longer supplies lift or collision probes."
|
|
6457
|
+
}
|
|
6458
|
+
},
|
|
6459
|
+
"required": [
|
|
6460
|
+
"integrity",
|
|
6461
|
+
"detached"
|
|
6462
|
+
],
|
|
6463
|
+
"additionalProperties": false
|
|
6464
|
+
}
|
|
6465
|
+
},
|
|
6466
|
+
"debris": {
|
|
6467
|
+
"description": "Detached sections in world coordinates, simulated for 20 seconds. Their removal does not repair the aircraft.",
|
|
6468
|
+
"maxItems": 64,
|
|
6469
|
+
"type": "array",
|
|
6470
|
+
"items": {
|
|
6471
|
+
"type": "object",
|
|
6472
|
+
"properties": {
|
|
6473
|
+
"part": {
|
|
6474
|
+
"type": "string",
|
|
6475
|
+
"minLength": 1,
|
|
6476
|
+
"description": "Owning collision section id."
|
|
6477
|
+
},
|
|
6478
|
+
"pos": {
|
|
6479
|
+
"minItems": 3,
|
|
6480
|
+
"maxItems": 3,
|
|
6481
|
+
"type": "array",
|
|
6482
|
+
"items": {
|
|
6483
|
+
"type": "number"
|
|
6484
|
+
},
|
|
6485
|
+
"description": "Section center in world meters."
|
|
6486
|
+
},
|
|
6487
|
+
"rot": {
|
|
6488
|
+
"minItems": 4,
|
|
6489
|
+
"maxItems": 4,
|
|
6490
|
+
"type": "array",
|
|
6491
|
+
"items": {
|
|
6492
|
+
"type": "number"
|
|
6493
|
+
},
|
|
6494
|
+
"description": "World-space section orientation quaternion."
|
|
6495
|
+
},
|
|
6496
|
+
"velocity": {
|
|
6497
|
+
"minItems": 3,
|
|
6498
|
+
"maxItems": 3,
|
|
6499
|
+
"type": "array",
|
|
6500
|
+
"items": {
|
|
6501
|
+
"type": "number"
|
|
6502
|
+
},
|
|
6503
|
+
"description": "World velocity in m/s, inherited at separation including travel boost."
|
|
6504
|
+
},
|
|
6505
|
+
"angularVelocity": {
|
|
6506
|
+
"minItems": 3,
|
|
6507
|
+
"maxItems": 3,
|
|
6508
|
+
"type": "array",
|
|
6509
|
+
"items": {
|
|
6510
|
+
"type": "number"
|
|
6511
|
+
},
|
|
6512
|
+
"description": "Local angular velocity about +X, +Y and +Z, rad/s."
|
|
6513
|
+
},
|
|
6514
|
+
"age": {
|
|
6515
|
+
"type": "number",
|
|
6516
|
+
"minimum": 0,
|
|
6517
|
+
"description": "Simulated seconds since separation; expires at 20 seconds."
|
|
6518
|
+
}
|
|
6519
|
+
},
|
|
6520
|
+
"required": [
|
|
6521
|
+
"part",
|
|
6522
|
+
"pos",
|
|
6523
|
+
"rot",
|
|
6524
|
+
"velocity",
|
|
6525
|
+
"angularVelocity",
|
|
6526
|
+
"age"
|
|
6527
|
+
],
|
|
6528
|
+
"additionalProperties": false
|
|
6529
|
+
}
|
|
6530
|
+
},
|
|
6531
|
+
"boosted": {
|
|
6532
|
+
"description": "Speeds include the 4× travel boost; kernel-owned.",
|
|
6533
|
+
"type": "boolean"
|
|
6534
|
+
},
|
|
5777
6535
|
"mach": {
|
|
5778
6536
|
"description": "True airspeed divided by local speed of sound.",
|
|
5779
6537
|
"type": "number",
|
|
@@ -5885,6 +6643,15 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
|
|
|
5885
6643
|
"minimum": 0,
|
|
5886
6644
|
"maximum": 1
|
|
5887
6645
|
},
|
|
6646
|
+
"shaftPower": {
|
|
6647
|
+
"type": "number",
|
|
6648
|
+
"minimum": 0
|
|
6649
|
+
},
|
|
6650
|
+
"combustion": {
|
|
6651
|
+
"type": "number",
|
|
6652
|
+
"minimum": 0,
|
|
6653
|
+
"maximum": 1
|
|
6654
|
+
},
|
|
5888
6655
|
"rotorAngle": {
|
|
5889
6656
|
"type": "number"
|
|
5890
6657
|
},
|
|
@@ -5949,7 +6716,7 @@ Required: `velocity`, `yaw`, `pitch`, `roll`, `pitchRate`, `rollRate`, `rpm`, `r
|
|
|
5949
6716
|
},
|
|
5950
6717
|
"crashed": {
|
|
5951
6718
|
"type": "boolean",
|
|
5952
|
-
"description": "
|
|
6719
|
+
"description": "Airframe damage requiring recovery. Motion continues under forces and collision impulses."
|
|
5953
6720
|
},
|
|
5954
6721
|
"waitingForTerrain": {
|
|
5955
6722
|
"type": "boolean",
|
|
@@ -6725,6 +7492,10 @@ Required: `speed`, `lateralSpeed`, `velocity`, `yaw`, `yawRate`, `steer`, `pitch
|
|
|
6725
7492
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6726
7493
|
"type": "object",
|
|
6727
7494
|
"properties": {
|
|
7495
|
+
"boosted": {
|
|
7496
|
+
"description": "Horizontal speeds include the 4× travel boost.",
|
|
7497
|
+
"type": "boolean"
|
|
7498
|
+
},
|
|
6728
7499
|
"speed": {
|
|
6729
7500
|
"type": "number",
|
|
6730
7501
|
"description": "Forward speed through water in m/s."
|
|
@@ -8773,6 +9544,10 @@ Required: `speed`, `steer`, `yaw`, `pitch`, `roll`, `vy`, `grounded`, `waitingFo
|
|
|
8773
9544
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
8774
9545
|
"type": "object",
|
|
8775
9546
|
"properties": {
|
|
9547
|
+
"boosted": {
|
|
9548
|
+
"description": "Speeds include the 4× travel boost; kernel-owned.",
|
|
9549
|
+
"type": "boolean"
|
|
9550
|
+
},
|
|
8776
9551
|
"speed": {
|
|
8777
9552
|
"type": "number",
|
|
8778
9553
|
"description": "Signed forward speed in meters per second."
|