Update Map

Interesting mapping tools and mapping help.

Moderator: Morax

Update Map

Postby Lionhardt » 22 Jul 2014, 20:53

So,
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: Select all
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?
Last edited by Lionhardt on 22 Jul 2014, 21:00, edited 1 time in total.
Help me make better maps for all of us, visit my Mapping Thread.

Maps needing gameplay feedback:
Spoiler: show
[list updated last: 31.1.2018]

(maps available in the vault)

- Hexagonian Drylands
- Fervent Soil and Torrid Suns

YouTube Channel
User avatar
Lionhardt
Contributor
 
Posts: 1070
Joined: 29 Jan 2013, 23:44
Has liked: 188 times
Been liked: 144 times
FAF User Name: Lionhardt

Re: Update Map

Postby Blodir » 22 Jul 2014, 20:58

Code: Select all
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,"
User avatar
Blodir
Contributor
 
Posts: 1175
Joined: 07 Jan 2013, 14:14
Has liked: 489 times
Been liked: 535 times
FAF User Name: Snowbound

Re: Update Map

Postby Lionhardt » 22 Jul 2014, 21:03

Thanks!

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.
Help me make better maps for all of us, visit my Mapping Thread.

Maps needing gameplay feedback:
Spoiler: show
[list updated last: 31.1.2018]

(maps available in the vault)

- Hexagonian Drylands
- Fervent Soil and Torrid Suns

YouTube Channel
User avatar
Lionhardt
Contributor
 
Posts: 1070
Joined: 29 Jan 2013, 23:44
Has liked: 188 times
Been liked: 144 times
FAF User Name: Lionhardt


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest