Jump to content

Dynamic Campaign Engine


MBot

Recommended Posts

A message appears when launching mavericks on a recently destroyed target, for example when firing several mavericks on the same target. It doesn´t seem to appear if firing on a destroyed target after some time. Se image.

 

Nothing "bad" happens though, just press ok and everything works.

2.jpg.0a4a8cebf3325447df26480adfe9fcc6.jpg

Link to comment
Share on other sites

A message appears when launching mavericks on a recently destroyed target, for example when firing several mavericks on the same target. It doesn´t seem to appear if firing on a destroyed target after some time. Se image.

 

Nothing "bad" happens though, just press ok and everything works.

 

Maybe it is damage on weapons? A message appears when ships fires at anti ship missiles.

Link to comment
Share on other sites

Where do I find airdromeId for the db_airbases.lua?

 

Caucuses: http://wiki.hoggit.us/view/Airport_Charts_(incl._Freqs,_TACAN,_ILS)

 

Normandy/NTTR - no idea

klem

56 RAF 'Firebirds'

ASUS ROG Strix Z390-F mobo, i7 8086A @ 5.0 GHz with Corsair H115i watercooling, Gigabyte 2080Ti GAMING OC 11Gb GPU , 32Gb DDR4 RAM, 500Gb and 256Gb SSD SATA III 6Gb/s + 2TB , Pimax 8k Plus VR, TM Warthog Throttle, TM F18 Grip on Virpil WarBRD base, Windows 10 Home 64bit

Link to comment
Share on other sites

Or try:

 

local airfields = 
{
       [1] = 
       {
               [1] = "Creech AFB",
       }, -- end of [1]
       [2] = 
       {
               [1] = "Groom Lake AFB",
       }, -- end of [2]
       [3] = 
       {
               [1] = "McCarran International Airport",
       }, -- end of [3]
       [4] = 
       {
               [1] = "Nellis AFB",
       }, -- end of [4]
       [5] = 
       {
               [1] = "Beatty Airport",
       }, -- end of [5]
       [6] = 
       {
               [1] = "Boulder City Airport",
       }, -- end of [6]
       [7] = 
       {
               [1] = "Echo Bay",
       }, -- end of [7]
       [8] = 
       {
               [1] = "Henderson Executive Airport",
       }, -- end of [8]
       [9] = 
       {
               [1] = "Jean Airport",
       }, -- end of [9]
       [10] = 
       {
               [1] = "Laughlin Airport",
       }, -- end of [10]
       [11] = 
       {
               [1] = "Lincoln County",
       }, -- end of [11]
       [12] = 
       {
               [1] = "Mellan Airstrip",
       }, -- end of [12]
       [13] = 
       {
               [1] = "Mesquite",
       }, -- end of [13]
       [14] = 
       {
               [1] = "Mina Airport 3Q0",
       }, -- end of [14]
       [15] = 
       {
               [1] = "North Las Vegas",
       }, -- end of [15]
       [16] = 
       {
               [1] = "Pahute Mesa Airstrip",
       }, -- end of [16]
       [17] = 
       {
               [1] = "Tonopah Airport",
       }, -- end of [17]
       [18] = 
       {
               [1] = "Tonopah Test Range Airfield",
       }, -- end of [18]
} -- end of airfields

for i=1,#airfields
do
local actualID = Airbase.getID(Airbase.getByName(airfields[i][1]))
env.info(string.format(Airbase.getByName(airfields[i][1]).." ID:"..string.format(actualID),true)
end



 

Didn´t try this, guess you need to tinker around the code a bit...

[sIGPIC][/sIGPIC]

 

Unsere Facebook-Seite

Link to comment
Share on other sites

If you are looking for the Normandie db_airbase.lua I made this :

https://www.dropbox.com/s/ba8ultp5clwsz7u/db_airbases_Normandie.zip?dl=0

 

I will try to do a modern "Battle of Britain" for my fun only (not really realistic to use modern jets on those bases) :music_whistling:

[/url]All known Dynamic Campaign Engine Campaigns

Last DCE news : Crisis in PG - Blue version

Link to comment
Share on other sites

Alternative for storage in Saved Games?

 

I just started playing with these campaigns, and I like to put add-on stuff in my Saved Games\DCS folder instead of the DCS World install folder. Anything I do add to the DCS World install is done with JSGME so that I can revert to a virgin state every update, but that would interrupt a campaign in progress by reverting the _ongoing miz file to its original state.

 

What I have done is to create a symbolic link to DCS World\bin in my Saved Games\DCS\Missions\Campaigns folder using the following command line prompt in admin mode (adjust for your system):

mklink /D "C:\Users\<your username>\Saved Games\DCS\Missions\Campaigns\bin" "G:\DCS World\bin"

This has the effect of pointing to your DCS World\bin file without taking up any disk space, and it will update along with the patches. You need to use a symlink because there is no way to properly nest quotes in a batch file (necessary to point to the DCS World folder using an absolute reference). Don't create a junction, as deleting the junction will also delete the DCS World\bin folder!

 

Then I changed the EXE paths in the two batch files from

..\..\..\..\..\..\..\bin\luae.exe

to

..\..\bin\luae.exe

 

Please let me know if there's something I'missing (e.g. a relative path in the lua files), or if this is a viable alternative.


Edited by Home Fries
Corrected code
Link to comment
Share on other sites

If you are looking for the Normandie db_airbase.lua I made this :

https://www.dropbox.com/s/ba8ultp5clwsz7u/db_airbases_Normandie.zip?dl=0

 

I will try to do a modern "Battle of Britain" for my fun only (not really realistic to use modern jets on those bases) :music_whistling:

 

:thumbup:

 

Thank you !

klem

56 RAF 'Firebirds'

ASUS ROG Strix Z390-F mobo, i7 8086A @ 5.0 GHz with Corsair H115i watercooling, Gigabyte 2080Ti GAMING OC 11Gb GPU , 32Gb DDR4 RAM, 500Gb and 256Gb SSD SATA III 6Gb/s + 2TB , Pimax 8k Plus VR, TM Warthog Throttle, TM F18 Grip on Virpil WarBRD base, Windows 10 Home 64bit

Link to comment
Share on other sites

Not sure it will be a public version because it's not really realistic with those bases !

 

 

Envoyé de mon iPhone en utilisant Tapatalk

 

Well, that's why I'm making a WWII template map with a few extra buildings in it. I can use it as a basis for missions. I suppose I should really be concentrating on mission building in what we have .... but I'm easily distracted :)

klem

56 RAF 'Firebirds'

ASUS ROG Strix Z390-F mobo, i7 8086A @ 5.0 GHz with Corsair H115i watercooling, Gigabyte 2080Ti GAMING OC 11Gb GPU , 32Gb DDR4 RAM, 500Gb and 256Gb SSD SATA III 6Gb/s + 2TB , Pimax 8k Plus VR, TM Warthog Throttle, TM F18 Grip on Virpil WarBRD base, Windows 10 Home 64bit

Link to comment
Share on other sites

I love the work that everybody is doing. I don't have the time to learn the system, so I will contribute in a way that I know how.

 

I have created a Photoshop template for the campaign picture. This will allow you to choose the theater, flyable aircraft (with different liveries), and add a title for a plug-and-play jpg creator. Additionally, I am willing to do custom pics for any campaign builders who ask.

 

Here's an example:

dcyou_zpskei14cm8.jpg~original

 

and the link:

Campaign Picture Template

 

Best,

HF

Link to comment
Share on other sites

Out of curiosity, how much of the campaign engine is random? Given the same starting conditions and mission results, will the same missions be generated?

 

Does any simulation of sorties occur outside of the sim engine?

Black Shark, Harrier, and Hornet pilot

Many Words - Serial Fiction | Ka-50 Employment Guide | Ka-50 Avionics Cheat Sheet | Multiplayer Shooting Range Mission

Link to comment
Share on other sites

MBot: I have a problem when generating missions in a campaign I´m working with. It only happens about 1/10 of the times when generating a new mission with firstmission.bat

 

I think it has something to do with Intercept, but I have no idea.

 

See screens.

Untitled-1.jpg.733ddf62ffa82ce895a31f4e6d9c6f14.jpg

Untitled-2.thumb.jpg.17a5b21b5b5ce00c25978839f67c3e24.jpg

Link to comment
Share on other sites

Dynamic Campaign Engine

 

I forget to tell you Cristofer : now, thanks to your advices I have a good number of red ground attack flights ;)

It generated many intercept missions ( with bugs messages) so I cancelled them for players. My first encounter with Su-25T in the Caucasus mountains was really funny (for me, not really for AI :) )

 

 

Envoyé de mon iPhone en utilisant Tapatalk

[/url]All known Dynamic Campaign Engine Campaigns

Last DCE news : Crisis in PG - Blue version

Link to comment
Share on other sites

  • 4 weeks later...
Right now I´m working on a Viggen campaign, and everything seems to working just fine, except for one thing. When loading the mission, an error occurs. If I open the mission in the mission editor, and try to save it, a message appears that says invalid frequency. I think it has something to do with the decimals, like the frequency is 154.85, and I´m not sure that you can have this in the Viggen, but I can have wrong.

 

MBot: Any ideas? Is there a way to set the frequencies manually, or not using decimals?

 

 

Edit: Nevermind, I think I´ve solved it. Changing frequency to min 100, max 149 seems to work.

 

I'm having the same problem. I see the script randomly assigns frequencies between camp_init min and max and although I have now set these to 250 to 255 to suit the English airfields I am using (Normandy map btw) I still am told the frequency assigned to my Player flight is invalid even though it is between those frequencies. It does not match the Tower frequency of the airfield it is being launched from but as the script does not seem to take airfield frequencies into account I assume that doesn't matter.

 

Does anyone have any ideas why the frequency is being rejected?

klem

56 RAF 'Firebirds'

ASUS ROG Strix Z390-F mobo, i7 8086A @ 5.0 GHz with Corsair H115i watercooling, Gigabyte 2080Ti GAMING OC 11Gb GPU , 32Gb DDR4 RAM, 500Gb and 256Gb SSD SATA III 6Gb/s + 2TB , Pimax 8k Plus VR, TM Warthog Throttle, TM F18 Grip on Virpil WarBRD base, Windows 10 Home 64bit

Link to comment
Share on other sites

I'm having the same problem. I see the script randomly assigns frequencies between camp_init min and max and although I have now set these to 250 to 255 to suit the English airfields I am using (Normandy map btw) I still am told the frequency assigned to my Player flight is invalid even though it is between those frequencies. It does not match the Tower frequency of the airfield it is being launched from but as the script does not seem to take airfield frequencies into account I assume that doesn't matter.

 

Does anyone have any ideas why the frequency is being rejected?

 

Are 250-250 MHZ frequencies that your aircraft supports? I specifically implemented the min-max values to force the campaign to assign frequencies that match the player's aircraft, as otherwise DCS throws an error.

Link to comment
Share on other sites

Are 250-250 MHZ frequencies that your aircraft supports? I specifically implemented the min-max values to force the campaign to assign frequencies that match the player's aircraft, as otherwise DCS throws an error.

 

Thanks MBot. I used the airfield data that (I think) Criostofer kindly posted and yes, the frequencies are not for WWII. Fixed now. Thanks again.

klem

56 RAF 'Firebirds'

ASUS ROG Strix Z390-F mobo, i7 8086A @ 5.0 GHz with Corsair H115i watercooling, Gigabyte 2080Ti GAMING OC 11Gb GPU , 32Gb DDR4 RAM, 500Gb and 256Gb SSD SATA III 6Gb/s + 2TB , Pimax 8k Plus VR, TM Warthog Throttle, TM F18 Grip on Virpil WarBRD base, Windows 10 Home 64bit

Link to comment
Share on other sites

MBot,

 

I'm generating campaigns now (many thanks btw) but I notice that some sorties start very late in the mission duration window. Is there a way to encourage these to launch earlier? For example a B-17G sortie begins with an 'eta' (start time?) in the ATO debug file after 2 hours and it seems likely the mission will terminate before they even get to target. I understand the random nature of the generator but that seems a bit pointless.

 

Also I cannot seem to get a P-51D 'escort' group to work. Even when the B-17G unit is set to 'self_escort = false' and the P-51Ds are set to 'escort = true' a sortie is not generated for them even though I set attributes to 'bind' them together. It is a very simple mission for learning purposes and only three specific allied units are used, the others (CAP and Sweep) are fine.

klem

56 RAF 'Firebirds'

ASUS ROG Strix Z390-F mobo, i7 8086A @ 5.0 GHz with Corsair H115i watercooling, Gigabyte 2080Ti GAMING OC 11Gb GPU , 32Gb DDR4 RAM, 500Gb and 256Gb SSD SATA III 6Gb/s + 2TB , Pimax 8k Plus VR, TM Warthog Throttle, TM F18 Grip on Virpil WarBRD base, Windows 10 Home 64bit

Link to comment
Share on other sites

MBot,

 

I'm generating campaigns now (many thanks btw) but I notice that some sorties start very late in the mission duration window. Is there a way to encourage these to launch earlier? For example a B-17G sortie begins with an 'eta' (start time?) in the ATO debug file after 2 hours and it seems likely the mission will terminate before they even get to target. I understand the random nature of the generator but that seems a bit pointless.

 

The mission duration variable determines in what time frame ETAs will be assigned. Note that this applies to full-AI packages only. Any package with player participation will have the ETA synchronized to the player spawning at mission start. You can tighten up mission duration if you want, but for immersion I would suggest to allow the opportunity for the player meeting outbound packages when he returns from a mission.

 

Also I cannot seem to get a P-51D 'escort' group to work. Even when the B-17G unit is set to 'self_escort = false' and the P-51Ds are set to 'escort = true' a sortie is not generated for them even though I set attributes to 'bind' them together. It is a very simple mission for learning purposes and only three specific allied units are used, the others (CAP and Sweep) are fine.

 

This can have multiple reasons. Do the P-51D have an eligible escort loadout with sufficient range? The cruise speed of the escort loadout must be equal or higher then the cruise speed of any supported flight. Is there even a potential enemy fighter threat (enemy bases hosting units with CAP or intercept tasks, with sufficient range to cover the target to be attacked, with ready aircraft)? Escorts wont be assigned if there is no enemy fighter threat or if the strike package can completely avoid any fighter threat with an appropriate routing.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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