From cf48f10a2283a680bb82151770d4431fef3e5604 Mon Sep 17 00:00:00 2001 From: unfa Date: Wed, 16 Sep 2020 19:06:47 +0200 Subject: [PATCH] Missing files. --- Assets/HUD/Sprite.svg | 55 ++++++++++++++++++ .../Weapons/Handgun/DefaultMaterial.material | Bin 0 -> 1631 bytes Assets/Weapons/Handgun/Handgun.tscn | 39 +------------ 3 files changed, 56 insertions(+), 38 deletions(-) create mode 100644 Assets/HUD/Sprite.svg create mode 100644 Assets/Weapons/Handgun/DefaultMaterial.material diff --git a/Assets/HUD/Sprite.svg b/Assets/HUD/Sprite.svg new file mode 100644 index 0000000..c5fa454 --- /dev/null +++ b/Assets/HUD/Sprite.svg @@ -0,0 +1,55 @@ + + + + + + + + image/svg+xml + + + + + + + diff --git a/Assets/Weapons/Handgun/DefaultMaterial.material b/Assets/Weapons/Handgun/DefaultMaterial.material new file mode 100644 index 0000000000000000000000000000000000000000..6bb7a0a0bd1b8315d133bffe7609db20ee5ebc76 GIT binary patch literal 1631 zcmbtVOOMnr3=XUS@qWMIFEC;c91zk9!GQx@b`KmQPvg!+q)FtYJF}elf$*QO(>C+s zMy06r=j8JvwtISZ`bmw?5x+0FUlkL#=>q@*6O)H+xsoe6x3z}vHWRnb17PD?Oh zC3ZrDMmX+n^j@@R)RPLGBV}A`XBW$C{X#ve8XvU5n3pw1WFK4eYUpgo`BN?Xwyn_%ux zLpQgaharY70`#dT)J-7f$V^5ZxTIdPg)!VU;rk9uWIUY1H2S@!N? zvS^)~2cXfar2Rni12J+nf%6DK49?l6csmJtN>ZthigFp0b7FWO)XfsSM_0OmLcdsg9J`@PQb&d01rr>gl|izP z9fx6q*XX5wOmTmxjtWUW$aYnhyKEc+H34!(A2JHwrjRMbiwfTqI8;$OeYn-hpv;BT z&$&EX$$#dNQ+G?FmG0j6Qj8I{1Wn#|-f*I=s}wRc`t!Hr)rvPFg|sb43j{A>9OWI5+i literal 0 HcmV?d00001 diff --git a/Assets/Weapons/Handgun/Handgun.tscn b/Assets/Weapons/Handgun/Handgun.tscn index fb1c518..bdc2ee6 100644 --- a/Assets/Weapons/Handgun/Handgun.tscn +++ b/Assets/Weapons/Handgun/Handgun.tscn @@ -1,48 +1,11 @@ -[gd_scene load_steps=9 format=2] +[gd_scene load_steps=3 format=2] [ext_resource path="res://Assets/Weapons/Handgun/Handgun.gltf" type="PackedScene" id=1] [ext_resource path="res://Assets/Weapons/Weapon.gd" type="Script" id=2] -[sub_resource type="AnimationNodeAdd2" id=1] - -[sub_resource type="AnimationNodeAnimation" id=2] -animation = "StaticAction" - -[sub_resource type="AnimationNodeAnimation" id=3] -animation = "SlideAction" - -[sub_resource type="AnimationNodeBlendTree" id=4] -nodes/Add2/node = SubResource( 1 ) -nodes/Add2/position = Vector2( 400, 160 ) -nodes/Animation/node = SubResource( 3 ) -nodes/Animation/position = Vector2( 100, 100 ) -"nodes/Animation 2/node" = SubResource( 2 ) -"nodes/Animation 2/position" = Vector2( 100, 280 ) -nodes/output/position = Vector2( 660, 200 ) -node_connections = [ "output", 0, "Add2", "Add2", 0, "Animation", "Add2", 1, "Animation 2" ] - -[sub_resource type="AnimationNodeStateMachine" id=5] -states/Shoot/node = SubResource( 4 ) -states/Shoot/position = Vector2( 450, 217 ) - -[sub_resource type="AnimationNodeStateMachinePlayback" id=6] - [node name="Weapon" type="Spatial"] script = ExtResource( 2 ) [node name="Handgun" parent="." instance=ExtResource( 1 )] -[node name="Static" parent="Handgun" index="0"] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.175396, 0.110301, 1.48199e-08 ) - -[node name="Slide" parent="Handgun/Static" index="2"] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.175396, -0.110301, -1.48199e-08 ) - -[node name="AnimationTree" type="AnimationTree" parent="."] -tree_root = SubResource( 5 ) -anim_player = NodePath("../Handgun/AnimationPlayer") -active = true -parameters/playback = SubResource( 6 ) -parameters/Shoot/Add2/add_amount = 1.0 - [editable path="Handgun"]