Jump to content

"Realistic Templates" question


Sierra99

Recommended Posts

Gentlemen,

 

I'm using Stukas "Realistic Templates" and have run into a minor issue. Is it possible to change the country association of a template after its created? ? I'd like to use a template on the Nellis range but when I change the groups country to "USAF Aggressors", after placement all of the units in the template change to a single unit.

 

Sierra

[sIGPIC][/sIGPIC]

Primary Computer

ASUS Z390-P, i7-9700K CPU @ 5.0Ghz, 32GB Patriot Viper Steel DDR4 @ 3200Mhz, ZOTAC GeForce 1070 Ti AMP Extreme, Samsung 970 EVO M.2 NVMe drives (1Tb & 500 Gb), Windows 10 Professional, Thrustmaster Warthog HOTAS, Thrustmaster Warthog Stick, Thrustmaster Cougar Throttle, Cougar MFDs x3, Saitek Combat Rudder Pedals and TrackIR 5.

 

-={TAC}=-DCS Server

Gigabyte GA-Z68XP-UD3, i7-3770K CPU @ 3.90GHz, 32GB G.SKILL Ripjaws DDR3 @ 1600Mhz, ZOTAC GeForce® GTX 970.

Link to comment
Share on other sites

+1!

F-15E | AH-64 | F/A-18C | F-14B | A-10C | UH-1H | Mi-8MTV2 | Ka-50 | SA342 | Super Carrier | Nevada | Persian Gulf | Syria |

Intel Core i7 11700K - 32GB 3200MHz CL16 DDR4 - MSI GeForce RTX 3060 Gaming X 12GB - Samsung 970 EVO Plus NVMe SSD 1TB

Link to comment
Share on other sites

Go to:

C:\Users\[username]\Saved Games\DCS\MissionEditor\templates.lua

Open in notepad, notepad++ or your favourite text editor.

 

You can then either change the country value to a different number, off the top of my head I think USAF Aggressors is 7, or duplicate the template by copy-pasting the right lines, give it the new number and a new name.

 

Find out country Id by going here:

...\Eagle Dynamics\DCS World\Scripts\Database\db_countries

You may have to manually count the countries starting with Russia as 0 as they're added to the local db incrementally (line 297 is the incrementer).


Edited by Buzzles
  • Like 3
Link to comment
Share on other sites

Cheers!

F-15E | AH-64 | F/A-18C | F-14B | A-10C | UH-1H | Mi-8MTV2 | Ka-50 | SA342 | Super Carrier | Nevada | Persian Gulf | Syria |

Intel Core i7 11700K - 32GB 3200MHz CL16 DDR4 - MSI GeForce RTX 3060 Gaming X 12GB - Samsung 970 EVO Plus NVMe SSD 1TB

Link to comment
Share on other sites

  • Recently Browsing   0 members

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