Mods (HardFFA, Claustrophobia) do not work on certain maps [SOLVED]

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Mods (HardFFA, Claustrophobia) do not work on certain maps

Postby UnorthodoxBox » 18 Apr 2019, 05:00

I had updated the map "alpha 7 quarantine" directly from the forged alliance maps folder and it does not work with HardFFA now, however the original does. I have tested the mod on another map i made from scratch, and it does work on said map. When it works on one map, the log shows: https://gyazo.com/8f4bc27b81cc6dfdae89e449d22945a2 . When it does not work on the map I am having the issue with, the log shows: https://gyazo.com/0a34d5c32bb9817cda79a4aaee5360e6 . Does anyone know what causes this? I cannot find any reason in the map lua files.

Edit: After further experimentation, I have discovered claustrophobia does not work, but nomads does, leading me to believe that this is an issue with mods that affect the map, and not mods that affect game entities.
User avatar
UnorthodoxBox
Avatar-of-War
 
Posts: 182
Joined: 01 Sep 2014, 01:51
Has liked: 131 times
Been liked: 54 times
FAF User Name: Box-

Re: Mods (HardFFA, Claustrophobia) do not work on certain ma  [SOLVED]

Postby Uveso » 18 Apr 2019, 06:47

Hello UnorthodoxBox,

The game detected an error in ScenarioUtilities.lua line 110.

It tries to get the playable area stored in the table "Areas".

If you open the map file Alpha 7 Quarantine 20x20_save.lua you will se in line 4:

Code: Select all
  Areas = {
  },
As you can see, the table is empty. (not needed in the game if playable area is the same size than the map.)

You could try to add a area like this:
Code: Select all
    Areas = {
        ['AREA_1'] = {
            ['rectangle'] = RECTANGLE( 0.5, 0.5, 1024.5, 1024.5 ),
        },
    },


Sady i can't find the mod "HardFFA" in the vault, so i can't check if this works.
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Mods (HardFFA, Claustrophobia) do not work on certain ma

Postby UnorthodoxBox » 18 Apr 2019, 09:05

yes this has worked, thank you
User avatar
UnorthodoxBox
Avatar-of-War
 
Posts: 182
Joined: 01 Sep 2014, 01:51
Has liked: 131 times
Been liked: 54 times
FAF User Name: Box-


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest