Jump to content

Help to realise a consept needed!


Recommended Posts

Posted

I need some help to make a training mission for my Sqd for our dedicated server.

The purpose will be to training fighter escorte and bomber attack.

 

Consept:

A  trigger that detects (air) spawning human players from a fakefield AND execute a spawn of AI aircrafts.

AND

A trigger that despawn all AI’s when all humans have despawned. Not left the server!

 

This way it will be possible training the same senario again and again.

 

 

Any idears?

Posted (edited)

Ok Seafire, i'm going to give you some help.

 

First

- Create your Ai flight with a spawn trigger. no choice of using the spawn trigger

 

Note : The use of spawn trigger do that you must have  a waypoint for each plane because there will be no leader (as you can have with activate units).

 

The trick :

- Do the path for only one plane. Then do a group for that plane.

- Duplicate the group you done, and move it to simulate a group of plane.

- Use advanced properties of planes and use the On kill filter. That On kill filter must be link to a counter. The counter is set with the number of plane you want in your AI flight. Then, link the counter to a trigger activate which must be link to the complex trigger.

 

 

Second :

- Put your aifield.

- Set the planes you want.

 

Third :

- Put a Complex trigger a few metters in front of the aifield. The goal is that you be sure, that planes which spawn will enter in the complex trigger.

- Set the complex triger activated. Set the  filter on the kind of airplane you set in the airfield. Select the filter Enter alive, set the same filter link to the spawn command.

- You have to deactivted the complex trigger once one plane do the job to spawn the AI.

 

 

So, when you spawn, you enter in the complex trigger which spawn the AI, the complex trigger is deactivated to avoid a new spawn and avoid the loss of ressource. Each time a plane is destroyed, it will add 1 point to the counter. When the counter is fuul, it will activate the complex trigger for allow the spawn of a new flight.

 

The despawn is a problem wich can be solve in using an airfield on the ground. You can use the complex trigger with on spawn filter which is link to a delet command which is link to all the AI plane.

Edited by Habu
  • Upvote 2
Posted

Thanks Habu.

That was a very big help.

 

:biggrin:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...