Game Development Community

Script Only Flying AI

by Ryan T · in Torque 3D Professional · 06/15/2010 (10:21 am) · 6 replies

Hey everyone,

Is it possible in T3D to create a flying AI vehicle that adjusts it's Z axis and rotation values using TorqueScript only? I've found many resources for TGA that appear to work however I want to avoid C++/building T3D if possible and all of those examples require this. Has T3D added anything to help us developers out with this?

Thank you,
Ryan

#1
06/15/2010 (11:25 am)
Quote:however I want to avoid C++/building T3D
I believe thats impossible, unfortunately =/. AIFlyingVehicle and AIWheeledVehicle is not a part of T3D, even tho it should be.

Quote:Is it possible in T3D to create a flying AI vehicle that adjusts it's Z axis and rotation values using TorqueScript only?
Once you have your AIFlyingVehicle interegated, u can use setAim or somethin' like that to adjust Z axis, or you can use a path.

If you need help porting an TGE(A) resource i can easily help you with that.
#2
06/19/2010 (11:39 am)
Alright thank you for the reply, maybe someday in the future I'll attempt this. However for the time being I think I'll go with WheeledVehicles.

Thanks again.
#3
11/09/2012 (4:16 pm)
please give me aiflyinvehicle classes for integrate in my code.
i dont find this class.
#4
11/09/2012 (4:19 pm)
please give me aiflyinvehicle classes for integrate in my code.
i dont find this class.
#5
11/09/2012 (7:43 pm)
You could probably use a hover vehicle, but you'd probably need to change some datablock values on the fly (which would still mean C++ changes)
#6
11/12/2012 (8:59 am)
@Mojtaba - the AIFlyingVehicle class is in TGE/TGEA, not T3D, so no one can "give" it to you - against the license agreement. This does not mean that someone could not create a version for T3D....