Zombie Brain

Type: Enemy brain
Level: not in gallery
Pages: 1
Description: Found in the Zombie Male character model. A variation on the Zombie Melee found in the female zombies. The Zombie vomits up sludge as well as create zombies out of the enemies it has killed.

Kode

  1. WHEN [once] DO [team][equals][team 3]

    Attacking kode
  2. WHEN [enemies][nearest object][or][player][neutrals] DO [objvar:target][equals][it]
  3. WHEN [distance to][objvar:target][less than or equal to][2]
  4. …WHEN DO [attack][objvar:target][with windup][light][end combo]
  5. WHEN [distance to][objvar:target][less than][5][and] [distance to][objvar:target][greater than][2]
  6. …WHEN [duration timer][3]
  7. …/…WHEN [started to] DO [emote][mad]
  8. …/…WHEN DO [play sound][sound:Voice Zombie Hiss]
  9. …/….WHEN DO [emote][Taunt]
  10. …/…WHEN DO [turn][toward][objvar:target]
    Zombie creation
  11. …/…WHEN [countdown timer][2]
  12. …/…/….WHEN DO [play fx][fx:Sludge Stream][at socket][head][scale][2]
  13. …/…/… WHEN [for each of][objects closer than][6][enemies][objects in front] DO [damage][it][5][cooldown][1]
  14. …/…/…/…WHEN [started to][it][is dead]
  15. …/…/…/…/…WHEN DO [create][char:Zombie male][at position][objvar:target][position]
  16. …/…/…/…/…WHEN DO [play fx][fx:Sludge Impact][at position][position]
  17. …/…/…/…/…WHEN DO [destroy][objvar:target]
  18. WHEN [distance to][objvar:target][less than][17]
  19. ….WHEN DO [move][at speed][0.25][toward][objvar:target]
  20. WHEN [attack hit]
  21. …WHEN [started to][it][is dead]
  22. …/…WHEN DO [create][char:Zombie male][at position][objvar:target][position]
  23. …/…WHEN DO [play fx][fx:Sludge Impact][at position][position]
  24. …/…WHEN DO [destroy][objvar:target]

Alterations

The created zombie always looks the same. You could create a zombie model for each of your characters with similar clothing and place them in the world as a template. In your character models put this kode

WHEN [once] DO [objvar:my zombie model][equals][IWP:zombie model]

In the zombie brains lines 15 and 22 to

[create][objvar:target][objvar:my zombie model][at position][objvar:target][position]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: