120 lines
4.8 KiB
Text
120 lines
4.8 KiB
Text
|
[gd_scene load_steps=18 format=3 uid="uid://n328aot8v1l4"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/scatter.gd" id="1_se21p"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/stack/modifier_stack.gd" id="2_eb4vu"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/modifiers/create_inside_random.gd" id="3_gvk1d"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/modifiers/relax.gd" id="4_7ewmv"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/modifiers/project_on_geometry.gd" id="5_qj538"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/modifiers/randomize_transforms.gd" id="6_x4res"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/scatter_item.gd" id="7_tg3yo"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/scatter_shape.gd" id="8_ivng4"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/shapes/path_shape.gd" id="9_wuej0"]
|
||
|
[ext_resource type="Script" path="res://addons/proton_scatter/src/common/physics_helper.gd" id="10_5223i"]
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_fx2k6"]
|
||
|
script = ExtResource("3_gvk1d")
|
||
|
enabled = true
|
||
|
override_global_seed = true
|
||
|
custom_seed = 40
|
||
|
restrict_height = false
|
||
|
reference_frame = 1
|
||
|
amount = 1000
|
||
|
enabled = true
|
||
|
override_global_seed = true
|
||
|
custom_seed = 40
|
||
|
restrict_height = false
|
||
|
reference_frame = 1
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_46xs3"]
|
||
|
script = ExtResource("4_7ewmv")
|
||
|
enabled = true
|
||
|
override_global_seed = false
|
||
|
custom_seed = 0
|
||
|
restrict_height = true
|
||
|
reference_frame = 0
|
||
|
iterations = 5
|
||
|
offset_step = 0.1
|
||
|
consecutive_step_multiplier = 0.5
|
||
|
use_computeshader = false
|
||
|
enabled = true
|
||
|
override_global_seed = false
|
||
|
custom_seed = 0
|
||
|
restrict_height = true
|
||
|
reference_frame = 0
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_oih0b"]
|
||
|
script = ExtResource("5_qj538")
|
||
|
enabled = true
|
||
|
override_global_seed = false
|
||
|
custom_seed = 0
|
||
|
restrict_height = false
|
||
|
reference_frame = 0
|
||
|
ray_direction = Vector3(0, 4, 0)
|
||
|
ray_length = 10.0
|
||
|
ray_offset = 1.0
|
||
|
remove_points_on_miss = true
|
||
|
align_with_collision_normal = false
|
||
|
max_slope = 90.0
|
||
|
collision_mask = 1
|
||
|
exclude_mask = 0
|
||
|
enabled = true
|
||
|
override_global_seed = false
|
||
|
custom_seed = 0
|
||
|
restrict_height = false
|
||
|
reference_frame = 0
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_peyuv"]
|
||
|
script = ExtResource("6_x4res")
|
||
|
enabled = true
|
||
|
override_global_seed = true
|
||
|
custom_seed = 30
|
||
|
restrict_height = false
|
||
|
reference_frame = 2
|
||
|
position = Vector3(0, 3, 0)
|
||
|
rotation = Vector3(0, 0, 0)
|
||
|
scale = Vector3(2, 2, 2)
|
||
|
enabled = true
|
||
|
override_global_seed = true
|
||
|
custom_seed = 30
|
||
|
restrict_height = false
|
||
|
reference_frame = 2
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_u3hqp"]
|
||
|
script = ExtResource("2_eb4vu")
|
||
|
stack = Array[Resource("res://addons/proton_scatter/src/modifiers/base_modifier.gd")]([SubResource("Resource_fx2k6"), SubResource("Resource_46xs3"), SubResource("Resource_oih0b"), SubResource("Resource_peyuv")])
|
||
|
|
||
|
[sub_resource type="Curve3D" id="Curve3D_2pfp1"]
|
||
|
_data = {
|
||
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 6.2179, 0, 506.704, 0, 0, 0, 0, 0, 0, 5.683, 0, 5.40503, 0, 0, 0, 0, 0, 0, 180.156, 0, 6.21912, 0, 0, 0, 0, 0, 0, 180.021, 0, 16.5296, 0, 0, 0, 0, 0, 0, 157.522, 9.53674e-07, 21.1341, 0, 0, 0, 0, 0, 0, 127.882, 0, 38.711, 0, 0, 0, 0, 0, 0, 111.213, 0, 57.6023, 0, 0, 0, 0, 0, 0, 80.6636, 0, 73.2192, 0, 0, 0, 0, 0, 0, 68.5232, 0, 111.469, 0, 0, 0, 0, 0, 0, 103.594, 0, 136.025, 0, 0, 0, 0, 0, 0, 123.645, 3.8147e-06, 174.356, 0, 0, 0, 0, 0, 0, 89.171, 0, 242.972, 0, 0, 0, 0, 0, 0, 76.1596, 0, 317.236, 0, 0, 0, 0, 0, 0, 83.2551, 0, 392.675, 0, 0, 0, 0, 0, 0, 99.6951, 0, 414.861, 0, 0, 0, 0, 0, 0, 140.407, 0, 419.875, 0, 0, 0, 0, 0, 0, 161.013, 0, 439.369, 0, 0, 0, 0, 0, 0, 193.999, 0, 459.633, 0, 0, 0, 0, 0, 0, 216.067, 0, 457.851, 0, 0, 0, 0, 0, 0, 233.859, 0, 441.929, 0, 0, 0, 0, 0, 0, 255.033, 0, 459.207, 0, 0, 0, 0, 0, 0, 301.184, -3.8147e-06, 490.883, 0, 0, 0, 0, 0, 0, 299.163, 0, 504.649),
|
||
|
"tilts": PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
|
||
|
}
|
||
|
point_count = 23
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_6mug8"]
|
||
|
script = ExtResource("9_wuej0")
|
||
|
closed = true
|
||
|
thickness = 0.0
|
||
|
curve = SubResource("Curve3D_2pfp1")
|
||
|
|
||
|
[node name="TreesAfterRiver" type="Node3D"]
|
||
|
process_mode = 3
|
||
|
script = ExtResource("1_se21p")
|
||
|
render_mode = 1
|
||
|
modifier_stack = SubResource("Resource_u3hqp")
|
||
|
Performance/use_chunks = true
|
||
|
Performance/chunk_dimensions = Vector3(15, 15, 15)
|
||
|
|
||
|
[node name="ScatterItem" type="Node3D" parent="."]
|
||
|
script = ExtResource("7_tg3yo")
|
||
|
source_scale_multiplier = 0.4
|
||
|
path = "res://maps/objects/tree_aa.tscn"
|
||
|
|
||
|
[node name="PathShape" type="Node3D" parent="."]
|
||
|
script = ExtResource("8_ivng4")
|
||
|
shape = SubResource("Resource_6mug8")
|
||
|
|
||
|
[node name="PhysicsHelper" type="Node" parent="."]
|
||
|
script = ExtResource("10_5223i")
|
||
|
|
||
|
[node name="ScatterOutput" type="Marker3D" parent="."]
|