Rivals of Aether

Rivals of Aether

(Boss Stage) Daroach & The Squeak Squad
 This topic has been pinned, so it's probably important
Kobazco  [developer] 29 Jul, 2020 @ 7:20pm
Daroach Custom Convo Tutorial
NOTE: I DID NOT MAKE THIS DIALOG SYSTEM, NOR DO I CLAIM TO HAVE. FULL CREDITS TO HARBIGE12'S ORIGINAL DRACULA MOD.

Much like Harbige12's Dracula mod, the start of the battle will present the player with a unique conversation between Daroach and your character.

The base cast, Sandbert, Guadua, and Kirby all have support already added in.

Style Guide

If you're looking to make support for this stage, here are things you'd want or need to know:

-Daroach is from the Kirby series. If you'd like him to reference certain Kirby characters that he had the chance of meeting, feel free to.

-Daroach is very formal, and very careful in his wording despite his background as a thief, but he is VERY persuasive, and very bold and cunning. When agitated, he becomes very passive aggressive.

-Daroach is also sometimes wreckless and very straightforward. He would open a treasure chest that would curse him or gather 'jewels' that possess those who encounter it without any forethought. At some point, Daroach has tricked Kirby into gathering 186 gold medals (each one had to be collected from different places) for him, only for Daroach to leave after getting every single collectible.

-His fighting style is described officially as "more of a thug than a stealthy burglar" and steals things either quick and fast or fights their target for it, though dialogue-wise, he won't mention this side of him.

-Daroach is not inherently evil, and is instead merely mischevous. He's the leader of a gang of bandits called the Squeak Squad, and he calls his subordinates the Squeaks. He can rarely be a flirt as evidenced by some official dialogue, and in the same dialogue, he dislikes people who spoil his plans and talks about them with disdain.

-Scenario-wise, Daroach will be flying in his airship, and while there is a harder mode that appears elsewhere, that mode will not have dialogue, so don't worry about it. His Airship has his whole gang, the Squeak Squad, and the Airship itself is what you'd normally expect out of an airship, being able to fly, carry things, etc. It doesnt seem to do anything other than that.

Code to Copy
If your mod already supports Harbige12's Dracula you can simply copy over the code from there and rename all instances of "dracula" to "daroach". Also its entirely possible to include support for both Daroach and Dracula so don't worry about losing out on one or the other!

Copy and paste this code template in init.gml, then replace the "X"'s as explained below.

//Daroach support daroach_portrait = X; daroach_portrait2 = X; //or asset_get("empty_sprite") daroach_portrait3 = X; //or asset_get("empty_sprite") var page = 0; //Page 0 daroach_speaker[page] = X; daroach_text[page] = "X"; page++; //Page 1 daroach_speaker[page] = X; daroach_text[page] = "X"; page++; //repeat...

Now, go to your config.ini and make sure your URL does not match Sandbert, Guadua, Richter, or Belmont. If it does, replace it with a blank string.

Variables
daroach_portrait and daroach_portrait2 are used for your character's portraits. Unlike Trummel & Alto, they will change color depending on your character's color slot. Even if you don't use the second portrait, it's still a required variable. Use

asset_get("empty_sprite")

if you don't need it.

the page variable is there for organization purposes. Keep page++ at the end of the blocks of code if you use it.

daroach_speaker[page] refers to the speaker of this textbox instance. Refer to these values to use this variable:
0 = Daroach
1 = The portrait in daroach_portrait
2 = The portrait in daroach_portrait2
3 = The portrait in daroach_portrait3 (if set)

daroach_text[page] is the actual dialog shown in the textbox. This has some tags, so refer to those below.

Dialog Tags
Tags add a little flair to the dialog. You can add these in between text to cause an event to happen. There are three to use so far:

[laugh] Make Daroach laugh until the end of the conversation. Sound effect will only play once.
[shake] Shakes the screen.
[taunt] Makes your character taunt. The text will continue once the taunt is finished (there is a timeout of 200 frames just in case).

Custom Dialog Portraits
This is for your character's portrait for the daroach_portrait and daroach_portrait2 variables. Look at the files for the basecast portraits inside of this mod's folder for a style guide.

Portraits need to be 48x48 pixels in size and have a 2 pixel contour on the character. The character should be looking at a 3/4 view to the right.
Last edited by Kobazco; 10 Aug, 2020 @ 1:23am
< >
Showing 1-4 of 4 comments
ViviVinya 10 Aug, 2020 @ 12:41am 
Hi! Neat stuff, but I wanted to make sure you were aware that in your example code, in the page 1 segment, there's a typo that'll make it so it doesn't detect that page! It's a misspelling of "daroach" as "draroach".
Kobazco  [developer] 10 Aug, 2020 @ 1:23am 
Originally posted by SuperSandbag:
Hi! Neat stuff, but I wanted to make sure you were aware that in your example code, in the page 1 segment, there's a typo that'll make it so it doesn't detect that page! It's a misspelling of "daroach" as "draroach".

Ahh that actually explains a lot, thank you!
Tramon81 27 Oct, 2020 @ 1:34pm 
I can't seem to make this work. im trying this out as an edit of madeline but it jus gous back to the default text. here the code:
//Daroach support
daroach_portrait = asset_get("empty_sprite");
daroach_portrait2 = asset_get("empty_sprite"); //or asset_get("empty_sprite")
daroach_portrait3 = asset_get("empty_sprite"); //or asset_get("empty_sprite")
var page = 0;

//Page 0
daroach_speaker[page] = 0;
daroach_text[page] = "big";
page++;

//Page 1
daroach_speaker[page] = 0;
daroach_text[page] = "mac";
page++;
Pallukun 9 Nov, 2022 @ 2:17pm 
How do you finish the conversation after the last page?
< >
Showing 1-4 of 4 comments
Per page: 1530 50