viscosity/project/objects/enemy_orb.tscn

39 lines
1.6 KiB
Text

[gd_scene format=3 uid="uid://dgpnywswyjguf"]
[ext_resource type="PackedScene" uid="uid://bmibf31n8lo2l" path="res://objects/projectiles/projectile.tscn" id="1_sf38o"]
[ext_resource type="PackedScene" uid="uid://c2sddj48b7fw1" path="res://assets/enemies/orb.tscn" id="1_sixut"]
[ext_resource type="ArrayMesh" uid="uid://bxueie1actno6" path="res://assets/enemies/attack_indicator.blend" id="2_a3yiw"]
[sub_resource type="Gradient" id="Gradient_1ycrl"]
colors = PackedColorArray(1, 0, 0, 0.4509804, 1, 0, 0, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_fbx7l"]
gradient = SubResource("Gradient_1ycrl")
fill_from = Vector2(0, 1)
fill_to = Vector2(0, 0)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nndud"]
transparency = 4
cull_mode = 2
shading_mode = 0
albedo_texture = SubResource("GradientTexture2D_fbx7l")
[sub_resource type="CylinderShape3D" id="CylinderShape3D_vsqsw"]
height = 26.0
radius = 10.89209
[node name="EnemyOrb" type="EnemyOrb" unique_id=856275320]
projectile = ExtResource("1_sf38o")
shoot_delay = 0.5
[node name="Indicator" type="MeshInstance3D" parent="." unique_id=1713530325]
material_override = SubResource("StandardMaterial3D_nndud")
mesh = ExtResource("2_a3yiw")
[node name="orb" parent="." unique_id=1503011283 instance=ExtResource("1_sixut")]
transform = Transform3D(1.6, 0, 0, 0, 1.6, 0, 0, 0, 1.6, 0, 0, 0)
[node name="AwarenessArea" type="Area3D" parent="." unique_id=255601634]
[node name="CollisionShape3D" type="CollisionShape3D" parent="AwarenessArea" unique_id=1737452274]
shape = SubResource("CylinderShape3D_vsqsw")