74 lines
2.6 KiB
Text
74 lines
2.6 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://523dme3h6d6c"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/objects/npcship.gd" id="1_wioir"]
|
|
[ext_resource type="PackedScene" uid="uid://d1bhrxmr0oo0n" path="res://scenes/Bounty.tscn" id="2_6fdps"]
|
|
[ext_resource type="PackedScene" uid="uid://cyskycafymwx" path="res://scenes/shields/npcshield.tscn" id="3_47apr"]
|
|
[ext_resource type="PackedScene" uid="uid://dtshhww5culu4" path="res://scenes/hulls/npchullt1.tscn" id="4_1ne0s"]
|
|
[ext_resource type="PackedScene" uid="uid://20171x3gmn1j" path="res://scenes/engines/starterengine.tscn" id="4_tguk3"]
|
|
[ext_resource type="PackedScene" uid="uid://dse2xxx501xuj" path="res://scenes/weapons/presets/NPCSingleLaserMk1.tscn" id="6_wnekw"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_k2lwx"]
|
|
radius = 64.0
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_21pok"]
|
|
font_size = 12
|
|
|
|
[node name="DefaultShip" type="CharacterBody2D" node_paths=PackedStringArray("destination_timer")]
|
|
process_mode = 1
|
|
collision_mask = 19
|
|
input_pickable = true
|
|
script = ExtResource("1_wioir")
|
|
destination_timer = NodePath("DestinationTimer")
|
|
bounty = ExtResource("2_6fdps")
|
|
|
|
[node name="Shield" parent="." instance=ExtResource("3_47apr")]
|
|
|
|
[node name="Hull" parent="." instance=ExtResource("4_1ne0s")]
|
|
|
|
[node name="Engine" parent="." instance=ExtResource("4_tguk3")]
|
|
|
|
[node name="Collision" type="CollisionPolygon2D" parent="."]
|
|
polygon = PackedVector2Array(0, -16, 32, 0, 0, 16, 0, 4, -4, 4, -8, 8, -8, -8, -4, -4, 0, -4)
|
|
|
|
[node name="WeaponSlot" type="Node2D" parent="."]
|
|
|
|
[node name="SingleLaser" parent="WeaponSlot" instance=ExtResource("6_wnekw")]
|
|
position = Vector2(8, 0)
|
|
|
|
[node name="DestinationTimer" type="Timer" parent="."]
|
|
wait_time = 5.0
|
|
autostart = true
|
|
|
|
[node name="TargetSnap" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="TargetSnap"]
|
|
position = Vector2(16, 0)
|
|
shape = SubResource("CircleShape2D_k2lwx")
|
|
|
|
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="."]
|
|
remote_path = NodePath("../Zalupa/ZalupaTwo")
|
|
update_rotation = false
|
|
update_scale = false
|
|
|
|
[node name="Zalupa" type="Node" parent="."]
|
|
|
|
[node name="ZalupaTwo" type="Node2D" parent="Zalupa"]
|
|
|
|
[node name="Health" type="Label" parent="Zalupa/ZalupaTwo"]
|
|
layout_direction = 1
|
|
offset_left = -43.0
|
|
offset_top = -45.0
|
|
offset_right = 43.0
|
|
offset_bottom = -25.0
|
|
size_flags_horizontal = 4
|
|
text = "7-8 HP + 7-8 SC"
|
|
label_settings = SubResource("LabelSettings_21pok")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="DebugLabel" type="Label" parent="."]
|
|
visible = false
|
|
offset_left = -11.0
|
|
offset_top = -38.0
|
|
offset_right = 29.0
|
|
offset_bottom = -15.0
|