55 lines
1.8 KiB
Plaintext
55 lines
1.8 KiB
Plaintext
[gd_scene format=3 uid="uid://ceeuegblh6qj4"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://baexh5xmqj4ki" path="res://mesh/telegrenade.tscn" id="1_nt0dp"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_1cgct"]
|
|
radius = 0.5088567
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_1cgct"]
|
|
particle_flag_align_y = true
|
|
angular_velocity_min = -1.6093254e-05
|
|
angular_velocity_max = -1.6093254e-05
|
|
radial_velocity_min = -50.000023
|
|
radial_velocity_max = -2.2351742e-05
|
|
gravity = Vector3(0, 0, 0)
|
|
radial_accel_min = -2.2351742e-06
|
|
radial_accel_max = -2.2351742e-06
|
|
|
|
[sub_resource type="Curve" id="Curve_bbjda"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m77kh"]
|
|
albedo_color = Color(0, 0, 1, 1)
|
|
emission_enabled = true
|
|
emission = Color(0, 0, 1, 1)
|
|
emission_energy_multiplier = 10.0
|
|
use_particle_trails = true
|
|
|
|
[sub_resource type="TubeTrailMesh" id="TubeTrailMesh_3g557"]
|
|
material = SubResource("StandardMaterial3D_m77kh")
|
|
radius = 0.05
|
|
section_length = 0.15
|
|
section_rings = 5
|
|
cap_top = false
|
|
cap_bottom = false
|
|
curve = SubResource("Curve_bbjda")
|
|
|
|
[node name="teleport_grenade" type="Telegrenade" unique_id=1670808846]
|
|
collision_layer = 0
|
|
collision_mask = 0
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|
|
|
|
[node name="collision_shape_3d" type="CollisionShape3D" parent="." unique_id=1124839205]
|
|
shape = SubResource("SphereShape3D_1cgct")
|
|
|
|
[node name="Telegrenade" parent="." unique_id=1761178296 instance=ExtResource("1_nt0dp")]
|
|
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0)
|
|
|
|
[node name="gpu_particles_3d" type="GPUParticles3D" parent="." unique_id=608816258]
|
|
amount = 2
|
|
trail_enabled = true
|
|
process_material = SubResource("ParticleProcessMaterial_1cgct")
|
|
draw_pass_1 = SubResource("TubeTrailMesh_3g557")
|