Jump to content

Mission Editor - Hot Tips


MadTommy

Recommended Posts

In the first entry of this post we have this:

 

Blank Template Mission with triggers set for 4 scenarios all with a 25% chance of occurring, but no two will occur at once. i.e make a mission where there are 4 different scenarios possible, with one being chosen randomly and the mission start.

 

But link is broken. Can someone create such mission and upload please?

I don't understand anything in russian except Davai Davai!

Link to comment
Share on other sites

http://en.wiki.eagle.ru/wiki/Mission_Editor:_Randomization

 

"Single Choice from list" is how to do it.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

Grimes,,,

From the Wiki link you gave above -

"Once> Time Less than 5> Set Flag 1 Random Value from 1 to 5

This trigger sets a random value for flag 1 to inclusively within the range 2 and 5. Thus the options are 1, 2, 3, 4, or 5. It is similar to setting a random 20% condition, but not quite."

 

Is there a mistake in the part that says, "within the range 2 and 5."?

 

Shouldn't it be, "within the range 1 and 5."?

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Link to comment
Share on other sites

  • 2 months later...

---------------------------------------------------------------

Q: "Loading and testing takes too long time!!"

A: Efficient Editing 101 - view world while editing;

This method is very effective if you need to place units precisly.

You will run two instances of DCS - one SP and one MP.

Preparation; Set up DCS/FC2 to run in Windowed mode - set window size to 3/4 of your desktop.

  • Start a DCS:BS in MP mode, keep it ready for loading a mission
    (You need to start DCS in MP before DCS in SP if you plan on using TrackIR / Hotas that hooks into the DCS.exe)
    Do not close it.
  • Start DCS:BS Mission Editor secondly - edit your mission.
    SAVE the mission.
  • Without closing the SP
    - Load the mission in MP as Server, use F2/F7 etc to view your unit positions.
  • In the SP editor
    - Adjust your Units position. Or add new one's.
    - Do NOT save while mission is loaded and running in MP.
  • Disconnect from your MP Server mission.
  • SAVE your mission in SP Editor.
  • LOAD mission again to review changes.

[ATTACH]33926[/ATTACH] [ATTACH]33927[/ATTACH] [ATTACH]33928[/ATTACH]

(Fun-Fact: CoBa was killed by the Gepard 3 times without spotting it)

 

 

Does this still work?..

Man I could really use a navigator right about now.

 

i7-3770K @ Stock

MSI GD-65 Z77 Mobo

G.Skill Ripjaws Z [16GB] @ 2133 Mhz

AMD Radeon HD 7950 [sapphire Tech] @ 1150/1600 Mhz

OCZ Vector 256GB [C:/]

Seagate Barracuda LP 2TB @ 5900RPM [D:/]

Western Digital Caviar Black 2TB @ 7200 [E:/]

Western Digital Blue 1TB @ 7200 [H:/]

Corsair AX850 PSU

Corsair 650D Case [so Sexy <3]

 

Link to comment
Share on other sites

  • 2 weeks later...
---------------------------------------------------------------

Q: "Loading and testing takes too long time!!"

A: Efficient Editing 101 - view world while editing;

This method is very effective if you need to place units precisly.

You will run two instances of DCS - one SP and one MP.

Preparation; Set up DCS/FC2 to run in Windowed mode - set window size to 3/4 of your desktop.

  • Start a DCS:BS in MP mode, keep it ready for loading a mission
    (You need to start DCS in MP before DCS in SP if you plan on using TrackIR / Hotas that hooks into the DCS.exe)
    Do not close it.
  • Start DCS:BS Mission Editor secondly - edit your mission.
    SAVE the mission.
  • Without closing the SP
    - Load the mission in MP as Server, use F2/F7 etc to view your unit positions.
  • In the SP editor
    - Adjust your Units position. Or add new one's.
    - Do NOT save while mission is loaded and running in MP.
  • Disconnect from your MP Server mission.
  • SAVE your mission in SP Editor.
  • LOAD mission again to review changes.

[ATTACH]33926[/ATTACH] [ATTACH]33927[/ATTACH] [ATTACH]33928[/ATTACH]

(Fun-Fact: CoBa was killed by the Gepard 3 times without spotting it)

 

 

Does this still work?..

 

Going to try this tonight. The load times make my 'lua trial and error' mistakes costly :wallbash:

314-я смешанная авиационная дивизия

314th Mixed Aviation Division: The "Fighting Lemmings"- Forums: http://314thsquadron.enjin.com/ - ED Forum Group: http://forums.eagle.ru/group.php?groupid=119

