From 9d0da0aee114166fdc02f933154bc174c4ef3ffb Mon Sep 17 00:00:00 2001 From: Josef Date: Sat, 18 Jan 2025 21:05:02 +0100 Subject: [PATCH] Flash Complete --- Examples/07 VFX/Flash.tscn | 401 +++++++++++++++++++++++++----- Packed/Setup/Dark-Ground.material | Bin 1594 -> 1598 bytes Packed/Setup/Sky.gdshader | 20 +- addons/rokojori_action_library | 2 +- 4 files changed, 352 insertions(+), 71 deletions(-) diff --git a/Examples/07 VFX/Flash.tscn b/Examples/07 VFX/Flash.tscn index 56db116..a2e6b56 100644 --- a/Examples/07 VFX/Flash.tscn +++ b/Examples/07 VFX/Flash.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=69 format=4 uid="uid://dk0p4j4bvakwj"] +[gd_scene load_steps=82 format=4 uid="uid://dk0p4j4bvakwj"] [ext_resource type="Shader" path="res://Packed/Setup/Sky.gdshader" id="1_1r6xr"] [ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Networking/NetworkManager.cs" id="1_cotb1"] @@ -34,7 +34,6 @@ [ext_resource type="Resource" uid="uid://dipvwksvqb3dm" path="res://addons/SphynxMotionBlurToolkit/Guertin/guertin_tile_max_x_stage.tres" id="28_0pyew"] [ext_resource type="Resource" uid="uid://bxfg45ubc2pv7" path="res://addons/SphynxMotionBlurToolkit/Guertin/guertin_tile_max_y_stage.tres" id="29_ae74o"] [ext_resource type="Resource" uid="uid://bqehecsdgt70s" path="res://addons/SphynxMotionBlurToolkit/Guertin/guertin_tile_variance_stage.tres" id="30_jph5g"] -[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/OnSensor.cs" id="34_8e6hy"] [ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Interactions/Pointer.cs" id="34_axy5m"] [ext_resource type="PackedScene" uid="uid://igjwcq828c3x" path="res://Packed/Character/character.glb" id="34_iqgaf"] [ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Actions/OnProcess.cs" id="35_3nues"] @@ -47,8 +46,12 @@ [ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Interactions/Pointable.cs" id="38_iknbl"] [ext_resource type="Resource" uid="uid://bfxwx0fiejnk3" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Blue Shield - Flash.tres" id="39_1edeu"] [ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Interactions/Interactor.cs" id="39_ovot1"] -[ext_resource type="Shader" uid="uid://bmgpmbthlfon3" path="res://addons/rokojori_action_library/Runtime/Shading/Shaders/Effects/Outline/Outline.tres" id="43_vsqdy"] [ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Interactions/Interactable.cs" id="44_4apug"] +[ext_resource type="Resource" uid="uid://dadr1kd14m7g3" path="res://addons/rokojori_action_library/Runtime/Animation/Highlight/Presets/White Outline - Highlight.tres" id="44_48vee"] +[ext_resource type="Resource" uid="uid://drjdsp2qnceql" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Green Charge - Flash.tres" id="49_td0wp"] +[ext_resource type="Resource" uid="uid://d06w8jorebto2" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Orange Boost - Flash.tres" id="50_uj384"] +[ext_resource type="Resource" uid="uid://pok7bfoksfmr" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/White Blinking - Flash.tres" id="51_iktfu"] +[ext_resource type="Resource" uid="uid://cwdnm658q3jta" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Red Hit - Flash.tres" id="52_pmlj5"] [sub_resource type="Gradient" id="Gradient_lfbf4"] offsets = PackedFloat32Array(0.390947, 0.44856, 0.469136, 0.534979, 0.711934, 0.851852) @@ -66,9 +69,12 @@ shader_parameter/star_size = 0.02 shader_parameter/star_falloff = 6.865 shader_parameter/margin = 0.965 shader_parameter/starOpacity = 1.0 -shader_parameter/starsNoiseScale = 1.0 -shader_parameter/starsNoiseDivision = 100001.0 -shader_parameter/starsNoiseOffset = Vector2(25.97, 0.01) +shader_parameter/starsNoiseScale = 10.125 +shader_parameter/starsNoiseOffset = Vector3(0, 0, 0) +shader_parameter/starsNoiseScale2 = 500.0 +shader_parameter/starsNoiseOffset2 = Vector3(0, 0, 0) +shader_parameter/starsOverlayOpacity = 0.02 +shader_parameter/starsOverlayOffset = -0.63 shader_parameter/verticalColor = SubResource("GradientTexture2D_rim8p") [sub_resource type="Sky" id="Sky_6f3cg"] @@ -93,6 +99,8 @@ fog_sky_affect = 0.0 [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_0tow3"] dof_blur_near_enabled = true +dof_blur_near_distance = 0.4 +dof_blur_near_transition = 0.25 [sub_resource type="CompositorEffect" id="CompositorEffect_4lfo8"] resource_local_to_scene = false @@ -134,11 +142,145 @@ compositor_effects = Array[CompositorEffect]([SubResource("CompositorEffect_4lfo script = ExtResource("19_tywpm") samples = 32 intensity = 0.5 -center_fade = 0.445 +center_fade = 0.0 framerate_independent = true uncapped_independence = false target_constant_framerate = 30.0 +[sub_resource type="ArrayMesh" id="ArrayMesh_2m7yo"] +_surfaces = [{ +"aabb": AABB(-0.5, -0.5, -0.5, 1, 1, 1), +"attribute_data": PackedByteArray("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"), +"format": 34359742487, +"index_count": 132, +"index_data": PackedByteArray("AgABAAAAAQACAAMADgAFAAYABQAOAA0AEwAHAAsABwATAA8ADAAIAAQACAAMABAAEQAKAAkACgARABIADwAGAAcABgAPAA4AEgALAAoACwASABMAEAAJAAgACQAQABEADQAEAAUABAANAAwAAAAFAAQADAANABQAAQAHAAYADgAPABUAAgAIAAkAEQAQABYAAwAKAAsAEwASABcABgAAAAEAAAAGAAUADQAVABQAFQANAA4ACwABAAMAAQALAAcADwAXABUAFwAPABMACQADAAIAAwAJAAoAEgAWABcAFgASABEABAACAAAAAgAEAAgAEAAUABYAFAAQAAwAFwAUABUAFAAXABYA"), +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 24, +"vertex_data": PackedByteArray("ZmbmvgAAAD9mZuY+ZmbmPgAAAD9mZuY+ZmbmvgAAAD9mZua+ZmbmPgAAAD9mZua+AAAAv2Zm5j5mZuY+ZmbmvmZm5j4AAAA/ZmbmPmZm5j4AAAA/AAAAP2Zm5j5mZuY+AAAAv2Zm5j5mZua+ZmbmvmZm5j4AAAC/ZmbmPmZm5j4AAAC/AAAAP2Zm5j5mZua+AAAAv2Zm5r5mZuY+ZmbmvmZm5r4AAAA/ZmbmPmZm5r4AAAA/AAAAP2Zm5r5mZuY+AAAAv2Zm5r5mZua+ZmbmvmZm5r4AAAC/ZmbmPmZm5r4AAAC/AAAAP2Zm5r5mZua+ZmbmvgAAAL9mZuY+ZmbmPgAAAL9mZuY+ZmbmvgAAAL9mZua+ZmbmPgAAAL9mZua+/3///wAA/7//f///AAD/v/9///8AAP+//3///wAA/78AAP9//3//v/9//3//fwCA/3//f/9/AID///9//3//vwAA/3//f/+///////9/AID//////38AgP///3//f/+/AAD/f/9//7//f/9//38AgP9//3//fwCA////f/9//78AAP9//3//v///////fwCA//////9/AID///9//3//v/9/AAAAAP+//38AAAAA/7//fwAAAAD/v/9/AAAAAP+/") +}] + +[sub_resource type="FastNoiseLite" id="FastNoiseLite_evgdl"] +frequency = 0.0054 +fractal_lacunarity = 2.555 + +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7uutl"] +width = 2048 +height = 2048 +seamless = true +as_normal_map = true +noise = SubResource("FastNoiseLite_evgdl") + +[sub_resource type="Gradient" id="Gradient_jj1ne"] + +[sub_resource type="FastNoiseLite" id="FastNoiseLite_k6fd8"] +frequency = 0.0043 + +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_1yxdp"] +seamless = true +seamless_blend_skirt = 0.177 +color_ramp = SubResource("Gradient_jj1ne") +noise = SubResource("FastNoiseLite_k6fd8") + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_x746g"] +albedo_color = Color(0.230469, 0.222366, 0.222366, 1) +metallic = 0.41 +metallic_specular = 0.25 +roughness = 0.85 +roughness_texture = SubResource("NoiseTexture2D_1yxdp") +emission = Color(0.328125, 0.0487061, 0.0487061, 1) +normal_enabled = true +normal_texture = SubResource("NoiseTexture2D_7uutl") +uv1_triplanar = true + +[sub_resource type="ArrayMesh" id="ArrayMesh_c3qte"] +_surfaces = [{ +"aabb": AABB(-0.25, -0.25, -0.25, 0.5, 0.5, 0.5), +"attribute_data": PackedByteArray("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"), +"format": 34359742487, +"index_count": 132, +"index_data": PackedByteArray("AgABAAAAAQACAAMADgAFAAYABQAOAA0AEwAHAAsABwATAA8ADAAIAAQACAAMABAAEQAKAAkACgARABIADwAGAAcABgAPAA4AEgALAAoACwASABMAEAAJAAgACQAQABEADQAEAAUABAANAAwAAAAFAAQADAANABQAAQAHAAYADgAPABUAAgAIAAkAEQAQABYAAwAKAAsAEwASABcABgAAAAEAAAAGAAUADQAVABQAFQANAA4ACwABAAMAAQALAAcADwAXABUAFwAPABMACQADAAIAAwAJAAoAEgAWABcAFgASABEABAACAAAAAgAEAAgAEAAUABYAFAAQAAwAFwAUABUAFAAXABYA"), +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 24, +"vertex_data": PackedByteArray("zcxMvgAAgD7NzEw+zcxMPgAAgD7NzEw+zcxMvgAAgD7NzEy+zcxMPgAAgD7NzEy+AACAvs3MTD7NzEw+zcxMvs3MTD4AAIA+zcxMPs3MTD4AAIA+AACAPs3MTD7NzEw+AACAvs3MTD7NzEy+zcxMvs3MTD4AAIC+zcxMPs3MTD4AAIC+AACAPs3MTD7NzEy+AACAvs3MTL7NzEw+zcxMvs3MTL4AAIA+zcxMPs3MTL4AAIA+AACAPs3MTL7NzEw+AACAvs3MTL7NzEy+zcxMvs3MTL4AAIC+zcxMPs3MTL4AAIC+AACAPs3MTL7NzEy+zcxMvgAAgL7NzEw+zcxMPgAAgL7NzEw+zcxMvgAAgL7NzEy+zcxMPgAAgL7NzEy+/3///wAA/7//f///AAD/v/9///8AAP+//3///wAA/78AAP9//3//v/9//3//fwCA/3//f/9/AID///9//3//vwAA/3//f/+///////9/AID//////38AgP///3//f/+/AAD/f/9//7//f/9//38AgP9//3//fwCA////f/9//78AAP9//3//v///////fwCA//////9/AID///9//3//v/9/AAAAAP+//38AAAAA/7//fwAAAAD/v/9/AAAAAP+/") +}] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ylj0b"] +albedo_color = Color(0.132813, 0.24176, 0.53125, 1) +metallic = 1.0 +metallic_specular = 0.25 +roughness = 0.62 +roughness_texture = SubResource("NoiseTexture2D_1yxdp") +emission_enabled = true +emission = Color(0.0136871, 0.0256029, 0.152344, 1) +normal_enabled = true +normal_texture = SubResource("NoiseTexture2D_7uutl") +uv1_triplanar = true + +[sub_resource type="BoxShape3D" id="BoxShape3D_tgb73"] +size = Vector3(0.5, 0.5, 0.5) + +[sub_resource type="ArrayMesh" id="ArrayMesh_lvr3s"] +_surfaces = [{ +"aabb": AABB(-0.25, -0.25, -0.25, 0.5, 0.5, 0.5), +"attribute_data": PackedByteArray("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"), +"format": 34359742487, +"index_count": 132, +"index_data": PackedByteArray("AgABAAAAAQACAAMADgAFAAYABQAOAA0AEwAHAAsABwATAA8ADAAIAAQACAAMABAAEQAKAAkACgARABIADwAGAAcABgAPAA4AEgALAAoACwASABMAEAAJAAgACQAQABEADQAEAAUABAANAAwAAAAFAAQADAANABQAAQAHAAYADgAPABUAAgAIAAkAEQAQABYAAwAKAAsAEwASABcABgAAAAEAAAAGAAUADQAVABQAFQANAA4ACwABAAMAAQALAAcADwAXABUAFwAPABMACQADAAIAAwAJAAoAEgAWABcAFgASABEABAACAAAAAgAEAAgAEAAUABYAFAAQAAwAFwAUABUAFAAXABYA"), +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 24, +"vertex_data": PackedByteArray("zcxMvgAAgD7NzEw+zcxMPgAAgD7NzEw+zcxMvgAAgD7NzEy+zcxMPgAAgD7NzEy+AACAvs3MTD7NzEw+zcxMvs3MTD4AAIA+zcxMPs3MTD4AAIA+AACAPs3MTD7NzEw+AACAvs3MTD7NzEy+zcxMvs3MTD4AAIC+zcxMPs3MTD4AAIC+AACAPs3MTD7NzEy+AACAvs3MTL7NzEw+zcxMvs3MTL4AAIA+zcxMPs3MTL4AAIA+AACAPs3MTL7NzEw+AACAvs3MTL7NzEy+zcxMvs3MTL4AAIC+zcxMPs3MTL4AAIC+AACAPs3MTL7NzEy+zcxMvgAAgL7NzEw+zcxMPgAAgL7NzEw+zcxMvgAAgL7NzEy+zcxMPgAAgL7NzEy+/3///wAA/7//f///AAD/v/9///8AAP+//3///wAA/78AAP9//3//v/9//3//fwCA/3//f/9/AID///9//3//vwAA/3//f/+///////9/AID//////38AgP///3//f/+/AAD/f/9//7//f/9//38AgP9//3//fwCA////f/9//78AAP9//3//v///////fwCA//////9/AID///9//3//v/9/AAAAAP+//38AAAAA/7//fwAAAAD/v/9/AAAAAP+/") +}] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ag5d1"] +albedo_color = Color(0.173279, 0.53125, 0.132813, 1) +metallic = 1.0 +metallic_specular = 0.25 +roughness = 0.62 +roughness_texture = SubResource("NoiseTexture2D_1yxdp") +emission_enabled = true +emission = Color(0.0136871, 0.152344, 0.0321025, 1) +normal_enabled = true +normal_texture = SubResource("NoiseTexture2D_7uutl") +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8kxh0"] +albedo_color = Color(0.855469, 0.492897, 0.106934, 1) +metallic = 1.0 +metallic_specular = 0.25 +roughness = 0.62 +roughness_texture = SubResource("NoiseTexture2D_1yxdp") +emission_enabled = true +emission = Color(0.152344, 0.0786824, 0.0136871, 1) +normal_enabled = true +normal_texture = SubResource("NoiseTexture2D_7uutl") +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o4ujy"] +metallic = 1.0 +metallic_specular = 0.25 +roughness = 0.62 +roughness_texture = SubResource("NoiseTexture2D_1yxdp") +emission_enabled = true +emission = Color(0.152344, 0.152344, 0.152344, 1) +normal_enabled = true +normal_texture = SubResource("NoiseTexture2D_7uutl") +uv1_triplanar = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wl8dk"] +albedo_color = Color(1, 0, 0, 1) +metallic = 1.0 +metallic_specular = 0.25 +roughness = 0.62 +roughness_texture = SubResource("NoiseTexture2D_1yxdp") +emission_enabled = true +emission = Color(0.328125, 0.0487061, 0.0487061, 1) +normal_enabled = true +normal_texture = SubResource("NoiseTexture2D_7uutl") +uv1_triplanar = true + [sub_resource type="ArrayMesh" id="ArrayMesh_5gsj3"] _surfaces = [{ "aabb": AABB(-0.5, -0.5, -0.5, 1, 1, 1), @@ -152,47 +294,15 @@ _surfaces = [{ "vertex_data": PackedByteArray("ZmbmvgAAAD9mZuY+ZmbmPgAAAD9mZuY+ZmbmvgAAAD9mZua+ZmbmPgAAAD9mZua+AAAAv2Zm5j5mZuY+ZmbmvmZm5j4AAAA/ZmbmPmZm5j4AAAA/AAAAP2Zm5j5mZuY+AAAAv2Zm5j5mZua+ZmbmvmZm5j4AAAC/ZmbmPmZm5j4AAAC/AAAAP2Zm5j5mZua+AAAAv2Zm5r5mZuY+ZmbmvmZm5r4AAAA/ZmbmPmZm5r4AAAA/AAAAP2Zm5r5mZuY+AAAAv2Zm5r5mZua+ZmbmvmZm5r4AAAC/ZmbmPmZm5r4AAAC/AAAAP2Zm5r5mZua+ZmbmvgAAAL9mZuY+ZmbmPgAAAL9mZuY+ZmbmvgAAAL9mZua+ZmbmPgAAAL9mZua+/3///wAA/7//f///AAD/v/9///8AAP+//3///wAA/78AAP9//3//v/9//3//fwCA/3//f/9/AID///9//3//vwAA/3//f/+///////9/AID//////38AgP///3//f/+/AAD/f/9//7//f/9//38AgP9//3//fwCA////f/9//78AAP9//3//v///////fwCA//////9/AID///9//3//v/9/AAAAAP+//38AAAAA/7//fwAAAAD/v/9/AAAAAP+/") }] -[sub_resource type="ShaderMaterial" id="ShaderMaterial_ak8yx"] -render_priority = 0 -shader = ExtResource("43_vsqdy") -shader_parameter/albedo = Color(1, 1, 1, 1) -shader_parameter/sizeClose = 1.0 -shader_parameter/sizeFar = 0.0 -shader_parameter/closeDistance = 5.0 -shader_parameter/farDistance = 50.0 - -[sub_resource type="FastNoiseLite" id="FastNoiseLite_evgdl"] -frequency = 0.0054 -fractal_lacunarity = 2.555 - -[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7uutl"] -width = 2048 -height = 2048 -seamless = true -as_normal_map = true -noise = SubResource("FastNoiseLite_evgdl") - [sub_resource type="Gradient" id="Gradient_e5v7b"] -[sub_resource type="FastNoiseLite" id="FastNoiseLite_8pji8"] +[sub_resource type="FastNoiseLite" id="FastNoiseLite_ocdmi"] frequency = 0.0073 [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_rbhss"] seamless = true color_ramp = SubResource("Gradient_e5v7b") -noise = SubResource("FastNoiseLite_8pji8") - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kc4hg"] -next_pass = SubResource("ShaderMaterial_ak8yx") -albedo_color = Color(0.15625, 0.0756836, 0.0756836, 1) -metallic = 0.47 -metallic_specular = 0.25 -roughness_texture = SubResource("NoiseTexture2D_rbhss") -normal_enabled = true -normal_texture = SubResource("NoiseTexture2D_7uutl") -uv1_triplanar = true - -[sub_resource type="BoxShape3D" id="BoxShape3D_tgb73"] +noise = SubResource("FastNoiseLite_ocdmi") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mmiv8"] albedo_color = Color(0.15625, 0.0756836, 0.0756836, 1) @@ -326,11 +436,10 @@ shadow_enabled = true [node name="OmniLight3D4" type="OmniLight3D" parent="App Setup/Dark Scene"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.4893, -0.364594, 0.850517) -[node name="Interactions" type="Node" parent="App Setup"] +[node name="ReflectionProbe" type="ReflectionProbe" parent="App Setup/Dark Scene"] +size = Vector3(500, 500, 500) -[node name="Pointer" type="Node3D" parent="App Setup/Interactions" node_paths=PackedStringArray("caster")] -script = ExtResource("34_axy5m") -caster = NodePath("../RayCaster/MultiRayCaster") +[node name="Interactions" type="Node" parent="App Setup"] [node name="RayCaster" type="Node" parent="App Setup/Interactions"] @@ -363,6 +472,10 @@ script = ExtResource("37_ra6bk") lookFrom = NodePath("../../MultiRayCaster") lookTarget = NodePath("../../Look At Target") +[node name="Pointer" type="Node3D" parent="App Setup/Interactions" node_paths=PackedStringArray("caster")] +script = ExtResource("34_axy5m") +caster = NodePath("../RayCaster/MultiRayCaster") + [node name="Interactor" type="Node3D" parent="App Setup/Interactions" node_paths=PackedStringArray("pointer")] script = ExtResource("39_ovot1") pointer = NodePath("../Pointer") @@ -373,44 +486,202 @@ button = ExtResource("35_gwiry") [node name="character" parent="Node3D" instance=ExtResource("34_iqgaf")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.18049, 0, 3.50792) -[node name="Cuboid4" type="Node3D" parent="Node3D" node_paths=PackedStringArray("output")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.91883, 4.76837e-07, 1.61163) +[node name="Black Cube" type="Node3D" parent="Node3D/character" node_paths=PackedStringArray("output")] +transform = Transform3D(0.195758, 0, 0.980652, 0, 1, 0, -0.980652, 0, 0.195758, 1.78926, 2.38418e-07, -0.0298195) script = ExtResource("18_6u4rt") borderSize = 0.05 output = NodePath("MeshInstance3D") metadata/_edit_group_ = true -[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D/Cuboid4"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) -mesh = SubResource("ArrayMesh_5gsj3") -surface_material_override/0 = SubResource("StandardMaterial3D_kc4hg") +[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D/character/Black Cube"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.946368, 0.5, -2.0693) +mesh = SubResource("ArrayMesh_2m7yo") +surface_material_override/0 = SubResource("StandardMaterial3D_x746g") -[node name="StaticBody3D" type="StaticBody3D" parent="Node3D/Cuboid4"] +[node name="Shield Cube" type="Node3D" parent="Node3D" node_paths=PackedStringArray("output")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.24179, 2.38418e-07, 3.41945) +script = ExtResource("18_6u4rt") +size = 0.5 +borderSize = 0.05 +output = NodePath("MeshInstance3D") +metadata/_edit_group_ = true -[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/Cuboid4/StaticBody3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.518866, 0) +[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D/Shield Cube"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +mesh = SubResource("ArrayMesh_c3qte") +surface_material_override/0 = SubResource("StandardMaterial3D_ylj0b") + +[node name="StaticBody3D" type="StaticBody3D" parent="Node3D/Shield Cube"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/Shield Cube/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) shape = SubResource("BoxShape3D_tgb73") -[node name="Pointable" type="Node3D" parent="Node3D/Cuboid4/StaticBody3D"] +[node name="Pointable" type="Node3D" parent="Node3D/Shield Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")] script = ExtResource("38_iknbl") +highlightEffect = ExtResource("44_48vee") +highlightTargets = [NodePath("../../MeshInstance3D")] -[node name="Interactable" type="Node3D" parent="Node3D/Cuboid4/StaticBody3D" node_paths=PackedStringArray("onInteraction")] +[node name="Interactable" type="Node3D" parent="Node3D/Shield Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")] script = ExtResource("44_4apug") -onInteraction = NodePath("../../../OnSensor/ActionList") +onInteraction = NodePath("../../OnInteraction") -[node name="OnSensor" type="Node" parent="Node3D" node_paths=PackedStringArray("onStart")] -script = ExtResource("34_8e6hy") -sensor = ExtResource("35_gwiry") -onStart = NodePath("ActionList") - -[node name="ActionList" type="Node" parent="Node3D/OnSensor" node_paths=PackedStringArray("actions")] +[node name="OnInteraction" type="Node" parent="Node3D/Shield Cube" node_paths=PackedStringArray("actions")] script = ExtResource("36_48c1t") actions = [] -[node name="Flash" type="Node" parent="Node3D/OnSensor/ActionList" node_paths=PackedStringArray("targets")] +[node name="Flash" type="Node" parent="Node3D/Shield Cube/OnInteraction" node_paths=PackedStringArray("targets")] script = ExtResource("37_jrcib") flashEffect = ExtResource("39_1edeu") -targets = [NodePath("../../../character/Armature/Skeleton3D/Beta_Joints"), NodePath("../../../character/Armature/Skeleton3D/Beta_Surface")] +targets = [NodePath("../../../character/Armature/Skeleton3D/Beta_Joints"), NodePath("../../../character/Armature/Skeleton3D/Beta_Surface"), NodePath("../../../character/Black Cube/MeshInstance3D")] + +[node name="Health Cube" type="Node3D" parent="Node3D" node_paths=PackedStringArray("output")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0115, 2.38418e-07, 4.57673) +script = ExtResource("18_6u4rt") +size = 0.5 +borderSize = 0.05 +output = NodePath("MeshInstance3D") +metadata/_edit_group_ = true + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D/Health Cube"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +mesh = SubResource("ArrayMesh_lvr3s") +surface_material_override/0 = SubResource("StandardMaterial3D_ag5d1") + +[node name="StaticBody3D" type="StaticBody3D" parent="Node3D/Health Cube"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/Health Cube/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +shape = SubResource("BoxShape3D_tgb73") + +[node name="Pointable" type="Node3D" parent="Node3D/Health Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")] +script = ExtResource("38_iknbl") +highlightEffect = ExtResource("44_48vee") +highlightTargets = [NodePath("../../MeshInstance3D")] + +[node name="Interactable" type="Node3D" parent="Node3D/Health Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")] +script = ExtResource("44_4apug") +onInteraction = NodePath("../../OnInteraction") + +[node name="OnInteraction" type="Node" parent="Node3D/Health Cube" node_paths=PackedStringArray("actions")] +script = ExtResource("36_48c1t") +actions = [] + +[node name="Flash" type="Node" parent="Node3D/Health Cube/OnInteraction" node_paths=PackedStringArray("targets")] +script = ExtResource("37_jrcib") +flashEffect = ExtResource("49_td0wp") +targets = [NodePath("../../../character/Armature/Skeleton3D/Beta_Joints"), NodePath("../../../character/Armature/Skeleton3D/Beta_Surface"), NodePath("../../../character/Black Cube/MeshInstance3D")] + +[node name="Boost Cube" type="Node3D" parent="Node3D" node_paths=PackedStringArray("output")] +transform = Transform3D(0.836535, 0, 0.547914, 0, 1, 0, -0.547914, 0, 0.836535, 4.07833, 2.38418e-07, 4.8557) +script = ExtResource("18_6u4rt") +size = 0.5 +borderSize = 0.05 +output = NodePath("MeshInstance3D") +metadata/_edit_group_ = true + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D/Boost Cube"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +mesh = SubResource("ArrayMesh_lvr3s") +surface_material_override/0 = SubResource("StandardMaterial3D_8kxh0") + +[node name="StaticBody3D" type="StaticBody3D" parent="Node3D/Boost Cube"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/Boost Cube/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +shape = SubResource("BoxShape3D_tgb73") + +[node name="Pointable" type="Node3D" parent="Node3D/Boost Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")] +script = ExtResource("38_iknbl") +highlightEffect = ExtResource("44_48vee") +highlightTargets = [NodePath("../../MeshInstance3D")] + +[node name="Interactable" type="Node3D" parent="Node3D/Boost Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")] +script = ExtResource("44_4apug") +onInteraction = NodePath("../../OnInteraction") + +[node name="OnInteraction" type="Node" parent="Node3D/Boost Cube" node_paths=PackedStringArray("actions")] +script = ExtResource("36_48c1t") +actions = [] + +[node name="Flash" type="Node" parent="Node3D/Boost Cube/OnInteraction" node_paths=PackedStringArray("targets")] +script = ExtResource("37_jrcib") +flashEffect = ExtResource("50_uj384") +targets = [NodePath("../../../character/Armature/Skeleton3D/Beta_Joints"), NodePath("../../../character/Armature/Skeleton3D/Beta_Surface"), NodePath("../../../character/Black Cube/MeshInstance3D")] + +[node name="Blink Cube" type="Node3D" parent="Node3D" node_paths=PackedStringArray("output")] +transform = Transform3D(0.614561, 0, 0.78887, 0, 1, 0, -0.78887, 0, 0.614561, 5.29915, 2.38418e-07, 4.54634) +script = ExtResource("18_6u4rt") +size = 0.5 +borderSize = 0.05 +output = NodePath("MeshInstance3D") +metadata/_edit_group_ = true + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D/Blink Cube"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +mesh = SubResource("ArrayMesh_lvr3s") +surface_material_override/0 = SubResource("StandardMaterial3D_o4ujy") + +[node name="StaticBody3D" type="StaticBody3D" parent="Node3D/Blink Cube"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/Blink Cube/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +shape = SubResource("BoxShape3D_tgb73") + +[node name="Pointable" type="Node3D" parent="Node3D/Blink Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")] +script = ExtResource("38_iknbl") +highlightEffect = ExtResource("44_48vee") +highlightTargets = [NodePath("../../MeshInstance3D")] + +[node name="Interactable" type="Node3D" parent="Node3D/Blink Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")] +script = ExtResource("44_4apug") +onInteraction = NodePath("../../OnInteraction") + +[node name="OnInteraction" type="Node" parent="Node3D/Blink Cube" node_paths=PackedStringArray("actions")] +script = ExtResource("36_48c1t") +actions = [] + +[node name="Flash" type="Node" parent="Node3D/Blink Cube/OnInteraction" node_paths=PackedStringArray("targets")] +script = ExtResource("37_jrcib") +flashEffect = ExtResource("51_iktfu") +targets = [NodePath("../../../character/Armature/Skeleton3D/Beta_Joints"), NodePath("../../../character/Armature/Skeleton3D/Beta_Surface"), NodePath("../../../character/Black Cube/MeshInstance3D")] + +[node name="Impact Cube" type="Node3D" parent="Node3D" node_paths=PackedStringArray("output")] +transform = Transform3D(0.195758, 0, 0.980652, 0, 1, 0, -0.980652, 0, 0.195758, 5.96975, 2.38418e-07, 3.4781) +script = ExtResource("18_6u4rt") +size = 0.5 +borderSize = 0.05 +output = NodePath("MeshInstance3D") +metadata/_edit_group_ = true + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D/Impact Cube"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +mesh = SubResource("ArrayMesh_lvr3s") +surface_material_override/0 = SubResource("StandardMaterial3D_wl8dk") + +[node name="StaticBody3D" type="StaticBody3D" parent="Node3D/Impact Cube"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/Impact Cube/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0) +shape = SubResource("BoxShape3D_tgb73") + +[node name="Pointable" type="Node3D" parent="Node3D/Impact Cube/StaticBody3D" node_paths=PackedStringArray("highlightTargets")] +script = ExtResource("38_iknbl") +highlightEffect = ExtResource("44_48vee") +highlightTargets = [NodePath("../../MeshInstance3D")] + +[node name="Interactable" type="Node3D" parent="Node3D/Impact Cube/StaticBody3D" node_paths=PackedStringArray("onInteraction")] +script = ExtResource("44_4apug") +onInteraction = NodePath("../../OnInteraction") + +[node name="OnInteraction" type="Node" parent="Node3D/Impact Cube" node_paths=PackedStringArray("actions")] +script = ExtResource("36_48c1t") +actions = [] + +[node name="Flash" type="Node" parent="Node3D/Impact Cube/OnInteraction" node_paths=PackedStringArray("targets")] +script = ExtResource("37_jrcib") +flashEffect = ExtResource("52_pmlj5") +targets = [NodePath("../../../character/Armature/Skeleton3D/Beta_Joints"), NodePath("../../../character/Armature/Skeleton3D/Beta_Surface"), NodePath("../../../character/Black Cube/MeshInstance3D")] [node name="Cubes" type="Node3D" parent="Node3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.24594, -4.76837e-07, -3.11724) diff --git a/Packed/Setup/Dark-Ground.material b/Packed/Setup/Dark-Ground.material index 6eb4f335ed7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