3rd person – Bird Flight

Type: Player Brain
Level: 3 star
Pages: 1
Description: A player brain with flying capabilities. Primarily designed for a bird character instead of a human character controlled by the player. The player glides after jumping and flies for short distances until hitting the ground where he can walk as normal.


  1. WHEN [once] DO [team][equals][team 1]
  2. WHEN DO [follow camera][force controls]
  3. WHEN DO [display meter][health][max][max health][screen top left]

    Flying mechanic

  4. WHEN [jumping][or][flying][and][not][falling] DO [move][with flying][at speed][numvar:speed][in direction][camera forward]
  5. WHEN [not][flying]
  6. …WHEN [left stick] DO [move]
  7. …WHEN [button A][pressed] DO [jump]
  8. …/…WHEN [on ground] DO [play fx][Dust Ring] //plays a special effect when you jump up into flight
  9. WHEN [bump][or][bump terrain]
  10. …WHEN [hit by attack] DO [play fx][feather burst] // plays a special effect of feathers flying when you are hit
  11. …/…WHEN [else]
  12. …/…/…WHEN [started to] DO [fall]

    Speed boost in the air

  13. WHEN [right trigger][and][flying] DO [numvar:speed][equals][10]
  14. …WHEN DO [play sound][Ambient Flight Speed Boost Loop]
  15. …WHEN DO [play fx][projectile trail][at socket][right hand]
  16. …WHEN DO [play fx][projectile trail][at socket][left hand]
  17. …WHEN [else] DO [numvar:speed][equals][1]
  18. WHEN [button:X][pressed] DO [attack][light][heavy]
  19. WHEN [Button:B][pressed] DO [fall]

    Standard Interaction kode

  20. WHEN [detect][interactable][objects in front] DO[highlight it yellow]
  21. …WHEN [is using keyboard] DO [display][middle mouse button][ above ][ it]
  22. …WHEN[using controller][or][is using touch] DO [display][icon:B][above] [it]
  23. …WHEN [button B][pressed] DO [interact]
  24. …WHEN [else]
  25. …/…WHEN [button B][pressed] DO [dodge][with strafing][invulnerable]



Remove feather fx
The feather burst effect is not particularly good if you are putting this brain in anything but a bird.
Take out line 10 and 11 and move line 12 to one indent.

Fly higher
To make the character fly higher in the air try increasing the jump height. Change line 7 to
WHEN [button:A][pressed] DO [jump][jump height][multiplied by][2]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: