Jump to content

Recommended Posts

Posted (edited)

In the attachment you can find a CSAR mission for the UH-1H. In this mission, you will be on standby until a downed jet pilot needs to be rescued. When and where that happens is determined dynamically in the mission as a result of air to air combat operations in the region of western Georgia.

 

Enjoy. After possible initial feedback I will post the mission in the appropriate section of the forum and DCS webpage.

 

EDIT May 26: I made a couple of changes and posted an updated version at http://forums.eagle.ru/showthread.php?t=105999&page=2, and on the DCS "User Files" webpage.

 

Changes: made downed pilot invisible to enemy AI, fixed a bug (I had mistakenly set the home base ADF to 210 MHz instead of 210 kHz, now I use 315 kHz because the mission editor doesn't allow entering frequencies below 300 kHz for some reason), and added more enemy AAA sites.

CSAR.miz

Edited by wolle
  • Like 2

[sIGPIC][/sIGPIC]

 

Intel Core I7 4820K @4.3 GHz, Asus P9X79 motherboard, 16 GB RAM @ 933 MHz, NVidia GTX 1070 with 8 GB VRAM, Windows 10 Pro

Posted

WOLLE!....U bugger, you cracked it mate. Been working on this and just could not get the freq to activate...this is gonna change Multiplayer gameplay on DCS bigtime!

 

Well done!

Midnite Signature.jpg

Posted

Wow This sounds great, however can anyone confirm is it for SP or MP, I'm hoping MP with all the talk here about MP Clients.

 

Cowboy10uk

 

 

[sIGPIC][/sIGPIC]

 

Fighter pilots make movies, Attack pilots make history, Helicopter pilots make heros.

 

:pilotfly: Corsair 570x Crystal Case, Intel 8700K O/clocked to 4.8ghz, 32GB Vengeance RGB Pro DDR4 3200 MHZ Ram, 2 x 1TB M2 drives, 2 x 4TB Hard Drives, Nvidia EVGA GTX 1080ti FTW, Maximus x Hero MB, H150i Cooler, 6 x Corsair LL120 RGB Fans And a bloody awful Pilot :doh:

Posted

Thx wolle

 

The first 2 times I tried our intrepid pilot in the F-5 was too good :) and never got shot down.

 

3rd time lucky (or not so lucky) ;)

 

He engaged and shot down one bogey, then got clipped by a missile which re-arranged his left elevator.

He was on short finals when the other bogey came back and shot him down.

 

I picked him up from the threshold of the airport.

 

Cool mission, thanks.

Thermaltake View 91, Z390 Gigabyte Aorus Ultra, i9 9900K, Corsair H150i Pro, 32Gb Trident Z 3200, Gigabyte Aorus Extreme 2080ti, Corsair AX1200i, Warthog A-10 Hotas, MFG Crosswind pedals, TiR5 Pro, HP Reverb Pro

Posted
How does it work?

I landed next to downed pilot and nothing happened.

Hopped around but he just stood there.

 

Strange, that shouldn't happen. As long as you are within a certain distance (50 m or is it feet maybe) from the downed pilot, and your collective is all the way down, you should get a message that your helo has landed, and then 10s later the pilot will board the helo (i.e. disappear into thin air). Depending on your settings for the collective, maybe the trigger checking that is too tight (try to simply remove that trigger, and see if that helps)

[sIGPIC][/sIGPIC]

 

Intel Core I7 4820K @4.3 GHz, Asus P9X79 motherboard, 16 GB RAM @ 933 MHz, NVidia GTX 1070 with 8 GB VRAM, Windows 10 Pro

Posted
Wow This sounds great, however can anyone confirm is it for SP or MP, I'm hoping MP with all the talk here about MP Clients.

 

Cowboy10uk

 

It's a single player mission. But the basic idea (which, by the way I "stole" from the discussion at http://forums.eagle.ru/showthread.php?t=105700) remains the same for a multiplayer mission. Some things will be easier since tasks now programmed to be done by the AI will simply be played by a human Client in MP (I am not too familiar with MP, and don't have CA, but I could imagine that the human pilot who was shot down can then use CA to "drive" the downed pilot, wait until he sees the rescue copter, and shoot a signal flare). One of the challenges in MP will be to keep the rescue copter pilot entertained, since he/she may have to wait for a long time until a pilot goes down).

[sIGPIC][/sIGPIC]

 

Intel Core I7 4820K @4.3 GHz, Asus P9X79 motherboard, 16 GB RAM @ 933 MHz, NVidia GTX 1070 with 8 GB VRAM, Windows 10 Pro

Posted
(...) your collective is all the way down, you should get a message that your helo has landed, and then 10s later the pilot will board the helo (i.e. disappear into thin air). Depending on your settings for the collective, maybe the trigger checking that is too tight (try to simply remove that trigger, and see if that helps)

 

That was it. Pressing "Num -" did the trick. Thanks.

Great mission!

Posted

Thx for update. Noticed too same bug with 210 ADF. Hope now it works :).

Webmaster of http://www.yoyosims.pl

Yoyosimsbanner.gif

Win 10 64, i9-13900 KF, RTX  5090 32Gb OC, RAM 64Gb Corsair Vengeance LED OC@3600MHz,, 3xSSD+3xSSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, Sound Blaster Z + 5.1, TiR5, [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] VR fly only: Meta Quest Pro

Posted (edited)

Hi again. Tested after update. F-5 survive so mission was sucess without my take off :D. No update of the text (Home base ADF 315, still 210 in the briefing).

 

Edit:

Ok noticed the new version is here: http://forums.eagle.ru/showpost.php?p=1771208&postcount=14 315 is present, but again F-5 Survived and back to base :) without orders for me.

Edited by YoYo

Webmaster of http://www.yoyosims.pl

Yoyosimsbanner.gif

Win 10 64, i9-13900 KF, RTX  5090 32Gb OC, RAM 64Gb Corsair Vengeance LED OC@3600MHz,, 3xSSD+3xSSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, Sound Blaster Z + 5.1, TiR5, [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] VR fly only: Meta Quest Pro

Posted
again F-5 Survived and back to base :) without orders for me.

 

You can lower the chances of F-5 survival by changing the mission: at the moment it is 3 migs against one F-5, each with random skill. If you e.g. make the Mig skills excellent, and that of the F-5 average, it should reduce the survivability of the F-5 to near zero, or else you can add more migs.

[sIGPIC][/sIGPIC]

 

Intel Core I7 4820K @4.3 GHz, Asus P9X79 motherboard, 16 GB RAM @ 933 MHz, NVidia GTX 1070 with 8 GB VRAM, Windows 10 Pro

Posted

So is the key part this?

 

trigger.action.radioTransmission('VHF_WarningTone.wav', PilotPosition, 0, true, 250000, 1000);

 

Is that the key to adding a radio transmission?

 

According to the scripting engine wiki:

 

 function trigger.action.radioTransmission(string fileName, Vec3 point, enum radio.modulation modulation, boolean loop, number frequency, number power) 
transmits audio file to broadcast.

fileName
name of audio file. The file must be packed into the mission archive (miz).

point
position of the transmitter

modulation
modulation of the transmission

loop
indicates if the transmission is looped or not

frequency
transmitter frequency in Hz

power
transmitter power in Watts

 

So I am not sure how long the transmission lasts and has to be repeated. POssibly as long as the .wav file is active/playing?

Fridge

----------

Things which do you no good in aviation:

1) Altitude above you;

2) Runway behind you;

3) Fuel in the truck;

4) The airspeed you don't have.

Posted
So is the key part this?

 

trigger.action.radioTransmission('VHF_WarningTone.wav', PilotPosition, 0, true, 250000, 1000);

 

Is that the key to adding a radio transmission?

 

According to the scripting engine wiki:

 

 function trigger.action.radioTransmission(string fileName, Vec3 point, enum radio.modulation modulation, boolean loop, number frequency, number power) 
transmits audio file to broadcast.

fileName
name of audio file. The file must be packed into the mission archive (miz).

point
position of the transmitter

modulation
modulation of the transmission

loop
indicates if the transmission is looped or not

frequency
transmitter frequency in Hz

power
transmitter power in Watts

 

So I am not sure how long the transmission lasts and has to be repeated. POssibly as long as the .wav file is active/playing?

 

Yes, you've got it, that's the key line. There are two subtleties to that:

 

1) According to the manual "filename .. name of audio file. The file must be packed into the mission archive (miz)." To be honest, I am not sure how to pack a sound file into the mission archive. To overcome this, I simply used the same sound file in another place where it is accessed in the usual way through the mission editor (I called this a "sound test"), that way the sound file gets packaged automatically into the mission file.

 

2) You should be able to select "AM" or "FM" using the enum class mentioned, i.e. either using "radio.modulation.AM" or "radio.modulation.FM". For reasons unknown to me (probably a bug) that does not work, and you have to use "0" or "1" instead.

 

Regarding the length of the transmission. If it is not looped (using false in the argument list), the transmission takes exactly as long as the sound recording file (the one I used is a sound that comes with DCS world, simply search for its name on your harddrive and you can play it yourself to find out how long it is). If you select looped=true, then the length becomes infinite because it just plays the sound file again and again.

[sIGPIC][/sIGPIC]

 

Intel Core I7 4820K @4.3 GHz, Asus P9X79 motherboard, 16 GB RAM @ 933 MHz, NVidia GTX 1070 with 8 GB VRAM, Windows 10 Pro

Posted

miz file are actually a .zip file - according to 7zip anyway. Try opening the file in 7zip and and add the wav file to it.

 

In my script I am using mist to run the sound every 10 second for 30 seconds:

 

PilotDown.temp_id = 
mist.scheduleFunction(
trigger.action.radioTransmission, 
{"VHF_WarningTone.wav", position, 0, false, pilot_info.transponder, 1000}, 
timer.getTime() + 10, 
30)

 

I am doing some LOS work, so I refresh the sounds every 30 seconds until the pilot is picked up or dies .. that's the intention anyway.

 

Question: What are you using the static sound for?

Fridge

----------

Things which do you no good in aviation:

1) Altitude above you;

2) Runway behind you;

3) Fuel in the truck;

4) The airspeed you don't have.

Posted

 

Question: What are you using the static sound for?

 

Since the mission is not voiced-over, I use the static to alert the reader that a radio message is displayed as a text on the screen. The training missions for the Huey do the same thing at the moment (hope they will add voice-over soon)

[sIGPIC][/sIGPIC]

 

Intel Core I7 4820K @4.3 GHz, Asus P9X79 motherboard, 16 GB RAM @ 933 MHz, NVidia GTX 1070 with 8 GB VRAM, Windows 10 Pro

Posted

updated CSAR mission

 

I updated the CSAR mission. Now there can (and will) be several pilots down, possibly even at the same time. Use the F10 "Other" radio item to request an update on the pilots down, and their last known locations. The number, time and location of pilots ejecting is determined dynamically during the mission.

MultiCSARclean.miz

[sIGPIC][/sIGPIC]

 

Intel Core I7 4820K @4.3 GHz, Asus P9X79 motherboard, 16 GB RAM @ 933 MHz, NVidia GTX 1070 with 8 GB VRAM, Windows 10 Pro

  • 3 weeks later...
Posted

I really need help!!!

I am making mission for UH-1H. I have a total of 20 objects, ground units and Trigger zones (for NDB navigation) that use trigger.action.radioTransmission. Each with its own audio file. This is small audio files (Morse code for NDB), converted to OGG. There is one problem! If I have only five transmission sources, units or trigger zones in any combination it is work perfect. As soon as I add any additional object with the function trigger.action.radioTransmission, previous five stop working and transmit audio file (loop mode). If I remove the sixth transmitting object, everything starts to work fine.

 

I have a question - how to increase the number of objects (trigger zones and units), which can use a trigger.action.radioTransmission? Currently works only five, and needs 20.

Posted

Well, maybe the only possibility you have here is to only use one audio file and therfore lose the morse codes.

Check out my YouTube: xxJohnxx

 

Intel i7 6800k watercooled | ASUS Rampage V Edition 10 | 32 GB RAM | Asus GTX1080 watercooled

Posted

Q: How to increase the number of objects (trigger zones and units), which can use a trigger.action.radioTransmission? Currently works only five, and needs 20.

 

A: const unsigned int messageMaxCount = 5

Posted

hey this is a really cool mission and it's what I'm gonna use to get used to the huey, I always liked missions to learn to fly and this gives me a lot of options on how to do it, thanks a lot!

  • Recently Browsing   0 members

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