summaryrefslogtreecommitdiff
path: root/godot/scenes/weapons/rockets.tscn
blob: b2c47d7c217ca27ef39d458a28a728a7565005f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[gd_scene load_steps=6 format=2]

[ext_resource path="res://meshes/rocket.tres" type="ArrayMesh" id=1]

[sub_resource type="ParticlesMaterial" id=1]
direction = Vector3( -1, 0, 0 )
spread = 17.73
initial_velocity = 3.0
initial_velocity_random = 0.12
angle = 360.0
angle_random = 1.0
scale = 0.02
color = Color( 1, 0.701961, 0, 1 )

[sub_resource type="SpatialMaterial" id=2]
flags_unshaded = true
vertex_color_use_as_albedo = true
params_billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false

[sub_resource type="QuadMesh" id=3]
material = SubResource( 2 )
size = Vector2( 0.25, 1 )

[sub_resource type="Animation" id=4]
resource_name = "throw_animation"
length = 3.0
tracks/0/type = "value"
tracks/0/path = NodePath("Sparks:emitting")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5, 2.53138 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ false, true, false ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 1.4349, 2.55169 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ true, false, true ]
}

[node name="rockets" type="Spatial"]

[node name="rocket_mesh" type="MeshInstance" parent="."]
transform = Transform( -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0 )
mesh = ExtResource( 1 )

[node name="Sparks" type="Particles" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.217459, 0, 0 )
emitting = false
amount = 16
lifetime = 0.25
local_coords = false
process_material = SubResource( 1 )
draw_pass_1 = SubResource( 3 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/throw_animation = SubResource( 4 )