Compare commits
3 Commits
2c2d7507bb
...
4b477713d6
Author | SHA1 | Date |
---|---|---|
Spencer Killen | 4b477713d6 | |
Spencer Killen | 2f2894e656 | |
dukegoobler | b54053507a |
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=8 format=2]
|
[gd_scene load_steps=10 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://assets/meat_bore/meat_module/meat_module.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://assets/meat_bore/meat_module/meat_module.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://assets/meat_bore/bridge.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://assets/meat_bore/bridge.tscn" type="PackedScene" id=2]
|
||||||
|
@ -7,6 +7,8 @@
|
||||||
[ext_resource path="res://assets/meat_bore/npcs/inherited/alexis.tscn" type="PackedScene" id=5]
|
[ext_resource path="res://assets/meat_bore/npcs/inherited/alexis.tscn" type="PackedScene" id=5]
|
||||||
[ext_resource path="res://assets/meat_bore/dialogue_platform.tscn" type="PackedScene" id=6]
|
[ext_resource path="res://assets/meat_bore/dialogue_platform.tscn" type="PackedScene" id=6]
|
||||||
[ext_resource path="res://assets/audio/drones/level3.ogg" type="AudioStream" id=7]
|
[ext_resource path="res://assets/audio/drones/level3.ogg" type="AudioStream" id=7]
|
||||||
|
[ext_resource path="res://assets/models/meatcircle.tscn" type="PackedScene" id=8]
|
||||||
|
[ext_resource path="res://assets/meat_creek/creek_platform.tscn" type="PackedScene" id=9]
|
||||||
|
|
||||||
[node name="level_alexis" type="Spatial"]
|
[node name="level_alexis" type="Spatial"]
|
||||||
|
|
||||||
|
@ -28,10 +30,10 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.14428, -273.779, 0 )
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.71687, -281.578, 0 )
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.71687, -281.578, 0 )
|
||||||
|
|
||||||
[node name="Swquish5" parent="." instance=ExtResource( 4 )]
|
[node name="Swquish5" parent="." instance=ExtResource( 4 )]
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.71687, -298.215, 0 )
|
transform = Transform( 0.998181, 0, 0.060282, 0, 1, 0, -0.060282, 0, 0.998181, 4.48443, -298.215, 0 )
|
||||||
|
|
||||||
[node name="Swquish6" parent="." instance=ExtResource( 4 )]
|
[node name="Swquish6" parent="." instance=ExtResource( 4 )]
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.71687, -317.156, 0 )
|
transform = Transform( 0.998181, 0, 0.060282, 0, 1, 0, -0.060282, 0, 0.998181, 4.48443, -317.156, 0 )
|
||||||
|
|
||||||
[node name="bridge" parent="." instance=ExtResource( 2 )]
|
[node name="bridge" parent="." instance=ExtResource( 2 )]
|
||||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.35255, -237.925, -7.85863 )
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.35255, -237.925, -7.85863 )
|
||||||
|
@ -41,3 +43,9 @@ transform = Transform( -0.00622234, 0.26132, -0.965232, 0.984724, -0.166367, -0.
|
||||||
|
|
||||||
[node name="alexis" parent="." instance=ExtResource( 5 )]
|
[node name="alexis" parent="." instance=ExtResource( 5 )]
|
||||||
transform = Transform( -0.929686, 0, 0.368352, 0, 1, 0, -0.368352, 0, -0.929686, -9.16289, -292.219, 24.2675 )
|
transform = Transform( -0.929686, 0, 0.368352, 0, 1, 0, -0.368352, 0, -0.929686, -9.16289, -292.219, 24.2675 )
|
||||||
|
|
||||||
|
[node name="meatcircle" parent="alexis" instance=ExtResource( 8 )]
|
||||||
|
transform = Transform( -0.0983844, 2.98061, 5.76833, 4.72262, 0.154299, -0.0388896, 0.00299956, 5.2907, -0.579473, -1.70829, 3.38397, 5.07203 )
|
||||||
|
|
||||||
|
[node name="creek_platform" parent="." instance=ExtResource( 9 )]
|
||||||
|
transform = Transform( 3.74529, 0, 0.111503, 0, 1, 0, 0.865761, 0, 2.4009, -5.52073, -297.308, 18.7745 )
|
||||||
|
|
|
@ -26,6 +26,12 @@ transform = Transform( 1, 0, -4.17233e-07, 0, 1, 0, 4.17233e-07, 0, 1, -0.235702
|
||||||
light_color = Color( 0.631373, 0.00784314, 0.00784314, 1 )
|
light_color = Color( 0.631373, 0.00784314, 0.00784314, 1 )
|
||||||
shadow_enabled = true
|
shadow_enabled = true
|
||||||
|
|
||||||
|
[node name="OmniLight2" type="OmniLight" parent="clark"]
|
||||||
|
transform = Transform( 0.994598, 0, -0.1038, 0, 1, 0, 0.1038, 0, 0.994598, -1.88938, 3.85402, 17.314 )
|
||||||
|
light_color = Color( 0.631373, 0.00784314, 0.00784314, 1 )
|
||||||
|
shadow_enabled = true
|
||||||
|
omni_range = 10.0
|
||||||
|
|
||||||
[node name="meat_module_2" parent="." instance=ExtResource( 1 )]
|
[node name="meat_module_2" parent="." instance=ExtResource( 1 )]
|
||||||
transform = Transform( 0.742409, 0, 0.669947, 0, 1, 0, -0.669947, 0, 0.742409, 0, -114.811, 0 )
|
transform = Transform( 0.742409, 0, 0.669947, 0, 1, 0, -0.669947, 0, 0.742409, 0, -114.811, 0 )
|
||||||
texture = ExtResource( 2 )
|
texture = ExtResource( 2 )
|
||||||
|
|
|
@ -34,10 +34,10 @@ light_energy = 2.0
|
||||||
shadow_enabled = true
|
shadow_enabled = true
|
||||||
|
|
||||||
[node name="dialogue_platform" parent="." instance=ExtResource( 4 )]
|
[node name="dialogue_platform" parent="." instance=ExtResource( 4 )]
|
||||||
transform = Transform( 0.293757, 0, 0.95588, 0, 1, 0, -0.95588, 0, 0.293757, -33.8926, -520.031, -8.76617 )
|
transform = Transform( 0.293757, 0, 0.95588, 0, 2.76592, 0, -0.95588, 0, 0.293757, -33.8926, -520.389, -8.76617 )
|
||||||
|
|
||||||
[node name="dialogue_platform2" parent="." instance=ExtResource( 4 )]
|
[node name="dialogue_platform2" parent="." instance=ExtResource( 4 )]
|
||||||
transform = Transform( 0.957214, 0.289383, 0, -0.289383, 0.957214, 0, 0, 0, 1, -30.7244, -520.836, -8.76617 )
|
transform = Transform( 0.957214, 0.289383, 0, -0.705992, 2.33526, 0, 0, 0, 1, -30.1093, -522.019, -8.76617 )
|
||||||
|
|
||||||
[node name="SinkBlock" parent="." instance=ExtResource( 5 )]
|
[node name="SinkBlock" parent="." instance=ExtResource( 5 )]
|
||||||
transform = Transform( 30, 0, 0, 0, 1, 0, 0, 0, 30, -0.004, -469.575, 0.012 )
|
transform = Transform( 30, 0, 0, 0, 1, 0, 0, 0, 30, -0.004, -469.575, 0.012 )
|
||||||
|
@ -74,13 +74,25 @@ transform = Transform( 0.249951, 4.5527, -1.22279, -5.2645, 0.082006, -0.0468753
|
||||||
transform = Transform( 0.461622, -0.00497676, 0.000402718, -0.0138762, 0.183026, -0.0365338, 0.00506133, 0.0710867, 0.352741, -0.62188, 0.144679, 1.02698 )
|
transform = Transform( 0.461622, -0.00497676, 0.000402718, -0.0138762, 0.183026, -0.0365338, 0.00506133, 0.0710867, 0.352741, -0.62188, 0.144679, 1.02698 )
|
||||||
|
|
||||||
[node name="meat_tentacle2" parent="meatcircle" instance=ExtResource( 12 )]
|
[node name="meat_tentacle2" parent="meatcircle" instance=ExtResource( 12 )]
|
||||||
transform = Transform( -0.352401, 0.0165807, -0.201815, -0.313878, 0.0789187, 0.328248, 0.0726001, 0.341773, 0.180575, 0.0853882, -0.991125, -1.30282 )
|
transform = Transform( -0.352401, 0.0165807, -0.201815, -0.313878, 0.0789187, 0.328248, 0.0726001, 0.341773, 0.180575, -1.11423, 2.56048, -4.1824 )
|
||||||
|
|
||||||
[node name="meat_tentacle_small" parent="meatcircle" instance=ExtResource( 13 )]
|
[node name="meat_tentacle_small" parent="meatcircle" instance=ExtResource( 13 )]
|
||||||
transform = Transform( 0.444682, -0.125374, 0.080701, 0.401719, 0.345381, 0.0301679, -0.175683, 0.0961759, 0.404797, 0.852348, 0.145765, 1.0316 )
|
transform = Transform( 0.444682, -0.125374, 0.080701, 0.401719, 0.345381, 0.0301679, -0.175683, 0.0961759, 0.404797, 0.852348, 0.145765, 1.0316 )
|
||||||
|
|
||||||
|
[node name="meat_tentacle_small5" parent="meatcircle" instance=ExtResource( 13 )]
|
||||||
|
transform = Transform( 0.163629, 0.122014, 0.543634, 0.515636, 0.655597, -0.104487, -1.24963, 0.350085, 0.223689, 6.50235, -0.27368, 1.12831 )
|
||||||
|
|
||||||
|
[node name="meat_tentacle_small3" parent="meatcircle" instance=ExtResource( 13 )]
|
||||||
|
transform = Transform( -0.0820616, -0.297091, 0.346804, -1.28526, 0.0750473, 0.229502, -0.306729, -0.463875, -0.50188, 0.93557, 6.9718, 3.60281 )
|
||||||
|
|
||||||
|
[node name="meat_tentacle_small4" parent="meatcircle" instance=ExtResource( 13 )]
|
||||||
|
transform = Transform( 0.231598, -0.0838826, 0.474934, -0.360379, -0.583113, -0.302262, 1.15374, -0.122744, -0.365858, -1.46094, 7.84201, -2.55475 )
|
||||||
|
|
||||||
[node name="meat_tentacle_small2" parent="meatcircle" instance=ExtResource( 13 )]
|
[node name="meat_tentacle_small2" parent="meatcircle" instance=ExtResource( 13 )]
|
||||||
transform = Transform( 0.420714, -0.183205, -0.138196, 0.48098, 0.317142, 0.0738042, 0.0560773, -0.0345605, 0.383119, -0.298241, 0.158634, -1.51411 )
|
transform = Transform( 0.420714, -0.183205, -0.138196, 0.48098, 0.317142, 0.0738042, 0.0560773, -0.0345605, 0.383119, -0.298241, 0.158634, -1.51411 )
|
||||||
|
|
||||||
|
[node name="meatcircle2" parent="." instance=ExtResource( 11 )]
|
||||||
|
transform = Transform( 18.663, 3.18275, 17.2051, 0.806556, 35.5344, 6.25988, -13.1831, 4.68003, 20.2125, -0.38446, -578.121, 1.18818 )
|
||||||
|
|
||||||
[connection signal="body_entered" from="Heart_2/Area" to="Heart_2/Area" method="_on_Area_body_entered"]
|
[connection signal="body_entered" from="Heart_2/Area" to="Heart_2/Area" method="_on_Area_body_entered"]
|
||||||
[connection signal="body_entered" from="Area" to="Area" method="_on_Area_body_entered"]
|
[connection signal="body_entered" from="Area" to="Area" method="_on_Area_body_entered"]
|
||||||
|
|
|
@ -67,7 +67,8 @@ func close_dialog():
|
||||||
func player_entered():
|
func player_entered():
|
||||||
if has_node("npc_common/SignalGenerator"):
|
if has_node("npc_common/SignalGenerator"):
|
||||||
$npc_common.remove_child($npc_common/SignalGenerator)
|
$npc_common.remove_child($npc_common/SignalGenerator)
|
||||||
create_dialog(initial_dialogic_timeline)
|
if is_alive:
|
||||||
|
create_dialog(initial_dialogic_timeline)
|
||||||
|
|
||||||
func player_exited():
|
func player_exited():
|
||||||
close_dialog()
|
close_dialog()
|
||||||
|
|
|
@ -170,6 +170,10 @@
|
||||||
"event_id": "dialogic_001",
|
"event_id": "dialogic_001",
|
||||||
"portrait": "",
|
"portrait": "",
|
||||||
"text": "(The ringing stops, and you stand up groggily. You feel hungover)"
|
"text": "(The ringing stops, and you stand up groggily. You feel hungover)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event_id": "dialogic_022",
|
||||||
|
"transition_duration": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
|
|
@ -4,11 +4,59 @@
|
||||||
"event_id": "dialogic_024",
|
"event_id": "dialogic_024",
|
||||||
"set_theme": "theme-1671745159.cfg"
|
"set_theme": "theme-1671745159.cfg"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"character": "character-1672267793.json",
|
||||||
|
"event_id": "dialogic_001",
|
||||||
|
"portrait": "",
|
||||||
|
"text": "APPROACHING\n\nCORE OF\n\n[color=yellow][data corrupted] [/color]\n\n\t\t[color=blue][shake rate=5 level=10]EIGHT EIGht- E- E-[/shake][/color]\n\n[color=green](CLICK)[/color]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"character": "character-1672267793.json",
|
||||||
|
"event_id": "dialogic_001",
|
||||||
|
"portrait": "",
|
||||||
|
"text": "[color=yellow][data corrupted][/color] \n\n[color=red][shake rate=5 level=10]GOTO\n\nHEAVENHEAVENHEAVENHEAVEN\nHEAVENHEAVENHEAVENHEAVEN\nHEAVENHEAVENHEAVENHEAVEN\nHEAVENHEAVENHEAVENHEAVEN\n[/shake][/color]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event_id": "dialogic_024",
|
||||||
|
"set_theme": "theme-1671748561.cfg"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"character": "",
|
"character": "",
|
||||||
"event_id": "dialogic_001",
|
"event_id": "dialogic_001",
|
||||||
"portrait": "",
|
"portrait": "",
|
||||||
"text": "[data corrupted]"
|
"text": "[color=yellow]ERRORERROR[/color]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event_id": "dialogic_024",
|
||||||
|
"set_theme": "theme-1672728448.cfg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"audio": "play",
|
||||||
|
"audio_bus": "Master",
|
||||||
|
"event_id": "dialogic_030",
|
||||||
|
"event_name": "AudioEvent",
|
||||||
|
"file": "res://assets/audio/sicky_drone.ogg",
|
||||||
|
"volume": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"character": "",
|
||||||
|
"event_id": "dialogic_001",
|
||||||
|
"portrait": "",
|
||||||
|
"text": "FIND US \n\n\n\tAT THE CENTER OF [color=blue]NEPTUNE[/color]\n\t\n\t\tYOU WILL NEVER LEAVE \n\t\t\n\t\t\t\tYOU WILL OBEY \n\t\t\t\tOUR COMMAND"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event_id": "dialogic_024",
|
||||||
|
"set_theme": "theme-1671748561.cfg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"character": "",
|
||||||
|
"event_id": "dialogic_001",
|
||||||
|
"portrait": "",
|
||||||
|
"text": "[color=red]SHUTDOWN[/color]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event_id": "dialogic_022",
|
||||||
|
"transition_duration": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
|
|
@ -2,7 +2,7 @@ extends Spatial
|
||||||
|
|
||||||
var yaw_pitch = Vector2.ZERO
|
var yaw_pitch = Vector2.ZERO
|
||||||
var mouse_look_sensitivity = 0.1
|
var mouse_look_sensitivity = 0.1
|
||||||
var controller_look_sensitivity = 3
|
var controller_look_sensitivity = 2.3
|
||||||
var target_yaw_pitch = Vector2.ZERO
|
var target_yaw_pitch = Vector2.ZERO
|
||||||
var look_acceleration = 0.4
|
var look_acceleration = 0.4
|
||||||
|
|
||||||
|
@ -22,9 +22,11 @@ func _input(event):
|
||||||
if Input.is_action_just_pressed("ui_cancel"):
|
if Input.is_action_just_pressed("ui_cancel"):
|
||||||
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
|
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
|
||||||
else:
|
else:
|
||||||
if event is InputEventMouseButton and Input.is_action_just_pressed("ui cancel"):
|
if event is InputEventMouseButton and Input.is_action_just_pressed("ui_cancel"):
|
||||||
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||||
|
|
||||||
|
|
||||||
|
func controller_input():
|
||||||
var look_relative = Vector2(
|
var look_relative = Vector2(
|
||||||
Input.get_action_strength("player_look_right") - Input.get_action_strength("player_look_left"),
|
Input.get_action_strength("player_look_right") - Input.get_action_strength("player_look_left"),
|
||||||
Input.get_action_strength("player_look_down") - Input.get_action_strength("player_look_up")
|
Input.get_action_strength("player_look_down") - Input.get_action_strength("player_look_up")
|
||||||
|
@ -32,6 +34,7 @@ func _input(event):
|
||||||
rotate_camera(look_relative * controller_look_sensitivity)
|
rotate_camera(look_relative * controller_look_sensitivity)
|
||||||
|
|
||||||
func _process(_delta):
|
func _process(_delta):
|
||||||
|
controller_input()
|
||||||
yaw_pitch.x = wrapf(lerp_angle(yaw_pitch.x, target_yaw_pitch.x, look_acceleration), -PI, PI)
|
yaw_pitch.x = wrapf(lerp_angle(yaw_pitch.x, target_yaw_pitch.x, look_acceleration), -PI, PI)
|
||||||
yaw_pitch.y = lerp_angle(yaw_pitch.y, target_yaw_pitch.y, look_acceleration)
|
yaw_pitch.y = lerp_angle(yaw_pitch.y, target_yaw_pitch.y, look_acceleration)
|
||||||
|
|
||||||
|
|
|
@ -120,120 +120,150 @@ common/drop_mouse_on_gui_input_disabled=true
|
||||||
|
|
||||||
ui_accept={
|
ui_accept={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
ui_select={
|
ui_select={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":3,"pressure":0.0,"pressed":false,"script":null)
|
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
ui_cancel={
|
ui_cancel={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null)
|
"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":1,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
ui_focus_next={
|
ui_focus_next={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777218,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777218,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
ui_focus_prev={
|
ui_focus_prev={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777218,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777218,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
ui_left={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":65,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":2,"axis_value":-1.0,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
ui_right={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":68,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":2,"axis_value":-1.0,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
ui_up={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
||||||
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":-1.0,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
ui_down={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||||
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_forwards={
|
player_forwards={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_backwards={
|
player_backwards={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_left={
|
player_left={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_right={
|
player_right={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_sprint={
|
player_sprint={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":4,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":4,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_jump={
|
player_jump={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":5,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":5,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
dialogic_default_action={
|
dialogic_default_action={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
pause={
|
pause={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":16777217,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":16777217,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
toggle_flashlight={
|
toggle_flashlight={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":70,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":70,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":3,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_look_up={
|
player_look_up={
|
||||||
"deadzone": 0.0,
|
"deadzone": 0.0,
|
||||||
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":3,"axis_value":-1.0,"script":null)
|
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":-1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_look_right={
|
player_look_right={
|
||||||
"deadzone": 0.0,
|
"deadzone": 0.0,
|
||||||
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":2,"axis_value":1.0,"script":null)
|
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":2,"axis_value":1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_look_down={
|
player_look_down={
|
||||||
"deadzone": 0.0,
|
"deadzone": 0.0,
|
||||||
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":3,"axis_value":1.0,"script":null)
|
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_look_left={
|
player_look_left={
|
||||||
"deadzone": 0.0,
|
"deadzone": 0.0,
|
||||||
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":2,"axis_value":-1.0,"script":null)
|
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":2,"axis_value":-1.0,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
toggle_walkie_talkie={
|
toggle_walkie_talkie={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":67,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":67,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
interact={
|
interact={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":69,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":69,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,4 +28,4 @@ func hide_blackbox_dialogue(id: int):
|
||||||
return
|
return
|
||||||
var dialog = blackbox_dialogues[id].get_ref()
|
var dialog = blackbox_dialogues[id].get_ref()
|
||||||
if get_tree().root.is_a_parent_of(dialog):
|
if get_tree().root.is_a_parent_of(dialog):
|
||||||
get_tree().root.remove_child(dialog)
|
get_tree().root.call_deferred("remove_child", dialog)
|
||||||
|
|
Loading…
Reference in New Issue