Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripting request: AI Drones in range 33 #30

Closed
132ndNeck opened this issue Jul 2, 2024 · 14 comments
Closed

Scripting request: AI Drones in range 33 #30

132ndNeck opened this issue Jul 2, 2024 · 14 comments
Assignees

Comments

@132ndNeck
Copy link
Collaborator

132ndNeck commented Jul 2, 2024

@132nd-Entropy
Request support to scripting to implement drones in range 33 (loosely based on AI drones in MOA 1 on ATRM:
132nd-vWing/ATRM#113
132nd-vWing/ATRM#125).

  • Request possibility to spawn a single threat at a relatively close range (<20 Nm). Ideally, ability to choose threat type, level and weapons (eg: 0/0/0+ or 0/0/2-4+). This in order to train BFM/ACM.
  • Request possibility to spawn spawn a chosen number of threats at a relatively long range (<40 Nm). Ideally, ability to choose threat type, level and weapons (eg: 2/0/2+ or 0/2/2+). This in order to train BVR.
  • All AI drones to stay within the range 33 boundary, and not shoot or operate outside the range 33 airspace.
@132nd-Entropy
Copy link
Contributor

132nd-Entropy commented Jul 4, 2024

I will work on implementing that basically in the same way as it is currently in the ATRM.
However, I think a lot of improvements could be made. Im happy to implement what is being decided, but I'd need some help and input:

Just some ideas to get started

  • the templates could be randomized.
    what I'd need:
    someone could create some template planes with various aircraft types and various A-A loadouts. From those, we can randomly 'draw' one template and spawn X-ships from it. Templates need to be set to late activation

  • the positions where they spawn can be randomized
    what I'd need:
    place any aircraft and draw a polygon with it's waypoints to define a polygon zone. The Spawns will appear in that zone. That zone-aircraft also needs to be set to late activation

before working on it, I'd be good to brainstorm a bit about the design first, then get it Neck-approved, then we implement

@Shadoga
Copy link

Shadoga commented Jul 4, 2024

A.I. Fighter Drones Request:

Listing: Type; Loadout; Country / Skin; Reaction Distance

  • MiG-21; CM ASO-2, 2x R-3R, 4x R-60M, Fuel 490L; Comb. JTF Red / Slovakia - 1998; 30 NM
  • F-4E; ALE-40(30/60), 4x AIM-7M, 4x AIM-9L, 2x Fuel 370gal; Comb. JTF Red / F-4F 38+59 - Norm 90 - JG 71; 40 NM
  • MiG-29A; 2x R-27R, 2x R-73, 2x R-60M, no ext. Fuel tank; Comb. JTF Red / Vasylkiv - 40th Brigade o.T.A. (Ukraine); 50 NM
  • F-16C; ECM ALQ-131, 4x AIM-120C, 2x AIM-9X, no ext. Fuel tanks; Comb .JTF Red / 132nd 388th aggressor blue-92; 50 NM
  • Su-27; 2x ECM L005, 4x R-27ER, 2x R-27ET, 2x R-73, 75% int. fuel; Comb. JTF Red / Mirgorod AFB (Digital camo); 70 NM
  • MiG-29S; 4x R-77, 2x R-73, no ext. Fuel tank; Comb. JTF Red / Air Force (Standard) (Ukranie Digital camo grey); 60 NM
  • F/A-18C; 6x AIM-120B, 2x AIM-9X, no ext. Fuel tanks; Comb. JTF Red / Finland or 132nd 494th Agressor Blue_Splinter; 60 NM
  • F-14B; 4x AIM-54C Mk60, 2x AIM-7P, 2x AIM-9M, no ext. tanks; Comb. JTF Red / 108th Aggressor -Blue Avenger-; 80 NM
  • MiG-31; 4x R-33, 2x R-40RD, 75% int. fuel; Comb. JTF Red / 174 GvIAP Boris Safonov; 90NM

All types should be spawnable in either a single-, a two- or a four-ship group.
All spawned groups should be de-spawnable.
All A.I. fighters should be set to Skill Level "Trained" at max, to avoid unrealistic OP BVR behaviour.

We need those spawnable A.I. drone groups in other Ranges as well, in order to be able to have multiple blue flights from multiple squadrons train BVR DACT against A.I. in different Ranges simultaneously.
For example in Ranges 21 & 24 (A.I. groups spawning in each range's eastern part) in order to have drones flying over land so that we can practice radar work against ground clutter.
Or in ranges 22 & 23 (eastern parts) to have red drones assist as red CAP in scenarios.

I'd furthermore like to request to install minimum one, better more, Ranges where BFM and ACM can be practiced.
Not only against human players, but also against one- and two-ship A.I. drone groups of the abovementioned types (except for MiG-31) - spawnable with either guns-only or SRM loadouts.
We can use the already existing ranges for that as well, but in this case should have the A.I. drone groups spawn closer to the blue range entry directions - in order to have around 20 NM setups instead of 100+ NM setups.
However, the BFM/ACM range(s) need to be close enough to ENBO to be able to go there without external fuel tanks and still practice multiple setups. For example in the yet unused airspace South and East of ENBO, between TMA and Range 23.

That in total would be a significant and long desired improvement over ATRM and a really helpful air combat training infrastructure.

@Shadoga
Copy link

Shadoga commented Jul 4, 2024

Randomized Types and Loadouts are a good idea but should not be the only option.
I think it is more often desirable to be able to chose opponent type and loadout specifically for preplanned tactics and training goals instead of always going against random and having to improvise...

@132nd-Entropy
Copy link
Contributor

Thanks for the detailed feedback, fantastic work!

As I wrote, I'd request the templates to be placed in the ME (not written here by text) and set to late activation, if at all possible.

Once we have the templates, using all (or some) of them in other ranges is super easy, but I suggest to create the design and implementation for Range 33 first of all.

Once we have that, copying that over to other ranges will be super easy with just a few clicks.

So please lets keep this issue #30 reserved for one range and talk about more ranges with this functionality later/at another place.

that said, I agree fully with you on all the other points you made:

  • All types should be spawnable in either a single-, a two- or a four-ship group.
  • All spawned groups should be de-spawnable.
  • All A.I. fighters should be set to Skill Level "Trained" at max, to avoid unrealistic OP BVR behaviour.

we could make the spawing procedure like this:

F10menu / Range Control / Range 33:

------Spawn (insert name of template)
------------1Ship 2 Ship 4 Ship
-------------------WVR BVR

so the user would have to click 3 times to select template, x-ship, close or far away

all we'd have to do is define a close and far away area (see my point above with a late activated unit who's route is a polygon

also AI drones will not leave the range boundary ofc

@132nd-Entropy
Copy link
Contributor

Randomized Types and Loadouts are a good idea but should not be the only option. I think it is more often desirable to be able to chose opponent type and loadout specifically for preplanned tactics and training goals instead of always going against random and having to improvise...

fully agree. randomization is just one of the available options

@132nd-Entropy
Copy link
Contributor

132nd-Entropy commented Jul 4, 2024

ofc, instead of choosing BVR WVR based on the template, the spawn distance can already be decided, as you suggest, one click less for the user.

@132nd-Astero
Copy link

132nd-Astero commented Jul 4, 2024

Here is just my extra opinion for discussion:

If possible, please consider adding one more extra group with ECM constantly enabled for basic A2A training in ECM environment.

@RedDog132nd
Copy link

RedDog132nd commented Jul 5, 2024

if at all possible I'd love to also have the possibility to have unaware AI like transport or drones (MQ-1) rather than opponent.
The resonning behind that is that the 388th does very often dissimilar training with the F-14 or F-18 guys So we don't really lack resource to train AA agains similar or dissimilar blue aircraft.
We do not train much against Migs/Sukhoi so I'd give them a higher priority than western fighters as AI in this scenario.
On the other hand, training baseline intercepts or slow mover escorts is not scripted and could benefit unaware AI.
I think for that AI drones and transport are a great assets

I'd also love to see training against cruise missiles, launched from big soviet bombers but I don't know if the ranges are big enough for that.

@132nd-Entropy
Copy link
Contributor

if at all possible I'd love to also have the possibility to have unaware AI like transport or drones (MQ-1) rather than opponent. The resonning behind that is that the 388th does very often dissimilar training with the F-14 or F-18 guys So we don't really lack resource to train AA agains similar or dissimilar blue aircraft. We do not train much against Migs/Sukhoi so I'd give them a higher priority than western fighters as AI in this scenario. On the other hand, training baseline intercepts or slow mover escorts is not scripted and could benefit unaware AI. I think for that AI drones and transport are a great assets

I'd also love to see training against cruise missiles, launched from big soviet bombers but I don't know if the ranges are big enough for that.

absolutley! Fantastic idea

@132ndNeck
Copy link
Collaborator Author

Happy with all suggestions for AI drones in range 31, and as long as @132nd-Entropy are able to implement them it is great!

(Note that using AI drones should be a secondary option. We aim to train and fly against each other as our primary option in the wing)

@132ndNeck
Copy link
Collaborator Author

I can place the groups in the .miz when I am back from vacation.

@132ndNeck
Copy link
Collaborator Author

Added following templates set as late activation now: (names in .miz as indicated below). All set with CAP as task (not sure if it will matter for scripting their behaviour?). All AC set as veteran (for now)

BVR:
Drone_Aggressor_MIG21 (CM ASO-2, 2x R-3R, 4x R-60M, Fuel 490L)
Drone_Aggressor_MIG29A (2x R-73, 2xR-27R, 2x R60M, Fuel 1400L)
Drone_Aggressor_MIG29S (4x R77, 2x R-73, Fuel 1400L)
Drone_Aggressor_MIG31 (2x R-40R, 4x R-33)
Drone_Aggressor_SU27 (2x ECM L005, 2x R-73, 2x R-27ET, 4xR-27ER)

BFM/ACM:
Drone_Aggressor_MIG21_BFM (CM ASO-2, 4x R-60M, Fuel 490L)
Drone_Aggressor_MIG29A_BFM (4x R60M, Fuel 1400L)
Drone_Aggressor_MIG29S_BFM (4x R-73, Fuel 1400L)
Drone_Aggressor_SU27_BFM (4x R-73, 2x R-27ET)

@132nd-Entropy
Copy link
Contributor

fantastic thank you so much!

@132nd-Entropy
Copy link
Contributor

First Iteration Done, the BVR templates are in. You can (for now) request a 2 ship or 4 ship out of the BVR targets.
for testing:
1- they should only engage you if youre inside Range 33 airspace - targets outside R33 are not engaged.
2- if they engage you (they leave the racetrack and burn on an intercept course towards you) AND you then leave Range 33 they will chase you until they reach the R33 boundary after which they 'should' ((hopefully)) turn around and reset their racetrack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants