Talking-head dialogue: DialogueDirector, DialogueBox, conversations and speakers
Conversations saved in game/resources/dialogue/ play once at their night and phase in a paper box with talking heads; example: the morning of day 2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bbd8012fff
commit
1d92f49d96
22 changed files with 1158 additions and 2 deletions
38
game/resources/dialogue/morning_day_2.tres
Normal file
38
game/resources/dialogue/morning_day_2.tres
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
[gd_resource type="Resource" script_class="Conversation" format=3 uid="uid://bvbmgb0ug3ofi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b8csl51l2cwpg" path="res://game/scripts/conversation.gd" id="1_conversation"]
|
||||
[ext_resource type="Script" uid="uid://oluompq3r367" path="res://game/scripts/dialogue_line.gd" id="2_line"]
|
||||
[ext_resource type="Resource" path="res://game/resources/dialogue/speakers/little_green_alien.tres" id="3_alien"]
|
||||
[ext_resource type="Resource" path="res://game/resources/dialogue/speakers/scarecrow.tres" id="4_scarecrow"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line1"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_alien")
|
||||
text = "Greetings, creature from Planet 392823. You have something of ours and I would like it back!"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line2"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("4_scarecrow")
|
||||
text = "Who said that? Is that a [i]talking vegetable[/i]?"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line3"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_alien")
|
||||
text = "This planet has creatures of little intelligence I see...."
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line4"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("4_scarecrow")
|
||||
text = "Buzz off slime ball! These here crops belong to the Farmer."
|
||||
italic = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_eu5ag"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_alien")
|
||||
text = "Silly little fool!! Tonight we come for your crops, your animals, and [color=#b02010]everything in that shed[/color]. [shake]Mwahaha![/shake]"
|
||||
metadata/_custom_type_script = "uid://oluompq3r367"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_conversation")
|
||||
night = 2
|
||||
lines = Array[ExtResource("2_line")]([SubResource("Resource_line1"), SubResource("Resource_line2"), SubResource("Resource_line3"), SubResource("Resource_line4"), SubResource("Resource_eu5ag")])
|
||||
13
game/resources/dialogue/speakers/little_green_alien.tres
Normal file
13
game/resources/dialogue/speakers/little_green_alien.tres
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="DialogueSpeaker" format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://game/scripts/dialogue_speaker.gd" id="1_speaker"]
|
||||
[ext_resource type="AudioStream" path="res://assets/audio/kenney/interface/pluck_001.ogg" id="2_voice"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_speaker")
|
||||
display_name = "Little Green Alien"
|
||||
icon = "thief"
|
||||
portrait_height = 300.0
|
||||
voice = ExtResource("2_voice")
|
||||
voice_pitch = 1.6
|
||||
voice_every = 3
|
||||
14
game/resources/dialogue/speakers/scarecrow.tres
Normal file
14
game/resources/dialogue/speakers/scarecrow.tres
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_resource type="Resource" script_class="DialogueSpeaker" format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://game/scripts/dialogue_speaker.gd" id="1_speaker"]
|
||||
[ext_resource type="AudioStream" path="res://assets/audio/kenney/interface/pluck_002.ogg" id="2_voice"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_speaker")
|
||||
display_name = "Scarecrow"
|
||||
icon = "portrait"
|
||||
side = 1
|
||||
portrait_height = 300.0
|
||||
voice = ExtResource("2_voice")
|
||||
voice_pitch = 0.8
|
||||
voice_every = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue