NPCS AND DIALOGUE SYSTEM PAGE

WARNING! The dialogue system is kind of finished, and I might add more NPCs soon! But since this game is in a state of Pre-Alpha, things might change!

Links
Home
Gimmicks
Score System
Gimmanese
Story
NPCs and Dialogue System
Game map and features
Sections
Introduction
Dialogue System Basics
NPCs

Introduction

Welcome to the NPCs and Dialogue System main page.
This is where we discuss the dialogue and the npcs
In this page, we will learn about the Dialogue System and show the NPC list

Dialogue System Basics

In Some Gimmick Will Happen, there is tons of dialogue. Of course, if there's tons of dialogue, there better be a good dialogue system. So, in this page, we will show images of what the dialogue system looks like along with normal text.
In SGWH, you cannot enter into a dialogue while being too far. You can enter into a dialogue by being close enough to the NPC you're going to talk to, the max distance is usually 12.5 studs.
When you are close enough to a NPC, a "DialogBox" appears. It looks like this:
[! variant]
A NPC named Thomas with a Message-Bubble box with a ! in it
[? variant]
A NPC named TK with a Message-Bubble box with a ? in it
When you press/click on a DialogBox, The dialogue initiates. A Dialogue Interface appears which will be the main interface for most of your dialogues here in SGWH. A dialogue interface looks like this:
2 frames that are both translucent, with bracket-like borders at the top left and bottom right. The larger one containing the text, The smaller one containing the NPC's name
For every NPC, there is at least 1 path to follow until the end. The NPC dialogue track will be like a train track where you are the train looking at the texts. The dialogue interface will scroll the current part of the dialogue and keep the older ones, deleting every text displayed if the npc (name) speaking changes.
Dialogues can have many paths which can be determined by 2 factors:
a) Question answers
b) Your state / code
Where when a dialogue reaches a state of split paths determined by a question, the interface will have 1-3 options appear at the bottom in the color order: red, green, then blue. When the options appear, it will look like this:
Dialogue Interface with 3 buttons at the button that is in the order color of red, green, and blue
And when a dialogue reaches a state where it executes a piece of code, the code will execute on the server and can do literally anything. Which if it returns with a specific argument, it will move the path to another path, or in terms of trains, the train flies to another path.
The Dialogue Interface's 2 frames for putting the speaker's name and the main dialogues both support Rich Text. The buttons/options also support Rich Text. Though, the main dialogue frame is the only one that supports the game's own Custom Tags. If the path doesn't have anything the train is going, the dialogue will stop, and if the code breaks or bugs, the train automatically flies onto the Possible Bug path (which if this appears, report in Youtube or google form site that is for bug reporting!)
If I go more in the Dialogue System, it will stop being the basics, so here's a sub-page for the Dialogue System (more in depth) Here
For some NPCs, they don't have a DialogBox. But they are still involved in the Dialogue System! How? When you go close to them (also usually 12.5 studs), they will say something in the bubble chat! What they say is determined by code (again), and they can say many things.

NPCs

Did you know that there are NPCs in this game?
If you don't know about that, then that's fine! (but i'm surprised though lol)
NPCs are short for Non Player Characters which are common in games and story games. Most NPCs and signs can initiate a dialogue with their DialogBox. Though, some of them can only speak in bubble chat. As said here.
There are 2 types of NPCs:

  1. Story: They are related to the story, since they are in the game map.
  2. Non-Story: They are not related to the story, since they are in the specific non-story area.

For Story NPCs, there are 2 subtypes:

  1. Related: They are related to the story.
  2. Not related/Background: They are not really related to the story, but actually could be filling in the background instead and can be jokes

Even if Not Story Related / Background NPCs are meant for the funny, in the Funny English language of the game, every dialogue will be more focussed on the funny. (GRAMMAR BREAK!!!!)
Some of the NPCs in the game are signs, where when it initiates, it will mostly be you reading it.
Most story-based signs has 2 parts in the contents: The English part, and the Gimmanese part. You will first read the English part at first, and depending on the path, you might think of reading the Gimmmanese part, well then realizing that you cannot read (since it's not a language in our mother Earth) if you actually tried to read it. (kinda funny?)
Most NPCs have a humanoid avatar, but for rare cases, they can be an animal or a dragon or something idk (yeah this is not a really professional wiki)
Here is the list of the NPCs in the game, some are grouped in a group of NPCs.