nieuwe safe..
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
[gd_scene load_steps=15 format=3 uid="uid://bf6uq6xpt0xnc"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cer2et8in48e1" path="res://Objects/Meshes/ornate-safe.glb" id="1_s6s03"]
|
||||
[ext_resource type="Script" path="res://Scripts/Safe.gd" id="2_53j3v"]
|
||||
[ext_resource type="AudioStream" uid="uid://mi8fox007pdr" path="res://Audio/button.wav" id="3_x2j20"]
|
||||
[ext_resource type="AudioStream" uid="uid://c403ltk7lrae0" path="res://Audio/reset.wav" id="4_f8u7d"]
|
||||
[ext_resource type="AudioStream" uid="uid://d0bincgxhycg" path="res://Audio/doosje.wav" id="5_uqdnw"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_veuml"]
|
||||
colors = PackedColorArray(0.130458, 0.196693, 0.210938, 1, 0.0956587, 0.261719, 0.156551, 1)
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_8ap1h"]
|
||||
noise_type = 5
|
||||
frequency = 0.023
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_ke4mv"]
|
||||
width = 1024
|
||||
height = 1024
|
||||
color_ramp = SubResource("Gradient_veuml")
|
||||
noise = SubResource("FastNoiseLite_8ap1h")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eod37"]
|
||||
albedo_texture = SubResource("NoiseTexture2D_ke4mv")
|
||||
metallic = 0.44
|
||||
roughness = 0.85
|
||||
clearcoat_enabled = true
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_xr0vk"]
|
||||
points = PackedVector3Array(0.33559, 0.191591, 0.191553, 0.347121, 0.185118, 0.191553, 0.33559, 0.191591, -0.171392, -0.326309, 0.191591, 0.191553, 0.347121, 0.185118, -0.171392, 0.347121, -0.186469, 0.191553, -0.326309, 0.191591, -0.171392, -0.337773, 0.185118, 0.191553, 0.347121, -0.186469, -0.171392, 0.33559, -0.192904, 0.191553, -0.337773, 0.185118, -0.171392, -0.337773, -0.186469, 0.191553, 0.33559, -0.192904, -0.171392, -0.326309, -0.192904, 0.191553, -0.337773, -0.186469, -0.171392, -0.326309, -0.192904, -0.171392)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_4e7ai"]
|
||||
points = PackedVector3Array(-0.0160913, -0.0160913, -0.00687236, 0.0160913, -0.0160913, -0.00687236, -0.0160913, -0.0160913, 0.00244827, -0.0160913, 0.0160913, -0.00687236, 0.0160913, -0.0160913, 0.00244827, 0.0160913, 0.0160913, -0.00687236, -0.00996727, -0.00996728, 0.00857532, -0.0160913, 0.0160913, 0.00244827, 0.00996413, -0.00996728, 0.00857532, 0.0160913, 0.0160913, 0.00244827, -0.00996727, 0.00996413, 0.00857532, 0.00996413, 0.00996413, 0.00857532)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_axbyd"]
|
||||
points = PackedVector3Array(-0.0160913, -0.0160913, -0.00687233, 0.0160913, -0.0160913, -0.00687233, -0.0160913, -0.0160913, 0.00244825, -0.0160913, 0.0160913, -0.00687233, 0.0160913, -0.0160913, 0.00244825, 0.0160913, 0.0160913, -0.00687233, -0.00996727, -0.00996728, 0.00857528, -0.0160913, 0.0160913, 0.00244825, 0.00996413, -0.00996728, 0.00857528, 0.0160913, 0.0160913, 0.00244825, -0.00996727, 0.00996413, 0.00857528, 0.00996413, 0.00996413, 0.00857528)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_dpwms"]
|
||||
points = PackedVector3Array(-0.0160913, -0.0160913, -0.00687233, 0.0160913, -0.0160913, -0.00687233, -0.0160913, -0.0160913, 0.00244825, -0.0160913, 0.0160913, -0.00687233, 0.0160913, -0.0160913, 0.00244825, 0.0160913, 0.0160913, -0.00687233, -0.00996728, -0.00996728, 0.00857528, -0.0160913, 0.0160913, 0.00244825, 0.00996412, -0.00996728, 0.00857528, 0.0160913, 0.0160913, 0.00244825, -0.00996728, 0.00996413, 0.00857528, 0.00996412, 0.00996413, 0.00857528)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_uk51f"]
|
||||
points = PackedVector3Array(-0.0160913, -0.0160913, -0.00687233, 0.0160913, -0.0160913, -0.00687233, -0.0160913, -0.0160913, 0.00244825, -0.0160913, 0.0160913, -0.00687233, 0.0160913, -0.0160913, 0.00244825, 0.0160913, 0.0160913, -0.00687233, -0.00996727, -0.00996728, 0.00857528, -0.0160913, 0.0160913, 0.00244825, 0.00996413, -0.00996728, 0.00857528, 0.0160913, 0.0160913, 0.00244825, -0.00996727, 0.00996413, 0.00857528, 0.00996413, 0.00996413, 0.00857528)
|
||||
|
||||
[node name="ornate-safe" instance=ExtResource("1_s6s03")]
|
||||
script = ExtResource("2_53j3v")
|
||||
|
||||
[node name="Safe" parent="." index="0"]
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_eod37")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Safe" index="0"]
|
||||
input_ray_pickable = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Safe/StaticBody3D" index="0"]
|
||||
shape = SubResource("ConvexPolygonShape3D_xr0vk")
|
||||
|
||||
[node name="ButtonD" parent="Door" index="0"]
|
||||
transform = Transform3D(0.998628, 0, 0, 0, 1.00961, 0, 0, 0, 0.164965, 0.294626, -0.0654798, 0.0335309)
|
||||
|
||||
[node name="Down" type="StaticBody3D" parent="Door/ButtonD" index="0"]
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonD/Down" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
shape = SubResource("ConvexPolygonShape3D_4e7ai")
|
||||
|
||||
[node name="Left" type="StaticBody3D" parent="Door/ButtonL" index="0"]
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonL/Left" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
shape = SubResource("ConvexPolygonShape3D_axbyd")
|
||||
|
||||
[node name="Right" type="StaticBody3D" parent="Door/ButtonR" index="0"]
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonR/Right" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
shape = SubResource("ConvexPolygonShape3D_dpwms")
|
||||
|
||||
[node name="Up" type="StaticBody3D" parent="Door/ButtonU" index="0"]
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonU/Up" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
shape = SubResource("ConvexPolygonShape3D_uk51f")
|
||||
|
||||
[node name="Button" type="AudioStreamPlayer" parent="." index="3"]
|
||||
stream = ExtResource("3_x2j20")
|
||||
|
||||
[node name="Reset" type="AudioStreamPlayer" parent="." index="4"]
|
||||
stream = ExtResource("4_f8u7d")
|
||||
|
||||
[node name="Open" type="AudioStreamPlayer" parent="." index="5"]
|
||||
stream = ExtResource("5_uqdnw")
|
||||
|
||||
[node name="AnimationPlayer" parent="." index="6"]
|
||||
reset_on_save = false
|
||||
|
||||
[connection signal="input_event" from="Door/ButtonD/Down" to="." method="_on_down_input_event"]
|
||||
[connection signal="input_event" from="Door/ButtonL/Left" to="." method="_on_left_input_event"]
|
||||
[connection signal="input_event" from="Door/ButtonR/Right" to="." method="_on_right_input_event"]
|
||||
[connection signal="input_event" from="Door/ButtonU/Up" to="." method="_on_up_input_event"]
|
||||
Reference in New Issue
Block a user