109 lines
4.2 KiB
Text
109 lines
4.2 KiB
Text
[gd_scene load_steps=15 format=3 uid="uid://l4t1mflutm3t"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bmnqvop2dy5pm" path="res://textures/prototype_yellow_256x256.png" id="1_hr7p8"]
|
|
[ext_resource type="Script" uid="uid://bo0ij4miuksua" path="res://weapons/molikman/molik/molikman_molotov_fire.gd" id="1_qokq0"]
|
|
[ext_resource type="Texture2D" uid="uid://b8aqstr5es5x4" path="res://textures/prototype_orange_256x256.png" id="2_qokq0"]
|
|
[ext_resource type="Script" uid="uid://fdikw4xjemdk" path="res://weapons/molikman/molik/molotov_animation.gd" id="4_6lhod"]
|
|
[ext_resource type="AudioStream" uid="uid://b7sxkxs7vn4d" path="res://audio/molik_land.ogg" id="5_cq8ds"]
|
|
[ext_resource type="Script" uid="uid://da0xv360va3b3" path="res://audio/audio_system/multiplayer_audio_3d.gd" id="6_apqju"]
|
|
[ext_resource type="AudioStream" uid="uid://blnblkd6eoldv" path="res://audio/molik_idle.ogg" id="7_apqju"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ykxjp"]
|
|
resource_local_to_scene = true
|
|
size = Vector3(7.5, 3, 7.5)
|
|
|
|
[sub_resource type="Gradient" id="Gradient_hr7p8"]
|
|
colors = PackedColorArray(1, 0.53333336, 0, 1, 0.45, 0.45, 0.45, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_qokq0"]
|
|
gradient = SubResource("Gradient_hr7p8")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_hr7p8"]
|
|
resource_local_to_scene = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(3.75, 1.5, 3.75)
|
|
direction = Vector3(0, 1, 0)
|
|
initial_velocity_max = 3.4499998
|
|
orbit_velocity_min = -0.46899992
|
|
orbit_velocity_max = 0.4130001
|
|
gravity = Vector3(0, 0, 0)
|
|
tangential_accel_min = -3.4500022
|
|
tangential_accel_max = 2.0699978
|
|
color_ramp = SubResource("GradientTexture1D_qokq0")
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qokq0"]
|
|
|
|
[sub_resource type="TextMesh" id="TextMesh_33jv6"]
|
|
material = SubResource("StandardMaterial3D_qokq0")
|
|
text = "fire"
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_ykxjp"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 1
|
|
properties/1/path = NodePath("Decal:size")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 1
|
|
|
|
[node name="MolikmanMolotovFire" type="Area3D" node_paths=PackedStringArray("damage_timer")]
|
|
collision_layer = 8
|
|
collision_mask = 2
|
|
script = ExtResource("1_qokq0")
|
|
dps = 33.333
|
|
damage_timer = NodePath("DamageTimer")
|
|
|
|
[node name="Decal" type="Decal" parent="."]
|
|
size = Vector3(7.5, 3, 7.5)
|
|
texture_albedo = ExtResource("1_hr7p8")
|
|
texture_emission = ExtResource("2_qokq0")
|
|
emission_energy = 0.25
|
|
cull_mask = 1048572
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_ykxjp")
|
|
|
|
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
|
|
amount = 16
|
|
transform_align = 1
|
|
process_material = SubResource("ParticleProcessMaterial_hr7p8")
|
|
draw_pass_1 = SubResource("TextMesh_33jv6")
|
|
|
|
[node name="DieTimer" type="Timer" parent="."]
|
|
wait_time = 15.0
|
|
one_shot = true
|
|
autostart = true
|
|
|
|
[node name="DamageTimer" type="Timer" parent="."]
|
|
wait_time = 0.25
|
|
autostart = true
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_ykxjp")
|
|
|
|
[node name="MolotovAnimation" type="Node" parent="." node_paths=PackedStringArray("die_timer", "decal", "gpu_particles", "collision_shape")]
|
|
script = ExtResource("4_6lhod")
|
|
die_timer = NodePath("../DieTimer")
|
|
decal = NodePath("../Decal")
|
|
gpu_particles = NodePath("../GPUParticles3D")
|
|
collision_shape = NodePath("../CollisionShape3D")
|
|
expansion_mult = 1.333
|
|
|
|
[node name="MultiplayerAudio3D" type="AudioStreamPlayer3D" parent="."]
|
|
stream = ExtResource("5_cq8ds")
|
|
unit_size = 20.0
|
|
max_distance = 60.0
|
|
bus = &"GameplayMain"
|
|
attenuation_filter_cutoff_hz = 20500.0
|
|
script = ExtResource("6_apqju")
|
|
metadata/_custom_type_script = "uid://da0xv360va3b3"
|
|
|
|
[node name="Idle" type="AudioStreamPlayer3D" parent="."]
|
|
stream = ExtResource("7_apqju")
|
|
unit_size = 15.0
|
|
max_distance = 60.0
|
|
bus = &"GameplayMain"
|
|
script = ExtResource("6_apqju")
|
|
metadata/_custom_type_script = "uid://da0xv360va3b3"
|
|
|
|
[connection signal="timeout" from="DieTimer" to="MolotovAnimation" method="die"]
|
|
[connection signal="timeout" from="DamageTimer" to="." method="damage"]
|