Page 1 of 1

can i program the ai to ride on top of the tanks?

Posted: Wed Mar 01, 2006 8:41 pm
by Unknown
is it possible to program the ai to jump on top of tanks and then stand on the tanks as they move?

RE: can i program the ai to ride on top of the tanks?

Posted: Wed Mar 01, 2006 8:52 pm
by swbf_lase
I was flipin thourgh the BF2 Scripting system doc and It looks like it is indeed possiable

RE: can i program the ai to ride on top of the tanks?

Posted: Wed Mar 01, 2006 8:57 pm
by Unknown
so could i program them to get on then get off in a certain area? (i want my troops to ride on the tanks like how the droids rode the snail tanks through the water and on to the beaches)

RE: can i program the ai to ride on top of the tanks?

Posted: Thu Mar 02, 2006 12:25 am
by [RDH]Zerted
You could tell the AI to move to a tank, but you would have to get really creative to tell them to jump on it and stay there. Units can fall off a tank while it is moving if the units don't move with it. There is no easy way to do it, but that doesn't mean it can't be done.

RE: can i program the ai to ride on top of the tanks?

Posted: Thu Mar 02, 2006 6:06 pm
by Gunjak
Nah they dont need to move on the tank as it moves, player gos with the tank :)

RE: can i program the ai to ride on top of the tanks?

Posted: Thu Mar 02, 2006 6:09 pm
by Rends
I donĀ“t think you can script this but you could create a tank with gunner postions (hardpoints).
Think about the skiff on the Mos eysley map or better the small skiff from SWBf1 dune sea.

RE: can i program the ai to ride on top of the tanks?

Posted: Thu Mar 02, 2006 6:18 pm
by swbf_lase
Ya but he may need it so the enemy can get on too.

RE: can i program the ai to ride on top of the tanks?

Posted: Thu Mar 02, 2006 6:47 pm
by [RDH]Zerted
You can script certain enemies to be friends with another team for awhile.

RE: can i program the ai to ride on top of the tanks?

Posted: Thu Mar 02, 2006 7:39 pm
by Unknown
the reason i need this is i need some way for most of my troops to get across the water on my map instead of most of them just standing around on the island.

RE: can i program the ai to ride on top of the tanks?

Posted: Sun Mar 05, 2006 3:56 pm
by [RDH]Zerted
You can get it done, check out the elevator topic.

Create a boat object (a msh, not a vehicle object) with large sides (so AI can't jump out). When a unit entures the boat, use an animation to close the boat door. Now using animation, move the boat object to the other side of the water. Use another animation to lower the boat's door. The unit can now leave the boat. You can setup regions, to control when the boat is moved back and forth to pickup/drop off units.

This is just one of many ways to get troops across.

You could use flying transports...