State Notetags - theoallen/TSBS GitHub Wiki

This page will tell you about state usage in TSBS. I made some exclusive usage of state in TSBS. Some of these features were inspired from Eremidia: Dungeon!. I adopt some of its game features. Yes, some of these are copycat features. Actually, these informations are already listed in instructions. I just want to make things more clear. Let's skip to the tutorial then.

1. State Tone and Color

Notetags :

  • For tone <tone: R,G,B,Gray>
  • For color <color: R,G,B,Alpha>

It's a feature which allow you to alter the battler tone and color when it's under influence of a certain state. However, when multiple states are stacked, it will be used the highest priority over them all.

To use these notetag, simply replace RGB and alpha with other value around 0 ~ 255 for color. Alpha is a transparency value. If you put it as zero, there is no effect. However, if you put in maximum value, the battler sprite will be totally blended with the color you set. Replace the RGB value to -255 ~ 255 for tone. Tone is sampe as tint screen in RPG Maker eventing. Note that "Gray" value for tone only works if you put value in range 0 ~ 255

Examples :

  • <tone: -20,50,-20,0>
  • <color: 90,0,90,160>

Example screenshots :

Tone Dark tone

Color Green color ...

2. State Animation

Notetag : <animation: id>

State animation is an animation that will be played in loop when a battler is under influence of a certain state. If multiple states are stacked, it will use the highest priority of the states. To use this tag, simply put the tag in state notebox and replace the id to animation ID you want to use.

Example gif :

Anim State

P.S: Sorry for the weird idle animation. I cut the gif animation so it doesn't take much size

3. Animation Guard

Notetag : <anim guard: id>

Animation guard is an animation that will be played when a battler is being attacked. By default, it's triggered by [:show_anim] in action sequence and replace the animation id. But it will also can be trigger by [:target_damage] if you set the skill as parallel animation (See parallel animation for futher information). If multiple states are stacked, it will use the highest priority state to display animation guard. To use this tag, simply put the tag in state notebox and replace the id to animation ID you want to use.

Example gif :

Anim Guard

4. Skill Guard

Notetag : <skill guard: id>

Skill guard is a skill that will be applied to attacker if a battler is being attacked. It's usually used together with Animation Guard at the same time. If multiple states are stacked, all skill guards will be applied to attacker. Skill guard can be ignored by inputting ignore guard notetag in skill notebox. (See special skill tags for futher information). To use this tag, simply put the tag in state notebox and replace the id to skill ID you want to use

Example gif :

Skill guard

5. State Opacity

Notetag : <opacity: value>

You could make a battler is being semi transparent by inputting this tag. Say that you have a lightform and the battler couldn't be touched or damaged. And you want to make the battler semi transparent. Here is the solution. To use this tag, simply change the value to other number around 0 ~ 255.

Example gif :

Transparent

6. State Sequence

Notetag : \sequence : SequenceKey

When a battler is under influence of a certain state, you could change the idle sequence by simply inputing this tag. To use this tag, simply change the SequenceKey to any action key which already registered in action sequences hash list (in config - 2 or your move addons).

Example gif :

State Sequence

7. State Transform

Notetag : <transform: word>

Like its name, you could transform a battler when a battler is under influence of a certain state. However, you need to provide the battler graphics in battler folder as many as battler original graphics. If the avalaible battler graphics are in _1 until _3, you need to provide the transformed graphics as many as it.

To use this tag, simply change the "word" to additional word you want to use. Where the word is an addition of battler name. For example :

  • Battler name is Eric_1
  • You have a state tagged with <transform: -dragon>
  • Then the new graphic filename must be exist is Eric-dragon_1

Example gif of transformation :

Transform

Example graphics filename

Transform

P.S: For flashing effect, I use animation in database. It's not default built-in TSBS function

8. State Basic Skill Modifier

Notetags :

  • <attack: id>
  • <guard: id>

It's a feature to change basic skills (attack and guard) to other skill ID. It's used for actor. If an actor is under influence of a certain state, you could modify its default attack skill ID or default guard skill ID. To use this tag simply change id to any skill ID you want to use

Well, that's all folks. Hope it clear enough

⚠️ **GitHub.com Fallback** ⚠️