• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

Aircraft question

Started by bigbadbogie, June 24, 2008, 09:36:02 PM

Previous topic - Next topic

bigbadbogie

Is there any way to stop an aircraft class unit from redeploying after its target has been destroyed (without dll)??

I want a unit that stays in the air - but using AirCraftFriend/Enemy AI process.

I already have a way to get it to deploy by itself.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

Axeminister

The furies in G66, when they lose their target stay floating until the next time something gets close to it.
There is no knowledge that is not power.

bigbadbogie

but they are SAV class - not aircraft
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

Nielk1

Doesn't seem to help, but here is what I know:

[GameObjectClass]
aiName = "AirCraftFriend"
aiName2 = "AirCraftEnemy"

[AirCraftClass]
OverWaterFlying = true
OverWaterLanded = true
aiAltitude = x
AILiftSpring = 2.0
LiftSpring = 12.5
MaxTakeoffSpeed = 5.0

Those don't seem very helpful.

Click on the image...

bigbadbogie

No - its got all of that already.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

Red Devil

What are you using for its engageRange?  A large one would allow it to target things farther away and increase its likelihood of staying aloft.

There's also this one:

AltitudeLookahead = 2.0 // Parallels BomberClass::AltitudeLookahead.
What box???

GreenHeart

The Mega Tower releases a unit called the Sentinal that flys around until it finds it a target that is in range.  The DefendArea task name tells the ai to fly around that area it is currently in until it finds a target to attack.  ivdrone_c.odf

I orginally put the information under '[AirCraftClass]' but it should of went under CraftClass.  Anyhow it works either way far as i can tell.  I recommend having the DefendArea so the unit don't attempt to leave the maps edge when flying around without a target.  Also to prevent the aircraft from stopping above the target i'd suggest removing any breaks the aircraft has so it passes the target & turns around to attack again.

[CraftClass]
attackTask = "DefendArea"
defendTask = "DefendArea"
waitTask = "DefendArea"
Signature:
Many failures will take place in the process of attempting to achive your goal. It don't matter how many times you fail, Its how much you've learned each time since its apart of the learning process.

bigbadbogie

Thanks, ill give it a shot.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

bigbadbogie

Nope that didnt work - I think the reason that your one didnt deploy was this:

QuotetimeUndeploy = 8888888888888888.1 // time to undeploy

It was deploying, just taking about 100 years.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

bigbadbogie

I really need a way to stop aircraft from trying to land after their target has been destroyed.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

Red Devil

Try the large engageRange?  rangeScan too.
What box???

bigbadbogie

#11
Already at 1000.

I think its programmed in the AirCraftProcess AI to automatically deploy after their target is killed, even if there are tonnes of other enemies around.

Wouldnt be much of a problem if the units were close to the ground, but they are about 1km up and it is extremely frustrating as they come crashing down into the ground.

Sometimes they even bounce up to like 100000m high after hitting the ground.

I will have to consider this a bug and ask for it to be repaired in either pb4a, or if it is going to happen, pb5.

EDIT: Perhaps a new command = canAIDeploy/canAIundeploy

That would save the day.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

Zero Angel

BBB, have you tried "force morph"/"force unmorph"?
QuoteAwareness, Teamwork, Discipline
Constantly apply these principles, and you will succeed in a lot of things, especially BZ2 team strat.
{bac}Zero Angel
Victory through superior aggression

Red Devil

Try removing the [Deployableclass] section.
What box???

bigbadbogie

Quote from: Red Devil on June 27, 2008, 03:15:14 PM
Try removing the [Deployableclass] section.

Its never had one.

Quote from: Zero Angel on June 27, 2008, 03:13:40 PM
BBB, have you tried "force morph"/"force unmorph"?

The units are dll controlled - that does work - but only for things under my control.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com