-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path_gun_item.tscn
53 lines (46 loc) · 1.84 KB
/
_gun_item.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/objects/pickable_items/equipment/_equipment_item.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/objects/pickable_items/equipment/ranged/gun_item.gd" type="Script" id=2]
[ext_resource path="res://resources/sounds/throwing/346373__denao270__throwing-whip-effect.wav" type="AudioStream" id=3]
[ext_resource path="res://resources/sounds/impacts/metal_and_gun/675009__sertonin__rifle-dropped-on-floor-1.ogg" type="AudioStream" id=4]
[node name="GunItem" instance=ExtResource( 1 )]
collision_layer = 64
collision_mask = 65
script = ExtResource( 2 )
item_drop_sound = ExtResource( 4 )
item_throw_sound = ExtResource( 3 )
normal_pos_path = NodePath("")
throw_pos_path = NodePath("")
throw_logic = false
can_spin = false
ammo_types = [ ]
ammunition_capacity = 0
reload_amount = 0
reload_time = 0.0
damage_offset = 0
dispersion_offset_degrees = 0
cooldown = 1.0
handling = 5.0
reload_position = Vector3( 0, 0, 0 )
reload_rotation = Vector3( 0, 0, 0 )
ads_hold_position = Vector3( 0, 0, 0 )
ads_hold_rotation = Vector3( 0, 0, 0 )
melee_style = 0
player_path = NodePath("")
mesh_path = NodePath("")
detection_raycast = NodePath("")
[node name="ReloadTimer" type="Timer" parent="." index="2"]
one_shot = true
[node name="UnloadTimer" type="Timer" parent="." index="3"]
one_shot = true
[node name="CooldownTimer" type="Timer" parent="." index="4"]
one_shot = true
[node name="RayCast" type="RayCast" parent="." index="5"]
visible = false
enabled = true
cast_to = Vector3( 0, 0, -1000 )
collision_mask = 13
collide_with_areas = true
[connection signal="timeout" from="ReloadTimer" to="." method="_on_ReloadTimer_timeout"]
[connection signal="timeout" from="UnloadTimer" to="." method="_on_UnloadTimer_timeout"]
[connection signal="timeout" from="CooldownTimer" to="." method="_on_CooldownTimer_timeout"]