Difference between revisions of "Modding:Monster Making Guide Part 2"

From Cassette Beasts
 
(12 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
*[[Modding:Monster Making Guide Part 2|Monster Making Guide Part 2: Fusion Forms]]
 
*[[Modding:Monster Making Guide Part 2|Monster Making Guide Part 2: Fusion Forms]]
 
*[[Modding:Monster Making Guide Part 3|Monster Making Guide Part 3: Integration & Implementation]]
 
*[[Modding:Monster Making Guide Part 3|Monster Making Guide Part 3: Integration & Implementation]]
 +
Downloadable project files for this section:
 +
 +
* [[:File:fusion_head_helmet.ase|Example .ase file for Fusion form head/helmet parts]] - Requires Aseprite/LibreSprite
 +
* [[:File:fusion_body.ase|Example .ase file for Fusion form body parts]] - Requires Aseprite/LibreSprite
 +
* [[:File:fusion_arms.ase|Example .ase file for Fusion form arm parts]] - Requires Aseprite/LibreSprite
 +
* [[:File:fusion_legs.ase|Example .ase file for Fusion form leg parts]] - Requires Aseprite/LibreSprite
 +
* [[:File:fusion_tail.ase|Example .ase file for Fusion form tail parts]] - Requires Aseprite/LibreSprite
  
 
== Step 1: Understanding Fusion Forms ==
 
== Step 1: Understanding Fusion Forms ==
Line 18: Line 25:
 
* '''HelmetFront & HelmetBack''': This is for external details that go over the head - ears, hats, horns, hair, etc. When two different monster species' are fused, the engine will always use the "head" from one and the "helmet" from the other. The "HelmetFront" sprite is for parts that go in front of the head (such as the foreground ear + hair in the above Bansheep example) and the "HelmetBack" sprite goes behind (the background ear for the above example). Should never be hidden.
 
* '''HelmetFront & HelmetBack''': This is for external details that go over the head - ears, hats, horns, hair, etc. When two different monster species' are fused, the engine will always use the "head" from one and the "helmet" from the other. The "HelmetFront" sprite is for parts that go in front of the head (such as the foreground ear + hair in the above Bansheep example) and the "HelmetBack" sprite goes behind (the background ear for the above example). Should never be hidden.
 
* '''Arm_Back''' & '''Arm_Front''': The fusion form's "arms". Can be hidden for fusion forms that don't have visible arms (such as Traffikrab)
 
* '''Arm_Back''' & '''Arm_Front''': The fusion form's "arms". Can be hidden for fusion forms that don't have visible arms (such as Traffikrab)
* Tail: The fusion form's tail. Can be hidden.
+
* '''Tail''': The fusion form's tail. Can be hidden.
 
* '''BackLeg_Front''' & '''BackLeg_Back''': The hind legs of a fusion form. If a monster is bipedal (only has two legs) then these should be the legs used. Can be hidden.
 
* '''BackLeg_Front''' & '''BackLeg_Back''': The hind legs of a fusion form. If a monster is bipedal (only has two legs) then these should be the legs used. Can be hidden.
 
* '''FrontLeg_Front''' & '''FrontLeg_Back''': The front legs of a fusion form. Can be hidden.
 
* '''FrontLeg_Front''' & '''FrontLeg_Back''': The front legs of a fusion form. Can be hidden.
Line 27: Line 34:
 
* '''hit''': Where the "impact" sprite animation will appear when attacked. Generally placed in the front-center mass of the body.
 
* '''hit''': Where the "impact" sprite animation will appear when attacked. Generally placed in the front-center mass of the body.
 
* '''eye''': Some attacks play an animation on a monster's eye (such as [[Revenge Strike]]) - this defines where that happens on a fusion form. The eye of the fusion can differ from this placement if the secondary monster's head is used, but don't worry too much about it.
 
* '''eye''': Some attacks play an animation on a monster's eye (such as [[Revenge Strike]]) - this defines where that happens on a fusion form. The eye of the fusion can differ from this placement if the secondary monster's head is used, but don't worry too much about it.
 +
You'll notice that the fusion parts are all in the same three colours! As stated earlier, the palette for the fusion form in-game is pulled from the two monsters that formed it, so all fusion parts are drawn with three colours that are used as follows:
 +
<gallery widths="400" heights="130">
 +
File:Wraithand fusion 05.png|The three colours used for fusion parts (click to expand)
 +
</gallery>
 +
Whilst you don't have to stick to these three colours, other palettes used on the fusion parts will not change colour.
  
 
== Step 2: Custom Fusion Parts ==
 
== Step 2: Custom Fusion Parts ==
 +
We can make custom fusion parts using the templates available at the top of this page. Opening one of the template files in Aseprite/Libresprite, you'll see something like this.
 +
<gallery widths="584" heights="380">
 +
File:Wraithand fusion 01.png|The head/helmet template open in Aseprite (click to expand)
 +
</gallery>
 +
 +
You can see in the above image that '''Fusion parts have the same animation tags as regular monsters''' - after all, fusion forms can do anything a regular monster can do!
 +
You'll also notice that '''all the animations are 6 frames long''' (except for "hurt", which is 3) which keeps all the parts animating in sync with each other.
 +
 +
So let's get designing!
 +
=== Heads & Helmets ===
 +
As explained earlier, the "head" is a round sprite that is always broadly the same shape - the round blob that is given as a template in the Template files. You can change the shape of the head slightly, but you'll want to limit how drastically you change it so that it doesn't clip with the "helmet" layers.<gallery widths="300" heights="250">
 +
File:Wraithand fusion 02.png|This shows, roughly, where you are safe to adjust the size of the template head for custom fusion parts
 +
</gallery>Let's sketch a head for Wraithand using this template head. The only feature on its head is its face, which makes this quite straightforward.
 +
 +
<gallery widths=250px heights=250px>
 +
File:wraithand fusion 03.png|A quick sketch to plan the "head" part
 +
File:wraithand fusion 06.png|The finished sprite
 +
</gallery>
 +
 +
Now let's do the same thing for the "helmet" part. This always has a "helmet_front" layer, but can also have a "helmet_back" layer for any elements that you might want to display "behind" the head (for example, an ear). For now, we'll adapt Wraithand's quiff into a helmet sprite that just uses the "helmet_front" layer.
 +
 +
<gallery widths=250px heights=250px>
 +
File:wraithand fusion 04.png|A quick sketch to plan the "helmet" part
 +
File:wraithand fusion 07.png|The finished sprite
 +
</gallery>
 +
 +
Together, both layers will look something like this!
 +
 +
<gallery widths=250px heights=250px>
 +
File:wraithand head.gif|Both the "head" and "helmet" sprites animated together
 +
</gallery>

Latest revision as of 00:07, 6 September 2024

This article is part of a series of tutorials intended on teaching the reader how to create their own monster mods for the PC versions of Cassette Beasts. We advise the reader familiarise themselves with the Mod Developer Guide first.

This part will explain how to set up a monster's fusion form.

Downloadable project files for this section:

Step 1: Understanding Fusion Forms

First it is important to understand how "fusion" works in the game engine for Cassette Beasts. Every monster has a fusion config file - a 2D Godot scene file (.tscn) that defines several "parts" and also co-ordinates associated with those parts. When two monster forms fuse in-game, the config for the primary monster is used as a base, but swaps "parts" with the secondary monster's fusion config scene to create a mashup of the two scenes. Finally, the colour palette of this form is created by pulling palette information from both monsters (which will be explained in Part 3).

These parts are defined by nodes, that then have sprites nested within them. If a fusion form doesn't need to display a part (for example, Bansheep's fusion form does not feature legs) then those layers can be hidden in the editor and will not appear on this fusion form. The sprites defined for it, however, can still be used if this monster is the secondary monster in a fusion.

The list of "parts" that must be defined are:

  • Body: The fusion form's body. This never swaps, and is always defined by the primary form in a fusion. Should never be hidden.
  • Head: The fusion form's head. This is always drawn in roughly the same size so that the "helmet" fits on it without clipping - and mostly round. Should never be hidden.
  • HelmetFront & HelmetBack: This is for external details that go over the head - ears, hats, horns, hair, etc. When two different monster species' are fused, the engine will always use the "head" from one and the "helmet" from the other. The "HelmetFront" sprite is for parts that go in front of the head (such as the foreground ear + hair in the above Bansheep example) and the "HelmetBack" sprite goes behind (the background ear for the above example). Should never be hidden.
  • Arm_Back & Arm_Front: The fusion form's "arms". Can be hidden for fusion forms that don't have visible arms (such as Traffikrab)
  • Tail: The fusion form's tail. Can be hidden.
  • BackLeg_Front & BackLeg_Back: The hind legs of a fusion form. If a monster is bipedal (only has two legs) then these should be the legs used. Can be hidden.
  • FrontLeg_Front & FrontLeg_Back: The front legs of a fusion form. Can be hidden.

And the list of the co-ordinate nodes that must be placed are:

  • attack: This marks the point where attacks "emit" from - and is usually lined up in front of the arms (if the monster has arms) or the "mouth". These don't have to be exactly accurate but it helps.
  • hit: Where the "impact" sprite animation will appear when attacked. Generally placed in the front-center mass of the body.
  • eye: Some attacks play an animation on a monster's eye (such as Revenge Strike) - this defines where that happens on a fusion form. The eye of the fusion can differ from this placement if the secondary monster's head is used, but don't worry too much about it.

You'll notice that the fusion parts are all in the same three colours! As stated earlier, the palette for the fusion form in-game is pulled from the two monsters that formed it, so all fusion parts are drawn with three colours that are used as follows:

Whilst you don't have to stick to these three colours, other palettes used on the fusion parts will not change colour.

Step 2: Custom Fusion Parts

We can make custom fusion parts using the templates available at the top of this page. Opening one of the template files in Aseprite/Libresprite, you'll see something like this.

You can see in the above image that Fusion parts have the same animation tags as regular monsters - after all, fusion forms can do anything a regular monster can do! You'll also notice that all the animations are 6 frames long (except for "hurt", which is 3) which keeps all the parts animating in sync with each other.

So let's get designing!

Heads & Helmets

As explained earlier, the "head" is a round sprite that is always broadly the same shape - the round blob that is given as a template in the Template files. You can change the shape of the head slightly, but you'll want to limit how drastically you change it so that it doesn't clip with the "helmet" layers.

Let's sketch a head for Wraithand using this template head. The only feature on its head is its face, which makes this quite straightforward.

Now let's do the same thing for the "helmet" part. This always has a "helmet_front" layer, but can also have a "helmet_back" layer for any elements that you might want to display "behind" the head (for example, an ear). For now, we'll adapt Wraithand's quiff into a helmet sprite that just uses the "helmet_front" layer.

Together, both layers will look something like this!