Jump to content

Recommended Posts

=MERCS=Warrior*
Posted

Hey guys I am new to mission building. I run my own dedicated server called Air Attack Tactical Combat. I am about 4 months into the mission making editor so far I am pretty advanced for only working with it only a few months. My goal I am trying to do right now I have the Airfields being able to be taken over with a Float Param between Germany and United States what I am having a issue with is the AAA on the default base is still staying on the Air Base that is taken over. Does anyone have a group of AAA gun that can help me with this? I need to put 2 sets of AAA United States and Germany when the airbase is taken over I need it to despawn between the two but I am not sure how to do this? Can anyone help? 

Thank You 
AIR ATTACK TACTICAL COMBAT 
IL-2 AIR ATTACK TEAM 

LLv34_Temuri
Posted

You need a logic where you can disable and enable the spawn calls to the AAA guns based on which side owns the field. You could place a timer before each spawner MCU, then at mission begin disable the spawner from the side that doesn't own the field. When the airfield changes side, disable the whole spawner logic for the time that it takes to delete all the AAA guns, disable the spawner timers of the "previous owner" AAA guns and enable the spawner timers of the "new owners" AAA guns. After doing this switch for the spawner timers, enable the whole spawner logic again. So in order:
1. Deactivate the whole spawner logic.

2. Delete all AAA guns.

3. Deactivate the timer that triggers the previous owner AAA gun spawns and activate the timer that triggers the new owner AAA gun spawns.

4. Activate the whole spawner logic.

  • 3 weeks later...
=RS=Stix_09
Posted (edited)
On 6/25/2020 at 4:41 PM, =MERCS=Warrior* said:

Hey guys I am new to mission building. I run my own dedicated server called Air Attack Tactical Combat. I am about 4 months into the mission making editor so far I am pretty advanced for only working with it only a few months. My goal I am trying to do right now I have the Airfields being able to be taken over with a Float Param between Germany and United States what I am having a issue with is the AAA on the default base is still staying on the Air Base that is taken over. Does anyone have a group of AAA gun that can help me with this? I need to put 2 sets of AAA United States and Germany when the airbase is taken over I need it to despawn between the two but I am not sure how to do this? Can anyone help? 

Thank You 
AIR ATTACK TACTICAL COMBAT 
IL-2 AIR ATTACK TEAM 

 


If you have not read Jim's excellent guide you should , this is covered in detail.
 look at this post, includes sample missions examples, covers dynamically spawned aaa too and how to do it

 

Basically as LLv34_Temuri said you have both axis and allied units there (but only 1 active)  ,you de-spawn one AA group and spawn in the other.

The "target defense switch"  would work well for this for you , its in the sample d/l on that post , and explained in the guide

You can use this to turn on and off each AAA faction there.

 

 

 

 

Edited by =RS=Stix_09
Posted
7 hours ago, =RS=Stix_09 said:


If you have not read Jim's excellent guide you should , this is covered in detail.
 look at this post, includes sample missions examples, covers dynamically spawned aaa too and how to do it

...

 

FYI, I posted a test group in a similar thread and I have communicated to =MERCS=Warrior by PM. The group works for me but for some reason it does not work for him.

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...