-
Notifications
You must be signed in to change notification settings - Fork 6
/
MuzzleSmoke.tscn
58 lines (48 loc) · 1.58 KB
/
MuzzleSmoke.tscn
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
[gd_scene load_steps=10 format=2]
[ext_resource path="res://MuzzleSmoke.gd" type="Script" id=1]
[ext_resource path="res://smoke_04.png" type="Texture" id=2]
[sub_resource type="Gradient" id=1]
offsets = PoolRealArray( 0, 0.162963, 1 )
colors = PoolColorArray( 1, 1, 1, 0, 0.53125, 0.53125, 0.53125, 1, 1, 1, 1, 0 )
[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )
[sub_resource type="Curve" id=3]
_data = [ Vector2( 0, 0.7706 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=4]
curve = SubResource( 3 )
[sub_resource type="ParticlesMaterial" id=5]
emission_shape = 2
emission_box_extents = Vector3( 1, 1, 3 )
spread = 1.0
gravity = Vector3( 0, 0, 0 )
initial_velocity = 0.3
angular_velocity = 0.0
angle = 360.0
angle_random = 1.0
scale = 4.0
scale_random = 1.0
scale_curve = SubResource( 4 )
color_ramp = SubResource( 2 )
[sub_resource type="SpatialMaterial" id=6]
flags_transparent = true
flags_unshaded = true
vertex_color_use_as_albedo = true
params_blend_mode = 1
params_billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
albedo_texture = ExtResource( 2 )
[sub_resource type="QuadMesh" id=7]
material = SubResource( 6 )
[node name="MuzzleSmoke" type="Spatial"]
script = ExtResource( 1 )
[node name="Particles" type="Particles" parent="."]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -0.0976562, 0.150146, -3.58139 )
emitting = false
amount = 100
lifetime = 3.0
one_shot = true
local_coords = false
process_material = SubResource( 5 )
draw_pass_1 = SubResource( 7 )