TUBES NOW SHOOT UP, A BASKED NOW CATCHES YOU
This commit is contained in:
@@ -137,7 +137,8 @@ gamemode = ExtResource("2_pxx7p")
|
||||
|
||||
[node name="Realtime Day Night Cycle" parent="." instance=ExtResource("3_cyqa2")]
|
||||
transform = Transform3D(-0.513781, 0, -0.857921, 0, 1, 0, 0.857921, 0, -0.513781, 0, 0, 0)
|
||||
set_time = 12.0
|
||||
realtime = false
|
||||
set_time = 22.0
|
||||
|
||||
[node name="LEVEL UTILS" type="Node" parent="."]
|
||||
|
||||
@@ -308,7 +309,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5486, 121.128, -28.3873)
|
||||
transform = Transform3D(0.000872742, 0, -1, 0, 1, 0, 1, 0, 0.000872742, 1.24594, -119.116, 0.455086)
|
||||
|
||||
[node name="Scene Changer6" parent="Tubes" instance=ExtResource("11_titu4")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 10.4383, 121.128, -17.0011)
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 9.48431, 121.128, -17.0011)
|
||||
|
||||
[node name="Level Sign" parent="Tubes/Scene Changer6" instance=ExtResource("13_ng05k")]
|
||||
transform = Transform3D(-0.00479963, 0, 0.999989, 0, 1, 0, -0.999989, 0, -0.00479963, -2.059, -119.116, -0.128061)
|
||||
@@ -360,3 +361,15 @@ jump_amount = 125
|
||||
[node name="vendingmachine" parent="." instance=ExtResource("19_brrhm")]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 15.7521, -0.13327, -23.4152)
|
||||
item_name = "revolver"
|
||||
|
||||
[node name="SpotLight3D" type="SpotLight3D" parent="."]
|
||||
transform = Transform3D(0.912635, 0.397023, -0.0973198, -0.010943, -0.214262, -0.976715, -0.40863, 0.892449, -0.191198, 8.73698, 0, 1.23237)
|
||||
light_energy = 11.615
|
||||
shadow_enabled = true
|
||||
spot_range = 17.4054
|
||||
|
||||
[node name="SpotLight3D2" type="SpotLight3D" parent="."]
|
||||
transform = Transform3D(-0.974581, -0.2163, 0.0583688, -0.0133677, -0.203925, -0.978895, 0.223638, -0.954792, 0.19585, 0.635257, -9.53674e-07, -18.7411)
|
||||
light_energy = 11.615
|
||||
shadow_enabled = true
|
||||
spot_range = 17.4054
|
||||
|
||||
BIN
assets/TubeAssets.blend
Normal file
BIN
assets/TubeAssets.blend
Normal file
Binary file not shown.
53
assets/TubeAssets.blend.import
Normal file
53
assets/TubeAssets.blend.import
Normal file
@@ -0,0 +1,53 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://d0iemvwfcltd7"
|
||||
path="res://.godot/imported/TubeAssets.blend-afbeb5050e61b6de8b0791fff6f49d2c.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/TubeAssets.blend"
|
||||
dest_files=["res://.godot/imported/TubeAssets.blend-afbeb5050e61b6de8b0791fff6f49d2c.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
BIN
assets/TubeAssets.blend1
Normal file
BIN
assets/TubeAssets.blend1
Normal file
Binary file not shown.
@@ -27,9 +27,10 @@ visible = false
|
||||
mesh = SubResource("SphereMesh_wfy04")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_qd8ax")
|
||||
|
||||
[node name="Start_Activation" type="Timer" parent="."]
|
||||
wait_time = 0.5
|
||||
autostart = true
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
||||
[node name="Scene_Holder" type="Node3D" parent="."]
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="timeout" from="Start_Activation" to="." method="_on_start_activation_timeout"]
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_start_activation_timeout"]
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=15 format=4 uid="uid://h05qay3qri4e"]
|
||||
[gd_scene load_steps=21 format=4 uid="uid://h05qay3qri4e"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ixeulptnq4t7" path="res://assets/Models/SubstancePainterTest/switch1.base_BaseColor.png" id="1_fj3ta"]
|
||||
[ext_resource type="Script" uid="uid://3dribcjjimj8" path="res://scripts/switch_interactandshoot.gd" id="1_rw0ux"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqbnqyyxcp4fd" path="res://assets/Models/SubstancePainterTest/switch1.base_Metallic.png" id="2_51b4u"]
|
||||
[ext_resource type="Texture2D" uid="uid://bfsf6vw1hv3qe" path="res://assets/Models/SubstancePainterTest/switch1.base_Normal.png" id="3_5128q"]
|
||||
[ext_resource type="Texture2D" uid="uid://dn2os4sr5ymnj" path="res://assets/Models/SubstancePainterTest/switch1.base_Roughness.png" id="4_323bf"]
|
||||
@@ -97,7 +98,56 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_gqho7")
|
||||
|
||||
[node name="Switch1" type="Node3D"]
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_rw0ux"]
|
||||
data = PackedVector3Array(-0.1, -0.1, 0.2, -0.1, 0.1, -0.2, -0.1, 0.1, 0.2, -0.1, -0.1, 0.2, -0.1, -0.1, -0.2, -0.1, 0.1, -0.2, -0.1, -0.1, -0.2, 0.1, 0.1, -0.2, -0.1, 0.1, -0.2, -0.1, -0.1, -0.2, 0.1, -0.1, -0.2, 0.1, 0.1, -0.2, 0.1, -0.1, -0.2, 0.1, 0.1, 0.2, 0.1, 0.1, -0.2, 0.1, -0.1, -0.2, 0.1, -0.1, 0.2, 0.1, 0.1, 0.2, 0.1, -0.1, 0.2, -0.1, 0.1, 0.2, 0.1, 0.1, 0.2, 0.1, -0.1, 0.2, -0.1, -0.1, 0.2, -0.1, 0.1, 0.2, -0.1, -0.1, -0.2, 0.1, -0.1, 0.2, 0.1, -0.1, -0.2, -0.1, -0.1, -0.2, -0.1, -0.1, 0.2, 0.1, -0.1, 0.2, -0.07, 0.1, 0.17, 0.07, 0.0881, 0.17, 0.07, 0.1, 0.17, -0.07, 0.1, 0.17, -0.07, 0.0881, 0.17, 0.07, 0.0881, 0.17, -0.07, 0.1, 0.17, -0.1, 0.1, -0.2, -0.07, 0.1, -0.17, -0.07, 0.1, 0.17, -0.1, 0.1, 0.2, -0.1, 0.1, -0.2, -0.07, 0.1, -0.17, 0.1, 0.1, -0.2, 0.07, 0.1, -0.17, -0.07, 0.1, -0.17, -0.1, 0.1, -0.2, 0.1, 0.1, -0.2, 0.07, 0.1, -0.17, 0.1, 0.1, 0.2, 0.07, 0.1, 0.17, 0.07, 0.1, -0.17, 0.1, 0.1, -0.2, 0.1, 0.1, 0.2, 0.07, 0.1, 0.17, -0.1, 0.1, 0.2, -0.07, 0.1, 0.17, 0.07, 0.1, 0.17, 0.1, 0.1, 0.2, -0.1, 0.1, 0.2, 0.042, 0.0881, 0.0652, 0.042, -0.0877, -0.0652, 0.042, 0.0881, -0.0652, 0.042, 0.0881, 0.0652, 0.042, -0.0877, 0.0652, 0.042, -0.0877, -0.0652, 0.07, 0.1, -0.17, -0.07, 0.0881, -0.17, -0.07, 0.1, -0.17, 0.07, 0.1, -0.17, 0.07, 0.0881, -0.17, -0.07, 0.0881, -0.17, 0.07, 0.1, 0.17, 0.07, 0.0881, -0.17, 0.07, 0.1, -0.17, 0.07, 0.1, 0.17, 0.07, 0.0881, 0.17, 0.07, 0.0881, -0.17, -0.07, 0.1, -0.17, -0.07, 0.0881, 0.17, -0.07, 0.1, 0.17, -0.07, 0.1, -0.17, -0.07, 0.0881, -0.17, -0.07, 0.0881, 0.17, -0.042, 0.0881, 0.0652, -0.07, 0.0881, -0.17, -0.042, 0.0881, -0.0652, -0.042, 0.0881, 0.0652, -0.07, 0.0881, 0.17, -0.07, 0.0881, -0.17, -0.042, 0.0881, -0.0652, 0.07, 0.0881, -0.17, 0.042, 0.0881, -0.0652, -0.042, 0.0881, -0.0652, -0.07, 0.0881, -0.17, 0.07, 0.0881, -0.17, 0.042, 0.0881, -0.0652, 0.07, 0.0881, 0.17, 0.042, 0.0881, 0.0652, 0.042, 0.0881, -0.0652, 0.07, 0.0881, -0.17, 0.07, 0.0881, 0.17, 0.042, 0.0881, 0.0652, -0.07, 0.0881, 0.17, -0.042, 0.0881, 0.0652, 0.042, 0.0881, 0.0652, 0.07, 0.0881, 0.17, -0.07, 0.0881, 0.17, 0.042, -0.0877, -0.0652, -0.042, -0.0877, 0.0652, -0.042, -0.0877, -0.0652, 0.042, -0.0877, -0.0652, 0.042, -0.0877, 0.0652, -0.042, -0.0877, 0.0652, -0.042, 0.0881, -0.0652, -0.042, -0.0877, 0.0652, -0.042, 0.0881, 0.0652, -0.042, 0.0881, -0.0652, -0.042, -0.0877, -0.0652, -0.042, -0.0877, 0.0652, -0.042, 0.0881, 0.0652, 0.042, -0.0877, 0.0652, 0.042, 0.0881, 0.0652, -0.042, 0.0881, 0.0652, -0.042, -0.0877, 0.0652, 0.042, -0.0877, 0.0652, 0.042, 0.0881, -0.0652, -0.042, -0.0877, -0.0652, -0.042, 0.0881, -0.0652, 0.042, 0.0881, -0.0652, 0.042, -0.0877, -0.0652, -0.042, -0.0877, -0.0652)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_c5qda"]
|
||||
resource_name = "on"
|
||||
length = 0.4
|
||||
tracks/0/type = "rotation_3d"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("SwitchBase-LOW/Switch-Low")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = PackedFloat32Array(0, 1, 0.236828, 0.236828, -0.666268, 0.666268, 0.166667, 1, 0.527821, 0.527821, -0.470536, 0.470536, 0.233333, 1, 0.569757, 0.569757, -0.418781, 0.418781, 0.4, 1, 0.527821, 0.527821, -0.470536, 0.470536)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_rw0ux"]
|
||||
length = 0.001
|
||||
tracks/0/type = "rotation_3d"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("SwitchBase-LOW/Switch-Low")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = PackedFloat32Array(0, 1, 0.236828, 0.236828, -0.666268, 0.666268)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_gt83m"]
|
||||
resource_name = "off"
|
||||
length = 0.4
|
||||
tracks/0/type = "rotation_3d"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("SwitchBase-LOW/Switch-Low")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = PackedFloat32Array(0, 1, 0.527821, 0.527821, -0.470536, 0.470536, 0.233333, 1, 0.569757, 0.569757, -0.418781, 0.418781, 0.3, 1, 0.527821, 0.527821, -0.470536, 0.470536, 0.4, 1, 0.236828, 0.236828, -0.666268, 0.666268)
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ms0kb"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_rw0ux"),
|
||||
&"off": SubResource("Animation_gt83m"),
|
||||
&"on": SubResource("Animation_c5qda")
|
||||
}
|
||||
|
||||
[node name="Switch1" type="StaticBody3D" node_paths=PackedStringArray("anim_player")]
|
||||
collision_layer = 130
|
||||
collision_mask = 130
|
||||
script = ExtResource("1_rw0ux")
|
||||
start_on = true
|
||||
toggle_enabled = true
|
||||
bullet_enabled = false
|
||||
anim_player = NodePath("AnimationPlayer")
|
||||
|
||||
[node name="SwitchBase-LOW" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.1, 0)
|
||||
@@ -105,6 +155,15 @@ mesh = SubResource("ArrayMesh_cm7na")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Switch-Low" type="MeshInstance3D" parent="SwitchBase-LOW"]
|
||||
transform = Transform3D(1.19209e-07, 1, -2.98023e-08, -0.382684, 1.19209e-07, -0.923879, -0.923879, -2.98023e-08, 0.382684, 0, 0.017386, 0)
|
||||
transform = Transform3D(-9.22129e-08, 1, 5.96046e-08, -0.77565, -3.39048e-08, -0.631163, -0.631163, -1.04434e-07, 0.77565, 0, 0.0109356, 0)
|
||||
mesh = SubResource("ArrayMesh_vpr2q")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.1, 0)
|
||||
shape = SubResource("ConcavePolygonShape3D_rw0ux")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_ms0kb")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user