aboutsummaryrefslogtreecommitdiff
path: root/client/map/environment/environment.tscn
blob: 89575e1ae951d3ad2c1fbc6d9e11dae9d4299cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[gd_scene load_steps=12 format=3 uid="uid://nroo08m5og0"]

[ext_resource type="Script" uid="uid://drv5el01y7fr" path="res://map/environment/environment.gd" id="1_qy481"]
[ext_resource type="PackedScene" uid="uid://cb4ic3ssk4r8r" path="res://map/environment/world_environment.tscn" id="2_68o16"]
[ext_resource type="Script" uid="uid://de61uqoinwcyk" path="res://map/auto_setup/light_setup.gd" id="3_53gk2"]

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_fyrr8"]
emission_shape_offset = Vector3(0, 5, 0)
emission_shape = 3
emission_box_extents = Vector3(5, 5, 5)
direction = Vector3(0, -1, 0)
spread = 5.0
initial_velocity_min = 10.0
initial_velocity_max = 10.0
scale_over_velocity_max = 1000.0
turbulence_influence_min = 0.01
turbulence_influence_max = 0.01

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6mo3f"]
depth_draw_mode = 2
albedo_color = Color(0.792157, 0.74902, 1, 1)
roughness = 0.07

[sub_resource type="CapsuleMesh" id="CapsuleMesh_6kss1"]
material = SubResource("StandardMaterial3D_6mo3f")
radius = 0.01
height = 0.5
radial_segments = 4
rings = 4

[sub_resource type="Curve" id="Curve_frsnm"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.111524, 0.771057), 1.26444, 1.26444, 0, 0, Vector2(0.866171, 0.820827), -1.03348, -1.03348, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 4

[sub_resource type="CurveTexture" id="CurveTexture_3gn1x"]
curve = SubResource("Curve_frsnm")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_pyn6b"]
emission_shape_offset = Vector3(-2.5, 0, 0)
emission_shape = 3
emission_box_extents = Vector3(5, 5, 5)
spread = 5.0
initial_velocity_min = 2.0
initial_velocity_max = 2.0
gravity = Vector3(0, 0, 0)
scale_curve = SubResource("CurveTexture_3gn1x")
scale_over_velocity_max = 1000.0
turbulence_enabled = true
turbulence_influence_min = 0.01
turbulence_influence_max = 0.01

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ig8qu"]
depth_draw_mode = 2
albedo_color = Color(0.412412, 0.527344, 0.250208, 1)

[sub_resource type="SphereMesh" id="SphereMesh_4trvf"]
material = SubResource("StandardMaterial3D_ig8qu")
radius = 0.03
height = 0.06

[node name="Environment" type="Node3D"]
script = ExtResource("1_qy481")

[node name="Rain" type="GPUParticles3D" parent="."]
emitting = false
amount = 500
process_material = SubResource("ParticleProcessMaterial_fyrr8")
draw_pass_1 = SubResource("CapsuleMesh_6kss1")

[node name="Wind" type="GPUParticles3D" parent="."]
emitting = false
amount = 150
lifetime = 5.0
process_material = SubResource("ParticleProcessMaterial_pyn6b")
draw_pass_1 = SubResource("SphereMesh_4trvf")

[node name="WorldEnvironment" parent="." instance=ExtResource("2_68o16")]

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.413104, 0.834517, -0.364591, 0, 0.400349, 0.916363, 0.910684, 0.378553, -0.165386, 0, 0, 0)
shadow_enabled = true
script = ExtResource("3_53gk2")