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/Weapon.tscn

78 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-06-18 02:36:20 +02:00
[gd_scene load_steps=11 format=2]
2021-06-01 01:03:11 +02:00
[ext_resource path="res://Assets/Weapons/Handgun/Handgun.gltf" type="PackedScene" id=1]
2021-06-18 01:44:08 +02:00
[ext_resource path="res://Assets/Weapons/Weapon.gd" type="Script" id=2]
2021-06-18 13:13:49 +02:00
[ext_resource path="res://Assets/Effects/Flame.png" type="Texture2D" id=3]
2021-06-18 01:44:08 +02:00
2021-06-18 02:36:20 +02:00
[sub_resource type="Gradient" id=1]
2021-06-18 02:49:59 +02:00
offsets = PackedFloat32Array( 0.00362319, 0.148551, 0.34058, 0.630435, 1 )
colors = PackedColorArray( 0, 0, 0, 1, 0.921875, 0.903307, 0.80304, 1, 0.867188, 0.723618, 0.342133, 1, 0.382812, 0.302671, 0.0897217, 1, 0, 0, 0, 1 )
2021-06-18 02:36:20 +02:00
[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )
2021-06-18 02:49:59 +02:00
width = 64
2021-06-18 02:36:20 +02:00
[sub_resource type="Curve" id=3]
2021-06-18 02:49:59 +02:00
_data = [ Vector2( 0, 0 ), 0.0, 9.39008, 0, 0, Vector2( 0.120401, 0.645455 ), 0.649118, 0.649118, 0, 0, Vector2( 1, 0.990909 ), -0.0393939, 0.0, 0, 0 ]
2021-06-18 02:36:20 +02:00
[sub_resource type="CurveTexture" id=4]
curve = SubResource( 3 )
[sub_resource type="ParticlesMaterial" id=5]
lifetime_randomness = 0.01
2021-06-18 02:49:59 +02:00
particle_flag_rotate_y = true
2021-06-18 02:14:02 +02:00
direction = Vector3( -1, 0, 0 )
2021-06-18 02:49:59 +02:00
spread = 0.0
2021-06-18 02:36:20 +02:00
gravity = Vector3( 0, 0, 0 )
2021-06-18 02:49:59 +02:00
initial_velocity = 16.0
initial_velocity_random = 0.9
angular_velocity = 15.0
2021-06-18 02:36:20 +02:00
angle = 360.0
angle_random = 1.0
2021-06-18 02:49:59 +02:00
scale_random = 0.2
2021-06-18 02:36:20 +02:00
scale_curve = SubResource( 4 )
color_ramp = SubResource( 2 )
anim_offset = 1.0
anim_offset_random = 1.0
attractor_interaction_enabled = false
2021-06-18 02:14:02 +02:00
2021-06-18 02:36:20 +02:00
[sub_resource type="StandardMaterial3D" id=6]
2021-06-18 01:44:08 +02:00
blend_mode = 1
shading_mode = 0
2021-06-18 02:36:20 +02:00
vertex_color_use_as_albedo = true
2021-06-18 02:49:59 +02:00
albedo_color = Color( 1, 1, 1, 0.196078 )
2021-06-18 02:36:20 +02:00
albedo_texture = ExtResource( 3 )
billboard_mode = 3
particles_anim_h_frames = 2
particles_anim_v_frames = 2
particles_anim_loop = false
2021-06-18 01:44:08 +02:00
2021-06-18 02:36:20 +02:00
[sub_resource type="QuadMesh" id=7]
material = SubResource( 6 )
2021-06-18 02:49:59 +02:00
size = Vector2( 0.6, 0.6 )
2021-06-01 01:03:11 +02:00
[node name="Weapon" type="Node3D"]
2021-06-18 01:44:08 +02:00
script = ExtResource( 2 )
2021-06-01 01:03:11 +02:00
2021-06-18 02:14:02 +02:00
[node name="Handgun" parent="." instance=ExtResource( 1 )]
2021-06-01 01:03:11 +02:00
2021-06-18 02:14:02 +02:00
[node name="AnimationPlayer" parent="Handgun" index="4"]
2021-06-01 01:03:11 +02:00
blend_times = [ ]
2021-06-18 01:44:08 +02:00
[node name="Flash" type="Node3D" parent="."]
script = null
2021-06-18 02:14:02 +02:00
[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
2021-06-18 02:49:59 +02:00
amount = 16
lifetime = 0.15
2021-06-18 02:14:02 +02:00
one_shot = true
2021-06-18 01:44:08 +02:00
explosiveness = 1.0
2021-06-18 02:49:59 +02:00
fixed_fps = 60
2021-06-18 02:36:20 +02:00
process_material = SubResource( 5 )
draw_pass_1 = SubResource( 7 )
2021-06-18 01:44:08 +02:00
script = null
2021-06-18 02:14:02 +02:00
[editable path="Handgun"]