Announcement

Collapse
No announcement yet.

Mission Editor - Hot Tips

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by gulredrel View Post
    Hello,
    I need a little help with ships in single player missions.
    ....
    Why change the topic of a thread? ... why didn't you open a new thread for your problem?

    For a moment I tought that a real Hot Tip had been added
    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 1500X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Windows 10 Pro - Thrustmaster HOTAS Cougar - Oculus Rift CV1
    Mobile: iPad Pro 12.9" of 256 GB

    Comment


      moved, so post could be deleted here. sorry, but the answer could be something for a hot tip I thought.

      https://forums.eagle.ru/showthread.p...01#post4310901

      Comment


        This is pretty hot https://youtu.be/BMKBXjjKiDI
        ___________________________________________________________________________
        SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING * PLAYLIST

        Comment


          Originally posted by Panzertard View Post
          I've discovered a few tricks over the time while building missions.
          No need to keep the secrets I've learned if it can help you others.


          ---------------------------------------------------------------
          Q: "I want to check for some condition OR another condition.
          But it seems like all the Mission Editor can do is AND in the conditions!?"

          A: "OR"-condition hack for triggers;
          By default all conditions are using the AND statement.
          However - You can "hack" you mission-file and change it into OR if you like.

          Here's a sample;
          1. Create a mission with a normal AND condition.
          [ATTACH]33931[/ATTACH]
          Normally the above statement will be evaluated as "Group1 dead AND Group2 dead" etc.

          2. Save the mission and open the mission in Notepad++
          Change the AND statements into OR
          [ATTACH]33932[/ATTACH] [ATTACH]33933[/ATTACH]
          3. Test the mission - now you can see that only 1 group needs to be dead;
          [ATTACH]33934[/ATTACH]
          NOTE - if you save the mission again in the Editor it WILL revert to "AND" again. So be sure that this is one of the last things you do.

          Another sample of advanced "AND->OR" hacking;
          If you have a MP map with 8 players and need to check if *any* 2 are in a Zone at the same time.
          How to check for 2 players in a Zone; http://forums.eagle.ru/showpost.php?...4&postcount=23
          How about editing some of these older posts that are now outdated...
          OR for example is now possible in the editor,

          Its a big thread and still relevant, but some of these "TIPS" are really out of date now, considering when thread was originally started back in 2009...
          (A lot of DCS information is just so out of date now and misleading like this post)

          Especially for new guys starting out now trying to find good info. so trying to work out was is now false info is not helping the learn process.
          (and this is a main pinned thread on a very useful topic)

          Just saying... (and thanks heaps for the tips you did do back then, many are still very useful...)
          Last edited 06-04-2020, 12:02 AM.

          Comment


            Labels

            Originally posted by Sedlo View Post
            My issue.... It's hard to spot aircraft in DCS with my setup, but using labels makes it too easy.

            My solution? Use the dot labels, but make it so that friendly and hostile units appear to be the SAME colour. Helps with the spotting, but you still have to get close to visually ID them.

            Thanks for everyone on the forums here that showed me how to do this, I thought I'd put it into one thread for reference.

            This also may not be the most efficient way to do it, but it does work for me for now.
            ...

            Full post here

            This is what I do for labels:
            This gives better visibility without the default overkill labels.
            (Of course labels have to be enabled in game client for this to apply)

            This is based on what is done on the Red Iberia MP server. This is their blog post with the labels.lua script and description here
            The general gist is as follows:

            No Red/Blue all labels are the same color, Black.
            Aircraft labels remain as a dot and begin fading in at 8km, reach max view-ability at 3km before fading back out by 500m
            Missiles remain as as dot start fading in at 4km reaching peak view-ability at 500m.
            Ground Units start fading in at 3km and have faded out by 1km.
            Naval units fade in at 9km and fade out at 6km
            labels.lua
            You can put this in the mission file(as per the above post) and/or if you want to use this on your own client for your labels offline (overriding the default labels) by placing in this folder (the labels.lua script).

            Saved Games\DCS\Config\View

            This will take precedence over the built in labels.lua script in dcs located in this game folder DCSWorld\Config\View (Do not overwrite this default file in the games folder, use the saved games location above)

            You can also write your own custom labels.lua file and tweak to suite. It's commented and not hard to work out what it does.

            Precedence (highest to lowest) for labels.lua is
            The mission file => The saved games folder location =>The game folder location.
            Last edited 06-04-2020, 01:14 AM.

            Comment


              Hello editors. I want to make a mission for fire fighting with helicopters.Any idea how can i do it?

              On "actions" i can see only "STATIC ACTIVE" but not deactive. Any idea how to deactive a "smoke and fire effect" from an area?
              sigpic

              Comment


                Originally posted by slowmover View Post
                Hello editors. I want to make a mission for fire fighting with helicopters.Any idea how can i do it?

                On "actions" i can see only "STATIC ACTIVE" but not deactive. Any idea how to deactive a "smoke and fire effect" from an area?
                No, that is not a very hot tip, but thank you for your contribution.

                Comment


                  Turn static ship into working FARP

                  Discovered an easy way to do this yesterday - thought I'd share this tip.

                  I found Mithandra's "Alligator 1171 Class Saratov Helipad Version" static ship yesterday but was disappointed it wasn't FARP enabled. (Later discovered it IS FARP enabled. See explanation below)
                  https://www.digitalcombatsimulator.c...files/2542583/

                  I later found Suntsag's "AM2 Mat Mod" here https://forums.eagle.ru/showthread.php?t=273049 (Post # 8 )

                  Had a brainwave on combining the two mods and tried it out - it worked! Yay!

                  Place the Alligator Helipad ship in shallow enough water like a river, lake or coastal waters, then place an AM2 Mat right under the ship helipad - hey presto, instant Alligator Helipad FARP ship!

                  It will work as long as the water depth plus helipad height above it doesn't exceed the service radius of the AM2 Mat. I used the single "**X1_AM2_Mat NGUR" mat as shown in the screenshot and it worked great. Must be the "NGUR" Version as that signifies "No Ground Units Required".

                  This trick should also work with any other floating static or stationary ship/boat/barge etc that has a suitable landing surface that's big enough for a chopper to land on.

                  EDIT: Just realised Mithandra's Alligator Helipad Ship IS FARP enabled. I initially didn't see it in the ships list so thought it was simply a static model but it is a complete ship unit. My apologies for being a dumbass.

                  However - you can't put ships in rivers or lakes, even with the old copy and paste trick so my trick above is still useful. Allows you to put a static Alligator Helipad Ship (or other vessel) in inland waterways and FARP enable it. Can't spawn aircraft on it though unfortunately.
                  Attached Files
                  Last edited 08-27-2020, 08:56 PM.

                  Comment


                    If you like creating missions that simulate night fighting here are a few tips.

                    Pick a time and day that has a full moon. This way the moon can add some color to the scene and some much needed light in dusk and dawn conditions.

                    Schedule flights around dusk and dawn. Typical missions last about 1-1.5 hours (before your butt gets square), so you can easily find days where the entire mission can be flown without the sun and without the need for NVGs.


                    If you increase Gamma to at least 2, dusk and dawn missions will be much nicer. If you add the full moon, the increased Gamma makes the moonlight seem more real. Do NOT use Nvidia Gamma in the Nvidia Control Panel under Adjust Desktop Color Settings. This causes banding where light and dark come together, and the stars will disappear. Leave it set to Other Applications control color settings, and use DCS Gamma.



                    Schedule flights in the winter (Caucasus). The white snow adds much needed visibility during dusk and dawn missions.
                    Last edited 10-06-2020, 03:24 AM. Reason: Additions
                    ----------------------

                    Modules: Nevada, Caucasus, Su-25T, F-16C, F/A-18C, Persian Gulf, TF-51D, Syria, Open Beta
                    140GB of goodness, and counting.

                    Comment


                      ME won't load any Missions

                      After the mini update my ME won't load any of my missions, all my mission loaded before the update but now not one will load. I had done repairs, updates and removed all mods but it still will not load. Missions will load normally but not in ME which means I can't change, make or modify any thing. I have attach my log file, also can not load mission in the Release version either.
                      Attached Files
                      Win7 Pro 64bit | Half X F/T Case | Corsair 850AT ps | Asus Rampage 5 Edition 10 MB | I7 6850K @4200 | Nepton 240 W/C | 32GB DDR4-3200 Gskill Mem | Asus 1080 gpu/8gb | SB-Z audio | Asus 24" 1440 Monitor | X55 Rhino F/C | Crosswind R/P | Track-ir-5 |

                      Comment


                        Originally posted by too-cool View Post
                        After the mini update my ME won't load any of my missions, all my mission loaded before the update but now not one will load. I had done repairs, updates and removed all mods but it still will not load. Missions will load normally but not in ME which means I can't change, make or modify any thing. I have attach my log file, also can not load mission in the Release version either.
                        According to that log you have a bunch of mods that appear to have their own errors with loading.

                        The error in the editor is stated below. I have to assume you have a mod installed that modifies the me_briefing.lua file or its an older version of the file because by default there is nothing on line 122. And a mod like my coalition modification does have something on that line, but it doesnt contain dialogsDir.

                        Try deleting that file and running a repair.


                        Code:
                        LUACOMMON: Error: GUI Error: [string "./MissionEditor/modules/me_briefing.lua"]:122: attempt to concatenate field 'dialogsDir' (a nil value)
                        GUI debug.traceback: stack traceback:
                        	[C]: ?
                        	[string "./MissionEditor/modules/me_briefing.lua"]:122: in function 'create_'
                        	[string "./MissionEditor/modules/me_briefing.lua"]:184: in function '?'
                        	[string "./MissionEditor/modules/me_toolbar.lua"]:1132: in function 'untoggle_all_except'
                        	[string "./MissionEditor/modules/me_toolbar.lua"]:1211: in function <[string "./MissionEditor/modules/me_toolbar.lua"]:1207>
                        The right man in the wrong place makes all the difference in the world.
                        Current Projects: Scripting Wiki, Something...
                        Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

                        Comment

                        Working...
                        X