2023-11-19 18:47:52 +11:00
|
|
|
[gd_scene load_steps=12 format=3 uid="uid://dkoj1766ygo3f"]
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[ext_resource type="PackedScene" uid="uid://8uxu72vjo0cv" path="res://Scenes/Towers/shapecast_tower.tscn" id="1_jagpf"]
|
|
|
|
[ext_resource type="Script" path="res://PCs/Universal/ClassCards/Flamethrower/tower_flamethrower.gd" id="2_7vewc"]
|
|
|
|
[ext_resource type="Resource" uid="uid://dbanx8taicddm" path="res://Resources/StatusEffects/on_fire.tres" id="3_aop2h"]
|
|
|
|
[ext_resource type="Resource" uid="uid://cdtjbxs21peqg" path="res://PCs/Universal/ClassCards/Flamethrower/tower_stats.tres" id="4_by7c8"]
|
2023-11-30 23:37:00 +11:00
|
|
|
[ext_resource type="ArrayMesh" uid="uid://b4p0d4y8fdeox" path="res://PCs/Universal/ClassCards/Flamethrower/flamethrower_mesh.res" id="5_tc7nr"]
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_r367g"]
|
2023-11-19 18:47:52 +11:00
|
|
|
size = Vector3(3, 2, 3)
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[sub_resource type="Gradient" id="Gradient_ay233"]
|
|
|
|
offsets = PackedFloat32Array(0, 0.178862, 0.455285, 1)
|
|
|
|
colors = PackedColorArray(0.94, 0.830333, 0, 1, 1, 0.222923, 0.00252032, 1, 0.517571, 0.0343237, 0.0001635, 1, 0.0352941, 0, 0, 1)
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_7rrxx"]
|
|
|
|
gradient = SubResource("Gradient_ay233")
|
|
|
|
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_r7587"]
|
|
|
|
direction = Vector3(0, 0, -1)
|
|
|
|
spread = 15.0
|
|
|
|
initial_velocity_min = 3.0
|
|
|
|
initial_velocity_max = 3.0
|
2023-11-30 23:37:00 +11:00
|
|
|
gravity = Vector3(0, 0, 0)
|
2023-11-17 20:49:38 +11:00
|
|
|
color_ramp = SubResource("GradientTexture1D_7rrxx")
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p8aw8"]
|
2023-11-08 14:28:55 +11:00
|
|
|
vertex_color_use_as_albedo = true
|
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_h4c6o"]
|
|
|
|
material = SubResource("StandardMaterial3D_p8aw8")
|
2023-11-08 14:28:55 +11:00
|
|
|
size = Vector3(0.3, 0.3, 0.3)
|
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[node name="ShapecastTower" instance=ExtResource("1_jagpf")]
|
|
|
|
script = ExtResource("2_7vewc")
|
|
|
|
status_stats = ExtResource("3_aop2h")
|
|
|
|
stats = ExtResource("4_by7c8")
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2023-11-19 18:47:52 +11:00
|
|
|
[node name="Pitch" parent="." index="1"]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="Yaw" parent="." index="2"]
|
|
|
|
mesh = null
|
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[node name="ShapeCast3D" parent="Yaw" index="0"]
|
|
|
|
shape = SubResource("BoxShape3D_r367g")
|
|
|
|
target_position = Vector3(0, 0, -2)
|
2023-11-08 14:28:55 +11:00
|
|
|
collision_mask = 4
|
2023-11-09 20:37:12 +11:00
|
|
|
|
2023-11-17 20:49:38 +11:00
|
|
|
[node name="GPUParticles3D" parent="Yaw/ShapeCast3D" index="0"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.534666)
|
|
|
|
amount = 16
|
|
|
|
process_material = SubResource("ParticleProcessMaterial_r7587")
|
|
|
|
draw_pass_1 = SubResource("BoxMesh_h4c6o")
|
2023-11-19 18:47:52 +11:00
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Yaw" index="1"]
|
|
|
|
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
|
|
|
|
mesh = ExtResource("5_tc7nr")
|