ChariotOfFLAME Posted April 28 Posted April 28 (edited) I have created a StaticTemplate propagation python script I plan on "releasing" in User Files designed to allow the use of Static Template created on one terrain to be used on all terrains (I understand this is not the intended use of Static Templates). The last piece I am missing is the full list of ["theatre"] values that can be found at the end of any stm file (and/or the name of the terrain folders in DCS World/Mods/terrains). Here is what I have so far: Caucasus Falklands Kola MarianaIslands Syria Nevada Channel PersianGulf Normandy Sinai GermanyCW (TY @Rudel_chw) Afghanistan (TY @Brother_Leb) Iraq (TY @Brother_Leb) EDIT: this community is great! Thanks everyone! Here is the post where I shared the duplicator: Thanks! Edited May 6 by ChariotOfFLAME 3
Rudel_chw Posted April 28 Posted April 28 1 hour ago, ChariotOfFLAME said: {{value for Cold War Germany}} "GermanyCW" (I don't have the other two maps) 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 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Solution Brother_Leb Posted May 1 Solution Posted May 1 Not very interesting but... Iraq = "Iraq" Afghanistan = "Afghanistan" Intel Core i7-13700K 3.4 GHz | MSI ATX Pro Z-790-P WIFI | ASUS TUF RTX 4080 | 64GB (2x32) DDR5 4800Mhz WinWing Orion 2 Hotas w/ Hornet Throttle and Stick grips | HP Reverb G2 | BenQ 21" 60Hz | TrackIR 5 + TrackClip Pro Hornet driver, Blue Angel enthusiast, Tomcat stan
ChariotOfFLAME Posted May 1 Author Posted May 1 Alright, I’ve got what I need! I’ll share the duplicator once I get back to a computer to finalize the code!
Rudel_chw Posted May 1 Posted May 1 2 minutes ago, ChariotOfFLAME said: Alright, I’ve got what I need! I’ll share the duplicator once I get back to a computer to finalize the code! How will you handle the diverse coordinates origins to ensure that the duplicate template is at least within the visible part of the new map? My own templates are edited to work at a specific map location (an airbase, a flat spot for weapons range, a historical position for a SAM battery, etc) so I doubt that a straightforward duplicate would be really usable. 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 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
ChariotOfFLAME Posted May 1 Author Posted May 1 14 minutes ago, Rudel_chw said: How will you handle the diverse coordinates origins to ensure that the duplicate template is at least within the visible part of the new map? My own templates are edited to work at a specific map location (an airbase, a flat spot for weapons range, a historical position for a SAM battery, etc) so I doubt that a straightforward duplicate would be really usable. Static Templates treat the unedited Neutral Bullseye as coordinates [0,0]. This used to be an issue, but now with the multiselect tool, one the steps to saving template for use elsewhere will be moving the units you want to use for the template as close to the original Neutral Bullseye as possible. After converting the file to all environments, when you import the static template, the units will spawn in that relative position to that map’s original Neutral Bullseye. Due to Nevada having its NB at the very top of the visible map, I highly suggest placing the units directly BELOW NB so you can still see them when you load the template (though the multiselect tool will still work to nab those pesky units above the map) 1
Rudel_chw Posted May 1 Posted May 1 2 minutes ago, ChariotOfFLAME said: one the steps to saving template for use elsewhere will be moving the units you want to use for the template as close to the original Neutral Bullseye as possible. OK, got it ... seems I will be able to employ your tool to port at the very least my Fleets Templates 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 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
ChariotOfFLAME Posted May 6 Author Posted May 6 (edited) As promised, here is the duplicator: https://github.com/ChariotOfFLAME/DCS-StaticTemplateDuplicator NOTE: think of this as a small-group duplicator; it is for use with things like SAM sites, static aircraft displays, beach clutter, etc. It is not for use with map-wide or airport-specific templates. e.g. use it as a way to create re-usable templates for common groups of units you use frequently across missions in all theatres. As stated above: On 5/1/2025 at 6:41 PM, ChariotOfFLAME said: Static Templates treat the unedited Neutral Bullseye as coordinates [0,0]. This used to be an issue, but now with the multiselect tool, one the steps to saving template for use elsewhere will be moving the units you want to use for the template as close to the original Neutral Bullseye as possible. After converting the file to all environments, when you import the static template, the units will spawn in that relative position to that map’s original Neutral Bullseye. Due to Nevada having its NB at the very top of the visible map, I highly suggest placing the units directly BELOW NB so you can still see them when you load the template (though the multiselect tool will still work to nab those pesky units above the map) Hope you all like it! Edited May 6 by ChariotOfFLAME 2 1
Recommended Posts