[REPORTED]Cannot place unit of USAF Aggressor or Insurgent Coalition - ED Forums
 


Notices

Closed Thread
 
Thread Tools Display Modes
Old 07-06-2018, 06:44 PM   #1
discwalker
Senior Member
 
discwalker's Avatar
 
Join Date: Nov 2015
Posts: 1,330
Default [REPORTED]Cannot place unit of USAF Aggressor or Insurgent Coalition

in this downgraded multiplayer mission:
probably created with 2.5.2 ob u4
downgraded with 2.5.2 ob u6hotfix1 (remove all units, neutral to all airbases with unlimited resources)

In freshly created missions I can place J-11A to both China and USAF aggressors side to any desired coalition color,
BUT
in this coalition arragement the red Chinese showing blue on the map as under the name of another country, the unit type also modified.
But in unit list the J-11A not change. In this list these misbehaving items are not deleteable by DEL key.

When you save this mess, China assets completely missing from the saved mission.
Attached Files
File Type: miz try_to_place_chinese_asset_then_review_and_save.miz (10.1 KB, 74 views)
discwalker is offline  
Old 07-06-2018, 07:10 PM   #2
discwalker
Senior Member
 
discwalker's Avatar
 
Join Date: Nov 2015
Posts: 1,330
Cool Via mission editor China is lost from this section

