To Upload A New Map Version!

Interesting mapping tools and mapping help.

Moderator: Morax

To Upload A New Map Version!

Postby IceDreamer » 05 May 2014, 22:03

Why is this so hard to come by? I just had to fix a bunch of maps where this wasn't working properly.

'X' is your version number

Step 1: Open FOLDERNAME
Step 2: Go to MAPNAME_scenario.lua
Step 3: Change the following...

Code: Select all
map = '/maps/FOLDERNAME/MAPNAME.scmap',
save = '/maps/FOLDERNAME/MAPNAME_save.lua',
script = '/maps/FOLDERNAME/MAPNAME_script.lua',


To...

Code: Select all
map = '/maps/FOLDERNAME/MAPNAME.scmap',
map_version = X,
save = '/maps/FOLDERNAME/MAPNAME_save.lua',
script = '/maps/FOLDERNAME/MAPNAME_script.lua',


If anyone knows that I've missed something, shout, but from my tests this should give a foolproof updated map with the same name as previously.

PLEASE CAN SOMEONE STICKY THIS!
IceDreamer
Supreme Commander
 
Posts: 2607
Joined: 27 Dec 2011, 07:01
Has liked: 138 times
Been liked: 488 times

Re: To Upload A New Map Version!

Postby speed2 » 14 Feb 2015, 14:28

If you were using custom textures, you have to show editor path to textures in newly renamed folder as well, otherwise you will end up with black screen.
Attachments
Výstřižek2.PNG
Výstřižek2.PNG (73.23 KiB) Viewed 8489 times
Výstřižek.PNG
Výstřižek.PNG (56.76 KiB) Viewed 8489 times
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: To Upload A New Map Version!

Postby Gorton » 23 Feb 2015, 06:08

Stickied finally since I can do that now..
"who is this guy, he didnt play gpg or what?" - RA_ZLO

*FAF Moderator*
Gorton
Councillor - Moderation
 
Posts: 2543
Joined: 16 Apr 2013, 21:57
Location: United Kingdom
Has liked: 1067 times
Been liked: 455 times
FAF User Name: Gorton

Re: To Upload A New Map Version!

Postby andybe » 15 Apr 2015, 14:40

Thank you good sir.
I thought i had to go nuts too!
andybe
Crusader
 
Posts: 40
Joined: 12 Aug 2013, 02:08
Has liked: 5 times
Been liked: 0 time
FAF User Name: andybe

Re: To Upload A New Map Version!

Postby Exotic_Retard » 15 Apr 2015, 15:17

http://wiki.faforever.com/index.php?tit ... ap_Version
this information is also available on the wiki - with better pictures!
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: To Upload A New Map Version!

Postby Xinnony » 15 Apr 2015, 15:37

This work ?
Just need change the map_version variable but with '000X', not 'X' only for a new version.

Exemple with v4
Code: Select all
map_version = 0004, //please follow the format with 4 digits
save = '/maps/FOLDERNAME.v'.map_version.'/MAPNAME_save.lua',
map = '/maps/FOLDERNAME.v'.map_version.'/MAPNAME.scmap',
script = '/maps/FOLDERNAME.v'.map_version.'/MAPNAME_script.lua',
User avatar
Xinnony
Contributor
 
Posts: 551
Joined: 19 Feb 2012, 02:49
Has liked: 70 times
Been liked: 34 times
FAF User Name: Xinnony

Re: To Upload A New Map Version!

Postby speed2 » 15 Apr 2015, 17:58

Xinnony wrote:This work ?

Yes, as it is in first post, it works 100%
Please delete code from your post so you dont consufe anyone
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: To Upload A New Map Version!

Postby Poch » 17 Jul 2015, 01:09

Thanks for explaining this i wanted to do it when i made Green Island and had no clue how it worked :(
User avatar
Poch
Avatar-of-War
 
Posts: 138
Joined: 14 Feb 2013, 12:39
Has liked: 11 times
Been liked: 52 times
FAF User Name: Poch

Re: To Upload A New Map Version!

Postby EntropyWins » 12 Nov 2016, 04:41

Thanks for explaining.

Is there a way to have a semvercompatible version?
EntropyWins
Avatar-of-War
 
Posts: 113
Joined: 02 Oct 2016, 20:26
Has liked: 18 times
Been liked: 4 times
FAF User Name: EntropyWins

Re: To Upload A New Map Version!

Postby biass » 12 Nov 2016, 05:27

i mentioned this here: viewtopic.php?f=53&t=12604
Map thread: https://bit.ly/2PBsa5H

Petricpwnz wrote:biass on his campaign to cleanse and remake every single map of FAF because he is an untolerating reincarnation of mapping hitler
User avatar
biass
Contributor
 
Posts: 2239
Joined: 03 Dec 2015, 07:54
Has liked: 598 times
Been liked: 662 times
FAF User Name: biass


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest