48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://b38hcomu4tpm5"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Player1.cs" id="1_6cdju"]
|
|
[ext_resource type="PackedScene" uid="uid://si4byubqnng4" path="res://Scenes/TestBullet.tscn" id="2_xt4q8"]
|
|
[ext_resource type="PackedScene" uid="uid://bq40xbqibrk1y" path="res://Scenes/ShotgunBullet.tscn" id="3_4eh4a"]
|
|
[ext_resource type="PackedScene" uid="uid://yosw0j58nvrf" path="res://Models/Characters/fwitch.gltf" id="4_mtwuo"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ayco3"]
|
|
radius = 0.980738
|
|
height = 3.77708
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fqik1"]
|
|
radius = 0.704872
|
|
height = 1.67894
|
|
|
|
[node name="Pisces" type="CharacterBody3D" groups=["Player"]]
|
|
transform = Transform3D(0.33, 0, 0, 0, 0.33, 0, 0, 0, 0.33, 0, 0, 0)
|
|
script = ExtResource("1_6cdju")
|
|
_fireProjectile = ExtResource("2_xt4q8")
|
|
_altFireProjectile = ExtResource("3_4eh4a")
|
|
|
|
[node name="Pivot" type="Node3D" parent="."]
|
|
|
|
[node name="fwitch" parent="Pivot" instance=ExtResource("4_mtwuo")]
|
|
|
|
[node name="Area3D" type="Area3D" parent="Pivot"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75657e-15, 0, 0)
|
|
collision_layer = 16
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Pivot/Area3D"]
|
|
transform = Transform3D(0.999665, -0.0258978, -7.10543e-15, 0.0258978, 0.999665, 0, 0, 0, 1, -0.0242356, 2.05297, -0.302385)
|
|
shape = SubResource("CapsuleShape3D_ayco3")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.06805, -0.211049)
|
|
shape = SubResource("CapsuleShape3D_fqik1")
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
offset_left = 1602.0
|
|
offset_top = 40.0
|
|
offset_right = 1872.0
|
|
offset_bottom = 178.0
|
|
text = "Hit"
|
|
|
|
[connection signal="body_entered" from="Pivot/Area3D" to="." method="OnHit"]
|
|
[connection signal="pressed" from="Button" to="." method="HitDebug"]
|