Damage Over Time – Burn

Type: Hazards
Level: 2 star
Pages: 1
Description: Used when a player or object is on fire. Damages the player for a maximum of 30 health points before stopping. Activate the brain using add brain when you want the effect to start, for example when hit by a fireball.

WHEN [hit by attack][ranged] DO [call page][2]

on page 2
[once] DO[add brain][Damage over time – Burn]

Designed to be used in the weapon brain, Melee Weapon – Burn

Kode

  1. WHEN [page entered] DO [colorvar: original primary color][equals][primary color]
  2. …WHEN DO [colorvar:original tertiary color][equals][tertiary color]
  3. WHEN DO [play fx][fx:Flame aura][at position][position][volume][0]
  4. WHEN DO [primary color][equals][custom color]
  5. WHEN DO [tertiary color][equals][custom color]
  6. WHEN [countdown timer][3.3][loop]
  7. …WHEN DO [damage][10][without hit reaction]
  8. …WHEN DO [play fx][fx:fireball impact]
  9. WHEN [countdown timer][10]
  10. …WHEN DO [play sound][sound: Fire Metal sizzle]
  11. …WHEN DO [primary color][equals[colorvar:original primary color]
  12. …WHEN DO [tertiary color][equals][colorvar:original tertiary color]
  13. …WHEN DO [remove brain][this brain]

 

Alterations

Better coloring effect for characters rather than objects
This effect is not very convincing as someone on fire. It turns their hair and clothes a ginger color, and only put the fire effect at their feet, which looks a bit stupid. This is a little better, and works well on characters and objects.

  1. WHEN [page entered] DO [colorvar: original primary color][equals][primary color]
  2. …WHEN DO [colorvar:original tertiary color][equals][tertiary color]
  3. …WHEN DO [colorvar:original secondary color][equals][secondarycolor]
  4. …WHEN DO [colorvar:original solid color][equals][solid color]
  5. WHEN DO [play fx][fx:Flame aura] // this puts it all over the character not just his feet]
  6. WHEN [duration timer][10]
  7. …WHEN [countdown timer][2][in frames][loop][trigger on start]DO [toggle][boolvar:color]
  8. …WHEN [boolvar:col] DO[solid color][equals][red]
  9. …/…WHEN [else] DO [solid color][equals][orange]
  10. WHEN [countdown timer][3.3][loop]
  11. …WHEN DO [damage][10][without hit reaction]
  12. …WHEN DO [play fx][fx:fireball impact]
  13. WHEN [countdown timer][11]
  14. …WHEN DO [play sound][sound: Fire Metal sizzle]
  15. …WHEN DO [primary color][equals[colorvar:original primary color]
  16. …WHEN DO [tertiary color][equals][colorvar:original tertiary color]
  17. …WHEN DO [secondary color][equals][colorvar:original secondary color]
  18. …WHEN DO [solid color][equals][colorvar:original solid color]
  19. …WHEN DO [boolvar:flammable][equals][true] // if you have selected flammable objects (see below)
  20. …WHEN DO [remove brain][this brain]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: