Jump to content

How to get rescue helo to stay with carrier?


rayrayblues

Recommended Posts

Here's a quick rundown on how I'm using the Rescue Helo script. I know scripting can be daunting, but this really is very simple, and once you try this script, you won't want to go back. It's really immersive.

 

1. Download the Moose.lua

https://github.com/FlightControl-Master/MOOSE_INCLUDE/tree/master/Moose_Include_Static

 

2. Create a new Helicopter group of one SH-60B, named Rescue Helo. Set it to Takeoff from Parking Hot. Check the box "Late Activation".

 

3. In DCS Mission Editor, open the "Set Rules for Trigger" dialog.

 

4. Create a new trigger of Type: 4 Mission Start. In the "Actions" section, choose "Do Script File", and choose file "Moose.lua"

 

5. Create a new trigger of Type: 1 ONCE. Set a condition of Time More, 10 seconds. (to be safe.) Select action Do Script. Paste this into the text box:

 

RescueheloRoosevelt=RESCUEHELO:New(UNIT:FindByName("CVN71"), "Rescue Helo")

RescueheloRoosevelt:Start()

 

(that assumes your carrier unit is named CVN71. Replace CVN71 with the unit name of your carrier.)

 

Documentation on the script can be found here. It's actually more fun than expected to see someone run out of gas and crash in the pattern, and the helo immediately buster to the crash site and hover for a few minutes picking the guy out of the water, than return and land on the boat to drop him off before going back on station lol.

https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Ops.RescueHelo.html

Link to comment
Share on other sites

Here's a quick rundown on how I'm using the Rescue Helo script. I know scripting can be daunting, but this really is very simple, and once you try this script, you won't want to go back. It's really immersive.

 

1. Download the Moose.lua

https://github.com/FlightControl-Master/MOOSE_INCLUDE/tree/master/Moose_Include_Static

 

2. Create a new Helicopter group of one SH-60B, named Rescue Helo. Set it to Takeoff from Parking Hot. Check the box "Late Activation".

 

3. In DCS Mission Editor, open the "Set Rules for Trigger" dialog.

 

4. Create a new trigger of Type: 4 Mission Start. In the "Actions" section, choose "Do Script File", and choose file "Moose.lua"

 

5. Create a new trigger of Type: 1 ONCE. Set a condition of Time More, 10 seconds. (to be safe.) Select action Do Script. Paste this into the text box:

 

RescueheloRoosevelt=RESCUEHELO:New(UNIT:FindByName("CVN71"), "Rescue Helo")

RescueheloRoosevelt:Start()

 

(that assumes your carrier unit is named CVN71. Replace CVN71 with the unit name of your carrier.)

 

Documentation on the script can be found here. It's actually more fun than expected to see someone run out of gas and crash in the pattern, and the helo immediately buster to the crash site and hover for a few minutes picking the guy out of the water, than return and land on the boat to drop him off before going back on station lol.

https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Ops.RescueHelo.html

Yes, this works 100%...:thumbup: Thanks!!

Link to comment
Share on other sites

Glad to hear. I agree with you that this should be accomplishable via the ME without scripting, but at least there's a working solution.

 

Now that you're down this rabbit hole, you might as well create one more trigger to run the Recovery Tanker script too :D.

https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Ops.RecoveryTanker.html

Link to comment
Share on other sites

Glad to hear. I agree with you that this should be accomplishable via the ME without scripting, but at least there's a working solution.

 

Now that you're down this rabbit hole, you might as well create one more trigger to run the Recovery Tanker script too :D.

https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Ops.RecoveryTanker.html

I've seen it. And for the AWACS too. Very easy to setup and to customize to taste. Will sure add it to my carrier ops template.:thumbup:

Link to comment
Share on other sites

Then there's Airboss and add to that A2A Dispatcher

 

 

Sent from my SM-G930W8 using Tapatalk

[sIGPIC][/sIGPIC]

AMP WIZARD "Forest Gumble" "When the air becomes electric....It's like a box of chocolates":captain:

Windows 11 Pro 64 bit | Intel Alder Lake i7 12700KF | Asus Prime Z690M Plus D4 | CORSAIR Vengeance LPX 64GB (2 x 32GB) DDR4 3200 | EVGA GTX 1070 SC @1594MHz/4000 MHz 8GB | 1x42" Multi Touch Screen and 1x27" 4k widescreen | Saitek x52 Pro |

Link to comment
Share on other sites

Hopefully this gets fixed by ED, by implementing a one of the crucial features that is missing: Aircraft to follow a Ground/Surface Unit.

 

We need a way to have example helicopters to follow a ground vehicle, like a truck or such where helicopter is flying the pattern above column on march, checking the surroundings and ambushes.

 

Same way we need helicopter to follow a speedboat, or carrier, to be ready to rescue people etc.

 

Is there a use for a fighters and such these things? Yes, make possible to have a pattern to be flown above the followed vehicle, like a circular (diameter/distance + height), race track (height + width and length) or just to fly above randomly (define height and box parameters).

This way we can have a fighter to search a unit, and once spotted start to keep an eye of them. Like a friendly fighter/bomber search a ship on sea and then starts to track them until help arrives etc. Or search a friendly units on ground and then start to fly a close air support for them etc.

 

These things should not be behind a scripts, but a functions to be simply called with flags or other modifiers (like has unit spotted unit X).

i7-8700k, 32GB 2666Mhz DDR4, 2x 2080S SLI 8GB, Oculus Rift S.

i7-8700k, 16GB 2666Mhz DDR4, 1080Ti 11GB, 27" 4K, 65" HDR 4K.

Link to comment
Share on other sites

Hopefully this gets fixed by ED, by implementing a one of the crucial features that is missing: Aircraft to follow a Ground/Surface Unit.

 

We need a way to have example helicopters to follow a ground vehicle, like a truck or such where helicopter is flying the pattern above column on march, checking the surroundings and ambushes.

 

Same way we need helicopter to follow a speedboat, or carrier, to be ready to rescue people etc.

 

Is there a use for a fighters and such these things? Yes, make possible to have a pattern to be flown above the followed vehicle, like a circular (diameter/distance + height), race track (height + width and length) or just to fly above randomly (define height and box parameters).

This way we can have a fighter to search a unit, and once spotted start to keep an eye of them. Like a friendly fighter/bomber search a ship on sea and then starts to track them until help arrives etc. Or search a friendly units on ground and then start to fly a close air support for them etc.

 

These things should not be behind a scripts, but a functions to be simply called with flags or other modifiers (like has unit spotted unit X).

 

 

+1

Link to comment
Share on other sites

  • 4 weeks later...

Hi, having downloaded moose.lua, where do I place it in DCS? or is it a tool in itself for creating a new mission?

 

I have an SC mission that I would like to add the rescue helo to, and probably the recovery tanker. So can I add this script to an existing mission or am I being dumb?

ASUS Maximus X Hero; i7-8700K OC'd @ 5 Ghz; Zotac GeForce GTX 1080 AMP Extreme 8GB; 32GB G.Skill Trident Z DDR4 3200Mhz RAM; 500GB Samsung EVO 960 SSD; Warthog HOTAS; Saitek Pro Flight Rudder pedals; HP Reverb VR; Realtus Forcefeel Game Pad running on SimShaker for Aviators software. :thumbup:

Link to comment
Share on other sites

Hi, having downloaded moose.lua, where do I place it in DCS? or is it a tool in itself for creating a new mission?

 

I have an SC mission that I would like to add the rescue helo to, and probably the recovery tanker. So can I add this script to an existing mission or am I being dumb?

 

I think you would want to create a trigger at mission start, and then in the actions column select 'do a script file' (or however that reads) and select moose.lua from the location you've put the file on your hard drive. The script will then begin at mission start and 'do it's thing' throughout the length of the mission.

Link to comment
Share on other sites

Stearmandriver simple steps on page 3 but just cannot get it to work.

I downloaded moose.lua ‘static’ version and placed it in “DCS\Scrpts” folder. I have a self made supercarrier training mission using the USS Abraham Lincoln, unit name is CVN-72. So following the simple steps, I altered script to rename the variable to xxxxxxxxxLincoln, the unit name to CVN72. Didn’t work. Tried unit names of “CVN72” and “USS Abraham Lincoln” still no joy.

 

I read on the ED forum that I should keep the “Moose.lua in the static folder to maintain the folder structure so placed the whole moose.lua folder structure into the DCS scripts folder. Same result. I read on the moose discord that you should copy and paste the contents of moose.lua off the github and paste it into a new file in notepad++ so done this and placed it in DCS Script folder as before. Still no joy.

 

Spent last night watching Moose YouTube tutorials on installing moose and setting up, still none the wiser why this will not work. By not working I sit on the deck, no helo and press F10, no helo!

 

Help, please


Edited by crowebar

ASUS Maximus X Hero; i7-8700K OC'd @ 5 Ghz; Zotac GeForce GTX 1080 AMP Extreme 8GB; 32GB G.Skill Trident Z DDR4 3200Mhz RAM; 500GB Samsung EVO 960 SSD; Warthog HOTAS; Saitek Pro Flight Rudder pedals; HP Reverb VR; Realtus Forcefeel Game Pad running on SimShaker for Aviators software. :thumbup:

Link to comment
Share on other sites

Stearmandriver simple steps on page 3 but just cannot get it to work.

I downloaded moose.lua ‘static’ version and placed it in “DCS\Scrpts” folder. I have a self made supercarrier training mission using the USS Abraham Lincoln, unit name is CVN-72. So following the simple steps, I altered script to rename the variable to xxxxxxxxxLincoln, the unit name to CVN72. Didn’t work. Tried unit names of “CVN72” and “USS Abraham Lincoln” still no joy.

 

I read on the ED forum that I should keep the “Mouse.lua in the static folder to maintain the folder structure so placed the whole mouse.lua folder structure into the DCS scripts folder. Same result. I read on the mouse discord that you should copy and paste the contents of mouse.lua off the github and paste it into a new file in notepad++ so done this and placed it in DCS Script folder as before. Still no joy.

 

Spent last night watching Mouse YouTube tutorials on installing mouse and setting up, still none the wiser why this will not work. By not working I sit on the deck, no helo and press F10, no helo!

 

Help, please

 

Just to double check, did you spawn the helo on the deck in the mission editor, and check the "late activation" box?

Link to comment
Share on other sites

Hi Stearmandriver, yes ramp hot, late activation. Have followed your instructions many times over. I think my next step will be to cx the carrier to Roosevelt so I don’t need to change script at all and see what happens.

ASUS Maximus X Hero; i7-8700K OC'd @ 5 Ghz; Zotac GeForce GTX 1080 AMP Extreme 8GB; 32GB G.Skill Trident Z DDR4 3200Mhz RAM; 500GB Samsung EVO 960 SSD; Warthog HOTAS; Saitek Pro Flight Rudder pedals; HP Reverb VR; Realtus Forcefeel Game Pad running on SimShaker for Aviators software. :thumbup:

Link to comment
Share on other sites

Hey Stearmandriver so I opened exactly the same mission, changed the carrier from Lincoln to the Roosevelt, copied and paste your example into script box, and it works. So wonder if it is an issue with the script and the Lincoln. But it matters not, a carrier is a carrier. I only setup on the Lincoln as it is the one I seen in real life a couple of years ago.

 

A happy Crowebar! Thanks for your help. If I figure our why it wasn’t working on Lincoln will post it on this thread.

ASUS Maximus X Hero; i7-8700K OC'd @ 5 Ghz; Zotac GeForce GTX 1080 AMP Extreme 8GB; 32GB G.Skill Trident Z DDR4 3200Mhz RAM; 500GB Samsung EVO 960 SSD; Warthog HOTAS; Saitek Pro Flight Rudder pedals; HP Reverb VR; Realtus Forcefeel Game Pad running on SimShaker for Aviators software. :thumbup:

Link to comment
Share on other sites

My only guess is that it had something to do with unit naming. The unit names don't have to match the model; you can name a unit anything you want.

 

I'll bet if you just change your ship to the Lincoln in the ME and don't change any names at all, it'll still work. Give that a try if you want. If that DOESN'T work, then you're right, there's something weird going on.

Link to comment
Share on other sites

Guys tomorrow before I go to work I'll drop a miz file in here with some examples. It's not " hard " but sometimes something as simple as a misslpaced letter will not allow the script to run.


Edited by Sierra99

[sIGPIC][/sIGPIC]

Primary Computer

ASUS Z390-P, i7-9700K CPU @ 5.0Ghz, 32GB Patriot Viper Steel DDR4 @ 3200Mhz, ZOTAC GeForce 1070 Ti AMP Extreme, Samsung 970 EVO M.2 NVMe drives (1Tb & 500 Gb), Windows 10 Professional, Thrustmaster Warthog HOTAS, Thrustmaster Warthog Stick, Thrustmaster Cougar Throttle, Cougar MFDs x3, Saitek Combat Rudder Pedals and TrackIR 5.

 

-={TAC}=-DCS Server

Gigabyte GA-Z68XP-UD3, i7-3770K CPU @ 3.90GHz, 32GB G.SKILL Ripjaws DDR3 @ 1600Mhz, ZOTAC GeForce® GTX 970.

Link to comment
Share on other sites

OK gents,

 

Here is a mission with 4 different variations of the Rescue Helo

 

Helo Cold Start at Bow

Helo Cold Start Different Boat

Helo Cold Start Waist

Helo Hot Start Waist

 

Open the Mission in the mission editor and look at the triggers to see how each one is set up and you can use the .lua files in the miz to understand the how the Different code changes the spawn logic.

 

 

Actual Mileage May vary, Offer void in states of inerbiation.:music_whistling:

Rescue Helo Examples.miz

Rescue Helo.rar

[sIGPIC][/sIGPIC]

Primary Computer

