tweaks to smoke particles
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=34 format=4 uid="uid://dqwkal3t4gf2p"]
|
||||
[gd_scene load_steps=39 format=4 uid="uid://dqwkal3t4gf2p"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/blunderbus.gd" id="1_w46uw"]
|
||||
[ext_resource type="PackedScene" uid="uid://717hhehp83k8" path="res://assets/shotgun_pellet.tscn" id="2_544x3"]
|
||||
@@ -227,14 +227,35 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_3f3hx")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_4ojnn"]
|
||||
[sub_resource type="Curve" id="Curve_rmltw"]
|
||||
_data = [Vector2(0, 0), 0.0, 1.4, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_a61ob"]
|
||||
curve = SubResource("Curve_rmltw")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_6gtuk"]
|
||||
min_value = -1.0
|
||||
_data = [Vector2(0, -1), 0.0, 2.8, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_td4g1"]
|
||||
curve = SubResource("Curve_6gtuk")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_xmjr3"]
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 0.1
|
||||
direction = Vector3(-2.315, 0, 0)
|
||||
spread = 9.706
|
||||
initial_velocity_max = 1.0
|
||||
gravity = Vector3(0, 0.5, 0)
|
||||
scale_min = 0.1
|
||||
scale_max = 2.0
|
||||
turbulence_noise_strength = 0.1
|
||||
turbulence_noise_scale = 0.1
|
||||
scale_min = 5.0
|
||||
scale_max = 5.0
|
||||
alpha_curve = SubResource("CurveTexture_a61ob")
|
||||
hue_variation_curve = SubResource("CurveTexture_td4g1")
|
||||
turbulence_enabled = true
|
||||
turbulence_noise_strength = 0.0
|
||||
turbulence_noise_scale = 0.655
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_crqaw"]
|
||||
transparency = 1
|
||||
@@ -244,11 +265,27 @@ albedo_color = Color(1, 1, 1, 0.14902)
|
||||
albedo_texture = ExtResource("9_fldbw")
|
||||
billboard_mode = 1
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_y0nwy"]
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_756l0"]
|
||||
material = SubResource("StandardMaterial3D_crqaw")
|
||||
size = Vector2(0.2, 0.2)
|
||||
orientation = 2
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ay36f"]
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 0.1
|
||||
direction = Vector3(-3, 0, 0)
|
||||
spread = 9.706
|
||||
initial_velocity_min = 3.0
|
||||
initial_velocity_max = 10.0
|
||||
gravity = Vector3(0, 0.5, 0)
|
||||
scale_min = 5.0
|
||||
scale_max = 5.0
|
||||
alpha_curve = SubResource("CurveTexture_a61ob")
|
||||
hue_variation_curve = SubResource("CurveTexture_td4g1")
|
||||
turbulence_enabled = true
|
||||
turbulence_noise_strength = 0.0
|
||||
turbulence_noise_scale = 0.655
|
||||
|
||||
[sub_resource type="Animation" id="Animation_r6as6"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
@@ -597,13 +634,24 @@ mesh = SubResource("ArrayMesh_1fsm8")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Smoke" type="GPUParticles3D" parent="BlunderbusHandle/Blunderbus"]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.14148, 0, 4.98958e-08)
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 1.12633, 0, -0.00682099)
|
||||
emitting = false
|
||||
amount = 100
|
||||
amount = 500
|
||||
lifetime = 4.0
|
||||
explosiveness = 0.8
|
||||
fixed_fps = 60
|
||||
process_material = SubResource("ParticleProcessMaterial_4ojnn")
|
||||
draw_pass_1 = SubResource("PlaneMesh_y0nwy")
|
||||
process_material = SubResource("ParticleProcessMaterial_xmjr3")
|
||||
draw_pass_1 = SubResource("PlaneMesh_756l0")
|
||||
|
||||
[node name="fire_smoke" type="GPUParticles3D" parent="BlunderbusHandle/Blunderbus"]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 1.12633, 0, -0.00682099)
|
||||
emitting = false
|
||||
amount = 500
|
||||
lifetime = 4.0
|
||||
explosiveness = 1.0
|
||||
fixed_fps = 60
|
||||
process_material = SubResource("ParticleProcessMaterial_ay36f")
|
||||
draw_pass_1 = SubResource("PlaneMesh_756l0")
|
||||
|
||||
[node name="BarrelRaycast" type="RayCast3D" parent="BlunderbusHandle"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.818773)
|
||||
|
||||
Reference in New Issue
Block a user