2019-03-12 14:29:32 +00:00
|
|
|
[gd_scene load_steps=53 format=2]
|
2018-08-25 08:05:54 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://game_scene/Game/WorldEnvironment.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://assets/test/sky_box.jpg" type="Texture" id=2]
|
|
|
|
[ext_resource path="res://assets/Game/Brick08/Bricks08_col.jpg" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://assets/Game/Brick08/Bricks08_AO.jpg" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://assets/Game/Brick08/Bricks08_disp.jpg" type="Texture" id=5]
|
|
|
|
[ext_resource path="res://assets/Game/Brick08/Bricks08_nrm.jpg" type="Texture" id=6]
|
|
|
|
[ext_resource path="res://assets/Game/Brick08/Bricks08_rgh.jpg" type="Texture" id=7]
|
|
|
|
[ext_resource path="res://game_scene/Game/Box.gd" type="Script" id=8]
|
|
|
|
[ext_resource path="res://game_scene/Game/CubeShaderTest.tscn" type="PackedScene" id=9]
|
|
|
|
[ext_resource path="res://game_scene/Game/firecamp.tscn" type="PackedScene" id=10]
|
|
|
|
[ext_resource path="res://assets/Game/textures/fire_01.png" type="Texture" id=11]
|
|
|
|
[ext_resource path="res://assets/Game/textures/fire_02.png" type="Texture" id=12]
|
|
|
|
[ext_resource path="res://game_scene/Game/jukebox/jukebox.tscn" type="PackedScene" id=13]
|
|
|
|
[ext_resource path="res://game_scene/Game/portail/portail.tscn" type="PackedScene" id=14]
|
2018-09-22 08:45:39 +00:00
|
|
|
[ext_resource path="res://scenes/Game/markers/arrow_z.tscn" type="PackedScene" id=15]
|
2018-08-25 08:05:54 +00:00
|
|
|
|
|
|
|
[sub_resource type="ProceduralSky" id=1]
|
|
|
|
sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
|
|
|
|
sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 )
|
|
|
|
sky_curve = 0.25
|
|
|
|
ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 )
|
|
|
|
ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 )
|
|
|
|
ground_curve = 0.01
|
|
|
|
sun_energy = 0.0
|
|
|
|
|
|
|
|
[sub_resource type="Environment" id=2]
|
|
|
|
background_mode = 1
|
|
|
|
background_sky = SubResource( 1 )
|
|
|
|
ambient_light_color = Color( 1, 1, 1, 1 )
|
|
|
|
ambient_light_energy = 0.0
|
|
|
|
ambient_light_sky_contribution = 0.0
|
|
|
|
tonemap_mode = 2
|
2018-09-25 19:46:44 +00:00
|
|
|
ss_reflections_enabled = true
|
2018-08-25 08:05:54 +00:00
|
|
|
ssao_enabled = true
|
2018-09-25 19:46:44 +00:00
|
|
|
ssao_quality = 2
|
2018-08-25 08:05:54 +00:00
|
|
|
|
|
|
|
[sub_resource type="SphereMesh" id=3]
|
|
|
|
|
|
|
|
[sub_resource type="SpatialMaterial" id=4]
|
|
|
|
flags_transparent = true
|
|
|
|
flags_unshaded = true
|
|
|
|
params_cull_mode = 1
|
|
|
|
albedo_color = Color( 1, 1, 1, 0.138118 )
|
|
|
|
albedo_texture = ExtResource( 2 )
|
|
|
|
|
|
|
|
[sub_resource type="SphereMesh" id=5]
|
|
|
|
|
|
|
|
[sub_resource type="SpatialMaterial" id=6]
|
|
|
|
flags_unshaded = true
|
|
|
|
flags_vertex_lighting = true
|
|
|
|
vertex_color_use_as_albedo = true
|
|
|
|
albedo_color = Color( 1, 0.880188, 0.410156, 1 )
|
|
|
|
|
2018-09-25 19:46:44 +00:00
|
|
|
[sub_resource type="GIProbeData" id=7]
|
|
|
|
bounds = AABB( -28.334, -10, -28.8282, 56.668, 20, 57.6564 )
|
|
|
|
cell_size = 0.450441
|
|
|
|
to_cell_xform = Transform( 2.22005, 0, 0, 0, 2.22005, 0, 0, 0, 2.22005, 62.9029, 22.2005, 64 )
|
|
|
|
dynamic_data = PoolIntArray( 0, 8, 128, 64, 128, 22880, 17165, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 10, -1, -1, 2922, 5898, -1, -1, 0, 0, 8355711, 536, 11295, 12660, -1, -1, 14025, 2, -1, -1, 0, 0, 8355711, 66607, 15390, 15731, -1, -1, 16072, 3, -1, 21961, 0, 0, 8355711, 133497, 16413, 16498, -1, 21717, 16583, 4, -1, -1, 0, 0, 8355711, 200879, -1, -1, 16668, 16689, -1, -1, 16710, 5, 0, 0, 8355711, 270335, -1, -1, 16731, 16736, -1, -1, 16741, 6, 0, 0, 8355711, 344063, 16746, 7, -1, -1, 8, 9, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, 11, 19, -1, -1, 788, 1589, -1, -1, 0, 0, 8355711, 66585, 16747, 17088, -1, -1, 17429, 12, -1, -1, 0, 0, 8355711, 133119, 17770, 17855, -1, -1, 17940, 13, -1, -1, 0, 0, 8355711, 200703, -1, -1, 18025, 18046, -1, -1, 18067, 14, 0, 0, 8355711, 270335, -1, -1, 18088, 18093, -1, -1, 18098, 15, 0, 0, 8355711, 344063, 18103, 16, -1, -1, 17, 18, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, 20, 27, -1, -1, 237, 463, -1, -1, 0, 0, 8355711, 133055, 18104, 18189, -1, -1, 18274, 21, -1, -1, 0, 0, 8355711, 200703, -1, -1, 18359, 18380, -1, -1, 18401, 22, 0, 0, 8355711, 270335, -1, -1, 18422, 18427, -1, -1, 18432, 23, 0, 0, 8355711, 344063, 18437, 24, -1, -1, 25, 26, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, 28, 34, -1, -1, 93, 160, -1, -1, 0, 0, 8355711, 200447, -1, -1, 18438, 18459, -1, -1, 18480, 29, 0, 0, 8355711, 270335, -1, -1, 18501, 18506, -1, -1, 18511, 30, 0, 0, 8355711, 344063, 18516, 31, -1, -1, 32, 33, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, 35, 40, -1, -1, 56, 76, 0, 0, 8355711, 269311, -1, -1, 18517, 18522, -1, -1, 18527, 36, 0, 0, 8355711, 344063, 18532, 37, -1, -1, 38, 39, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, 41, 45, -1, -1, 48, 53, 0, 0, 8355711, 339967, 18533, 42, -1, -1, 43, 44, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, 46, -1, -1, -1, 47, -1, -1, -1, 0, 0, 8355711, 409599, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, 49, 50, -1, -1, 51, 52, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, 54, -1, -1, -1, 55, -1, -1, -1, 0, 0, 8355711, 409599, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, 57, 61, -1, -1, 66, 71, 0, 0, 8355711, 344063, 18534, 58, -1, -1, 59, 60, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, 62, 63, -1, -1, 64, 65, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 838
|
|
|
|
dynamic_range = 4
|
|
|
|
bias = 1.5
|
|
|
|
normal_bias = 0.0
|
|
|
|
propagation = 0.7
|
|
|
|
|
|
|
|
[sub_resource type="PlaneMesh" id=8]
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2018-09-25 19:46:44 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape" id=9]
|
2018-08-25 08:05:54 +00:00
|
|
|
points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1 )
|
|
|
|
|
2018-09-25 19:46:44 +00:00
|
|
|
[sub_resource type="GDScript" id=10]
|
2018-08-25 08:05:54 +00:00
|
|
|
script/source = "extends RigidBody
|
|
|
|
|
|
|
|
func _on_Box_sleeping_state_changed():
|
2018-09-04 13:05:41 +00:00
|
|
|
# if self.sleeping:
|
|
|
|
# $MeshInstance.get_surface_material(0).albedo_color = Color( 0.0, 1.0, 0.0, 1 )
|
|
|
|
# else:
|
|
|
|
# $MeshInstance.get_surface_material(0).albedo_color = Color( 0.0, 0.0, 1.0, 1 )
|
|
|
|
pass
|
2018-08-25 08:05:54 +00:00
|
|
|
"
|
|
|
|
|
2018-09-25 19:46:44 +00:00
|
|
|
[sub_resource type="CubeMesh" id=11]
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2018-09-25 19:46:44 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=12]
|
2018-09-04 13:05:41 +00:00
|
|
|
flags_albedo_tex_force_srgb = true
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_texture = ExtResource( 3 )
|
|
|
|
metallic_specular = 0.0
|
|
|
|
roughness_texture = ExtResource( 7 )
|
|
|
|
normal_enabled = true
|
|
|
|
normal_scale = 1.0
|
|
|
|
normal_texture = ExtResource( 6 )
|
|
|
|
ao_enabled = true
|
|
|
|
ao_light_affect = 0.0
|
|
|
|
ao_texture = ExtResource( 4 )
|
|
|
|
ao_on_uv2 = false
|
|
|
|
ao_texture_channel = 0
|
|
|
|
depth_enabled = true
|
|
|
|
depth_scale = 0.05
|
|
|
|
depth_deep_parallax = true
|
|
|
|
depth_min_layers = 8
|
|
|
|
depth_max_layers = 32
|
2019-03-12 14:29:32 +00:00
|
|
|
depth_flip_tangent = false
|
|
|
|
depth_flip_binormal = false
|
2018-08-25 08:05:54 +00:00
|
|
|
depth_texture = ExtResource( 5 )
|
|
|
|
|
2018-09-25 19:46:44 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape" id=13]
|
2018-08-25 08:05:54 +00:00
|
|
|
points = PoolVector3Array( -1, 1, 1, 1, 1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="PhysicsMaterial" id=14]
|
|
|
|
friction = 0.2
|
|
|
|
bounce = 0.75
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=15]
|
2018-08-25 08:05:54 +00:00
|
|
|
flags_unshaded = true
|
|
|
|
params_blend_mode = 1
|
|
|
|
params_cull_mode = 2
|
|
|
|
params_billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
2019-03-12 14:29:32 +00:00
|
|
|
particles_anim_loop = false
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_color = Color( 0.390625, 0.390625, 0.390625, 1 )
|
|
|
|
albedo_texture = ExtResource( 11 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="QuadMesh" id=16]
|
|
|
|
material = SubResource( 15 )
|
|
|
|
size = Vector2( 0.4, 0.4 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=17]
|
2018-08-25 08:05:54 +00:00
|
|
|
flags_unshaded = true
|
|
|
|
params_blend_mode = 1
|
|
|
|
params_cull_mode = 2
|
|
|
|
params_billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
2019-03-12 14:29:32 +00:00
|
|
|
particles_anim_loop = false
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_color = Color( 0.390625, 0.390625, 0.390625, 1 )
|
|
|
|
albedo_texture = ExtResource( 12 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="QuadMesh" id=18]
|
|
|
|
material = SubResource( 17 )
|
|
|
|
size = Vector2( 0.4, 0.4 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="Curve" id=19]
|
2018-08-25 08:05:54 +00:00
|
|
|
min_value = -360.0
|
|
|
|
max_value = 360.0
|
|
|
|
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.959245, 38.6719 ), 89.2918, 89.2918, 0, 0, Vector2( 1, 324.844 ), 17644.8, 0.0, 0, 0 ]
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="CurveTexture" id=20]
|
|
|
|
curve = SubResource( 19 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="Gradient" id=21]
|
2018-08-25 08:05:54 +00:00
|
|
|
offsets = PoolRealArray( 0, 0.0788644, 0.514196, 0.851735, 1 )
|
|
|
|
colors = PoolColorArray( 1, 1, 1, 0.359098, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.911608, 1, 1, 1, 0 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="GradientTexture" id=22]
|
|
|
|
gradient = SubResource( 21 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="ParticlesMaterial" id=23]
|
2018-08-25 08:05:54 +00:00
|
|
|
emission_shape = 2
|
|
|
|
emission_box_extents = Vector3( 0.07, 0.07, 0.07 )
|
|
|
|
spread = 2.0
|
|
|
|
gravity = Vector3( 0, 0.05, 0 )
|
|
|
|
angular_velocity = 35.0
|
|
|
|
angular_velocity_random = 1.0
|
2019-03-12 14:29:32 +00:00
|
|
|
angular_velocity_curve = SubResource( 20 )
|
2018-08-25 08:05:54 +00:00
|
|
|
linear_accel = 0.01
|
|
|
|
tangential_accel_random = 0.06
|
|
|
|
angle = 10.0
|
2019-03-12 14:29:32 +00:00
|
|
|
color_ramp = SubResource( 22 )
|
2018-08-25 08:05:54 +00:00
|
|
|
anim_speed = 50.0
|
|
|
|
anim_offset = 0.14
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=24]
|
2018-08-25 08:05:54 +00:00
|
|
|
flags_unshaded = true
|
|
|
|
params_blend_mode = 1
|
|
|
|
params_cull_mode = 2
|
|
|
|
params_billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
2019-03-12 14:29:32 +00:00
|
|
|
particles_anim_loop = false
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_texture = ExtResource( 11 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="QuadMesh" id=25]
|
|
|
|
material = SubResource( 24 )
|
|
|
|
size = Vector2( 0.4, 0.4 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=26]
|
2018-08-25 08:05:54 +00:00
|
|
|
flags_unshaded = true
|
|
|
|
params_blend_mode = 1
|
|
|
|
params_cull_mode = 2
|
|
|
|
params_billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
2019-03-12 14:29:32 +00:00
|
|
|
particles_anim_loop = false
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_texture = ExtResource( 12 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="QuadMesh" id=27]
|
|
|
|
material = SubResource( 26 )
|
|
|
|
size = Vector2( 0.4, 0.4 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="ParticlesMaterial" id=28]
|
2018-08-25 08:05:54 +00:00
|
|
|
emission_shape = 2
|
|
|
|
emission_box_extents = Vector3( 0.07, 0.07, 0.07 )
|
|
|
|
spread = 2.0
|
|
|
|
gravity = Vector3( 0, 0.05, 0 )
|
|
|
|
angular_velocity = 35.0
|
|
|
|
angular_velocity_random = 1.0
|
2019-03-12 14:29:32 +00:00
|
|
|
angular_velocity_curve = SubResource( 20 )
|
2018-08-25 08:05:54 +00:00
|
|
|
linear_accel = 0.01
|
|
|
|
tangential_accel_random = 0.06
|
|
|
|
angle = 10.0
|
2019-03-12 14:29:32 +00:00
|
|
|
color_ramp = SubResource( 22 )
|
2018-08-25 08:05:54 +00:00
|
|
|
anim_speed = 50.0
|
|
|
|
anim_offset = 0.14
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=29]
|
2018-08-25 08:05:54 +00:00
|
|
|
flags_unshaded = true
|
|
|
|
params_blend_mode = 1
|
|
|
|
params_cull_mode = 2
|
|
|
|
params_billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
2019-03-12 14:29:32 +00:00
|
|
|
particles_anim_loop = false
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_color = Color( 0.0078125, 0, 1, 1 )
|
|
|
|
albedo_texture = ExtResource( 11 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="QuadMesh" id=30]
|
|
|
|
material = SubResource( 29 )
|
|
|
|
size = Vector2( 0.4, 0.4 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=31]
|
2018-08-25 08:05:54 +00:00
|
|
|
flags_unshaded = true
|
|
|
|
params_blend_mode = 1
|
|
|
|
params_cull_mode = 2
|
|
|
|
params_billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
2019-03-12 14:29:32 +00:00
|
|
|
particles_anim_loop = false
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_color = Color( 0, 0.015625, 1, 1 )
|
|
|
|
albedo_texture = ExtResource( 12 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="QuadMesh" id=32]
|
|
|
|
material = SubResource( 31 )
|
|
|
|
size = Vector2( 0.4, 0.4 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="ParticlesMaterial" id=33]
|
2018-08-25 08:05:54 +00:00
|
|
|
emission_shape = 2
|
|
|
|
emission_box_extents = Vector3( 0.07, 0.07, 0.07 )
|
|
|
|
spread = 2.0
|
|
|
|
gravity = Vector3( 0, 0.05, 0 )
|
|
|
|
angular_velocity = 35.0
|
|
|
|
angular_velocity_random = 1.0
|
2019-03-12 14:29:32 +00:00
|
|
|
angular_velocity_curve = SubResource( 20 )
|
2018-08-25 08:05:54 +00:00
|
|
|
linear_accel = 0.01
|
|
|
|
tangential_accel_random = 0.06
|
|
|
|
angle = 10.0
|
2019-03-12 14:29:32 +00:00
|
|
|
color_ramp = SubResource( 22 )
|
2018-08-25 08:05:54 +00:00
|
|
|
anim_speed = 50.0
|
|
|
|
anim_offset = 0.14
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=34]
|
2018-08-25 08:05:54 +00:00
|
|
|
flags_unshaded = true
|
|
|
|
params_blend_mode = 1
|
|
|
|
params_cull_mode = 2
|
|
|
|
params_billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
2019-03-12 14:29:32 +00:00
|
|
|
particles_anim_loop = false
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_color = Color( 0.125, 1, 0, 1 )
|
|
|
|
albedo_texture = ExtResource( 11 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="QuadMesh" id=35]
|
|
|
|
material = SubResource( 34 )
|
|
|
|
size = Vector2( 0.4, 0.4 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=36]
|
2018-08-25 08:05:54 +00:00
|
|
|
flags_unshaded = true
|
|
|
|
params_blend_mode = 1
|
|
|
|
params_cull_mode = 2
|
|
|
|
params_billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
2019-03-12 14:29:32 +00:00
|
|
|
particles_anim_loop = false
|
2018-08-25 08:05:54 +00:00
|
|
|
albedo_color = Color( 0.078125, 1, 0, 1 )
|
|
|
|
albedo_texture = ExtResource( 12 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[sub_resource type="QuadMesh" id=37]
|
|
|
|
material = SubResource( 36 )
|
|
|
|
size = Vector2( 0.4, 0.4 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="Game" type="Spatial"]
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="World" type="Spatial" parent="."]
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="World"]
|
2018-08-25 08:05:54 +00:00
|
|
|
environment = SubResource( 2 )
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="sky_sphere" type="MeshInstance" parent="World/WorldEnvironment"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1725, 0, 0, 0, 1725, 0, 0, 0, 1725, 0, 0, 0 )
|
|
|
|
cast_shadow = 0
|
|
|
|
mesh = SubResource( 3 )
|
|
|
|
material/0 = SubResource( 4 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="sun" type="DirectionalLight" parent="World/WorldEnvironment"]
|
2018-08-25 08:05:54 +00:00
|
|
|
editor/display_folded = true
|
|
|
|
transform = Transform( -1, 6.18172e-008, -6.18172e-008, 0, 0.707107, 0.707107, 8.74228e-008, 0.707107, -0.707107, 70.2802, 47.1382, -58.3782 )
|
|
|
|
light_color = Color( 1, 0.97937, 0.898438, 1 )
|
|
|
|
shadow_enabled = true
|
|
|
|
shadow_contact = 0.01
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="mesh_instance" type="MeshInstance" parent="World/WorldEnvironment/sun"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( -29.2003, 2.86102e-006, -3.8147e-006, -1.81198e-005, -29.2003, 5.24521e-006, 1.43051e-005, 4.29153e-006, -29.2003, -940.304, -1146.3, 849.321 )
|
|
|
|
mesh = SubResource( 5 )
|
|
|
|
material/0 = SubResource( 6 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="OmniLight" type="OmniLight" parent="World"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7.04032, 2.49231, -0.037137 )
|
|
|
|
light_color = Color( 1, 0.547607, 0.148438, 1 )
|
|
|
|
shadow_enabled = true
|
|
|
|
shadow_bias = 0.1
|
|
|
|
omni_range = 14.7813
|
|
|
|
omni_attenuation = 2.0
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="gi_probe" type="GIProbe" parent="World"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7, 0 )
|
|
|
|
extents = Vector3( 28.334, 10, 28.8282 )
|
2018-09-25 19:46:44 +00:00
|
|
|
data = SubResource( 7 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="reflection_probe" type="ReflectionProbe" parent="World"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1.14389, 0, 0, 0, 1, 0, 6.52371, 0 )
|
|
|
|
extents = Vector3( 28.4869, 7.50169, 29.2071 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="ground" type="MeshInstance" parent="World"]
|
2018-09-22 08:44:07 +00:00
|
|
|
transform = Transform( 28.4792, 0, 0, 0, 28.4792, 0, 0, 0, 28.4792, 0, -0.00120497, 0 )
|
2018-09-25 19:46:44 +00:00
|
|
|
use_in_baked_light = true
|
|
|
|
mesh = SubResource( 8 )
|
2018-08-25 08:05:54 +00:00
|
|
|
material/0 = null
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="static_body" type="StaticBody" parent="World/ground"]
|
2018-09-25 19:46:44 +00:00
|
|
|
input_ray_pickable = false
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="collision_shape" type="CollisionShape" parent="World/ground/static_body"]
|
2018-09-25 19:46:44 +00:00
|
|
|
shape = SubResource( 9 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="Box" type="RigidBody" parent="World"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 0.640199, 0.768209, 0, -0.650662, 0.542239, -0.531616, -0.408393, 0.34034, 0.846985, 1.68693, 3.13013, -6.48976 )
|
|
|
|
mass = 1020.41
|
2018-09-25 19:46:44 +00:00
|
|
|
script = SubResource( 10 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="World/Box"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 1.49012e-008, 0, 2.68221e-007, 1, -5.96046e-008, -2.98023e-008, 1.19209e-007, 1, 0.0656062, -0.054674, 0.0536029 )
|
2018-09-25 19:46:44 +00:00
|
|
|
use_in_baked_light = true
|
|
|
|
mesh = SubResource( 11 )
|
|
|
|
material/0 = SubResource( 12 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="World/Box"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, -1.49012e-008, 0, 2.68221e-007, 1, -1.19209e-007, -2.98023e-008, 2.68221e-007, 1, 0.0507725, -0.0524313, 0.0583506 )
|
2018-09-25 19:46:44 +00:00
|
|
|
shape = SubResource( 13 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="Box2" type="RigidBody" parent="World"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 0.640199, 0.768209, 0, -0.650662, 0.542239, -0.531616, -0.408393, 0.34034, 0.846985, -3.00203, 8.74323, -4.47902 )
|
|
|
|
mass = 1020.41
|
|
|
|
script = ExtResource( 8 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="World/Box2"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 1.49012e-008, 0, 2.68221e-007, 1, -5.96046e-008, -2.98023e-008, 1.19209e-007, 1, 0.0656062, -0.054674, 0.0536029 )
|
2018-09-25 19:46:44 +00:00
|
|
|
use_in_baked_light = true
|
|
|
|
mesh = SubResource( 11 )
|
|
|
|
material/0 = SubResource( 12 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="World/Box2"]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 1.49012e-008, 0, 1.3411e-007, 1, 0, 2.98023e-008, -2.98023e-008, 1, 0, 0, 0 )
|
2018-09-25 19:46:44 +00:00
|
|
|
shape = SubResource( 13 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="CubeShaderTest" parent="World" instance=ExtResource( 9 )]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( -0.471909, 0, -0.881647, 0, 1, 0, 0.881647, 0, -0.471909, 4, 2, 3.11353 )
|
2019-03-12 14:29:32 +00:00
|
|
|
physics_material_override = SubResource( 14 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="fire_01" parent="World/CubeShaderTest" instance=ExtResource( 10 )]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( -1.5494, 0, 2.89468, 0, 1, 0, -2.89468, 0, -1.5494, 0, 1.1836, 0 )
|
|
|
|
visibility_aabb = AABB( -4, -4.04395, -3.96729, 8, 8, 8 )
|
|
|
|
draw_passes = 2
|
2019-03-12 14:29:32 +00:00
|
|
|
draw_pass_1 = SubResource( 16 )
|
|
|
|
draw_pass_2 = SubResource( 18 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="fire_02" parent="World/CubeShaderTest" instance=ExtResource( 10 )]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( -1.5494, 0, 2.89468, 0, 1, 0, -2.89468, 0, -1.5494, -0.574282, 0.104018, -1.07291 )
|
|
|
|
visibility_aabb = AABB( -4, -4.04395, -3.96729, 8, 8, 8 )
|
2019-03-12 14:29:32 +00:00
|
|
|
process_material = SubResource( 23 )
|
2018-08-25 08:05:54 +00:00
|
|
|
draw_passes = 2
|
2019-03-12 14:29:32 +00:00
|
|
|
draw_pass_1 = SubResource( 25 )
|
|
|
|
draw_pass_2 = SubResource( 27 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="fire_03" parent="World/CubeShaderTest" instance=ExtResource( 10 )]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( -1.5494, 0, 2.89468, 0, 1, 0, -2.89468, 0, -1.5494, 0.573787, 0.104018, 1.07198 )
|
|
|
|
visibility_aabb = AABB( -4, -4.04395, -3.96729, 8, 8, 8 )
|
2019-03-12 14:29:32 +00:00
|
|
|
process_material = SubResource( 28 )
|
2018-08-25 08:05:54 +00:00
|
|
|
draw_passes = 2
|
2019-03-12 14:29:32 +00:00
|
|
|
draw_pass_1 = SubResource( 30 )
|
|
|
|
draw_pass_2 = SubResource( 32 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="fire_04" parent="World/CubeShaderTest" instance=ExtResource( 10 )]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( -1.5494, 0, 2.89468, 0, 1, 0, -2.89468, 0, -1.5494, 0.00931847, -1.29484, 0.0174088 )
|
|
|
|
visibility_aabb = AABB( -4, -4.04395, -3.96729, 8, 8, 8 )
|
2019-03-12 14:29:32 +00:00
|
|
|
process_material = SubResource( 33 )
|
2018-08-25 08:05:54 +00:00
|
|
|
draw_passes = 2
|
2019-03-12 14:29:32 +00:00
|
|
|
draw_pass_1 = SubResource( 35 )
|
|
|
|
draw_pass_2 = SubResource( 37 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="jukebox" parent="World" instance=ExtResource( 13 )]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7.67816, 0.00211585, 0 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="portail_scenes" parent="World" instance=ExtResource( 14 )]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 12.1976 )
|
|
|
|
scene_path = NodePath("res://dispensaire_scenes/dispensaire_scenes.tscn")
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="portail_gridmap" parent="World" instance=ExtResource( 14 )]
|
2018-08-25 08:05:54 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.01158, 0, 12.1976 )
|
|
|
|
scene_path = NodePath("res://dispensaire_gridmap/dispensaire_gridmap.tscn")
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="start_position" parent="." instance=ExtResource( 15 )]
|
2018-09-22 08:44:07 +00:00
|
|
|
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 0, 0, -15.0515 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="start_position_scenes" parent="." instance=ExtResource( 15 )]
|
2018-09-22 08:44:07 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 8.15871 )
|
|
|
|
|
2019-03-12 14:29:32 +00:00
|
|
|
[node name="start_position_gridmap" parent="." instance=ExtResource( 15 )]
|
2018-09-22 08:44:07 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 8.15871 )
|
2018-08-25 08:05:54 +00:00
|
|
|
|
|
|
|
[connection signal="sleeping_state_changed" from="World/Box" to="World/Box" method="_on_Box_sleeping_state_changed"]
|
|
|
|
[connection signal="sleeping_state_changed" from="World/Box2" to="World/Box2" method="_on_Box_sleeping_state_changed"]
|