Jump to content

Recommended Posts

Posted

How do you save a template? I made a FOB/FARP and want to save it for others to use.

[sigpic][/sigpic]

US Air Force Retired, 1C371

No rank or title will ever be as important as the unit patch you wear.

Posted (edited)

Well there is Template button on the left menu bar in the editor. Use this to save the template. If you haven't found it.. simply hover your mouse over the different buttons.. Staic object cant be in a template.. templates are comprised of a single group of units of any type.

 

Sharing it is a little tougher...they are saved to \Saved Games\DCS\MissionEditor\template.lua

 

So you can share this file... but the person who you share with needs to understand how to either merge this file with theirs, if they have custom templates themselves, or they can simply replace yours with theirs if they don't.

 

I'd love to see any template that folks have made.. :)

 

EDIT: or you can open the lua file and share the code:

e.g:

    ["STB80 HQ"] = 
   {
       ["country"] = 0,
       ["type"] = "vehicle",
       ["name"] = "STB80 HQ",
       ["units"] = 
       {
           [1] = 
           {
               ["dx"] = 0,
               ["dy"] = 0,
               ["name"] = "ZIL-131 KUNG",
               ["skill"] = "Average",
               ["heading"] = 0,
           }, -- end of [1]
           [2] = 
           {
               ["dx"] = -13.714285712998,
               ["dy"] = 0.57142855005804,
               ["name"] = "T-80UD",
               ["skill"] = "Average",
               ["heading"] = 0,
           }, -- end of [2]
           [3] = 
           {
               ["dx"] = -26.857142855999,
               ["dy"] = 1.1428571200231,
               ["name"] = "BMP-3",
               ["skill"] = "Average",
               ["heading"] = 0,
           },
       }, 
   },

 

:pilotfly:

Edited by MadTommy

i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music.



TM Warthog, Saitek combat pro pedals, TrackIR 4

Posted

I'm thinking sharing the code might be a better way to go.

[sigpic][/sigpic]

US Air Force Retired, 1C371

No rank or title will ever be as important as the unit patch you wear.

  • Recently Browsing   0 members

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