Game Development Community

Animated bird?

by Scottie Sirius · in Torque 3D Professional · 03/21/2010 (7:25 pm) · 4 replies

If I had an animated bird model (which I don't, if you know of one please let me know, I'm in the market!)

1. Could I make it fly around and act like an AI?
2. If I could do that, how might I make it attack? It won't have a swarmgun obviously. I'd like to just make it fly down and hit the player maybe. Is that possible?

Thanks!

#1
03/22/2010 (9:37 am)
to answer your question yes you can have a bird act as an AI player, take a look at the AI player scripts to do what you want
#2
03/23/2010 (1:08 am)
Nice idea, I am looking for something like that. I am thinking about dragon which try to burn the player with a blast of fire, but also vampire bats and things like that.

For an attack you may be able to set the bird up as a projectile, aiming at the player. Just thinking, when you initiate the attack, create a bird-like projectile and destroy the bird-bot. Don't know if it is possible to do it this way, but it might give someone an idea.
#3
03/23/2010 (6:11 am)
Over in this thread there's some code for a simple bird AI. Though lacking the attacking part, obviously. :)

EDIT: And to not confuse ya, the correct code is in the last post in that thread.
#4
03/23/2010 (11:55 am)
In Afx theres a spell "Fire in the Sky", which have targeting fireballs (I'm not with the code atm).

You could peek at that, and see if that mix in with having your birds state set to attacking when triggeing them, and set to normal when done whith their poking or whatever.