Quote:
["name"] = "red",
["country"] =
{
from the original problematic mission, there only 6 countries listed of the 7 reds.
And this loss is permanent during new saves.
discwalker is offline  
Old 10-01-2018, 09:13 PM   #3
Pawsie
Junior Member
 
Pawsie's Avatar
 
Join Date: May 2018
Location: Norway
Posts: 35
Default

I've encountered the same problem several times - seems to be a mismatch from mission editor.

I opened your "mission" (no extension) file in notepad++ and saw what I had been struggling with.

I searched for "coalitions". Under red coalition, line 260 reads [3] = 27 << this is correct

Now take a look at lines 454-455:
["id"] = 19, (should've been 27)
["name"] = "South Ossetia" (should've been "China")

I just started making a wwii mission on Normandy map...and sort of same thing happened. I selected Norway as one of the allied countries, moved Italy to neutral (since I would use Italian Social Republic), as well as doing some other sorting.
Trying to place norwergian units, however...nope, same problem as I had had with chinese. So, I opened the mission file again...and coalitions are mucked up again. Maybe a mismatch between the tables where you choose coalitions when starting to build a mission, and the table the mission editor looks up?
Pawsie is offline  
Old 10-30-2018, 08:57 PM   #4
discwalker
Senior Member
 
discwalker's Avatar
 
Join Date: Nov 2015
Posts: 1,330
Angry the bug extendedly alive in 2.5.3.23225

No mods involved to create this messy mission:

Blue side 32 country -> 27 usable (unusable: 69=Italian soc. rep., 36=Japan, 22=Switzerland, 66=Third Reich, 7=USAF Aggressors)
Red side 9 country -> 6 usable (unusable: 27=China, 17=Insugents, 68=USSR)

A more intelligent mission resave could easily correct this. Or a more intelligent first unit creator procedure!

coalition declaration (without neutrals):
Code:
    ["coalitions"] = 
    {
        ["blue"] = 
        {
            [1] = 21,
            [2] = 23,
            [3] = 11,
            [4] = 25,
            [5] = 8,
            [6] = 28,
            [7] = 26,
            [8] = 13,
            [9] = 30,
            [10] = 5,
            [11] = 16,
            [12] = 6,
            [13] = 31,
            [14] = 32,
            [15] = 15,
            [16] = 69,
            [17] = 20,
            [18] = 36,
            [19] = 12,
            [20] = 40,
            [21] = 41,
            [22] = 44,
            [23] = 9,
            [24] = 46,
            [25] = 22,
            [26] = 10,
            [27] = 66,
            [28] = 3,
            [29] = 4,
            [30] = 1,
            [31] = 2,
            [32] = 7,
        }, -- end of ["blue"]
        ["red"] = 
        {
            [1] = 18,
            [2] = 24,
            [3] = 27,
            [4] = 17,
            [5] = 0,
            [6] = 43,
            [7] = 19,
            [8] = 47,
            [9] = 68,
        }, -- end of ["red"]
missing countries from unit declaration (the order is unimportant):
Code:
    ["coalition"] = 
    {
        ["blue"] = 
        {
            ["bullseye"] = 
            {
                ["y"] = 625697.98691655,
                ["x"] = -306184.75268309,
            }, -- end of ["bullseye"]
            ["nav_points"] = 
            {
            }, -- end of ["nav_points"]
            ["name"] = "blue",
            ["country"] = 
            {
                [1] = 
                {
                    ["id"] = 23,
                    ["name"] = "Austria",
                }, -- end of [1]
                [2] = 
                {
                    ["id"] = 25,
                    ["name"] = "Bulgaria",
                }, -- end of [2]
                [3] = 
                {
                    ["id"] = 30,
                    ["name"] = "Finland",
                }, -- end of [3]
                [4] = 
                {
                    ["id"] = 31,
                    ["name"] = "Greece",
                }, -- end of [4]
                [5] = 
                {
                    ["id"] = 32,
                    ["name"] = "Hungary",
                }, -- end of [5]
                [6] = 
                {
                    ["id"] = 41,
                    ["name"] = "Romania",
                }, -- end of [6]
                [7] = 
                {
                    ["id"] = 44,
                    ["name"] = "Slovakia",
                }, -- end of [7]
                [8] = 
                {
                    ["id"] = 1,
                    ["name"] = "Ukraine",
                }, -- end of [8]
                [9] = 
                {
                    ["id"] = 11,
                    ["name"] = "Belgium",
                }, -- end of [9]
                [10] = 
                {
                    ["id"] = 4,
                    ["name"] = "UK",
                }, -- end of [10]
                [11] = 
                {
                    ["id"] = 6,
                    ["name"] = "Germany",
                }, -- end of [11]
                [12] = 
                {
                    ["id"] = 16,
                    ["name"] = "Georgia",
                }, -- end of [12]
                [13] = 
                {
                    ["id"] = 13,
                    ["name"] = "Denmark",
                }, -- end of [13]
                [14] = 
                {
                    ["id"] = 15,
                    ["name"] = "Israel",
                }, -- end of [14]
                [15] = 
                {
                    ["id"] = 9,
                    ["name"] = "Spain",
                }, -- end of [15]
                [16] = 
                {
                    ["id"] = 8,
                    ["name"] = "Canada",
                }, -- end of [16]
                [17] = 
                {
                    ["id"] = 12,
                    ["name"] = "Norway",
                }, -- end of [17]
                [18] = 
                {
                    ["id"] = 2,
                    ["name"] = "USA",
                }, -- end of [18]
                [19] = 
                {
                    ["id"] = 3,
                    ["name"] = "Turkey",
                }, -- end of [19]
                [20] = 
                {
                    ["id"] = 5,
                    ["name"] = "France",
                }, -- end of [20]
                [21] = 
                {
                    ["id"] = 10,
                    ["name"] = "The Netherlands",
                }, -- end of [21]
                [22] = 
                {
                    ["id"] = 20,
                    ["name"] = "Italy",
                }, -- end of [22]
                [23] = 
                {
                    ["id"] = 21,
                    ["name"] = "Australia",
                }, -- end of [23]
                [24] = 
                {
                    ["id"] = 40,
                    ["name"] = "Poland",
                }, -- end of [24]
                [25] = 
                {
                    ["id"] = 26,
                    ["name"] = "Czech Republic",
                }, -- end of [25]
                [26] = 
                {
                    ["id"] = 28,
                    ["name"] = "Croatia",
                }, -- end of [26]
                [27] = 
                {
                    ["id"] = 46,
                    ["name"] = "Sweden",
                }, -- end of [27]
            }, -- end of ["country"]
        }, -- end of ["blue"]
        ["red"] = 
        {
            ["bullseye"] = 
            {
                ["y"] = 476584.79871728,
                ["x"] = -170650.02037614,
            }, -- end of ["bullseye"]
            ["nav_points"] = 
            {
            }, -- end of ["nav_points"]
            ["name"] = "red",
            ["country"] = 
            {
                [1] = 
                {
                    ["id"] = 0,
                    ["name"] = "Russia",
                }, -- end of [1]
                [2] = 
                {
                    ["id"] = 18,
                    ["name"] = "Abkhazia",
                }, -- end of [2]
                [3] = 
                {
                    ["id"] = 19,
                    ["name"] = "South Ossetia",
                }, -- end of [3]
                [4] = 
                {
                    ["id"] = 24,
                    ["name"] = "Belarus",
                }, -- end of [4]
                [5] = 
                {
                    ["id"] = 43,
                    ["name"] = "Serbia",
                }, -- end of [5]
                [6] = 
                {
                    ["id"] = 47,
                    ["name"] = "Syria",
                }, -- end of [6]
            }, -- end of ["country"]
        }, -- end of ["red"]
    }, -- end of ["coalition"]
Attached Files
File Type: miz BLUE_vs_RED_v1.5_empty.miz (23.2 KB, 58 views)
__________________
GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

Last edited by discwalker; 10-30-2018 at 09:58 PM.
discwalker is offline  
Old 10-10-2019, 11:51 AM   #5
flyboy068
Junior Member
 
Join Date: Jun 2014
Posts: 3
Default Cannot place unit of USAF Aggressor or Insurgent Coalition

I'm currently building a mission that requires USAF Aggressors and Insurgents as Red Coalition. I've assigned my coalitions correctly upon creating the new mission file, and I'm unable to place any object with the coalition of USAF Aggressors. I've also tried placing an object down as another Red coalition, like Russia, and changing the unit's country to USAF Aggressors, but it reverts back to Russia.

When placing a new object down as USAF Aggressors or Insurgents, no object is placed and the object button used on the left deselects as if an object was placed. I've checked the unit list to see if it's getting placed somewhere weird but it's not placed at all.

I'm on DCS Openbeta 2.5.5.36986.
Attached Files
File Type: miz JTF-68_Caucasus_Training_v1.0.miz (50.3 KB, 92 views)

Last edited by flyboy068; 10-10-2019 at 11:55 AM. Reason: I've attached my mission file I'm working on to see if it's related to the mission file itself
flyboy068 is offline  
Old 10-10-2019, 11:57 AM   #6
BIGNEWY
ED Community Manager
 
BIGNEWY's Avatar
 
Join Date: Aug 2011
Location: UK
Posts: 22,036
Default

Hi welcome to the forum.

I have just tried mine and it seems ok.

Is the aggressors and insurgents in a blue or red coalition?

Please try again and attach your dcs.log here after your attempt we may find some clues.

dcs.log can be found in your saved games DCS folder.

example C:\Users\yourname\Saved Games\DCS
__________________
BIGNEWY
Community Manager Eagle Dynamics
Windows 10 Pro x64, NVIDIA MSI RTX 2080Ti VENTUS GP, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 32GB DDR @3000, ASUS ROG Strix Z490-F Gaming, TM Warthog, Jet provost rudder pedals, VIVE Cosmos

BIGNEWY is offline  
Old 10-10-2019, 12:02 PM   #7
flyboy068
Junior Member
 
Join Date: Jun 2014
Posts: 3
Default

Here's my dcs.log, didn't even think to check it

Edit: USAF Aggressors and Insurgents were both set as Red
Attached Files
File Type: txt dcs.log.txt (141.7 KB, 130 views)

Last edited by flyboy068; 10-10-2019 at 12:12 PM.
flyboy068 is offline  
Old 10-11-2019, 05:02 PM   #8
discwalker
Senior Member
 
discwalker's Avatar
 
Join Date: Nov 2015
Posts: 1,330
Default BIGNEWY try with the first attached mission, its corrupted via editor

The same rare error since 2018 july: https://forums.eagle.ru/showthread.php?t=215146
(Unable to place chinese assets) and one more example

There are red Russian units in the attached mission, but clearly only USAF aggressors and Insurgent on red side by declaration.
The placed true red units revert back to USA. (edit: Russia in the blue side by declaration! 10 blue in declaration, 27 in implementation!)

coalition declaration (This showed in briefing):
Code:
        ["red"] = 
        {
            [1] = 17,
            [2] = 7,
        }, -- end of ["red"]
coalition implementation:
Code:
        ["red"] = 
        {
            ["bullseye"] = 
            {
                ["y"] = 371700,
                ["x"] = 11557,
            }, -- end of ["bullseye"]
            ["nav_points"] = 
            {
            }, -- end of ["nav_points"]
            ["name"] = "red",
            ["country"] = 
            {
                [1] = 
                {
                    ["id"] = 0,
                    ["name"] = "Russia",
                }, -- end of [1]
                [2] = 
                {
                    ["id"] = 18,
                    ["name"] = "Abkhazia",
                }, -- end of [2]
                [3] = 
                {
                    ["id"] = 19,
                    ["name"] = "South Ossetia",
                }, -- end of [3]
                [4] = 
                {
                    ["id"] = 24,
                    ["name"] = "Belarus",
                }, -- end of [4]
                [5] = 
                {
                    ["id"] = 27,
                    ["name"] = "China",
                }, -- end of [5]
                [6] = 
                {
                    ["id"] = 43,
                    ["name"] = "Serbia",
                }, -- end of [6]
                [7] = 
                {
                    ["id"] = 47,
                    ["name"] = "Syria",
                }, -- end of [7]
            }, -- end of ["country"]
        }, -- end of ["red"]
__________________
GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

Last edited by discwalker; 10-12-2019 at 09:21 AM. Reason: briefing+Russia
discwalker is offline  
Old 10-12-2019, 02:54 AM   #9
flyboy068
Junior Member
 
Join Date: Jun 2014
Posts: 3
Default

Any idea why this happened with a new mission created?

I could see this happening if the coalitions were edited after mission creation, but I don't understand how the coalitions got corrupted in the mission I've attached above.
__________________
Wing Commander, JTF-68 "Jammers"
flyboy068 is offline  
Old 10-12-2019, 09:36 AM   #10
discwalker
Senior Member
 
discwalker's Avatar
 
Join Date: Nov 2015
Posts: 1,330
Default

The first idea of ED is the Su-57 and F-22 mod in your log, but this is accusation.
The other 2 mission examples in the sister thread came without any mods installed. (our VHUNAF leader's installation)
The XML like "mission" text file generator can suffer from design failure,
the double country assignment can be corrupt, and corrupting sometimes.
The corrupt state constant when new saves done.
__________________
GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD
discwalker is offline  
Closed Thread

Tags
bug, coalitions fail, mission editor, triaged

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:06 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.