Mr_sukebe Posted June 10, 2018 Posted June 10, 2018 Hi, hoping that someone can point me in the right direction. In short, I'm looking to facilitate the creation of an "allies" group and a kind of "axis" group. For those two countries, I was thinking of simply giving them access to all kit in game, i.e. all ships, aircraft, weapons etc. Just saves having to muck about creating coalitions. My understanding is that the DB_Countries.lua can be edited to achieve this. I've opened it up (using Notepad++) and conducted a simple edit, allowing a country to have a set of ships that it shouldn't normally have. So that works fine. My questions are around some of the ships that I'm expecting to see, but can't. For example, there's no Stennis or Tarawa in the DB_Countries.lua. So how are they controlled? Of course option B is that if anyone has already done what I'm looking for, i.e. given a couple of countries access to everything, and are happy to upload the DB, that would be awesome. 7800x3d, 5080, 64GB, PCIE5 SSD - Oculus Pro - Moza (AB9), Virpil (Alpha, CM3, CM1 and CM2), WW (TOP and CP), TM (MFDs, Pendular Rudder), Tek Creations (F18 panel), Total Controls (Apache MFD), Jetseat
crazyeddie Posted June 10, 2018 Posted June 10, 2018 The DCS Ships are allocated within the countires.lua, so adding them to a new 'country', or 'coalition' is quite easy, as you already know. I do this using a small JSGME Mod that I have set up for myself, but each update tends to make small changes to the core lua so you have to be very careful to check what has changed each time. The problem you have identified comes from non DCS ships. In that case you have to go to the Mod itself, find the lua for that ship within the mod and look for a line that looks like this: GT.Countries = { "France",}; This line means this ship will only show up under France. To change that simply do this, add some dashes, that stops the game reading that line so now this ship will show up in every country, by default. ----GT.Countries = { "France",}; Some of the Mods are very complicated, you might have to look really hard to see where that element of the allocation is within an lua.
BritTorrent Posted June 13, 2018 Posted June 13, 2018 This wouldn't be a bad idea overall. Create a 'NATO' faction for example, that has access to all the current NATO units and skins. Would make mission creation a lot easier that's for sure.
Recommended Posts