Carrier Ops: Recovery Tanker 24/7 - Page 4 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 08-23-2019, 07:54 AM   #31
Hardcard
Member
 
Hardcard's Avatar
 
Join Date: May 2013
Posts: 648
Default

@mono6020

I wouldn't trust that SET_GROUP ( OPFOR_EWRGroupB ) to update.

I'd put it in a scheduler and make sure it's global, also, I'd use :FilterOnce() instead of FilterStart()...you might need to put everything in a scheduler, actually.


Also, how are you spawning them? The spawning code doesn't seem to be included in the snippet (unless I'm missing something).

Last edited by Hardcard; 08-23-2019 at 08:01 AM.
Hardcard is offline   Reply With Quote
Old 08-23-2019, 08:53 AM   #32
mono6020
Junior Member
 
Join Date: Jul 2018
Location: Vienna / Austria
Posts: 75
Default

Quote:
Originally Posted by Hardcard View Post
@mono6020

I wouldn't trust that SET_GROUP ( OPFOR_EWRGroupB ) to update.

I'd put it in a scheduler and make sure it's global, also, I'd use :FilterOnce() instead of FilterStart()...you might need to put everything in a scheduler, actually.


Also, how are you spawning them? The spawning code doesn't seem to be included in the snippet (unless I'm missing something).
Thank you. Makes perfect sense to run everything in a scheduler. do you have a quick hint or link where to learn scheduler scripting? never done that.
Regarding the Spawn: Awacs spawns with RECOVERYTANKER Class.
The Filter for OPFOR_EWRGroupB is used to construct DETECTION_AREAS for the AI_A2A_DISPATCHER. The ultimate Goal would be to have every spawned (and respawned) awacs from the RECOVERYTANKER Class in the DETECTION_AREAS Filter Set automatically.
The Awacs Spawn with RECOVERYTANKER is in my previous post already. If it helps here is my DISPATCHER code snippet (nothing fancy, just an ordinary GCI and CAP Config):

OPFOR_EWRGroupB=SET_GROUP:New()
OPFOR_EWRGroupB:FilterPrefixes({"BLUERAD"})
OPFOR_EWRGroupB:FilterStart()
BlueBorder=ZONE_POLYGON:New("UAE Border",GROUP:FindByName("BLUEBRD"))
OPFOR_AirSpaceB=DETECTION_AREAS:New(OPFOR_EWRGroupB,30000)
OPFOR_A2A_DispatcherB=AI_A2A_DISPATCHER:New(OPFOR_AirSpaceB)
OPFOR_A2A_DispatcherB:SetGciRadius(80000)
OPFOR_A2A_DispatcherB:SetEngageRadius(100000)
OPFOR_A2A_DispatcherB:SetDisengageRadius(150000)
OPFOR_A2A_DispatcherB:SetBorderZone(BlueBorder)
OPFOR_A2A_DispatcherB:SetSquadron("OPFOR_Stennis","Stennis","BLUEF18")
OPFOR_A2A_DispatcherB:SetSquadron("OPFOR_Minhad","Al Minhad AB",{"BLUEF16","BLUEM2000"})
OPFOR_A2A_DispatcherB:SetSquadron("OPFOR_Dhafra","Al Dhafra AB",{"BLUEF16","BLUEM2000"})
OPFOR_A2A_DispatcherB:SetSquadron("OPFOR_Liwa","Liwa Airbase",{"BLUEF16","BLUEM2000"})
OPFOR_A2A_DispatcherB:SetSquadronTakeoffInAir("OPFOR_Stennis")
OPFOR_A2A_DispatcherB:SetSquadronTakeoffInAirAltitude("OPFOR_Stennis",8000)
OPFOR_A2A_DispatcherB:SetSquadronTakeoffFromParkingHot("OPFOR_Minhad")
OPFOR_A2A_DispatcherB:SetSquadronTakeoffFromParkingHot("OPFOR_Dhafra")
OPFOR_A2A_DispatcherB:SetSquadronTakeoffFromParkingHot("OPFOR_Liwa")
OPFOR_A2A_DispatcherB:SetDefaultGrouping(2)
OPFOR_A2A_DispatcherB:SetDefaultFuelThreshold(0.2)
OPFOR_A2A_DispatcherB:SetDefaultLandingAtRunway()
OPFOR_A2A_DispatcherB:SetIntercept(450)
OPFOR_A2A_DispatcherB:SetSquadronGci("OPFOR_Minhad",900,1200)
OPFOR_A2A_DispatcherB:SetSquadronGci("OPFOR_Liwa",900,1200)
BLUECAP3=ZONE_POLYGON:New("BLUE CAP3",GROUP:FindByName("BCAP3"))
CARRIERCAP=ZONE_UNIT:New("Carrier CAP",UNIT:FindByName("Stennis"),40000)
BLUECAP1=ZONE_POLYGON:New("BLUE CAP1",GROUP:FindByName("BCAP1"))
BLUECAP2=ZONE_POLYGON:New("BLUE CAP2",GROUP:FindByName("BCAP2"))
OPFOR_A2A_DispatcherB:SetSquadronCap("OPFOR_Stennis",CARRIERCAP,2000,10000,600,800,800,1200,"BARO")
OPFOR_A2A_DispatcherB:SetSquadronCap("OPFOR_Dhafra",BLUECAP1,2000,10000,600,800,800,1200,"BARO")
OPFOR_A2A_DispatcherB:SetSquadronCapInterval("OPFOR_Stennis",1)
OPFOR_A2A_DispatcherB:SetSquadronCapInterval("OPFOR_Dhafra",1)
mono6020 is offline   Reply With Quote
Old 09-20-2019, 01:53 PM   #33
Surrexen
Member
 
Join Date: Aug 2018
Posts: 201
Default

This recovery tanker script is brilliant, thanks FunkyFranky
Surrexen is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:27 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.