]> purplebirdman git - frog-ninja.git/blob - asset/weapon/gun.tscn
Squashed commit of the following:
[frog-ninja.git] / asset / weapon / gun.tscn
1 [gd_scene load_steps=4 format=3 uid="uid://bbx1vedqbdh17"]
2
3 [ext_resource type="Script" uid="uid://bohyp1pxi57tm" path="res://asset/weapon/weapon.gd" id="1_1mtwq"]
4 [ext_resource type="PackedScene" uid="uid://bfolm8rrgm87w" path="res://asset/character/visual/gun/prototype_gun_visual.tscn" id="2_7aqci"]
5 [ext_resource type="Script" uid="uid://0od7j1dbo2vb" path="res://asset/weapon/gun_weapon_model.gd" id="3_x4so5"]
6
7 [node name="Gun" type="Node3D"]
8 script = ExtResource("1_1mtwq")
9 weapon_name = "pistol"
10 input_to_state = {
11 "shoot": "GunRaise"
12 }
13 base_damage = 10
14 is_parryable = true
15
16 [node name="Visual" parent="." instance=ExtResource("2_7aqci")]
17 transform = Transform3D(1, 0, 0, 0, 1, 7.45058e-09, -7.45058e-09, -1.49012e-08, 1, 0, 0, 0)
18
19 [node name="Model" type="Node3D" parent="."]
20 script = ExtResource("3_x4so5")
21 metadata/_custom_type_script = "uid://dr34n041lpnvt"
22
23 [node name="BulletOrigin" type="Node3D" parent="Model"]
24 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.248053, 0, 0.0705589)