110 lines
4.6 KiB
Plaintext
110 lines
4.6 KiB
Plaintext
[gd_scene load_steps=20 format=3 uid="uid://mxk40hn15e7b"]
|
|
|
|
[ext_resource type="Script" path="res://components/projectile.gd" id="1_ryiqa"]
|
|
[ext_resource type="PackedScene" uid="uid://bqay3fxs1k6sp" path="res://player/weapons/missile/missile.gltf" id="1_t253x"]
|
|
[ext_resource type="PackedScene" uid="uid://io6bdbtldghr" path="res://player/weapons/missile/missile_explosion.tscn" id="2_ebqxf"]
|
|
[ext_resource type="Texture2D" uid="uid://dg28fd1gyn80b" path="res://effects/flare_01.png" id="3_0uwxb"]
|
|
[ext_resource type="Script" path="res://player/weapons/projectile_mover_accelerating.gd" id="3_pfhta"]
|
|
[ext_resource type="Texture2D" uid="uid://drr1nogesyvkd" path="res://effects/smoke_02.png" id="3_wdx4k"]
|
|
[ext_resource type="Script" path="res://player/weapons/rotator.gd" id="4_xb122"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vroln"]
|
|
transparency = 1
|
|
blend_mode = 1
|
|
cull_mode = 2
|
|
shading_mode = 0
|
|
albedo_color = Color(1, 1, 0.584314, 1)
|
|
albedo_texture = ExtResource("3_0uwxb")
|
|
billboard_mode = 1
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_4cw2w"]
|
|
material = SubResource("StandardMaterial3D_vroln")
|
|
size = Vector2(2, 2)
|
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_jpo1o"]
|
|
points = PackedVector3Array(0.176777, -3.46154e-05, 0.583333, -3.46154e-05, 0.176777, 0.583333, -3.46154e-05, -0.176777, 0.583333, -3.46154e-05, -0.14556, -0.416691, 0.145491, -3.46154e-05, -0.416691, -0.176777, -3.46154e-05, 0.583333, -3.46154e-05, 0.145491, -0.416691, -0.14556, -3.46154e-05, -0.416691, -3.46154e-05, -3.46154e-05, -0.666667)
|
|
|
|
[sub_resource type="Curve" id="Curve_b3xkm"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_j0204"]
|
|
curve = SubResource("Curve_b3xkm")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_tsk6x"]
|
|
offsets = PackedFloat32Array(0, 0.0592287, 0.110193, 0.219008, 1)
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 0, 1, 0.658824, 0.145098, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_iyvb1"]
|
|
gradient = SubResource("Gradient_tsk6x")
|
|
|
|
[sub_resource type="Curve" id="Curve_4sd1h"]
|
|
_data = [Vector2(0, 0.953748), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_v2271"]
|
|
curve = SubResource("Curve_4sd1h")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_0u7ib"]
|
|
angle_min = 1.07288e-05
|
|
angle_max = 360.0
|
|
gravity = Vector3(0, 5, 0)
|
|
scale_curve = SubResource("CurveTexture_v2271")
|
|
color_ramp = SubResource("GradientTexture1D_iyvb1")
|
|
alpha_curve = SubResource("CurveTexture_j0204")
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k6aoy"]
|
|
transparency = 1
|
|
shading_mode = 0
|
|
vertex_color_use_as_albedo = true
|
|
albedo_texture = ExtResource("3_wdx4k")
|
|
billboard_mode = 3
|
|
billboard_keep_scale = true
|
|
particles_anim_h_frames = 1
|
|
particles_anim_v_frames = 1
|
|
particles_anim_loop = false
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_oj824"]
|
|
material = SubResource("StandardMaterial3D_k6aoy")
|
|
|
|
[node name="Missile Projectile" type="CharacterBody3D"]
|
|
collision_layer = 16
|
|
collision_mask = 33
|
|
script = ExtResource("1_ryiqa")
|
|
collsion_scene = ExtResource("2_ebqxf")
|
|
|
|
[node name="blockbench_export" parent="." instance=ExtResource("1_t253x")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.297032, 0)
|
|
|
|
[node name="cuboid" parent="blockbench_export/Node" index="0"]
|
|
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="blockbench_export"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0669867, 0.195827)
|
|
mesh = SubResource("QuadMesh_4cw2w")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, -0.297032, 0)
|
|
shape = SubResource("ConvexPolygonShape3D_jpo1o")
|
|
|
|
[node name="ProjectileMoverAccelerating" type="Node3D" parent="."]
|
|
script = ExtResource("3_pfhta")
|
|
initial_speed = 15.0
|
|
acceleration = 15.0
|
|
|
|
[node name="Rotator" type="Node3D" parent="."]
|
|
script = ExtResource("4_xb122")
|
|
|
|
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
|
|
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, -0.297032, 0.2)
|
|
amount = 16
|
|
lifetime = 0.5
|
|
process_material = SubResource("ParticleProcessMaterial_0u7ib")
|
|
draw_pass_1 = SubResource("QuadMesh_oj824")
|
|
|
|
[connection signal="collided" from="." to="CollisionShape3D" method="free"]
|
|
[connection signal="collided" from="." to="blockbench_export" method="set_visible" binds= [false]]
|
|
[connection signal="collided" from="." to="GPUParticles3D" method="set_emitting" binds= [false]]
|
|
|
|
[editable path="blockbench_export"]
|