Aura dialog

This commit is contained in:
Layla 2020-05-17 11:02:12 -04:00
parent 65e4fc6a48
commit 23a13f349b
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31
5 changed files with 277 additions and 3 deletions

View File

@ -926,13 +926,235 @@ Ravenwork staff!",
"name": "aura_meeting",
"nodes": {
1: {
"graph_offset": Vector2( 40, 40 ),
"graph_offset": Vector2( 20, 40 ),
"links": {
0: 5,
1: 2,
2: 4
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 3,
"text": "Hello Veronica.
<choice>...</choice>
<choice>Who are you?</choice>
<choice>Stop!</choice>",
"type": "line"
},
2: {
"graph_offset": Vector2( 520, 60 ),
"links": {
0: 3
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "I am you.",
"type": "line"
},
3: {
"graph_offset": Vector2( 1000, 80 ),
"links": {
0: 6,
1: 7
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 2,
"text": "Well, I am Veronica Gilmore. Designation: Aura.
<choice>Explain</choice>
<choice>You are lying!</choice>",
"type": "line"
},
4: {
"graph_offset": Vector2( 460, 300 ),
"links": {
0: 8,
1: 11,
2: 12
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 3,
"text": "As you can see now, you are not the first person cloned for Ravenworks profit
margins.
<choice>Are you the traitor?</choice>
<choice>Return the shipment!</choice>
<choice>We can talk</choice>",
"type": "line"
},
5: {
"graph_offset": Vector2( 520, -120 ),
"links": {
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "Hello Veronica.",
"text": "Oh... They truely had you didn't they.",
"type": "line"
},
6: {
"graph_offset": Vector2( 1480, -100 ),
"links": {
0: 17,
1: 19
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 2,
"text": "You were not created to stop Duke Enterprises. You were created to
surpress democratic sympathizers.
<choice>Democratic Symathizers?</choice>
<choice>What about the leaks?</choice>",
"type": "line"
},
7: {
"graph_offset": Vector2( 1480, 100 ),
"links": {
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "Then you will die in ignorance.",
"type": "line"
},
8: {
"graph_offset": Vector2( 1000, 280 ),
"links": {
0: 9
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "No, Grant is very much aware of my loyalties.",
"type": "line"
},
9: {
"graph_offset": Vector2( 1480, 280 ),
"links": {
0: 10
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "I am Commander Veronic Gilmore of the Resitance Forces.",
"type": "line"
},
10: {
"graph_offset": Vector2( 1960, 280 ),
"links": {
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "Grant is a cruel man...",
"type": "line"
},
11: {
"graph_offset": Vector2( 1000, 460 ),
"links": {
0: 15
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "This shipment is being delivered to Resistance medical facilities. It's going to save
lives, not be used for creating slaves.",
"type": "line"
},
12: {
"graph_offset": Vector2( 1000, 640 ),
"links": {
0: 13
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "There isn't much we can do sadly. I'm presuming you still have
your implant.",
"type": "line"
},
13: {
"graph_offset": Vector2( 1480, 640 ),
"links": {
0: 14
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "Do you want to discuss terms of peace with us?
<choice>No</choice>",
"type": "line"
},
14: {
"graph_offset": Vector2( 1960, 640 ),
"links": {
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "You weren't even given the choice. They programmed you to respond that way.",
"type": "line"
},
15: {
"graph_offset": Vector2( 1480, 460 ),
"links": {
0: 16
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "Ravenworks and Duke Enterprises were the ones in the old capitial the day you died.",
"type": "line"
},
16: {
"graph_offset": Vector2( 1960, 460 ),
"links": {
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "They're the ones who took advantage of all the death...",
"type": "line"
},
17: {
"graph_offset": Vector2( 1980, -100 ),
"links": {
0: 18
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "The Corporate Collective does not care about human lives. They aren't looking
out for anyone but their executives.",
"type": "line"
},
18: {
"graph_offset": Vector2( 2460, -100 ),
"links": {
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "That leaves those who were automated away to die.",
"type": "line"
},
19: {
"graph_offset": Vector2( 1980, 60 ),
"links": {
0: 20
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "All the leaks came from the resistance.",
"type": "line"
},
20: {
"graph_offset": Vector2( 2460, 60 ),
"links": {
0: 21
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "Grant has the foolish idea that he can convince me to work for Ravenworks again.",
"type": "line"
},
21: {
"graph_offset": Vector2( 2940, 60 ),
"links": {
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "But after what I learned about the old capital... Never again.",
"type": "line"
}
}

View File

@ -0,0 +1,47 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Assets/Sfx/intro/processed.wav" type="AudioStream" id=1]
[ext_resource path="res://Scripts/Component/StorySpeaker.gd" type="Script" id=2]
[ext_resource path="res://Scripts/Entities/NPCs/Aura.gd" type="Script" id=3]
[ext_resource path="res://Assets/Art/Characters/aura.png" type="Texture" id=4]
[sub_resource type="AtlasTexture" id=14]
atlas = ExtResource( 4 )
region = Rect2( 0, 0, 32, 16 )
[sub_resource type="RectangleShape2D" id=15]
extents = Vector2( 62.9439, 20.084 )
[node name="Aura" type="Area2D"]
position = Vector2( 830.805, 1176.02 )
script = ExtResource( 3 )
__meta__ = {
"_edit_group_": true
}
[node name="Sprite" type="Sprite" parent="."]
texture = SubResource( 14 )
hframes = 2
frame = 1
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 15 )
[node name="Speaker" type="Node" parent="."]
script = ExtResource( 2 )
speaker_name = "Aura"
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 1 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = 19
[node name="Blood" type="ColorRect" parent="CanvasLayer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.54902, 0.105882, 0.105882, 1 )
__meta__ = {
"_edit_use_anchors_": false
}

View File

@ -1,10 +1,11 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Nodes/Tiles/tileset_science_lab.tres" type="TileSet" id=1]
[ext_resource path="res://Nodes/NPCs/CEO.tscn" type="PackedScene" id=2]
[ext_resource path="res://Nodes/Player.tscn" type="PackedScene" id=3]
[ext_resource path="res://Nodes/GUI.tscn" type="PackedScene" id=4]
[ext_resource path="res://Nodes/NPCs/Thadd.tscn" type="PackedScene" id=5]
[ext_resource path="res://Nodes/NPCs/Aura.tscn" type="PackedScene" id=6]
[node name="World" type="Node2D"]
@ -25,3 +26,6 @@ position = Vector2( 90.0225, 142.418 )
[node name="Scientist2" parent="." instance=ExtResource( 5 )]
position = Vector2( 139.806, 168.653 )
start_on_play = false
[node name="Aura" parent="Scientist2" instance=ExtResource( 6 )]
position = Vector2( 133.095, -0.638016 )

Binary file not shown.

View File

@ -7,6 +7,7 @@ func _ready():
$Speaker.speaker_name = "Aura"
connect("body_entered", self, "_on_body_enter")
connect("body_exited", self, "_on_body_exit")
#$Speaker.connect("dialog_exited", self, "_next")
func _on_body_enter(body):
if body.has_method("add_interactable"):