[gd_scene load_steps=13 format=3 uid="uid://bt0lppumya6fv"] [ext_resource type="Script" path="res://Assets/Weapons/Projectile.gd" id="1_3ywpo"] [ext_resource type="PackedScene" uid="uid://wvxhewre31mo" path="res://Assets/Effects/ImpactExplosion.tscn" id="2_1tben"] [ext_resource type="PackedScene" uid="uid://db4ibhxmrgqny" path="res://Assets/Weapons/RocketLauncher/Rocket.gltf" id="3_wqrr6"] [ext_resource type="Texture2D" uid="uid://pnh872qjk0oy" path="res://Assets/Effects/Flame.png" id="4_aitcu"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_qjk68"] radius = 0.0853144 height = 0.512485 [sub_resource type="Gradient" id="Gradient_l1dmm"] interpolation_mode = 2 offsets = PackedFloat32Array(0, 0.0216998, 0.101266, 0.177215, 0.184448, 1) colors = PackedColorArray(0, 0, 0, 1, 2, 1.66, 0.88, 1, 1, 0.510755, 0.116048, 1, 0.347656, 0.148293, 0.0503992, 1, 0.273438, 0.273438, 0.273438, 1, 0, 0, 0, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_itq0n"] gradient = SubResource( "Gradient_l1dmm" ) use_hdr = true [sub_resource type="Curve" id="Curve_vfbna"] _data = [Vector2(0, 0.154545), 0.0, 5.74743, 0, 0, Vector2(0.157761, 0.6), 1.49824, 1.49824, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0] [sub_resource type="CurveTexture" id="CurveTexture_n25a7"] curve = SubResource( "Curve_vfbna" ) [sub_resource type="ParticlesMaterial" id="ParticlesMaterial_ckuul"] lifetime_randomness = 0.25 direction = Vector3(0, 0, -1) spread = 120.0 gravity = Vector3(0, 0, 0) angular_velocity_min = -5.0 angular_velocity_max = 5.0 damping_min = 20.0 damping_max = 26.0 angle_min = -180.0 angle_max = 180.0 scale_min = 1.5 scale_max = 2.0 scale_curve = SubResource( "CurveTexture_n25a7" ) color_ramp = SubResource( "GradientTexture1D_itq0n" ) hue_variation_min = -0.01 hue_variation_max = 0.01 anim_offset_max = 4.0 collision_enabled = true collision_friction = 1.0 collision_use_scale = true [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eernl"] blend_mode = 1 shading_mode = 0 vertex_color_use_as_albedo = true albedo_color = Color(0.419608, 0.419608, 0.419608, 1) albedo_texture = ExtResource( "4_aitcu" ) disable_receive_shadows = true billboard_mode = 3 particles_anim_h_frames = 2 particles_anim_v_frames = 2 particles_anim_loop = false proximity_fade_enable = true [sub_resource type="QuadMesh" id="QuadMesh_gkbg3"] material = SubResource( "StandardMaterial3D_eernl" ) [node name="Rocket" type="AnimatableBody3D"] collision_layer = 3 collision_mask = 3 sync_to_physics = false script = ExtResource( "1_3ywpo" ) hit_effect_scene = ExtResource( "2_1tben" ) speed = 15.0 [node name="Rocket" parent="." instance=ExtResource( "3_wqrr6" )] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(0, 4.37114e-08, -1, 1, 0, 0, 0, -1, -4.37114e-08, 0, 0, 0) shape = SubResource( "CapsuleShape3D_qjk68" ) [node name="OmniLight3D" type="OmniLight3D" parent="."] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0.378725) light_color = Color(1, 0.882353, 0.462745, 1) light_size = 0.25 shadow_enabled = true shadow_blur = 3.0 [node name="Smoke" type="GPUParticles3D" parent="OmniLight3D"] layers = 2 emitting = false amount = 128 lifetime = 1.26 fixed_fps = 0 local_coords = false trail_length_secs = 0.72 process_material = SubResource( "ParticlesMaterial_ckuul" ) draw_pass_1 = SubResource( "QuadMesh_gkbg3" )