forked from unfa/liblast
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://Assets/Weapons/Handgun/Handgun.gltf" type="PackedScene" id=1]
|
|
[ext_resource path="res://Assets/Weapons/Weapon.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="ParticlesMaterial" id=1]
|
|
particle_flag_align_y = true
|
|
direction = Vector3( -1, 0, 0 )
|
|
spread = 15.0
|
|
gravity = Vector3( 0, -9.3, 0 )
|
|
initial_velocity = 5.0
|
|
initial_velocity_random = 0.5
|
|
|
|
[sub_resource type="Curve" id=4]
|
|
_data = [ Vector2( 0, 0.0090909 ), 0.0, 37.0519, 0, 0, Vector2( 0.0820189, 1 ), -1.14279, -1.14279, 0, 0, Vector2( 1, 0 ), 0.110839, 0.0, 0, 0 ]
|
|
|
|
[sub_resource type="StandardMaterial3D" id=2]
|
|
blend_mode = 1
|
|
shading_mode = 0
|
|
albedo_color = Color( 1, 0.796078, 0.137255, 1 )
|
|
|
|
[sub_resource type="RibbonTrailMesh" id=3]
|
|
material = SubResource( 2 )
|
|
shape = 0
|
|
size = 0.02
|
|
sections = 3
|
|
curve = SubResource( 4 )
|
|
|
|
[node name="Weapon" type="Node3D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Handgun" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="AnimationPlayer" parent="Handgun" index="4"]
|
|
blend_times = [ ]
|
|
|
|
[node name="Flash" type="Node3D" parent="."]
|
|
script = null
|
|
|
|
[node name="Particles" type="GPUParticles3D" parent="Flash"]
|
|
transform = Transform3D( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.340809, 0.124171, 0 )
|
|
emitting = false
|
|
amount = 16
|
|
lifetime = 0.1
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
process_material = SubResource( 1 )
|
|
draw_pass_1 = SubResource( 3 )
|
|
script = null
|
|
|
|
[editable path="Handgun"]
|