knife
This commit is contained in:
parent
83839459ff
commit
6b5e768faf
15 changed files with 4250 additions and 2343 deletions
6417
scenes/molikman.tscn
6417
scenes/molikman.tscn
File diff suppressed because one or more lines are too long
|
|
@ -1,46 +1,30 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://ts4xccpkjd3g"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://ts4xccpkjd3g"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://e6lqknfl4ngt" path="res://scripts/weapon_system/weapon_substate_machine.gd" id="1_2xf1r"]
|
||||
[ext_resource type="Script" uid="uid://ofv4e3dsfe8" path="res://scripts/weapon_system/gun/idle_state.gd" id="2_c20fe"]
|
||||
[ext_resource type="Script" uid="uid://vj13r83l3xyq" path="res://scripts/weapon_system/gun/semi_auto_shoot_state.gd" id="3_qf5yf"]
|
||||
[ext_resource type="Script" uid="uid://hmekwp8444ao" path="res://scripts/weapon_system/gun/reload_state.gd" id="4_ndam4"]
|
||||
[ext_resource type="Script" uid="uid://bmj0bwy2tlian" path="res://scripts/weapon_system/gun/intro_state.gd" id="5_qa48d"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_6djxj"]
|
||||
_limits = [0.0, 0.1, 0.0, 20.0]
|
||||
metadata/_snap_enabled = true
|
||||
metadata/_snap_count = 8
|
||||
|
||||
[sub_resource type="Curve" id="Curve_qb62r"]
|
||||
_limits = [-0.02, 0.02, 0.0, 20.0]
|
||||
[ext_resource type="Script" uid="uid://dhmgd83rhjtyq" path="res://scripts/weapon_system/knife/knife_intro.gd" id="2_6fi8m"]
|
||||
[ext_resource type="Script" uid="uid://cn6wyj4v5xeej" path="res://scripts/weapon_system/knife/knife_idle.gd" id="3_7hrnw"]
|
||||
[ext_resource type="Script" uid="uid://d0r2fu21ei4hy" path="res://scripts/weapon_system/knife/knife_attack.gd" id="4_7hrnw"]
|
||||
[ext_resource type="Script" uid="uid://ctx2rjjs48nrc" path="res://scripts/weapon_system/knife/knife_attack_heavy.gd" id="5_c20fe"]
|
||||
|
||||
[node name="Knife" type="Node" node_paths=PackedStringArray("enter_state")]
|
||||
script = ExtResource("1_2xf1r")
|
||||
animation_prefix = &"baked_sp_"
|
||||
visibility_target = &"sp"
|
||||
max_ammo = 1000000000
|
||||
animation_prefix = &"baked_knife_"
|
||||
visibility_target = &"knife"
|
||||
ammo_mags = 0
|
||||
slot = &"knife"
|
||||
enter_state = NodePath("Intro")
|
||||
metadata/_custom_type_script = "uid://e6lqknfl4ngt"
|
||||
|
||||
[node name="Idle" type="Node" parent="."]
|
||||
script = ExtResource("2_c20fe")
|
||||
|
||||
[node name="Shoot" type="Node" parent="." node_paths=PackedStringArray("fire_timer")]
|
||||
script = ExtResource("3_qf5yf")
|
||||
vertical_curve = SubResource("Curve_6djxj")
|
||||
horizontal_curve = SubResource("Curve_qb62r")
|
||||
damage = 50
|
||||
shoot_distance = 2.0
|
||||
fire_timer = NodePath("../FireTimer")
|
||||
|
||||
[node name="Reload" type="Node" parent="."]
|
||||
script = ExtResource("4_ndam4")
|
||||
|
||||
[node name="Intro" type="Node" parent="."]
|
||||
script = ExtResource("5_qa48d")
|
||||
script = ExtResource("2_6fi8m")
|
||||
|
||||
[node name="FireTimer" type="Timer" parent="."]
|
||||
wait_time = 0.15
|
||||
one_shot = true
|
||||
[node name="Idle" type="Node" parent="."]
|
||||
script = ExtResource("3_7hrnw")
|
||||
|
||||
[node name="Attack" type="Node" parent="."]
|
||||
script = ExtResource("4_7hrnw")
|
||||
damage = 25
|
||||
|
||||
[node name="HeavyAttack" type="Node" parent="."]
|
||||
script = ExtResource("5_c20fe")
|
||||
damage = 60
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue