Initial commit (1/2)
This commit is contained in:
commit
3411c5796d
66 changed files with 2261 additions and 0 deletions
75
scenes/npcships/NPCShipDefault.tscn
Normal file
75
scenes/npcships/NPCShipDefault.tscn
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://523dme3h6d6c"]
|
||||
|
||||
[ext_resource type="Script" path="res://modules/npcship.gd" id="1_s20nu"]
|
||||
[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("DestinationTimer")]
|
||||
process_mode = 1
|
||||
collision_mask = 19
|
||||
input_pickable = true
|
||||
script = ExtResource("1_s20nu")
|
||||
DestinationTimer = 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)
|
||||
ShootingAction = "npc"
|
||||
|
||||
[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
|
||||
Loading…
Add table
Add a link
Reference in a new issue