Forged Alliance Forever Forged Alliance Forever Forums 2014-07-22T21:03:06+02:00 /feed.php?f=53&t=8224 2014-07-22T21:03:06+02:00 2014-07-22T21:03:06+02:00 /viewtopic.php?t=8224&p=77490#p77490 <![CDATA[Re: Update Map]]>
Uhm, does the match maker automatically switch to version 2 as well? Because, it is almost like uploading a completely new map... all comments, download counts likes/dislikes are not carried over... that's why I wonder.

Statistics: Posted by Lionhardt — 22 Jul 2014, 21:03


]]>
2014-07-22T20:58:31+02:00 2014-07-22T20:58:31+02:00 /viewtopic.php?t=8224&p=77489#p77489 <![CDATA[Re: Update Map]]>
Code:
version = 3
ScenarioInfo = {
    name = 'Regor VI Highlands',
    description = "<LOC regor_vi_highlands_Description>some description",
    type = 'skirmish',
    starts = true,
    preview = '',
    size = {512, 512},
    map = '/maps/regor_vi_highlands.v0002/regor_vi_highlands.scmap',
    save = '/maps/regor_vi_highlands.v0002/regor_vi_highlands_save.lua',
    map_version = 2,
    script = '/maps/regor_vi_highlands.v0002/regor_vi_highlands_script.lua',
    norushradius = 77.000000,
    norushoffsetX_ARMY_1 = 1.000000,
    norushoffsetY_ARMY_1 = 2.000000,
    norushoffsetX_ARMY_2 = -2.000000,
    norushoffsetY_ARMY_2 = -1.000000,
    norushoffsetX_ARMY_3 = -13.000000,
    norushoffsetY_ARMY_3 = 0.000000,
    norushoffsetX_ARMY_4 = 13.000000,
    norushoffsetY_ARMY_4 = 0.000000,
    Configurations = {
        ['standard'] = {
            teams = {
                { name = 'FFA', armies = {'ARMY_1','ARMY_2','ARMY_3','ARMY_4',} },
            },
            customprops = {
                ['ExtraArmies'] = STRING( 'ARMY_9 NEUTRAL_CIVILIAN' ),
            },
        },
    }}


Try now, it was missing "map_version = X,"

Statistics: Posted by Blodir — 22 Jul 2014, 20:58


]]>
2014-07-22T21:00:40+02:00 2014-07-22T20:53:25+02:00 /viewtopic.php?t=8224&p=77488#p77488 <![CDATA[Update Map]]> I have attempted updating one of my maps. But I get the error message "<map name> version 1 already exists in the database".

My scenario.lua looks like this:

Code:
version = 3
ScenarioInfo = {
    name = 'Regor VI Highlands',
    description = "<LOC regor_vi_highlands_Description>some description",
    type = 'skirmish',
    starts = true,
    preview = '',
    size = {512, 512},
    map = '/maps/regor_vi_highlands.v0002/regor_vi_highlands.scmap',
    save = '/maps/regor_vi_highlands.v0002/regor_vi_highlands_save.lua',
    script = '/maps/regor_vi_highlands.v0002/regor_vi_highlands_script.lua',
    norushradius = 77.000000,
    norushoffsetX_ARMY_1 = 1.000000,
    norushoffsetY_ARMY_1 = 2.000000,
    norushoffsetX_ARMY_2 = -2.000000,
    norushoffsetY_ARMY_2 = -1.000000,
    norushoffsetX_ARMY_3 = -13.000000,
    norushoffsetY_ARMY_3 = 0.000000,
    norushoffsetX_ARMY_4 = 13.000000,
    norushoffsetY_ARMY_4 = 0.000000,
    Configurations = {
        ['standard'] = {
            teams = {
                { name = 'FFA', armies = {'ARMY_1','ARMY_2','ARMY_3','ARMY_4',} },
            },
            customprops = {
                ['ExtraArmies'] = STRING( 'ARMY_9 NEUTRAL_CIVILIAN' ),
            },
        },
    }}



And I have renamed the folder to <folder name>.v002


What am I missing?

Statistics: Posted by Lionhardt — 22 Jul 2014, 20:53


]]>