2021-07-10 15:28:33 +00:00
|
|
|
[gd_scene load_steps=19 format=2]
|
2020-03-01 23:18:15 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://Scripts/Player.gd" type="Script" id=1]
|
2020-08-16 12:10:31 +00:00
|
|
|
[ext_resource path="res://Models/Arrow.obj" type="ArrayMesh" id=2]
|
|
|
|
[ext_resource path="res://Models/RotateArrow.obj" type="ArrayMesh" id=3]
|
|
|
|
[ext_resource path="res://Shaders/ArrowMaterial.tres" type="Material" id=4]
|
|
|
|
[ext_resource path="res://Models/spaceship_model_modified.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://Models/spaceship_engine_model_modified.tscn" type="PackedScene" id=6]
|
|
|
|
[ext_resource path="res://Scenes/EngineParticles.tscn" type="PackedScene" id=7]
|
|
|
|
[ext_resource path="res://Images/TurnEndBanner.png" type="Texture" id=8]
|
|
|
|
[ext_resource path="res://Animations/TurnEndBanner.anim" type="Animation" id=9]
|
2020-08-16 16:19:42 +00:00
|
|
|
[ext_resource path="res://Models/spaceship-gun.tscn" type="PackedScene" id=10]
|
2020-08-29 16:32:40 +00:00
|
|
|
[ext_resource path="res://Images/BatteryBolt.png" type="Texture" id=11]
|
|
|
|
[ext_resource path="res://Images/BatteryFilling.png" type="Texture" id=12]
|
|
|
|
[ext_resource path="res://Images/BatteryBackground.png" type="Texture" id=13]
|
2021-07-04 18:05:33 +00:00
|
|
|
[ext_resource path="res://Models/cone-collision.tres" type="Shape" id=14]
|
2021-07-10 15:28:33 +00:00
|
|
|
[ext_resource path="res://Models/Cone.obj" type="ArrayMesh" id=15]
|
2020-03-01 23:18:15 +00:00
|
|
|
|
2020-08-16 12:10:31 +00:00
|
|
|
[sub_resource type="CapsuleShape" id=1]
|
|
|
|
radius = 0.15
|
|
|
|
height = 0.6
|
2020-03-01 23:18:15 +00:00
|
|
|
|
2020-08-16 12:10:31 +00:00
|
|
|
[sub_resource type="CanvasItemMaterial" id=2]
|
|
|
|
light_mode = 1
|
|
|
|
|
2020-08-16 16:19:42 +00:00
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
|
|
albedo_color = Color( 1, 0, 0, 1 )
|
|
|
|
emission_enabled = true
|
|
|
|
emission = Color( 1, 0, 0, 1 )
|
|
|
|
emission_energy = 10.0
|
|
|
|
emission_operator = 0
|
|
|
|
emission_on_uv2 = false
|
|
|
|
|
2020-08-16 12:10:31 +00:00
|
|
|
[node name="Player" type="RigidBody"]
|
|
|
|
gravity_scale = -128.0
|
2020-03-01 23:18:15 +00:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2020-08-16 12:10:31 +00:00
|
|
|
[node name="EngineParticleContainer" type="Spatial" parent="."]
|
|
|
|
|
|
|
|
[node name="S-X,R+Y" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( 0.01, 0, 0, 0, 0.01, 0, 0, 0, 0.01, 0.170458, 0, 0.243815 )
|
|
|
|
|
|
|
|
[node name="S-X,R-Y" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( 0.01, 0, 0, 0, 0.01, 0, 0, 0, 0.01, 0.21263, 0, -0.339794 )
|
|
|
|
|
|
|
|
[node name="S+X,R+Y" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( -0.01, 0, 3.25841e-09, 0, 0.01, 0, -3.25841e-09, 0, -0.01, -0.214023, 0, -0.339794 )
|
|
|
|
|
|
|
|
[node name="S+X,R-Y" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( -0.01, 0, 3.25841e-09, 0, 0.01, 0, -3.25841e-09, 0, -0.01, -0.176102, 0, 0.244114 )
|
|
|
|
|
|
|
|
[node name="S-Y,R+Z,R+X" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( -1.62921e-09, -0.01, 0, 0.01, -1.62921e-09, 0, 0, 0, 0.01, -0.0497533, 0.0974464, 0.270828 )
|
|
|
|
|
|
|
|
[node name="S-Y,R-Z,R+X" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( -1.62921e-09, -0.01, 0, 0.01, -1.62921e-09, 0, 0, 0, 0.01, 0.0501123, 0.0974464, 0.270828 )
|
|
|
|
|
|
|
|
[node name="S-Y,R-Z,R-X" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( -1.62921e-09, -0.01, 0, 0.01, -1.62921e-09, 0, 0, 0, 0.01, 0.0697536, 0.127716, -0.354388 )
|
|
|
|
|
|
|
|
[node name="S-Y,R+Z,R-X" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( -1.62921e-09, -0.01, 0, 0.01, -1.62921e-09, 0, 0, 0, 0.01, -0.0699186, 0.127716, -0.354388 )
|
|
|
|
|
|
|
|
[node name="S+Y,R-Z,R+X" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( 1.19249e-10, 0.01, 0, -0.01, 1.19249e-10, 0, 0, 0, 0.01, -0.0699186, -0.128048, -0.354388 )
|
|
|
|
|
|
|
|
[node name="S+Y,R+Z,R+X" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( 1.19249e-10, 0.01, 0, -0.01, 1.19249e-10, 0, 0, 0, 0.01, 0.0700162, -0.128048, -0.354388 )
|
|
|
|
|
|
|
|
[node name="S+Y,R-Z,R-X" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( 1.19249e-10, 0.01, 0, -0.01, 1.19249e-10, 0, 0, 0, 0.01, -0.0497533, -0.126886, 0.270828 )
|
|
|
|
|
|
|
|
[node name="S+Y,R+Z,R-X" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( 1.19249e-10, 0.01, 0, -0.01, 1.19249e-10, 0, 0, 0, 0.01, 0.0497652, -0.126886, 0.270828 )
|
|
|
|
|
|
|
|
[node name="SZ" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( -3.25841e-09, 0, 0.02, 0, 0.02, 0, -0.02, 0, -3.25841e-09, 0.0588414, 0.000427529, -0.564202 )
|
|
|
|
|
|
|
|
[node name="SZ2" parent="EngineParticleContainer" instance=ExtResource( 7 )]
|
|
|
|
transform = Transform( -3.25841e-09, 0, 0.02, 0, 0.02, 0, -0.02, 0, -3.25841e-09, -0.0578827, 0.000427529, -0.564202 )
|
|
|
|
|
|
|
|
[node name="EngineContainer" type="Spatial" parent="."]
|
|
|
|
|
|
|
|
[node name="spaceship-engine" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.05, 0, 0, 0, -2.18557e-09, 0.05, 0, -0.05, -2.18557e-09, -0.058048, 0, -0.499619 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine2" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.05, 0, 0, 0, -2.18557e-09, 0.05, 0, -0.05, -2.18557e-09, 0.058, 0, -0.5 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine3" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( -3.25841e-09, -0.02, -3.25841e-09, 0, -3.25841e-09, 0.02, -0.02, 3.25841e-09, 5.30863e-16, -0.188586, 0, -0.340403 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine5" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( -3.25841e-09, -0.02, -3.25841e-09, 0, -3.25841e-09, 0.02, -0.02, 3.25841e-09, 5.30863e-16, -0.15, 0, 0.244 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine6" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( -3.25841e-09, 0.02, 3.25841e-09, 0, -3.25841e-09, 0.02, 0.02, 3.25841e-09, 5.30863e-16, 0.15, 0, 0.244 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine4" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( -3.25841e-09, 0.02, 3.25841e-09, 0, -3.25841e-09, 0.02, 0.02, 3.25841e-09, 5.30863e-16, 0.189, 0, -0.34 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine7" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.02, 0, 0, 0, 0.02, 0, 0, 0, 0.02, 0.0697057, 0.102263, -0.354755 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine11" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.02, 0, 0, 0, 0.02, 0, 0, 0, 0.02, -0.07, 0.102, -0.355 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine8" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.02, 0, 0, 0, -0.02, 6.51683e-09, 0, -6.51683e-09, -0.02, 0.07, -0.102, -0.355 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine12" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.02, 0, 0, 0, -0.02, 6.51683e-09, 0, -6.51683e-09, -0.02, -0.07, -0.102, -0.355 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine9" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.02, 0, 0, 0, -0.02, 6.51683e-09, 0, -6.51683e-09, -0.02, 0.0497166, -0.102, 0.271 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine13" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.02, 0, 0, 0, -0.02, 6.51683e-09, 0, -6.51683e-09, -0.02, -0.05, -0.102, 0.271 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine10" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.02, 0, 0, 0, 0.02, 0, 0, 0, 0.02, 0.05, 0.073, 0.271 )
|
|
|
|
|
|
|
|
[node name="spaceship-engine14" parent="EngineContainer" instance=ExtResource( 6 )]
|
|
|
|
transform = Transform( 0.02, 0, 0, 0, 0.02, 0, 0, 0, 0.02, -0.05, 0.073, 0.271 )
|
|
|
|
|
|
|
|
[node name="spaceship" parent="." instance=ExtResource( 5 )]
|
|
|
|
transform = Transform( -2.44381e-08, 0, -0.15, 0, 0.15, 0, 0.15, 0, -2.44381e-08, 0, 0, 0 )
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 0.519, 0, 0, 0, 1, 0, 0, -0.034 )
|
|
|
|
shape = SubResource( 1 )
|
2020-04-02 18:24:42 +00:00
|
|
|
|
|
|
|
[node name="MainPanel" type="Panel" parent="."]
|
2020-04-18 17:26:09 +00:00
|
|
|
visible = false
|
2020-04-02 18:24:42 +00:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
2020-09-27 15:08:20 +00:00
|
|
|
margin_left = -350.0
|
2020-04-02 18:24:42 +00:00
|
|
|
margin_top = 15.0
|
2020-09-27 15:08:20 +00:00
|
|
|
margin_right = 350.0
|
|
|
|
margin_bottom = 85.0
|
2020-04-02 18:24:42 +00:00
|
|
|
grow_horizontal = 2
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="TimeBar" type="HSlider" parent="MainPanel"]
|
2020-09-27 15:08:20 +00:00
|
|
|
anchor_top = 0.25
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 0.25
|
2020-04-02 18:24:42 +00:00
|
|
|
margin_left = 10.0
|
2020-09-27 15:08:20 +00:00
|
|
|
margin_right = -10.0
|
2020-04-02 18:24:42 +00:00
|
|
|
grow_vertical = 2
|
2020-04-18 17:26:09 +00:00
|
|
|
max_value = 5.0
|
|
|
|
step = 0.01
|
|
|
|
tick_count = 6
|
|
|
|
ticks_on_borders = true
|
2020-04-02 18:24:42 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="AddButton" type="Button" parent="MainPanel"]
|
2020-09-27 15:08:20 +00:00
|
|
|
anchor_left = 0.333
|
|
|
|
anchor_top = 0.75
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.75
|
2020-04-02 18:24:42 +00:00
|
|
|
margin_left = 6.0
|
|
|
|
margin_right = -1.0
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Add"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-16 12:10:31 +00:00
|
|
|
[node name="PlayButton" type="Button" parent="MainPanel"]
|
2020-09-27 15:08:20 +00:00
|
|
|
anchor_top = 0.75
|
|
|
|
anchor_right = 0.167
|
|
|
|
anchor_bottom = 0.75
|
2020-08-16 12:10:31 +00:00
|
|
|
margin_left = 6.0
|
|
|
|
margin_right = -1.0
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Play"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-09-27 15:08:20 +00:00
|
|
|
[node name="PlayLastButton" type="Button" parent="MainPanel"]
|
|
|
|
anchor_left = 0.167
|
|
|
|
anchor_top = 0.75
|
|
|
|
anchor_right = 0.333
|
|
|
|
anchor_bottom = 0.75
|
|
|
|
margin_left = 6.0
|
|
|
|
margin_right = -1.0
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Play Last"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-04-02 18:24:42 +00:00
|
|
|
[node name="RemoveButton" type="Button" parent="MainPanel"]
|
2020-09-27 15:08:20 +00:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.75
|
|
|
|
anchor_right = 0.667
|
|
|
|
anchor_bottom = 0.75
|
2020-04-02 18:24:42 +00:00
|
|
|
margin_left = 5.0
|
|
|
|
margin_right = -3.0
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Remove"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ClearButton" type="Button" parent="MainPanel"]
|
2020-09-27 15:08:20 +00:00
|
|
|
anchor_left = 0.667
|
|
|
|
anchor_top = 0.75
|
|
|
|
anchor_right = 0.833
|
|
|
|
anchor_bottom = 0.75
|
2020-04-02 18:24:42 +00:00
|
|
|
margin_left = 3.0
|
|
|
|
margin_right = -5.0
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Clear"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="EndTurnButton" type="Button" parent="MainPanel"]
|
2020-09-27 15:08:20 +00:00
|
|
|
anchor_left = 0.833
|
|
|
|
anchor_top = 0.75
|
2020-04-02 18:24:42 +00:00
|
|
|
anchor_right = 1.0
|
2020-09-27 15:08:20 +00:00
|
|
|
anchor_bottom = 0.75
|
2020-04-02 18:24:42 +00:00
|
|
|
margin_left = 1.0
|
|
|
|
margin_right = -6.0
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "End Turn"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-16 12:10:31 +00:00
|
|
|
[node name="ArrowContainer" type="Spatial" parent="."]
|
|
|
|
|
|
|
|
[node name="ArrowScaleContainer" type="Spatial" parent="ArrowContainer"]
|
|
|
|
transform = Transform( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.478 )
|
|
|
|
|
|
|
|
[node name="Arrow" type="MeshInstance" parent="ArrowContainer/ArrowScaleContainer"]
|
|
|
|
transform = Transform( 0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.215, -0.00275069, -0.00179684, -0.000424862 )
|
|
|
|
mesh = ExtResource( 2 )
|
|
|
|
material/0 = ExtResource( 4 )
|
|
|
|
|
|
|
|
[node name="RotateArrowContainer" type="Spatial" parent="."]
|
|
|
|
|
|
|
|
[node name="RotateArrowScaleContainer" type="Spatial" parent="RotateArrowContainer"]
|
|
|
|
transform = Transform( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
|
|
|
|
|
|
|
[node name="RotateArrow" type="MeshInstance" parent="RotateArrowContainer/RotateArrowScaleContainer"]
|
|
|
|
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0 )
|
|
|
|
mesh = ExtResource( 3 )
|
|
|
|
material/0 = ExtResource( 4 )
|
|
|
|
|
2020-04-02 18:24:42 +00:00
|
|
|
[node name="ThrustPanel" type="Panel" parent="."]
|
2020-08-16 12:10:31 +00:00
|
|
|
visible = false
|
2020-04-02 18:24:42 +00:00
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -300.0
|
2020-04-18 17:26:09 +00:00
|
|
|
margin_top = -300.0
|
2020-04-02 18:24:42 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="LabelHolder" type="Control" parent="ThrustPanel"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="ThrustPanel/LabelHolder"]
|
|
|
|
anchor_left = 0.2
|
|
|
|
anchor_top = 0.25
|
|
|
|
anchor_right = 0.2
|
|
|
|
anchor_bottom = 0.25
|
|
|
|
margin_left = -44.0
|
|
|
|
margin_top = -7.0
|
|
|
|
margin_right = 39.0
|
|
|
|
margin_bottom = 7.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Linear Thrust"
|
|
|
|
|
|
|
|
[node name="Label3" type="Label" parent="ThrustPanel/LabelHolder"]
|
|
|
|
anchor_left = 0.4
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.4
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -4.0
|
|
|
|
margin_top = -7.0
|
|
|
|
margin_right = 4.0
|
|
|
|
margin_bottom = 7.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "X"
|
|
|
|
|
|
|
|
[node name="Label4" type="Label" parent="ThrustPanel/LabelHolder"]
|
|
|
|
anchor_left = 0.8
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.8
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -4.0
|
|
|
|
margin_top = -7.0
|
|
|
|
margin_right = 4.0
|
|
|
|
margin_bottom = 7.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Z"
|
|
|
|
|
|
|
|
[node name="Label5" type="Label" parent="ThrustPanel/LabelHolder"]
|
|
|
|
anchor_left = 0.6
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.6
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -3.5
|
|
|
|
margin_top = -7.0
|
|
|
|
margin_right = 3.5
|
|
|
|
margin_bottom = 7.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Y"
|
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="ThrustPanel/LabelHolder"]
|
|
|
|
anchor_left = 0.2
|
|
|
|
anchor_top = 0.75
|
|
|
|
anchor_right = 0.2
|
|
|
|
anchor_bottom = 0.75
|
|
|
|
margin_left = -47.5
|
|
|
|
margin_top = -7.0
|
|
|
|
margin_right = 42.5
|
|
|
|
margin_bottom = 7.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Vernier Thrust"
|
2020-04-18 17:26:09 +00:00
|
|
|
|
|
|
|
[node name="XLin" type="VSlider" parent="ThrustPanel"]
|
|
|
|
anchor_left = 0.4
|
|
|
|
anchor_top = 0.05
|
|
|
|
anchor_right = 0.4
|
|
|
|
anchor_bottom = 0.45
|
|
|
|
margin_left = -8.0
|
|
|
|
margin_right = 8.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
min_value = -1.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="XRot" type="VSlider" parent="ThrustPanel"]
|
|
|
|
anchor_left = 0.4
|
|
|
|
anchor_top = 0.55
|
|
|
|
anchor_right = 0.4
|
|
|
|
anchor_bottom = 0.95
|
|
|
|
margin_left = -8.0
|
|
|
|
margin_right = 8.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
min_value = -1.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.001
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="YLin" type="VSlider" parent="ThrustPanel"]
|
|
|
|
anchor_left = 0.6
|
|
|
|
anchor_top = 0.05
|
|
|
|
anchor_right = 0.6
|
|
|
|
anchor_bottom = 0.45
|
|
|
|
margin_left = -8.0
|
|
|
|
margin_right = 8.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
min_value = -1.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.001
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
|
|
|
|
|
|
|
[node name="YRot" type="VSlider" parent="ThrustPanel"]
|
|
|
|
anchor_left = 0.6
|
|
|
|
anchor_top = 0.55
|
|
|
|
anchor_right = 0.6
|
|
|
|
anchor_bottom = 0.95
|
|
|
|
margin_left = -8.0
|
|
|
|
margin_right = 8.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
min_value = -1.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.001
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ZLin" type="VSlider" parent="ThrustPanel"]
|
|
|
|
anchor_left = 0.8
|
|
|
|
anchor_top = 0.05
|
|
|
|
anchor_right = 0.8
|
|
|
|
anchor_bottom = 0.45
|
|
|
|
margin_left = -8.0
|
|
|
|
margin_right = 8.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
min_value = -1.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.001
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
|
|
|
|
|
|
|
[node name="ZRot" type="VSlider" parent="ThrustPanel"]
|
|
|
|
anchor_left = 0.8
|
|
|
|
anchor_top = 0.55
|
|
|
|
anchor_right = 0.8
|
|
|
|
anchor_bottom = 0.95
|
|
|
|
margin_left = -8.0
|
|
|
|
margin_top = -0.263489
|
|
|
|
margin_right = 8.0
|
|
|
|
margin_bottom = -0.263489
|
|
|
|
grow_horizontal = 2
|
|
|
|
min_value = -1.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.001
|
|
|
|
tick_count = 3
|
|
|
|
ticks_on_borders = true
|
2020-08-16 12:10:31 +00:00
|
|
|
|
2020-09-27 15:08:20 +00:00
|
|
|
[node name="ResetButton" type="Button" parent="ThrustPanel"]
|
|
|
|
anchor_left = 0.1
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.1
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Reset"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-16 12:10:31 +00:00
|
|
|
[node name="TurnEndBanner" type="TextureRect" parent="."]
|
|
|
|
visible = false
|
|
|
|
modulate = Color( 1, 1, 1, 0 )
|
|
|
|
material = SubResource( 2 )
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -20.0
|
|
|
|
margin_right = 20.0
|
|
|
|
mouse_filter = 2
|
|
|
|
texture = ExtResource( 8 )
|
|
|
|
expand = true
|
|
|
|
stretch_mode = 6
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="TurnEndBanner"]
|
|
|
|
autoplay = "ShowEndTurnBanner"
|
|
|
|
anims/ShowEndTurnBanner = ExtResource( 9 )
|
2020-08-16 16:19:42 +00:00
|
|
|
|
|
|
|
[node name="GunContainer" type="Spatial" parent="."]
|
|
|
|
transform = Transform( -4.37114e-09, 4.37114e-09, 0.1, 0.1, -4.37114e-09, 4.37114e-09, 4.37114e-09, 0.1, -4.37114e-09, 0, -0.0222926, 0.382747 )
|
2021-07-04 18:05:33 +00:00
|
|
|
|
|
|
|
[node name="Cone" type="Area" parent="GunContainer"]
|
|
|
|
transform = Transform( 1, -1.77636e-14, 1.91069e-15, 1.77636e-14, 1, -1.77636e-14, -1.91069e-15, 1.77636e-14, 1, 1.19209e-07, 2.66684, -1.16571e-07 )
|
|
|
|
input_ray_pickable = false
|
|
|
|
gravity = 0.0
|
|
|
|
linear_damp = 0.0
|
|
|
|
angular_damp = 0.0
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="GunContainer/Cone"]
|
|
|
|
transform = Transform( 25, 0, 0, 0, -4.07302e-06, -100, 0, 25, -1.62921e-05, 0, 1000, 0 )
|
|
|
|
shape = ExtResource( 14 )
|
2020-08-16 16:19:42 +00:00
|
|
|
|
2021-07-10 15:28:33 +00:00
|
|
|
[node name="Cone" type="MeshInstance" parent="GunContainer/Cone/CollisionShape"]
|
|
|
|
visible = false
|
|
|
|
mesh = ExtResource( 15 )
|
|
|
|
material/0 = ExtResource( 4 )
|
|
|
|
|
2020-08-16 16:19:42 +00:00
|
|
|
[node name="spaceship-gun" parent="GunContainer" instance=ExtResource( 10 )]
|
|
|
|
transform = Transform( 1, 0, 1.64203e-15, 0, 1, 0, 1.64203e-15, 0, 1, 4.47035e-08, 0.811224, -3.54597e-08 )
|
|
|
|
|
|
|
|
[node name="RayCast" type="RayCast" parent="GunContainer"]
|
|
|
|
transform = Transform( 1, 0, 1.64203e-15, 0, 1, 0, 1.64203e-15, 0, 1, 7.45058e-08, 1.76881, -7.73171e-08 )
|
2021-07-04 18:05:33 +00:00
|
|
|
visible = false
|
2020-08-16 16:19:42 +00:00
|
|
|
enabled = true
|
2021-07-04 18:05:33 +00:00
|
|
|
cast_to = Vector3( 0, 0, -500 )
|
2020-08-16 16:19:42 +00:00
|
|
|
|
|
|
|
[node name="CSGCylinder" type="CSGCylinder" parent="GunContainer/RayCast"]
|
2021-07-04 18:05:33 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 30, 0 )
|
2020-08-16 16:19:42 +00:00
|
|
|
material_override = SubResource( 3 )
|
|
|
|
radius = 0.09
|
2021-05-14 10:26:04 +00:00
|
|
|
height = 60.0
|
2020-08-16 16:19:42 +00:00
|
|
|
sides = 32
|
2020-08-29 16:32:40 +00:00
|
|
|
|
|
|
|
[node name="WeaponsPanel" type="Panel" parent="."]
|
|
|
|
visible = false
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_top = -300.0
|
|
|
|
margin_right = 300.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Background" type="TextureRect" parent="WeaponsPanel"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_top = -75.0
|
|
|
|
margin_right = 100.0
|
|
|
|
margin_bottom = 75.0
|
|
|
|
texture = ExtResource( 13 )
|
|
|
|
expand = true
|
|
|
|
|
|
|
|
[node name="Filling" type="TextureRect" parent="WeaponsPanel"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_top = -75.0
|
|
|
|
margin_right = 100.0
|
|
|
|
margin_bottom = 75.0
|
|
|
|
texture = ExtResource( 12 )
|
|
|
|
expand = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="FillingBlocker" type="ColorRect" parent="WeaponsPanel"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = 14.0
|
|
|
|
margin_top = -55.0
|
|
|
|
margin_right = 87.0
|
|
|
|
margin_bottom = -55.0
|
|
|
|
color = Color( 0, 0, 0, 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Bolt" type="TextureRect" parent="WeaponsPanel"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = 17.4106
|
|
|
|
margin_top = -59.1193
|
|
|
|
margin_right = 102.411
|
|
|
|
margin_bottom = 72.8807
|
|
|
|
texture = ExtResource( 11 )
|
|
|
|
expand = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="WeaponsSwitch" type="CheckButton" parent="WeaponsPanel"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -100.0
|
|
|
|
margin_top = -40.0
|
|
|
|
margin_right = -30.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-09-27 15:08:20 +00:00
|
|
|
|
2021-07-10 15:28:33 +00:00
|
|
|
[node name="WeaponVisualiserMenu" type="OptionButton" parent="WeaponsPanel"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.8
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.8
|
|
|
|
margin_left = -50.0
|
|
|
|
margin_right = 50.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
text = "None"
|
|
|
|
items = [ "None", null, false, 0, null, "Self", null, false, 1, null, "Everyone", null, false, 2, null ]
|
|
|
|
selected = 0
|
|
|
|
|
2021-05-14 10:26:04 +00:00
|
|
|
[node name="StatusPanel" type="Panel" parent="."]
|
|
|
|
visible = false
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -200.0
|
|
|
|
margin_top = -75.0
|
|
|
|
margin_right = 200.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="HealthBarContainer" type="Control" parent="StatusPanel"]
|
|
|
|
anchor_left = 0.02
|
|
|
|
anchor_top = 0.1
|
|
|
|
anchor_right = 0.98
|
|
|
|
anchor_bottom = 0.9
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="HealthBarBackground" type="ColorRect" parent="StatusPanel/HealthBarContainer"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
color = Color( 0, 0, 0, 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="HealthBar" type="ColorRect" parent="StatusPanel/HealthBarContainer"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
color = Color( 1, 0, 0, 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-09-27 15:08:20 +00:00
|
|
|
[node name="InfoPanel" type="Panel" parent="."]
|
|
|
|
visible = false
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
margin_left = -200.0
|
|
|
|
margin_bottom = 100.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="InfoPanel"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 10.0
|
|
|
|
margin_top = 10.0
|
|
|
|
margin_right = -10.0
|
|
|
|
margin_bottom = -10.0
|
2021-07-04 18:05:33 +00:00
|
|
|
|
2020-09-27 15:08:20 +00:00
|
|
|
[connection signal="mouse_entered" from="." to="." method="_on_Player_mouse_entered"]
|
|
|
|
[connection signal="mouse_exited" from="." to="." method="_on_Player_mouse_exited"]
|
2020-04-18 17:26:09 +00:00
|
|
|
[connection signal="value_changed" from="MainPanel/TimeBar" to="." method="_on_TimeBar_value_changed"]
|
|
|
|
[connection signal="pressed" from="MainPanel/AddButton" to="." method="_on_AddButton_pressed"]
|
2020-08-16 12:10:31 +00:00
|
|
|
[connection signal="pressed" from="MainPanel/PlayButton" to="." method="_on_PlayButton_pressed"]
|
2020-09-27 15:08:20 +00:00
|
|
|
[connection signal="pressed" from="MainPanel/PlayLastButton" to="." method="_on_PlayLastButton_pressed"]
|
2020-04-18 17:26:09 +00:00
|
|
|
[connection signal="pressed" from="MainPanel/RemoveButton" to="." method="_on_RemoveButton_pressed"]
|
|
|
|
[connection signal="pressed" from="MainPanel/ClearButton" to="." method="_on_ClearButton_pressed"]
|
|
|
|
[connection signal="pressed" from="MainPanel/EndTurnButton" to="." method="_on_EndTurnButton_pressed"]
|
|
|
|
[connection signal="value_changed" from="ThrustPanel/XLin" to="." method="_on_XLin_value_changed"]
|
|
|
|
[connection signal="value_changed" from="ThrustPanel/XRot" to="." method="_on_XRot_value_changed"]
|
|
|
|
[connection signal="value_changed" from="ThrustPanel/YLin" to="." method="_on_YLin_value_changed"]
|
|
|
|
[connection signal="value_changed" from="ThrustPanel/YRot" to="." method="_on_YRot_value_changed"]
|
|
|
|
[connection signal="value_changed" from="ThrustPanel/ZLin" to="." method="_on_ZLin_value_changed"]
|
|
|
|
[connection signal="value_changed" from="ThrustPanel/ZRot" to="." method="_on_ZRot_value_changed"]
|
2020-09-27 15:08:20 +00:00
|
|
|
[connection signal="pressed" from="ThrustPanel/ResetButton" to="." method="_on_ResetButton_pressed"]
|
2021-07-04 18:05:33 +00:00
|
|
|
[connection signal="body_entered" from="GunContainer/Cone" to="." method="_on_player_enter_firing_arc"]
|
|
|
|
[connection signal="body_exited" from="GunContainer/Cone" to="." method="_on_player_exit_firing_arc"]
|
2021-07-10 15:28:33 +00:00
|
|
|
[connection signal="item_selected" from="WeaponsPanel/WeaponVisualiserMenu" to="." method="_on_WeaponVisualiserMenu_item_selected"]
|