CUTTTTTAAAAA
This commit is contained in:
@@ -5,37 +5,41 @@
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_5hmi4"]
|
||||
_data = {
|
||||
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8.263, 0, -5.291, 0, 0, 0, 0, 0, 0, 12.9507, -0.0301971, -16.7842, 0, 0, 0, 0, 0, 0, 10.6218, 0.010376, -28.3706, 0, 0, 0, 0, 0, 0, -56.3763, 0.0437164, -72.8457),
|
||||
"tilts": PackedFloat32Array(0, 0, 0, 0, 0)
|
||||
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2.502, 1, -3.145, 0, 0, 0, 0, 0, 0, 2.033, 1, -6, 0, 0, 0, 0, 0, 0, -5, 1, -8),
|
||||
"tilts": PackedFloat32Array(0, 0, 0, 0)
|
||||
}
|
||||
point_count = 5
|
||||
point_count = 4
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"]
|
||||
radius = 0.949669
|
||||
height = 8.481
|
||||
radius = 0.3
|
||||
|
||||
[node name="CutterShot" type="Node3D"]
|
||||
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
|
||||
script = ExtResource("1_inha4")
|
||||
_pathFollow = NodePath("Path3D/PathFollow3D")
|
||||
_sprite = NodePath("Path3D/PathFollow3D/Area3D/Sprite3D")
|
||||
Cooldown = 0.3
|
||||
_projectileSpeed = 0.1
|
||||
|
||||
[node name="Path3D" type="Path3D" parent="."]
|
||||
top_level = true
|
||||
curve = SubResource("Curve3D_5hmi4")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
|
||||
transform = Transform3D(0.539247, 0, -0.842147, 0, 1, 0, 0.842147, 0, 0.539247, 0, 0, 0)
|
||||
transform = Transform3D(0.782564, 0, -0.622568, 0, 1, 0, 0.622568, 0, 0.782564, 0, 1, 0)
|
||||
loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="Path3D/PathFollow3D"]
|
||||
transform = Transform3D(0.539247, 0, 0.842147, 0, 1, 0, -0.842147, 0, 0.539247, 0, 0, 0)
|
||||
collision_layer = 34
|
||||
collision_mask = 34
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1000
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
script = ExtResource("1_inha4")
|
||||
[node name="Area3D" type="Area3D" parent="Path3D/PathFollow3D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/RigidBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/Area3D"]
|
||||
transform = Transform3D(0.999999, 0, 8.9407e-08, 0, 1, 0, -8.9407e-08, 0, 0.999999, 0, 0, 0)
|
||||
shape = SubResource("CylinderShape3D_mgm2i")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/RigidBody3D"]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/Area3D"]
|
||||
transform = Transform3D(0.156513, 0, 0.124514, 0, 0.2, 0, -0.124514, 0, 0.156513, 0, 0, 0)
|
||||
axis = 1
|
||||
double_sided = false
|
||||
texture = ExtResource("1_v8p6h")
|
||||
|
||||
45
Scenes/Weapons/CutterShotAltFire.tscn
Normal file
45
Scenes/Weapons/CutterShotAltFire.tscn
Normal file
@@ -0,0 +1,45 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cwt4rum7tvyvb"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/CutterShot.cs" id="1_7xtlh"]
|
||||
[ext_resource type="Texture2D" uid="uid://brjwf2sf3s170" path="res://Textures/Projectiles/cutter.png" id="2_a0jul"]
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_5hmi4"]
|
||||
_data = {
|
||||
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -2.502, 1, -3.145, 0, 0, 0, 0, 0, 0, -2.033, 1, -6, 0, 0, 0, 0, 0, 0, 5, 1, -8),
|
||||
"tilts": PackedFloat32Array(0, 0, 0, 0)
|
||||
}
|
||||
point_count = 4
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mgm2i"]
|
||||
height = 8.481
|
||||
radius = 0.3
|
||||
|
||||
[node name="CutterShot" type="Node3D" node_paths=PackedStringArray("_pathFollow", "_sprite")]
|
||||
script = ExtResource("1_7xtlh")
|
||||
_pathFollow = NodePath("Path3D/PathFollow3D")
|
||||
_sprite = NodePath("Path3D/PathFollow3D/Area3D/Sprite3D")
|
||||
Cooldown = 0.3
|
||||
_projectileSpeed = 0.1
|
||||
|
||||
[node name="Path3D" type="Path3D" parent="."]
|
||||
top_level = true
|
||||
curve = SubResource("Curve3D_5hmi4")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
|
||||
transform = Transform3D(0.782564, 0, 0.622568, 0, 1, 0, -0.622568, 0, 0.782564, 0, 1, 0)
|
||||
loop = false
|
||||
tilt_enabled = false
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="Path3D/PathFollow3D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/Area3D"]
|
||||
transform = Transform3D(0.999999, 0, 8.9407e-08, 0, 1, 0, -8.9407e-08, 0, 0.999999, 0, 0, 0)
|
||||
shape = SubResource("CylinderShape3D_mgm2i")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="Path3D/PathFollow3D/Area3D"]
|
||||
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
|
||||
axis = 1
|
||||
double_sided = false
|
||||
texture = ExtResource("2_a0jul")
|
||||
@@ -15,6 +15,7 @@ radius = 0.440093
|
||||
[node name="TestBullet" type="Node3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0)
|
||||
script = ExtResource("1_rv13r")
|
||||
Cooldown = null
|
||||
_projectileSpeed = 20.0
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
||||
|
||||
@@ -14,8 +14,6 @@ material = SubResource("StandardMaterial3D_phgri")
|
||||
[node name="SingleShot" type="Node3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0)
|
||||
script = ExtResource("1_f6dfa")
|
||||
Cooldown = 0.5
|
||||
_projectileSpeed = 15.0
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
||||
collision_layer = 34
|
||||
|
||||
Reference in New Issue
Block a user