mirror of
https://github.com/Relintai/the_tower.git
synced 2024-11-14 10:27:21 +01:00
318 lines
11 KiB
Plaintext
318 lines
11 KiB
Plaintext
|
[gd_scene load_steps=22 format=2]
|
||
|
|
||
|
[ext_resource path="res://areas/ExitPortal.tscn" type="PackedScene" id=2]
|
||
|
[ext_resource path="res://environments/red_env.tres" type="Environment" id=3]
|
||
|
[ext_resource path="res://library/MainLibrary.tres" type="VoxelmanLibrarySimple" id=4]
|
||
|
[ext_resource path="res://player/Player.tscn" type="PackedScene" id=5]
|
||
|
[ext_resource path="res://particles/flake.png" type="Texture" id=6]
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=1]
|
||
|
resource_name = "Chunk[-1,-1,-1]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, -16, -16 )
|
||
|
position_x = -1
|
||
|
position_y = -1
|
||
|
position_z = -1
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 157, 31, 1, 177, 0, 157, 15, 2, 0, 56, 15, 252, 0, 90, 14, 109, 0, 14, 18, 0, 15, 2, 0, 160, 15, 197, 0, 178, 15, 2, 0, 38, 14, 254, 0, 14, 18, 0, 15, 2, 0, 15, 15, 52, 0, 33, 15, 2, 0, 255, 255, 231, 14, 44, 3, 14, 18, 0, 15, 2, 0, 255, 255, 101, 15, 136, 2, 255, 255, 119, 13, 2, 0, 31, 1, 154, 2, 255, 48, 15, 67, 1, 255, 255, 117, 31, 0, 201, 3, 255, 48, 15, 2, 0, 255, 255, 255, 255, 241, 14, 66, 6, 13, 18, 0, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=2]
|
||
|
resource_name = "Chunk[0,-1,0]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -16, 0 )
|
||
|
position_y = -1
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 63, 29, 1, 82, 1, 15, 18, 0, 17, 15, 2, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 61, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=3]
|
||
|
resource_name = "Chunk[-1,-1,0]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, -16, 0 )
|
||
|
position_x = -1
|
||
|
position_y = -1
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 78, 29, 1, 96, 2, 15, 18, 0, 17, 15, 2, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 46, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=4]
|
||
|
resource_name = "Chunk[0,-1,-1]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -16, -16 )
|
||
|
position_y = -1
|
||
|
position_z = -1
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 107, 31, 1, 116, 11, 255, 48, 31, 1, 68, 1, 255, 48, 15, 67, 1, 255, 49, 31, 0, 134, 2, 255, 48, 15, 2, 0, 255, 255, 255, 255, 255, 22, 14, 102, 6, 14, 18, 0, 15, 2, 0, 232, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=5]
|
||
|
resource_name = "Chunk[-1,0,-1]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, 0, -16 )
|
||
|
position_x = -1
|
||
|
position_z = -1
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 247, 29, 1, 10, 2, 14, 18, 0, 15, 2, 0, 255, 141, 14, 177, 1, 15, 18, 0, 17, 15, 2, 0, 255, 255, 255, 62, 29, 1, 115, 3, 13, 17, 0, 15, 2, 0, 255, 255, 102, 15, 136, 2, 255, 255, 119, 13, 2, 0, 14, 51, 5, 15, 2, 0, 255, 32, 15, 221, 3, 255, 88, 15, 106, 1, 255, 50, 15, 68, 1, 255, 255, 255, 188, 15, 2, 0, 255, 255, 112, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=6]
|
||
|
resource_name = "Chunk[0,0,-1]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16 )
|
||
|
position_z = -1
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 92, 31, 1, 101, 11, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 85, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=7]
|
||
|
resource_name = "Chunk[-1,-1,-2]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, -16, -32 )
|
||
|
position_x = -1
|
||
|
position_y = -1
|
||
|
position_z = -2
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 241, 31, 1, 241, 20, 232, 15, 252, 0, 90, 14, 109, 0, 14, 18, 0, 15, 2, 0, 50, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=8]
|
||
|
resource_name = "Chunk[-1,0,-2]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, 0, -32 )
|
||
|
position_x = -1
|
||
|
position_z = -2
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 197, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=9]
|
||
|
resource_name = "Chunk[-2,0,-1]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -32, 0, -16 )
|
||
|
position_x = -2
|
||
|
position_z = -1
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 203, 44, 1, 1, 220, 4, 13, 17, 0, 15, 18, 0, 0, 15, 2, 0, 255, 255, 255, 255, 204, 15, 237, 4, 255, 255, 255, 255, 222, 15, 2, 0, 255, 49, 14, 48, 6, 15, 18, 0, 35, 15, 2, 0, 233, 14, 50, 1, 29, 2, 15, 1, 14, 18, 0, 14, 54, 0, 15, 2, 0, 233, 14, 14, 1, 14, 50, 1, 14, 18, 0, 14, 54, 0, 15, 2, 0, 233, 14, 14, 1, 15, 18, 0, 35, 15, 2, 0, 255, 255, 130, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="VoxelChunkBlocky" id=10]
|
||
|
resource_name = "Chunk[-2,-1,-1]"
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -32, -16, -16 )
|
||
|
position_x = -2
|
||
|
position_y = -1
|
||
|
position_z = -1
|
||
|
size_x = 16
|
||
|
size_y = 16
|
||
|
size_z = 16
|
||
|
data_size_x = 18
|
||
|
data_size_y = 18
|
||
|
data_size_z = 18
|
||
|
margin_start = 1
|
||
|
margin_end = 1
|
||
|
library = ExtResource( 4 )
|
||
|
channel_count = 1
|
||
|
data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 219, 29, 1, 235, 4, 14, 18, 0, 15, 2, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 178, 80, 0, 0, 0, 0, 0 )
|
||
|
|
||
|
[sub_resource type="GIProbeData" id=11]
|
||
|
bounds = AABB( -16.5585, -7.39551, -12.7828, 33.117, 14.791, 25.5656 )
|
||
|
cell_size = 0.258727
|
||
|
to_cell_xform = Transform( 3.86508, 0, 0, 0, 3.86508, 0, 0, 0, 3.86508, 64, 28.5843, 49.4066 )
|
||
|
dynamic_data = PoolIntArray( 0, 8, 128, 64, 128, 1, 0, 21, 23, 22, 22, 24, 23, 23, 25, 24, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 8355711, 0 )
|
||
|
dynamic_range = 8
|
||
|
bias = 1.5
|
||
|
normal_bias = 0.0
|
||
|
propagation = 0.7
|
||
|
interior = true
|
||
|
|
||
|
[sub_resource type="Gradient" id=12]
|
||
|
|
||
|
[sub_resource type="GradientTexture" id=13]
|
||
|
gradient = SubResource( 12 )
|
||
|
|
||
|
[sub_resource type="ParticlesMaterial" id=14]
|
||
|
emission_shape = 2
|
||
|
emission_box_extents = Vector3( 70, 70, 70 )
|
||
|
gravity = Vector3( 0, -0.4, 0 )
|
||
|
initial_velocity_random = 0.15
|
||
|
angular_velocity = 16.55
|
||
|
angular_velocity_random = 0.51
|
||
|
radial_accel = -0.05
|
||
|
radial_accel_random = 0.37
|
||
|
scale = 0.4
|
||
|
color_ramp = SubResource( 13 )
|
||
|
hue_variation = 0.48
|
||
|
hue_variation_random = 0.09
|
||
|
anim_speed = 44.14
|
||
|
anim_offset = 0.07
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=15]
|
||
|
flags_transparent = true
|
||
|
vertex_color_use_as_albedo = true
|
||
|
params_specular_mode = 4
|
||
|
params_billboard_mode = 3
|
||
|
particles_anim_h_frames = 1
|
||
|
particles_anim_v_frames = 1
|
||
|
particles_anim_loop = false
|
||
|
albedo_texture = ExtResource( 6 )
|
||
|
|
||
|
[sub_resource type="QuadMesh" id=16]
|
||
|
material = SubResource( 15 )
|
||
|
|
||
|
[node name="Level5" type="VoxelWorldBlocky"]
|
||
|
editable = true
|
||
|
max_concurrent_generations = 5
|
||
|
library = ExtResource( 4 )
|
||
|
chunks = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ]
|
||
|
__meta__ = {
|
||
|
"_edit_lock_": true
|
||
|
}
|
||
|
|
||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||
|
environment = ExtResource( 3 )
|
||
|
|
||
|
[node name="Player" parent="." instance=ExtResource( 5 )]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.852744, -0.91547, 0.534943 )
|
||
|
|
||
|
[node name="GIProbe" type="GIProbe" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -8.53486, 2.91956, -10.1021 )
|
||
|
extents = Vector3( 16.5585, 7.39551, 12.7828 )
|
||
|
dynamic_range = 8
|
||
|
interior = true
|
||
|
data = SubResource( 11 )
|
||
|
|
||
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
||
|
transform = Transform( 0.969817, 0.22762, -0.0874344, 0, 0.35858, 0.933499, 0.243835, -0.905323, 0.347757, 0, 5.5679, -6.05193 )
|
||
|
light_color = Color( 0.47451, 0.352941, 0.607843, 1 )
|
||
|
light_energy = 0.31
|
||
|
shadow_enabled = true
|
||
|
|
||
|
[node name="DirectionalLight2" type="DirectionalLight" parent="."]
|
||
|
transform = Transform( 0.902848, -0.382056, -0.197228, 0, -0.458712, 0.888585, -0.42996, -0.802257, -0.414147, 0, 5.5679, -6.94149 )
|
||
|
light_color = Color( 0.682353, 0.145098, 0.145098, 1 )
|
||
|
light_energy = 0.17
|
||
|
shadow_enabled = true
|
||
|
|
||
|
[node name="OmniLight" type="OmniLight" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.33566, 8.78919, -13.4252 )
|
||
|
light_color = Color( 0.894118, 0.894118, 0.894118, 1 )
|
||
|
light_energy = 1.17
|
||
|
light_negative = true
|
||
|
shadow_enabled = true
|
||
|
omni_range = 7.3664
|
||
|
omni_attenuation = 2.0
|
||
|
omni_shadow_mode = 0
|
||
|
|
||
|
[node name="OmniLight2" type="OmniLight" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -8.18059, 1.65957, -15.6395 )
|
||
|
light_color = Color( 0.141176, 0.427451, 0.552941, 1 )
|
||
|
light_energy = 2.55
|
||
|
light_indirect_energy = 5.47
|
||
|
light_specular = 0.61
|
||
|
omni_range = 8.88538
|
||
|
omni_attenuation = 1.1487
|
||
|
|
||
|
[node name="OmniLight3" type="OmniLight" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -17.2802, 1.65957, -7.3639 )
|
||
|
light_color = Color( 0.462745, 0.0980392, 0.380392, 1 )
|
||
|
light_energy = 2.55
|
||
|
light_indirect_energy = 5.47
|
||
|
light_specular = 0.61
|
||
|
omni_range = 8.88538
|
||
|
omni_attenuation = 1.1487
|
||
|
|
||
|
[node name="OmniLight4" type="OmniLight" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -8.53726, 4.41136, -7.73945 )
|
||
|
light_color = Color( 0.164706, 0.054902, 0.690196, 1 )
|
||
|
light_energy = 2.55
|
||
|
light_indirect_energy = 5.47
|
||
|
light_specular = 0.61
|
||
|
omni_range = 8.88538
|
||
|
omni_attenuation = 0.406128
|
||
|
|
||
|
[node name="OmniLight5" type="OmniLight" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.674599, 2.49094, 1.27345 )
|
||
|
light_color = Color( 0.372549, 0.572549, 0.705882, 1 )
|
||
|
light_energy = 0.83
|
||
|
light_indirect_energy = 5.47
|
||
|
light_negative = true
|
||
|
light_specular = 0.61
|
||
|
omni_range = 7.6254
|
||
|
omni_attenuation = 0.70711
|
||
|
|
||
|
[node name="Particles" type="Particles" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.1743, 5.65334, -9.91923 )
|
||
|
amount = 50
|
||
|
lifetime = 8.41
|
||
|
speed_scale = 4.44
|
||
|
randomness = 0.38
|
||
|
visibility_aabb = AABB( -61.9632, -36.4177, -64.4469, 123.926, 72.8355, 128.894 )
|
||
|
process_material = SubResource( 14 )
|
||
|
draw_pass_1 = SubResource( 16 )
|
||
|
|
||
|
[node name="ExitPortal" parent="." instance=ExtResource( 2 )]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -18.0323, 2.06599, -2.96928 )
|