Vault integrated map version numbers?

Interesting mapping tools and mapping help.

Moderator: Morax

Vault integrated map version numbers?

Postby Lionhardt » 22 Feb 2014, 16:03

Can somebody explain to me what is up with those little version numbers that are not part of the map name but of the map entry itself? Is it now possible to upload a map with the exact same name as before and the old version gets replaced and the entry gets a new version number like version i for the i-th upload of a map with that exact internal name (folder, .scmp, and .lua files)? Or does it work in completely different way?
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: Vault integrated map version numbers?

Postby Dragonfire » 22 Feb 2014, 16:15

If you release a new version, e.g. to v2, set
Code: Select all
map_version = 2
of the <mapname>scenario.lua and
add change the folder name to <mapname>.v0002.

Then you can upload it under the same name ...
You see both versions in the vault under the same name ;)
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: Vault integrated map version numbers?

Postby Lionhardt » 22 Feb 2014, 16:18

thx!
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: Vault integrated map version numbers?

Postby Plasma_Wolf » 22 Feb 2014, 16:42

The question is: can you also reasonably see the v2 in the map vault? Is this then also included in the name? If you can't properly see that, then the map_version code is not very useful.
User avatar
Plasma_Wolf
Supreme Commander
 
Posts: 1335
Joined: 20 Oct 2011, 11:28
Has liked: 23 times
Been liked: 91 times
FAF User Name: Plasma_Wolf

Re: Vault integrated map version numbers?

Postby Sulo » 22 Feb 2014, 17:07

Plasma_Wolf wrote:The question is: can you also reasonably see the v2 in the map vault? Is this then also included in the name? If you can't properly see that, then the map_version code is not very useful.



And that is why I add version number to map name itself, then you see it in your map list, it's also in descripion f your server in lobby, the map_version is only useful in vault (and still is less visible than just "v2" in name).
Sulo
Avatar-of-War
 
Posts: 71
Joined: 28 Dec 2013, 20:40
Has liked: 0 time
Been liked: 6 times
FAF User Name: Sulo

Re: Vault integrated map version numbers?

Postby Lionhardt » 23 Feb 2014, 05:12

When I do this the map doesnt work anymore. Editor is stuck loading and ingame it is not displayed in map list?

I have renamed the containing folder, and adjusted the scenario.lua accordingly, look:

Code: Select all
version = 3
ScenarioInfo = {
    name = 'Regor VI Highlands',
    description = "<LOC regor_vi_highlands_Description>",
    type = 'skirmish',
    starts = true,
    preview = '',
    size = {512, 512},
    map = '/maps/regor_vi_highlands.v0001/regor_vi_highlands.scmap',
   map_version=1,
   name="Regor VI Highlands"
    save = '/maps/regor_vi_highlands.v0001/regor_vi_highlands_save.lua',
    script = '/maps/regor_vi_highlands.v0001/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' ),
            },
        },
    }}
Attachments
folder.PNG
folder.PNG (43.77 KiB) Viewed 3414 times
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: Vault integrated map version numbers?

Postby Dragonfire » 23 Feb 2014, 05:24

name="Regor VI Highlands",
(missing comma)
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Re: Vault integrated map version numbers?

Postby Lionhardt » 23 Feb 2014, 05:26

Oh, thx! :P
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: Vault integrated map version numbers?

Postby Ze_PilOt » 24 Feb 2014, 21:03

By the way, if every map maker was using the version correctly, we could only display the latest version in the vault easily.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Vault integrated map version numbers?

Postby Dragonfire » 25 Feb 2014, 01:01

Ze_PilOt wrote:By the way, if every map maker was using the version correctly, we could only display the latest version in the vault easily.


People did not use the map_version, because you did not see the version in the lobby and find game tab and it is well hidden in the vault ...
My suggestions: people can't upload a map without a map_version key in the lua file!

AND

authors are able to remove a map xD

PS.: Can you publish the server map vault code (php code)?
Or only the db structure with dump data?
Is the next big thing on my todo list, after the friendlist.
My native language is not english, please correct me, because I want to improve my skills # Resource Overview
User avatar
Dragonfire
Evaluator
 
Posts: 559
Joined: 19 Dec 2013, 10:18
Has liked: 39 times
Been liked: 61 times
FAF User Name: Dragonfire

Next

Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest