This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/Game/Assets/Weapons/Handgun/Casing.tscn

41 lines
1.3 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://dfwe3bvh8lbbp"]
[ext_resource type="PackedScene" uid="uid://b6aa41e8u5cxi" path="res://Assets/Weapons/Handgun/Casing.gltf" id="1"]
[ext_resource type="Script" path="res://Assets/Weapons/Handgun/Casing.gd" id="1_kwgjj"]
[ext_resource type="PackedScene" uid="uid://c5cwnfuw4go1b" path="res://Assets/Audio/SoundPlayer.tscn" id="3_47hc3"]
[sub_resource type="CylinderShape3D" id="2"]
radius = 0.0119513
height = 0.0560047
[node name="Casing" type="RigidDynamicBody3D"]
script = ExtResource( "1_kwgjj" )
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, 0, 0, 0)
shape = SubResource( "2" )
script = null
[node name="Casing" parent="." instance=ExtResource( "1" )]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
[node name="Timer" type="Timer" parent="."]
wait_time = 5.0
one_shot = true
autostart = true
script = null
[node name="Sound" parent="." instance=ExtResource( "3_47hc3" )]
SoundClip = "res://Assets/SFX/Weapons_Handgun_Casing_01.wav"
PitchScale = 1.2
RandomizePitch = 0.01
Voice_Count = 2
[node name="AudioStreamPlayer3D" parent="Sound" index="0"]
unit_db = -12.0
unit_size = 2.0
max_db = -3.0
pitch_scale = 1.5
[editable path="Sound"]