Link to comment
Share on other sites

  • 2 months later...
env.mission.coalitions doesn't really change which country is in which coalition. It *might* effect what is displayed in the briefing boxes, but that would be it.

 

 

What you are looking for is the table env.mission.coalition (note it has no "s" at the end. In there you have the tables

 

env.mission.coalition.blue.country

 

Each country has its own table containing the units within organized by group type. So you get something like this:

 

   ["coalition"] = 
   {
       ["blue"] = 
       {
           ["bullseye"] = 
           {
               ["y"] = 683857.14285714,
               ["x"] = -284857.14285714,
           }, -- end of ["bullseye"]
           ["nav_points"] = 
           {
           }, -- end of ["nav_points"]
           ["name"] = "BLUE",
           ["country"] = 
           {
               [1] = 
               {
                   ["id"] = 5,
                   ["name"] = "France",
               }, -- end of [1]
               [2] = 
               {
                   ["id"] = 16,
                   ["name"] = "Georgia",
                   ["plane"] = 
                   {
                       ["group"] = 
                       {
                           [1] = 
                           {

 

This is where you have to add countries. Empty countries can simply be in the format

               [1] =  -- Index
               {
                   ["id"] = 5, -- id enum
                   ["name"] = "France", -- id name
               }, -- end of [1]

 

It is also recommended to make sure the coalitions match the coalition table.

 

Hi all - i attempted to make this edit by creating the .zip extension and editing in Notepad+... here is the edit i placed in the mission file within the .zip archive:

                             ["y"] = 378185.14285715,
                               ["x"] = 30192.857142855,
                               ["name"] = "AI US C",
                               ["communication"] = true,
                               ["start_time"] = 0,
                               ["modulation"] = 0,
                               ["frequency"] = 124,
                           }, -- end of [11]
                       }, -- end of ["group"]
                   }, -- end of ["plane"]
               }, -- end of [1]
		[color="Red"]	[2] = 
			{
				["id"] = 18, -- id enum
                   ["name"] = "Abkhazia", -- id name
               }, -- end of [2] [/color]
           }, -- end of ["country"]
       }, -- end of ["blue"]

The stuff in red is the coalition i am trying to add but it doesnt seem to be workign ... note that I am adding this just after the USA units have all been listed and just after [1] is ended but before the country/coalition is ended.

 

Any help pointing out where i went wrong?

:helpsmilie:

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Link to comment
Share on other sites

  • 2 months later...

I hope this is as simple and stupid as I think it is:

I want to add a picture for the mission briefing, but I can't select that picture. It is a 512x512 px *.jpg. I tried bigger and smaller resolution, but they still don't show up in the "choose picture" dialogue.

 

Thx,

Mav

Link to comment
Share on other sites

I hope this is as simple and stupid as I think it is:

I want to add a picture for the mission briefing, but I can't select that picture. It is a 512x512 px *.jpg. I tried bigger and smaller resolution, but they still don't show up in the "choose picture" dialogue.

 

I've just taken a screenshot of the "changes picture for BLUE/RED coalition" dialog in action.

 

I noticed the filter next to the file-name field. In my installation, I can't select anything other than "Images (...)". Does it show that for you as well?

 

In the past I've accidentally added smaller and larger images (compared to 512 * 512) and they looked bad, but there was no problem actually adding them to a mission.

dcs_me_add_picture_dialog.thumb.png.3b0cc5db73d1726c0e0434edfbf3ee87.png

Link to comment
Share on other sites

looks exactly the same, except some images I want to import don't show up. As you mentioned screenshots: I have some in the same folder, they do show up. The images I want to add are jpg aswell, just no screenshots but taken with the windows snipping tool and then edited and resized with Gimp.

But I fail to see why this should affect the selection dialogue / the appearance of the pictures...

Link to comment
Share on other sites

looks exactly the same, except some images I want to import don't show up. As you mentioned screenshots: I have some in the same folder, they do show up. The images I want to add are jpg aswell, just no screenshots but taken with the windows snipping tool and then edited and resized with Gimp.

But I fail to see why this should affect the selection dialogue / the appearance of the pictures...

 

Sounds weird. A couple of wild guesses regarding the files in question:

  • Do the filenames contain any special characters or localized characters?
  • Are the JPEG files stored in RGB or CMYK?
  • Are DPI set to something other than 72?
  • If you edit a screenshot with Gimp, can it still be added in DCS?

 

I don't know the image requirements for DCS missions, but maybe it has to do with one of the above?

Link to comment
Share on other sites

I hope this is as simple and stupid as I think it is

 

And here we go, can't be more stupid than it actually is:

snipping tool and afterwards gimp saved the images as JPG, capital letters. no problem at all until you encounter the DCS ME xD

Link to comment
Share on other sites

And here we go, can't be more stupid than it actually is:

snipping tool and afterwards gimp saved the images as JPG, capital letters. no problem at all until you encounter the DCS ME xD

 

Haha, that's so simple I didn't even think of it. Especially given that Windows is usually not case-sensitive. :)

Link to comment
Share on other sites

  • 1 month later...
Is there a way to Loop waypoints for infinite patrols?

 

for ground unit, you can use MiST and place a script on the last WP of the group

mist.ground.patrol('groupsName')

 

http://forums.eagle.ru/showpost.php?p=1776776&postcount=9

Playing: F-16C

Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof.

Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh

Ghost0815

Link to comment
Share on other sites

  • 1 year later...

About 7°. I did an experiment where I put a flight path in at the ME's 0, 90, 270 headings and noticed a 7° difference.

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Link to comment
Share on other sites

Also it depends on how far away you are East/West from the map origin, which is in the middle of the Crimea. The deviation gets larger the further away it is. Its why there is a mist function "getNorthCorrection" :)

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

  • 5 months later...

i want to create a mission in 1.5 where i can get a points for delivering cargo to a drop zone, the "unit\group in zone" trigger is not working, how should my trigger must look like? i have tried everything, please help or upload a miz example :(

MB: Asus ROG Strix Z390-E \ CPU: i9-9900K NZXT Kraken X52\ DDR4: 3000MHz G.SKILL Trident Z Royal 32Gb RAM \

VID: MSI Nvidia RTX4070 12GB \ MON: Samsung ue49ks8000 49'', Lilliput 8'' x2

CNTRL: Thrustmaster HOTAS Warthog \ Saitek Combat Rudder pedals \ TrackIR 5 \ Thrustmaster MFD Cougar Pack

Link to comment
Share on other sites

  • 5 months later...

I played with the Mission Editor settings, but there is one thing i don't understand how is working.

The Mission Options ( image bellow )

If i want to have " unlimited weapons " for example, do I have to check the box, on the left side, as well ?

Thank you

1177792712_MISSIONOPTIONS.jpg.ac878ee7b92908aadfd547a5ad072e46.jpg

I9 12900k@ 5 GHz | 32 GB DDR4 | Asus ROG  Strix Z690-A Gaming Wifi d4| RTX 3090 | 6 TB SSD + 8 TB HDD | 4K Samsung Q90R 55" | VKB MK III PRO L | Virpil Throttle MONGOOST-50 | MFG Crosswind | TrackIR5

Link to comment
Share on other sites

I played with the Mission Editor settings, but there is one thing i don't understand how is working.

The Mission Options ( image bellow )

If i want to have " unlimited weapons " for example, do I have to check the box, on the left side, as well ?

The checkbox on the left side says whether or not this setting is enforced for this particular mission. The checkbox on the right hand side says what to enforce.

 

So if you tick "Unlimited weapons" on the left side, but leave the right side off, then that means Unlimited weapons is not allowed (forced off) for the mission.

 

If you tick both boxes, then it will be enabled.

 

This allows you to e.g. force labels off, etc.

Link to comment
Share on other sites

Thanks a million, i played with those boxes ticked and unticked, but i couldn't notice any differences.Anyway, i'll keep testing.

One more thing, please. I tested about 4-5 days, i can't find out.

Here, for example, i have a mission. 4 x F-86 ( and me ) versus some russian planes, etc

I tried to remove all those 4 x F-86, i want to play alone vs all those russian planes

But after i remove all of them ( F-86 ) nothing happent ( attached image )

I attached the modified mission, as well.

1344341101_missioneditor.thumb.jpg.8722539566e2c8b2cd7941f146e0d118.jpg

Dog.fighting_URSS.miz

I9 12900k@ 5 GHz | 32 GB DDR4 | Asus ROG  Strix Z690-A Gaming Wifi d4| RTX 3090 | 6 TB SSD + 8 TB HDD | 4K Samsung Q90R 55" | VKB MK III PRO L | Virpil Throttle MONGOOST-50 | MFG Crosswind | TrackIR5

Link to comment
Share on other sites

  • Recently Browsing   0 members

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