skullball/godot/scenes/weapons/shotgun.tscn

79 lines
2.8 KiB
Plaintext

[gd_scene format=3 uid="uid://deyfeiqyi0wmj"]
[ext_resource type="AudioStream" uid="uid://bcclq2sv7k0x3" path="res://raw_assets/sfx/gun_sounds/shotgun_compressed.mp3" id="1_pyt38"]
[ext_resource type="PackedScene" uid="uid://b8nwd3323kwlc" path="res://mesh/shotgun.tscn" id="3_0xpw2"]
[sub_resource type="Gradient" id="Gradient_0xpw2"]
[sub_resource type="GradientTexture1D" id="GradientTexture1D_1igus"]
gradient = SubResource("Gradient_0xpw2")
[sub_resource type="Curve" id="Curve_ijfqk"]
_limits = [0.0, 5.0, 0.0, 1.0]
_data = [Vector2(0, 5), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_e0xt8"]
curve = SubResource("Curve_ijfqk")
[sub_resource type="Curve" id="Curve_kp6qq"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_x6b26"]
curve = SubResource("Curve_kp6qq")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_1cgct"]
lifetime_randomness = 0.5
particle_flag_align_y = true
direction = Vector3(0, 0, -1)
initial_velocity_min = 10.0
initial_velocity_max = 20.0
scale_curve = SubResource("CurveTexture_x6b26")
color = Color(1, 0.38039216, 0, 1)
color_ramp = SubResource("GradientTexture1D_1igus")
emission_curve = SubResource("CurveTexture_e0xt8")
[sub_resource type="Curve" id="Curve_yli5f"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.14107144, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ybahf"]
vertex_color_use_as_albedo = true
rim_enabled = true
rim_tint = 1.0
use_particle_trails = true
[sub_resource type="TubeTrailMesh" id="TubeTrailMesh_wwb7k"]
material = SubResource("StandardMaterial3D_ybahf")
radius = 0.1
curve = SubResource("Curve_yli5f")
[node name="shotgun" type="Shotgun" unique_id=786130999 node_paths=PackedStringArray("sound_emitter", "vfx")]
sound_emitter = NodePath("sound_emitter")
vfx = NodePath("gpu_particles_3d")
cooldown = 1.0
[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("1_pyt38")
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.2375934)
[node name="Shotgun" parent="." unique_id=1412770732 instance=ExtResource("3_0xpw2")]
[node name="gpu_particles_3d" type="GPUParticles3D" parent="." unique_id=898123062]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2958451, -1.2305822)
emitting = false
amount = 64
lifetime = 0.2
one_shot = true
explosiveness = 1.0
local_coords = true
trail_enabled = true
trail_lifetime = 0.1
process_material = SubResource("ParticleProcessMaterial_1cgct")
draw_pass_1 = SubResource("TubeTrailMesh_wwb7k")