ASUS Z390-P, i7-9700K CPU @ 5.0Ghz, 32GB Patriot Viper Steel DDR4 @ 3200Mhz, ZOTAC GeForce 1070 Ti AMP Extreme, Samsung 970 EVO M.2 NVMe drives (1Tb & 500 Gb), Windows 10 Professional, Thrustmaster Warthog HOTAS, Thrustmaster Warthog Stick, Thrustmaster Cougar Throttle, Cougar MFDs x3, Saitek Combat Rudder Pedals and TrackIR 5.

 

-={TAC}=-DCS Server

Gigabyte GA-Z68XP-UD3, i7-3770K CPU @ 3.90GHz, 32GB G.SKILL Ripjaws DDR3 @ 1600Mhz, ZOTAC GeForce® GTX 970.

Link to comment
Share on other sites

  • 3 weeks later...
Hi, having downloaded moose.lua, where do I place it in DCS? or is it a tool in itself for creating a new mission?

 

I have an SC mission that I would like to add the rescue helo to, and probably the recovery tanker. So can I add this script to an existing mission or am I being dumb?

 

I made a video that might help.

 

🇺🇦  SLAVA UKRAINI  🇺🇦

MoBo - ASUS 990FX R2 Sabertooth,     CPU - AMD FX 9590 @4.7Gb. No OC
RAM - GSkill RipJaws DDR3 32 Gb @2133 MHZ,   GPU - EVGA GeForce GTX 1660Ti 6Gb DDR5 OC'd, Core 180MHz, Memory 800MHz
Game drive - Samsung 980 M.2 EVO 1Tb SSD,    OS Drive - 860 EVO 500Gb SATA SSD, Win10 Pro 22H2

Controls - Thrustmaster T-Flight HOTAS X,   Monitor - LG 32" 1920 X 1080,   PSU - Prestige ATX-PR800W PSU

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...

Followed your directions exactly, and keep getting this error. I've been modifying a previously built mission.

 

I've gone through several times and it's keeps happening..

 

Any ideas?

 

EDIT**** Started a new mission from scratch and worked fine. This combined with Redkites Supercarrier templates completely changes SP/MP carrier Ops.

 

Thanks

 

error.PNG


Edited by Spetz

 

 

Link to comment
Share on other sites

  • 2 months later...

I'm trying to set an escort helo up using moose.

I can get the helo to work with the deafult settings, but when i try to change it's alt & dist it just flies the default.

 

what am i missing in the following script to change alt & dist offsets?

Quote

RescueheloStennis=RESCUEHELO:New(UNIT:FindByName("USS Stennis"), "Rescue Helo")
RescueheloStennis:Start()
RESCUEHELO:SetAltitude(50) -- Set altitude of helo in meters deafault 70
RESCUEHELO:SetOffsetX(50) -- Set offset lead in meters deafult 200
RESCUEHELO:SetOffsetZ(50) -- Set offset starboard in meters default 100

 


Edited by Helles Belle

Send lawyers, guns and money......... for the …. has hit the fan.

Windows 10 Home 64-bit | CPU: AMD Ryzen 7 5800X3D 8-Core Processor | RAM: Corsair 32.0GB Dual-Channel | MOBO: ROG STRIX X570-F GAMING (AM4) | GPU: MSI G271CQP on NVIDIA GeForce RTX 3080 | SSD: Samsung SSD 860 EVO 2TB & Samsung SSD 970 EVO Plus 1TB for Gaming

 CH Fightersick - Pro Throttle - Pro Pedals | Thrustmaster MFD Cougar x 3 | Buddy Fox A-10C UFC

image.jpeg

Link to comment
Share on other sites

24 minutes ago, Helles Belle said:

I'm trying to set an escort helo up using moose.

I can get the helo to work with the deafult settings, but when i try to change it's alt & dist it just flies the default.

 

what am i missing in the following script to change alt & dist offsets?

 

 


the helo is named RescueHeloStennis ... not RESCUEHELO

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

@Rudel_chw 😆 cool I’ll try it out. Thanks rudel

Send lawyers, guns and money......... for the …. has hit the fan.

Windows 10 Home 64-bit | CPU: AMD Ryzen 7 5800X3D 8-Core Processor | RAM: Corsair 32.0GB Dual-Channel | MOBO: ROG STRIX X570-F GAMING (AM4) | GPU: MSI G271CQP on NVIDIA GeForce RTX 3080 | SSD: Samsung SSD 860 EVO 2TB & Samsung SSD 970 EVO Plus 1TB for Gaming

 CH Fightersick - Pro Throttle - Pro Pedals | Thrustmaster MFD Cougar x 3 | Buddy Fox A-10C UFC

image.jpeg

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...