36 lines
1.7 KiB
Plaintext
36 lines
1.7 KiB
Plaintext
[gd_scene format=3 uid="uid://cw7duhhjebypt"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cg81784ct8gf5" path="res://mesh/raygun.tscn" id="1_ckadf"]
|
|
[ext_resource type="PackedScene" uid="uid://ctslratcr8h6v" path="res://scenes/weapons/raygun_beam.tscn" id="1_m84jv"]
|
|
[ext_resource type="PackedScene" uid="uid://b32uxedvawp73" path="res://scenes/weapons/bullet_hole_decal.tscn" id="2_vhn31"]
|
|
[ext_resource type="AudioStream" uid="uid://bq553wxrelpdr" path="res://raw_assets/sfx/LaserWithRecoveryEditedCompressed.mp3" id="3_m84jv"]
|
|
[ext_resource type="Texture2D" uid="uid://c7epv5p0qau02" path="res://assets/Gear.png" id="4_6y348"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j7oj0"]
|
|
resource_local_to_scene = true
|
|
albedo_texture = ExtResource("4_6y348")
|
|
texture_filter = 0
|
|
|
|
[node name="raygun" type="Raygun" unique_id=573018429 node_paths=PackedStringArray("sound_emitter", "bullet_source", "mesh")]
|
|
sound_emitter = NodePath("sound_emitter")
|
|
bullet_prefab = ExtResource("1_m84jv")
|
|
bullet_source = NodePath("bullet_source")
|
|
decal = ExtResource("2_vhn31")
|
|
mesh = NodePath("Raygun/weapon_mesh")
|
|
cooldown = 1.5
|
|
|
|
[node name="Raygun" parent="." unique_id=1928455392 instance=ExtResource("1_ckadf")]
|
|
|
|
[node name="Sniper_Rifle" parent="Raygun" index="1" unique_id=1650136097]
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_j7oj0")
|
|
|
|
[node name="sound_emitter" type="AudioStreamPlayer3D" parent="." unique_id=1572422640]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8420726, 0)
|
|
stream = ExtResource("3_m84jv")
|
|
bus = &"SFX"
|
|
|
|
[node name="bullet_source" type="Node3D" parent="." unique_id=211401237]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.36108458, -1.490972)
|
|
|
|
[editable path="Raygun"]
|