215 lines
50 KiB
Plaintext
215 lines
50 KiB
Plaintext
|
[gd_scene load_steps=29 format=3 uid="uid://15n8ith24fc4"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://addons/qodot/src/nodes/qodot_map.gd" id="1"]
|
||
|
[ext_resource type="Resource" uid="uid://c36hv0o6g0udo" path="res://addons/qodot/game_definitions/fgd/qodot_fgd.tres" id="2"]
|
||
|
[ext_resource type="Texture2D" uid="uid://c31tbmy4phf2h" path="res://addons/qodot/textures/base/checkerboard.png" id="3"]
|
||
|
[ext_resource type="Texture2D" uid="uid://bw7tponn4vieu" path="res://addons/qodot/textures/base/grid.png" id="5"]
|
||
|
[ext_resource type="PackedScene" uid="uid://b7ccfkajnmn64" path="res://addons/qodot/game_definitions/fgd/point_classes/physics_ball.tscn" id="6"]
|
||
|
[ext_resource type="Script" path="res://addons/qodot/game_definitions/fgd/point_classes/physics_ball.gd" id="6_hcttl"]
|
||
|
|
||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_vlfmy"]
|
||
|
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
||
|
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
||
|
|
||
|
[sub_resource type="Sky" id="Sky_e6gqh"]
|
||
|
sky_material = SubResource("ProceduralSkyMaterial_vlfmy")
|
||
|
|
||
|
[sub_resource type="Environment" id="Environment_1ep67"]
|
||
|
background_mode = 2
|
||
|
sky = SubResource("Sky_e6gqh")
|
||
|
tonemap_mode = 2
|
||
|
glow_enabled = true
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="4"]
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ku03u"]
|
||
|
albedo_texture = ExtResource("5")
|
||
|
texture_filter = 5
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gu7s7"]
|
||
|
albedo_texture = ExtResource("3")
|
||
|
texture_filter = 5
|
||
|
|
||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_wdu2n"]
|
||
|
lightmap_size_hint = Vector2i(1710, 1730)
|
||
|
_surfaces = [{
|
||
|
"aabb": AABB(-12, -1, -21, 24, 1.00001, 45),
|
||
|
"attribute_data": PackedByteArray(0, 0, 192, 63, 0, 0, 0, 0, 190, 28, 32, 63, 37, 194, 240, 62, 0, 0, 192, 63, 0, 0, 0, 62, 55, 145, 29, 63, 37, 194, 240, 62, 0, 0, 192, 191, 0, 0, 0, 62, 55, 145, 29, 63, 227, 161, 125, 62, 0, 0, 192, 191, 0, 0, 0, 0, 190, 28, 32, 63, 227, 161, 125, 62, 0, 0, 40, 192, 0, 0, 0, 0, 242, 129, 226, 62, 69, 214, 172, 60, 0, 0, 64, 64, 0, 0, 0, 0, 242, 129, 226, 62, 90, 47, 224, 62, 0, 0, 64, 64, 0, 0, 0, 62, 0, 153, 231, 62, 90, 47, 224, 62, 0, 0, 40, 192, 0, 0, 0, 62, 0, 153, 231, 62, 69, 214, 172, 60, 0, 0, 40, 192, 0, 0, 192, 191, 60, 136, 239, 59, 222, 82, 104, 62, 0, 0, 40, 192, 0, 0, 192, 63, 60, 136, 239, 59, 163, 26, 230, 62, 0, 0, 64, 64, 0, 0, 192, 63, 253, 158, 219, 62, 163, 26, 230, 62, 0, 0, 64, 64, 0, 0, 192, 191, 253, 158, 219, 62, 222, 82, 104, 62, 0, 0, 40, 192, 0, 0, 192, 191, 243, 76, 153, 57, 64, 135, 151, 57, 0, 0, 64, 64, 0, 0, 192, 191, 48, 7, 216, 62, 64, 135, 151, 57, 0, 0, 64, 64, 0, 0, 192, 63, 48, 7, 216, 62, 43, 46, 100, 62, 0, 0, 40, 192, 0, 0, 192, 63, 243, 76, 153, 57, 43, 46, 100, 62, 0, 0, 40, 64, 0, 0, 0, 0, 241, 132, 220, 62, 229, 153, 248, 60, 0, 0, 40, 64, 0, 0, 0, 62, 255, 155, 225, 62, 229, 153, 248, 60, 0, 0, 64, 192, 0, 0, 0, 62, 255, 155, 225, 62, 148, 235, 228, 62, 0, 0, 64, 192, 0, 0, 0, 0, 241, 132, 220, 62, 148, 235, 228, 62, 0, 0, 192, 191, 0, 0, 0, 0, 254, 105, 82, 63, 190, 157, 75, 60, 0, 0, 192, 63, 0, 0, 0, 0, 208, 198, 24, 63, 190, 157, 75, 60, 0, 0, 192, 63, 0, 0, 0, 62, 208, 198, 24, 63, 40, 120, 42, 59, 0, 0, 192, 191, 0, 0, 0, 62, 254, 105, 82, 63, 40, 120, 42, 59),
|
||
|
"format": 34359742519,
|
||
|
"index_count": 36,
|
||
|
"index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 0, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 4, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 0, 8, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 12, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, 0, 16, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 20, 0, 22, 0, 23, 0),
|
||
|
"material": SubResource("StandardMaterial3D_ku03u"),
|
||
|
"primitive": 3,
|
||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||
|
"vertex_count": 24,
|
||
|
"vertex_data": PackedByteArray(0, 0, 64, 193, 0, 0, 0, 0, 0, 0, 168, 193, 0, 0, 64, 193, 0, 0, 128, 191, 0, 0, 168, 193, 0, 0, 64, 65, 0, 0, 128, 191, 0, 0, 168, 193, 0, 0, 64, 65, 0, 0, 0, 0, 0, 0, 168, 193, 0, 0, 64, 193, 0, 0, 0, 0, 0, 0, 168, 193, 0, 0, 64, 193, 0, 0, 0, 0, 0, 0, 192, 65, 0, 0, 64, 193, 0, 0, 128, 191, 0, 0, 192, 65, 0, 0, 64, 193, 0, 0, 128, 191, 0, 0, 168, 193, 0, 0, 64, 65, 0, 0, 128, 191, 0, 0, 168, 193, 0, 0, 64, 193, 0, 0, 128, 191, 0, 0, 168, 193, 0, 0, 64, 193, 0, 0, 128, 191, 0, 0, 192, 65, 0, 0, 64, 65, 0, 0, 128, 191, 0, 0, 192, 65, 0, 0, 64, 65, 0, 0, 0, 0, 0, 0, 168, 193, 0, 0, 64, 65, 0, 0, 0, 0, 0, 0, 192, 65, 0, 0, 64, 193, 0, 0, 0, 0, 0, 0, 192, 65, 0, 0, 64, 193, 0, 0, 0, 0, 0, 0, 168, 193, 0, 0, 64, 65, 0, 0, 0, 0, 0, 0, 168, 193, 0, 0, 64, 65, 0, 0, 128, 191, 0, 0, 168, 193, 0, 0, 64, 65, 0, 0, 128, 191, 0, 0, 192, 65, 0, 0, 64, 65, 0, 0, 0, 0, 0, 0, 192, 65, 0, 0, 64, 193, 0, 0, 0, 0, 0, 0, 192, 65, 0, 0, 64, 65, 0, 0, 0, 0, 0, 0, 192, 65, 0, 0, 64, 65, 0, 0, 128, 191, 0, 0, 192, 65, 0, 0, 64, 193, 0, 0, 128, 191, 0, 0, 192, 65, 255, 255, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 255, 191, 0, 0, 0, 128, 255, 127, 255, 191, 0, 0, 0, 128, 255, 127, 255, 191, 0, 0, 0, 128, 255, 127, 255, 191, 0, 0, 0, 128, 255, 127, 255, 191, 0, 128, 0, 0, 255, 127, 0, 192, 0, 128, 0, 0, 255, 127, 0, 192, 0, 128, 0, 0, 255, 127, 0, 192, 0, 128, 0, 0, 255, 127, 0, 192, 0, 128, 255, 255, 255, 127, 255, 191, 0, 128, 255, 255, 255, 127, 255, 191, 0, 128, 255, 255, 255, 127, 255, 191, 0, 128, 255, 255, 255, 127, 255, 191, 255, 255, 0, 128, 255, 255, 255, 255, 255, 255, 0, 128, 255, 255, 255, 255, 255, 255, 0, 128, 255, 255, 255, 255, 255, 255, 0, 128, 255, 255, 255, 255, 255, 127, 255, 127, 255, 255, 255, 191, 255, 127, 255, 127, 255, 255, 255, 191, 255, 127, 255, 127, 255, 255, 255, 191, 255, 127, 255, 127, 255, 255, 255, 191)
|
||
|
}, {
|
||
|
"aabb": AABB(-11, -1.67431e-07, -20, 22, 16, 43),
|
||
|
"attribute_data": PackedByteArray(0, 0, 48, 64, 0, 0, 128, 192, 65, 24, 41, 63, 241, 113, 31, 63, 0, 0, 48, 64, 0, 0, 0, 0, 65, 24, 41, 63, 127, 212, 242, 62, 0, 0, 48, 192, 0, 0, 0, 0, 244, 126, 232, 62, 127, 212, 242, 62, 0, 0, 48, 192, 0, 0, 128, 192, 244, 126, 232, 62, 241, 113, 31, 63, 0, 0, 160, 192, 0, 0, 128, 192, 155, 253, 119, 63, 84, 195, 236, 59, 0, 0, 144, 192, 0, 0, 128, 192, 86, 238, 124, 63, 84, 195, 236, 59, 0, 0, 144, 192, 0, 0, 0, 0, 86, 238, 124, 63, 226, 132, 31, 62, 0, 0, 160, 192, 0, 0, 0, 0, 155, 253, 119, 63, 226, 132, 31, 62, 0, 0, 160, 64, 0, 0, 48, 192, 124, 213, 161, 62, 79, 21, 120, 63, 0, 0, 160, 64, 0, 0, 48, 64, 133, 195, 5, 63, 79, 21, 120, 63, 0, 0, 144, 64, 0, 0, 48, 64, 133, 195, 5, 63, 107, 247, 124, 63, 0, 0, 144, 64, 0, 0, 48, 192, 124, 213, 161, 62, 107, 247, 124, 63, 0, 0, 160, 192, 0, 0, 48, 192, 26, 255, 116, 63, 40, 25, 75, 63, 0, 0, 144, 192, 0, 0, 48, 192, 213, 239, 121, 63, 40, 25, 75, 63, 0, 0, 144, 192, 0, 0, 48, 64, 213, 239, 121, 63, 136, 85, 127, 63, 0, 0, 160, 192, 0, 0, 48, 64, 26, 255, 116, 63, 136, 85, 127, 63, 0, 0, 160, 64, 0, 0, 128, 192, 232, 150, 120, 63, 189, 33, 14, 63, 0, 0, 160, 64, 0, 0, 0, 0, 232, 150, 120, 63, 111, 41, 52, 63, 0, 0, 144, 64, 0, 0, 0, 0, 163, 135, 125, 63, 111, 41, 52, 63, 0, 0, 144, 64, 0, 0, 128, 192, 163, 135, 125, 63, 189, 33, 14, 63, 0, 0, 48, 192, 0, 0, 128, 192, 0, 153, 231, 62, 169, 134, 25, 63, 0, 0, 48, 64, 0, 0, 128, 192, 229, 206, 123, 62, 169, 134, 25, 63, 0, 0, 48, 64, 0, 0, 0, 0, 229, 206, 123, 62, 238, 253, 230, 62, 0, 0, 48, 192, 0, 0, 0, 0, 0, 153, 231, 62, 238, 253, 230, 62, 0, 0, 48, 64, 0, 0, 128, 192, 96, 217, 102, 62, 169, 134, 25, 63, 0, 0, 48, 64, 0, 0, 0, 0, 96, 217, 102, 62, 238, 253, 230, 62, 0, 0, 48, 192, 0, 0, 0, 0, 39, 178, 155, 60, 238, 253, 230, 62, 0, 0, 48, 192, 0, 0, 128, 192, 39, 178, 155, 60, 169, 134, 25, 63, 0, 0, 168, 64, 0, 0, 128, 192, 1, 203, 118, 63, 96, 60, 52, 62, 0, 0, 184, 64, 0, 0, 128, 192, 188, 187, 123, 63, 96, 60, 52, 62, 0, 0, 184, 64, 0, 0, 0, 0, 188, 187, 123, 63, 148, 45, 166, 62, 0, 0, 168, 64, 0, 0, 0, 0, 1, 203, 118, 63, 148, 45, 166, 62, 0, 0, 168, 192, 0, 0, 48, 192, 216, 233, 21, 63, 116, 120, 137, 62, 0, 0, 168, 192, 0, 0, 48, 64, 216, 233, 21, 63, 52, 241, 241, 62, 0, 0, 184, 192, 0, 0, 48, 64, 10, 185, 26, 63, 52, 241, 241, 62, 0, 0, 184, 192, 0, 0, 48, 192, 10, 185, 26, 63, 116, 120, 137, 62, 0, 0, 168, 64, 0, 0, 48, 192, 38, 78, 61, 63, 229, 219, 121, 63, 0, 0, 184, 64, 0, 0, 48, 192, 38, 78, 61, 63, 1, 190, 126, 63, 0, 0, 184, 64, 0, 0, 48, 64, 237, 38, 114, 63, 1, 190, 126, 63, 0, 0, 168, 64, 0, 0, 48, 64, 237, 38, 114, 63, 229, 219, 121, 63, 0, 0, 168, 192, 0, 0, 128, 192, 184, 143, 32, 63, 54, 72, 76, 63, 0, 0, 168, 192, 0, 0, 0, 0, 184, 143, 32, 63, 232, 79, 114, 63, 0, 0, 184, 192, 0, 0, 0, 0, 115, 128, 37, 63, 232, 79, 114, 63, 0, 0, 184, 192, 0, 0, 128, 192, 115, 128, 37, 63, 54, 72, 76, 63, 0, 0, 48, 192, 0, 0, 128, 192, 10, 185, 26, 63, 210, 122, 129, 62, 0, 0, 48, 64, 0, 0, 128, 192, 10, 185, 26, 63, 147, 16, 72, 61, 0, 0, 48, 64, 0, 0, 0, 0, 244, 126, 232, 62, 147, 16, 72, 61, 0, 0, 48, 192, 0, 0, 0, 0, 244, 126, 232, 62, 210, 122, 129, 62, 157, 139, 251, 191, 0, 0, 48, 64, 7, 38, 39, 63, 30, 218, 63, 63, 11, 73, 143, 192, 0, 0, 48, 64, 7, 38, 39, 63, 34, 173, 87, 63, 11, 73, 143, 192, 0, 0, 48, 192, 205, 254, 91, 63, 34, 173, 87, 63, 157, 139, 251, 191, 0, 0, 48, 192, 205, 254, 91, 63, 30, 218, 63, 63, 0, 0, 0, 192, 0, 0, 128, 190, 22, 8, 99, 63, 7, 183, 81, 63, 0, 0, 128, 191, 0, 0, 0, 0, 157, 147, 101, 63, 78, 58, 91, 63, 0, 0, 144, 192, 0, 0, 0, 0, 157, 147, 101, 63, 214, 238, 57, 63, 0, 0, 144, 64, 0, 0, 48, 192, 118, 225, 137, 62, 107, 86, 28, 63, 0, 0, 144, 64, 0, 0, 48, 64, 118, 225, 137, 62, 203, 146, 80, 63, 0, 0, 128, 63, 0, 0, 48, 64, 199, 63, 205, 62, 203, 146, 80, 63, 0, 0, 128, 63, 0, 0, 48, 192, 199, 63, 205, 62, 107, 86, 28, 63, 0, 0, 0, 64, 0, 0, 128, 190, 207, 98, 122, 63, 224, 143, 195, 62, 0, 0, 144, 64, 0, 0, 0, 0, 86, 238, 124, 63, 66, 32, 243, 62, 0, 0, 128, 63, 0, 0, 0, 0, 86, 238, 124, 63, 83, 137, 176, 62, 19, 15, 0, 192, 0, 0, 4
|
||
|
"format": 34359742519,
|
||
|
"index_count": 312,
|
||
|
"index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 0, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 4, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 0, 8, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 12, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, 0, 16, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 20, 0, 22, 0, 23, 0, 24, 0, 25, 0, 26, 0, 24, 0, 26, 0, 27, 0, 28, 0, 29, 0, 30, 0, 28, 0, 30, 0, 31, 0, 32, 0, 33, 0, 34, 0, 32, 0, 34, 0, 35, 0, 36, 0, 37, 0, 38, 0, 36, 0, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 40, 0, 42, 0, 43, 0, 44, 0, 45, 0, 46, 0, 44, 0, 46, 0, 47, 0, 48, 0, 49, 0, 50, 0, 48, 0, 50, 0, 51, 0, 52, 0, 53, 0, 54, 0, 55, 0, 56, 0, 57, 0, 55, 0, 57, 0, 58, 0, 59, 0, 60, 0, 61, 0, 62, 0, 63, 0, 64, 0, 62, 0, 64, 0, 65, 0, 66, 0, 67, 0, 68, 0, 66, 0, 68, 0, 69, 0, 70, 0, 71, 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, 0, 78, 0, 76, 0, 78, 0, 79, 0, 80, 0, 81, 0, 82, 0, 80, 0, 82, 0, 83, 0, 84, 0, 85, 0, 86, 0, 84, 0, 86, 0, 87, 0, 88, 0, 89, 0, 90, 0, 91, 0, 92, 0, 93, 0, 94, 0, 95, 0, 96, 0, 94, 0, 96, 0, 97, 0, 98, 0, 99, 0, 100, 0, 98, 0, 100, 0, 101, 0, 102, 0, 103, 0, 104, 0, 102, 0, 104, 0, 105, 0, 106, 0, 107, 0, 108, 0, 109, 0, 110, 0, 111, 0, 112, 0, 113, 0, 114, 0, 112, 0, 114, 0, 115, 0, 116, 0, 117, 0, 118, 0, 116, 0, 118, 0, 119, 0, 120, 0, 121, 0, 122, 0, 120, 0, 122, 0, 123, 0, 124, 0, 125, 0, 126, 0, 127, 0, 128, 0, 129, 0, 130, 0, 131, 0, 132, 0, 130, 0, 132, 0, 133, 0, 134, 0, 135, 0, 136, 0, 134, 0, 136, 0, 137, 0, 138, 0, 139, 0, 140, 0, 138, 0, 140, 0, 141, 0, 142, 0, 143, 0, 144, 0, 145, 0, 146, 0, 33, 0, 145, 0, 33, 0, 32, 0, 147, 0, 148, 0, 149, 0, 150, 0, 151, 0, 152, 0, 150, 0, 152, 0, 153, 0, 154, 0, 155, 0, 156, 0, 154, 0, 156, 0, 157, 0, 158, 0, 159, 0, 160, 0, 158, 0, 160, 0, 161, 0, 162, 0, 163, 0, 164, 0, 165, 0, 166, 0, 167, 0, 168, 0, 169, 0, 170, 0, 168, 0, 170, 0, 171, 0, 172, 0, 173, 0, 174, 0, 172, 0, 174, 0, 175, 0, 176, 0, 177, 0, 178, 0, 176, 0, 178, 0, 179, 0, 180, 0, 181, 0, 182, 0, 183, 0, 184, 0, 185, 0, 186, 0, 187, 0, 188, 0, 186, 0, 188, 0, 189, 0, 190, 0, 191, 0, 192, 0, 190, 0, 192, 0, 193, 0, 194, 0, 195, 0, 196, 0, 194, 0, 196, 0, 197, 0, 198, 0, 199, 0, 200, 0, 201, 0, 202, 0, 203, 0, 204, 0, 205, 0, 206, 0, 204, 0, 206, 0, 207, 0, 208, 0, 209, 0, 210, 0, 208, 0, 210, 0, 211, 0, 212, 0, 213, 0, 214, 0, 212, 0, 214, 0, 215, 0, 216, 0, 217, 0, 218, 0, 219, 0, 220, 0, 221, 0, 222, 0, 223, 0, 224, 0, 222, 0, 224, 0, 225, 0),
|
||
|
"material": SubResource("StandardMaterial3D_gu7s7"),
|
||
|
"primitive": 3,
|
||
|
"uv_scale": Vector4(0, 0, 0, 0),
|
||
|
"vertex_count": 226,
|
||
|
"vertex_data": PackedByteArray(0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 160, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 160, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 160, 193, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 160, 193, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 160, 193, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 160, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 160, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 160, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 160, 193, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 160, 193, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 160, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 160, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 168, 65, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 168, 65, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 168, 65, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 168, 65, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 168, 65, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 184, 65, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 184, 65, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 168, 65, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 168, 65, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 168, 65, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 184, 65, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 184, 65, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 168, 65, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 184, 65, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 184, 65, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 168, 65, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 168, 65, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 168, 65, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 184, 65, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 184, 65, 0, 0, 48, 193, 0, 0, 128, 65, 0, 0, 184, 65, 0, 0, 48, 65, 0, 0, 128, 65, 0, 0, 184, 65, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 184, 65, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 184, 65, 0, 0, 48, 193, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 193, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 128, 192, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 128, 192, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 128, 192, 0, 0, 48, 65, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 128, 192, 0, 0, 48, 65, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 128, 192, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 128, 192, 0, 0, 48, 193, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 193, 1, 0, 64, 64, 0, 0, 64, 193, 0, 0, 48, 193, 20, 199, 51, 180, 1, 0, 144, 193, 0, 0, 48, 65, 20, 199, 51, 180, 1, 0, 144, 193, 0, 0, 48, 65, 1, 0, 64, 64, 0, 0, 64, 193, 0, 0, 48, 193, 1, 0, 64, 64, 0, 0, 64, 193, 0, 0, 48, 193, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 193, 20, 199, 51, 180, 1, 0, 144, 193, 0, 0, 48, 65, 1, 0, 64, 64, 0, 0, 64, 193, 0, 0, 48, 65, 20, 199, 51, 180, 1, 0, 144, 193, 0, 0, 48, 65, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 65, 20, 199, 51, 180, 1, 0, 144, 193, 0, 0, 48, 193, 20, 199, 51, 180, 1, 0, 144, 193, 0, 0, 48, 193, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 65, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 65, 1, 0, 64, 64, 0, 0, 64, 193, 0, 0, 48, 65, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 193, 0, 0, 128, 63, 0, 0, 0, 193, 0, 0, 48, 193, 1, 0, 64, 64, 0, 0, 64, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 255, 255, 191, 64, 0, 0, 112, 193, 0, 0, 48, 193, 255, 255, 191, 64, 0, 0, 112, 193, 0, 0, 48, 193, 255, 255, 191, 64, 0, 0, 112, 193, 0, 0, 48, 193, 255, 255, 63, 64, 255, 255, 63, 193, 0, 0, 48, 193, 0, 0, 0, 0, 0, 0, 144, 193, 0, 0, 48, 65, 255, 255, 191, 64, 0, 0, 112, 193, 0, 0, 48, 65,
|
||
|
}]
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_nsosp"]
|
||
|
points = PackedVector3Array(-12, 0, -21, -12, -1, -21, 12, -1, -21, 12, 0, -21, -12, 0, 24, -12, -1, 24, 12, -1, 24, 12, 0, 24)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_xgwt8"]
|
||
|
points = PackedVector3Array(-11, 16, -20, -11, 0, -20, 11, 0, -20, 11, 16, -20, -11, 16, -18, -11, 0, -18, 11, 0, -18, 11, 16, -18)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_ipgn8"]
|
||
|
points = PackedVector3Array(-11, 16, 21, -11, 0, 21, 11, 0, 21, 11, 16, 21, -11, 16, 23, -11, 0, 23, 11, 0, 23, 11, 16, 23)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_wdgen"]
|
||
|
points = PackedVector3Array(-12, 36, -20, -12, 0, -20, -11, 0, -20, -11, 36, -20, -12, 36, 23, -12, 0, 23, -11, 0, 23, -11, 36, 23)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_sy3a0"]
|
||
|
points = PackedVector3Array(11, 36, -20, 11, 0, -20, 12, 0, -20, 12, 36, -20, 11, 36, 23, 11, 0, 23, 12, 0, 23, 12, 36, 23)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_tjmrd"]
|
||
|
points = PackedVector3Array(-11, 1, -8, -11, 0, -18, 11, 0, -18, 11, 1, -8, -11, 0, -4, 11, 0, -4)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_8t04a"]
|
||
|
points = PackedVector3Array(-11, 3, -12, -11, -1.67431e-07, -18, 11, -1.67431e-07, -18, 11, 3, -12, -11, 1, -8, 11, 1, -8)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_rsnq8"]
|
||
|
points = PackedVector3Array(-11, 0, -18, 11, 0, -18, 11, 6, -15, -11, 6, -15, -11, 3, -12, 11, 3, -12)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_ruetm"]
|
||
|
points = PackedVector3Array(-11, 10, -17, -11, 5.35779e-06, -18, 11, 5.35779e-06, -18, 11, 10, -17, -11, 6, -15, 11, 6, -15)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_5nxre"]
|
||
|
points = PackedVector3Array(-11, 0, -18, 11, 0, -18, 11, 14, -18, -11, 14, -18, -11, 9.99999, -17, 11, 9.99999, -17)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_qqvqv"]
|
||
|
points = PackedVector3Array(-11, 1, 11, -11, 0, 7, 11, 0, 7, 11, 1, 11, -11, 0, 21, 11, 0, 21)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_1p1wa"]
|
||
|
points = PackedVector3Array(11, 1, 11, 11, 3, 15, -11, 3, 15, -11, 1, 11, -11, 0, 21, 11, 0, 21)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_nfi0c"]
|
||
|
points = PackedVector3Array(11, 3, 15, 11, 6, 18, -11, 6, 18, -11, 3, 15, -11, 0, 21, 11, 0, 21)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_aqma8"]
|
||
|
points = PackedVector3Array(11, 6, 18, -11, 6, 18, -11, 0, 21, 11, 0, 21, 11, 10, 20, -11, 10, 20)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_gkid5"]
|
||
|
points = PackedVector3Array(11, 9.99999, 20, -11, 9.99999, 20, -11, 0, 21, 11, 0, 21, 11, 14, 21, -11, 14, 21)
|
||
|
|
||
|
[node name="PointEntities" type="Node3D"]
|
||
|
|
||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||
|
environment = SubResource("Environment_1ep67")
|
||
|
|
||
|
[node name="README" type="Node" parent="."]
|
||
|
editor_description = "This scene introduces point entities.
|
||
|
|
||
|
Point entities are essentially actors - they map to Godot Spatial nodes and their subclasses, since they represent a point in 3D space with some associated functionality.
|
||
|
|
||
|
Qodot implements these using an FGD. Short for 'Forge Game Data', FGD is a format created by Valve as an interchange format for defining game object data such as actors and their properties, and has become the de-facto standard for development and modding of Quake-derived games.
|
||
|
|
||
|
Point entities are one of the types of class that can be defined in an FGD, and can be used to spawn custom node types or instanced scenes with optional attached scripts. In this case, the physics balls are simple entities with no special behavior or properties that instance a scene containing a RigidBody and its collision rig.
|
||
|
|
||
|
Entities all have a key-value dictionary of properties that can be configured via map editor, then imported and applied to objects in Godot. The QodotEntity class implements this along with an on-change handler for convenient subclassing, but Qodot uses duck-typing for the purposes of populating this property so you can create your own implementation without needing to extend a built-in class.
|
||
|
|
||
|
An example FGD is available at `res://addons/qodot/game-definitions/fgd/qodot-fgd.tres`."
|
||
|
|
||
|
[node name="DirectionalLight" type="DirectionalLight3D" parent="."]
|
||
|
transform = Transform3D(-0.5, 0.612372, -0.612372, 0, 0.707107, 0.707107, 0.866025, 0.353553, -0.353554, 0, 15, 0)
|
||
|
shadow_enabled = true
|
||
|
|
||
|
[node name="Camera" type="Camera3D" parent="."]
|
||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -40, 10, 0)
|
||
|
|
||
|
[node name="QodotMap" type="Node3D" parent="."]
|
||
|
script = ExtResource("1")
|
||
|
map_file = "C:/Users/Embyr/Desktop/qmap-development/addons/qodot/example_scenes/1-interactivity/0-point-entities/0-point-entities.map"
|
||
|
inverse_scale_factor = 16.0
|
||
|
entity_fgd = ExtResource("2")
|
||
|
base_texture_dir = "res://addons/qodot/textures"
|
||
|
texture_file_extensions = PackedStringArray("png")
|
||
|
worldspawn_layers = []
|
||
|
brush_clip_texture = "special/clip"
|
||
|
face_skip_texture = "special/skip"
|
||
|
texture_wads = []
|
||
|
material_file_extension = "tres"
|
||
|
unshaded = false
|
||
|
default_material_albedo_uniform = ""
|
||
|
default_material = SubResource("4")
|
||
|
uv_unwrap_texel_size = 1.0
|
||
|
print_profiling_data = false
|
||
|
use_trenchbroom_group_hierarchy = false
|
||
|
tree_attach_batch_size = null
|
||
|
set_owner_batch_size = 16
|
||
|
|
||
|
[node name="entity_0_worldspawn" type="StaticBody3D" parent="QodotMap"]
|
||
|
|
||
|
[node name="entity_0_mesh_instance" type="MeshInstance3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
mesh = SubResource("ArrayMesh_wdu2n")
|
||
|
|
||
|
[node name="entity_0_brush_0_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_nsosp")
|
||
|
|
||
|
[node name="entity_0_brush_1_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_xgwt8")
|
||
|
|
||
|
[node name="entity_0_brush_2_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_ipgn8")
|
||
|
|
||
|
[node name="entity_0_brush_3_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_wdgen")
|
||
|
|
||
|
[node name="entity_0_brush_4_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_sy3a0")
|
||
|
|
||
|
[node name="entity_2_brush_0_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_tjmrd")
|
||
|
|
||
|
[node name="entity_2_brush_1_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_8t04a")
|
||
|
|
||
|
[node name="entity_2_brush_2_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_rsnq8")
|
||
|
|
||
|
[node name="entity_2_brush_3_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_ruetm")
|
||
|
|
||
|
[node name="entity_2_brush_4_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_5nxre")
|
||
|
|
||
|
[node name="entity_3_brush_0_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_qqvqv")
|
||
|
|
||
|
[node name="entity_3_brush_1_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_1p1wa")
|
||
|
|
||
|
[node name="entity_3_brush_2_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_nfi0c")
|
||
|
|
||
|
[node name="entity_3_brush_3_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_aqma8")
|
||
|
|
||
|
[node name="entity_3_brush_4_collision_shape" type="CollisionShape3D" parent="QodotMap/entity_0_worldspawn"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_gkid5")
|
||
|
|
||
|
[node name="entity_1_physics_ball" parent="QodotMap" instance=ExtResource("6")]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.5, 32.5, -17.0625)
|
||
|
script = ExtResource("6_hcttl")
|
||
|
|
||
|
[node name="entity_4_physics_ball" parent="QodotMap" instance=ExtResource("6")]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 27.5, -17.0625)
|
||
|
script = ExtResource("6_hcttl")
|
||
|
|
||
|
[node name="entity_5_physics_ball" parent="QodotMap" instance=ExtResource("6")]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 22.5, -17.0625)
|
||
|
script = ExtResource("6_hcttl")
|
||
|
|
||
|
[node name="entity_6_physics_ball" parent="QodotMap" instance=ExtResource("6")]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.5, 17.5, -17.0625)
|
||
|
script = ExtResource("6_hcttl")
|