101 lines
3.8 KiB
Plaintext
101 lines
3.8 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://cdsc35cj566q1"]
|
|
|
|
[ext_resource type="Script" path="res://Player/Base/Projectile.cs" id="1_tbx8y"]
|
|
[ext_resource type="Texture2D" uid="uid://dha44dnvwhajo" path="res://Textures/Projectiles/Projectile_Capricorn.png" id="2_8osg4"]
|
|
[ext_resource type="AudioStream" uid="uid://bykwwct1not4e" path="res://Audio/SFX/capricorn laeser.wav" id="2_jeoco"]
|
|
|
|
[sub_resource type="Curve3D" id="Curve3D_bch55"]
|
|
_data = {
|
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, -0.00347188, 1, 0.533723, 0, 0, 0, 0, 0, 0, 0.008, 1, -5),
|
|
"tilts": PackedFloat32Array(0, 0)
|
|
}
|
|
point_count = 2
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_u10le"]
|
|
height = 44.0
|
|
radius = 0.3
|
|
|
|
[sub_resource type="Curve3D" id="Curve3D_ciqkc"]
|
|
_data = {
|
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, -0.00347188, 1, 0.533723, 0, 0, 0, 0, 0, 0, 0.008, 1, -5),
|
|
"tilts": PackedFloat32Array(0, 0)
|
|
}
|
|
point_count = 2
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_1gok4"]
|
|
height = 44.0
|
|
radius = 0.3
|
|
|
|
[node name="Capricorn Laser Alt" type="Node3D" groups=["Projectile"]]
|
|
|
|
[node name="Forward Shot" type="Path3D" parent="."]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.5, 1, 0)
|
|
top_level = true
|
|
curve = SubResource("Curve3D_bch55")
|
|
script = ExtResource("1_tbx8y")
|
|
Cooldown = 1.0
|
|
_soundEffect = ExtResource("2_jeoco")
|
|
_projectileSpeed = 5.0
|
|
|
|
[node name="PathFollow3D" type="PathFollow3D" parent="Forward Shot"]
|
|
transform = Transform3D(0.999997, 0, -0.00207308, 0, 1, 0, 0.00207308, 0, 0.999997, -0.00347188, 1, 0.533723)
|
|
loop = false
|
|
tilt_enabled = false
|
|
|
|
[node name="HitBox" type="RigidBody3D" parent="Forward Shot/PathFollow3D"]
|
|
collision_layer = 44
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 1
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Forward Shot/PathFollow3D/HitBox"]
|
|
shape = SubResource("CylinderShape3D_u10le")
|
|
|
|
[node name="Sprite3D2" type="Sprite3D" parent="Forward Shot/PathFollow3D/HitBox/CollisionShape3D"]
|
|
transform = Transform3D(1, 0, 1.42109e-14, 0, 1, 0, -1.42109e-14, 0, 1, -0.32341, 0, 0.371708)
|
|
centered = false
|
|
axis = 1
|
|
texture = ExtResource("2_8osg4")
|
|
|
|
[node name="Backward Shot" type="Path3D" parent="."]
|
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.5, 1, 0)
|
|
top_level = true
|
|
curve = SubResource("Curve3D_ciqkc")
|
|
script = ExtResource("1_tbx8y")
|
|
Cooldown = 1.0
|
|
_soundEffect = ExtResource("2_jeoco")
|
|
_projectileSpeed = 5.0
|
|
|
|
[node name="PathFollow3D" type="PathFollow3D" parent="Backward Shot"]
|
|
transform = Transform3D(0.999997, 0, -0.00207308, 0, 1, 0, 0.00207308, 0, 0.999997, -0.00347188, 1, 0.533723)
|
|
loop = false
|
|
tilt_enabled = false
|
|
|
|
[node name="HitBox" type="RigidBody3D" parent="Backward Shot/PathFollow3D"]
|
|
transform = Transform3D(0.999999, 0, 0.00207308, 0, 1, 0, -0.00207308, 0, 0.999999, 0.00236542, -1, -0.53373)
|
|
collision_layer = 44
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 1
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Backward Shot/PathFollow3D/HitBox"]
|
|
transform = Transform3D(0.999997, 0, -0.00207308, 0, 1, 0, 0.00207308, 0, 0.999997, -0.00347188, 1, 0.533723)
|
|
shape = SubResource("CylinderShape3D_1gok4")
|
|
|
|
[node name="Sprite3D2" type="Sprite3D" parent="Backward Shot/PathFollow3D/HitBox/CollisionShape3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.324293, 0, 0.3549)
|
|
centered = false
|
|
axis = 1
|
|
texture = ExtResource("2_8osg4")
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("2_jeoco")
|
|
autoplay = true
|
|
|
|
[connection signal="body_entered" from="Forward Shot/PathFollow3D/HitBox" to="Forward Shot" method="OnProjectileHit"]
|
|
[connection signal="body_entered" from="Backward Shot/PathFollow3D/HitBox" to="Backward Shot" method="OnProjectileHit"]
|