42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
|
|
[gd_scene load_steps=7 format=3 uid="uid://dp8tg6cpu3ftd"]
|
||
|
|
|
||
|
|
[ext_resource type="PackedScene" uid="uid://oykrff3g74eo" path="res://Projectiles/projectile.tscn" id="1_yw5ty"]
|
||
|
|
|
||
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_xshf4"]
|
||
|
|
|
||
|
|
[sub_resource type="Gradient" id="Gradient_yw5ty"]
|
||
|
|
offsets = PackedFloat32Array(0, 0.5, 1)
|
||
|
|
colors = PackedColorArray(1, 0.007843138, 0, 1, 1, 0.54901963, 0, 1, 1, 0, 0, 1)
|
||
|
|
metadata/_snap_enabled = true
|
||
|
|
|
||
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_xshf4"]
|
||
|
|
gradient = SubResource("Gradient_yw5ty")
|
||
|
|
|
||
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yw5ty"]
|
||
|
|
transparency = 4
|
||
|
|
albedo_color = Color(1, 1, 1, 0.43137255)
|
||
|
|
albedo_texture = SubResource("GradientTexture1D_xshf4")
|
||
|
|
|
||
|
|
[sub_resource type="SphereMesh" id="SphereMesh_q317a"]
|
||
|
|
material = SubResource("StandardMaterial3D_yw5ty")
|
||
|
|
|
||
|
|
[node name="Projectile" instance=ExtResource("1_yw5ty")]
|
||
|
|
mode = 2
|
||
|
|
effect = 1
|
||
|
|
type = 1
|
||
|
|
maxTargets = -1
|
||
|
|
dotTicks = 6
|
||
|
|
tickInterval = 0.5
|
||
|
|
|
||
|
|
[node name="Sprite3D" parent="." index="1"]
|
||
|
|
visible = false
|
||
|
|
|
||
|
|
[node name="HitBox" parent="." index="2"]
|
||
|
|
collision_mask = 2
|
||
|
|
|
||
|
|
[node name="ProjectileSize" parent="HitBox" index="0"]
|
||
|
|
shape = SubResource("SphereShape3D_xshf4")
|
||
|
|
|
||
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="." index="4"]
|
||
|
|
mesh = SubResource("SphereMesh_q317a")
|