.Map

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
aaronfeld
Posts: 52
Joined: June 9th, 2010, 7:30 pm

.Map

Post by aaronfeld »

Apparently I need to have my editor's maps saved as .map files. My are saved as just File, nothing else. How do I get them to .map?

Thanks
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: .Map

Post by Anonymissimus »

You don't need to.
You rename the files in a file manager.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
User avatar
Dixie
Posts: 1757
Joined: February 10th, 2010, 1:06 am
Location: $x1,$y1

Re: .Map

Post by Dixie »

Also, you could probably ask all your questions in a single thread, it would be much less messy :P
Jazz is not dead, it just smells funny - Frank Zappa
Current projects: Internet meme Era, The Settlers of Wesnoth
User avatar
Captain_Wrathbow
Posts: 1664
Joined: June 30th, 2009, 2:03 pm
Location: Guardia

Re: .Map

Post by Captain_Wrathbow »

When you save them in the editor, you can just type ".map" (without quotes of course) at the end. :wink:
User avatar
Iris
Site Administrator
Posts: 6798
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: .Map

Post by Iris »

Even then, technically you can name a map "pink.unicorns.are.cool" and then include it with the same name in the WML:

Code: Select all

[scenario]
    id=Dopefish_attack
    map_data="{~add-ons/Epic_Fail/maps/pink.unicorns.are.cool}"
    ...
[/scenario]
Of course, using the .map extension is recommended to keep things tidy, and to help special validation tools such as wmllint.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
User avatar
boru
Posts: 788
Joined: November 19th, 2009, 11:02 pm

Re: .Map

Post by boru »

Most Awesome Map Name Ever! :Awesome:
“It is written in my life-blood, such as that is, thick or thin; and I can no other.” - J.R.R. Tolkien

My campaign: Swamplings - Four centuries before the founding of Wesnoth, the first wolf rider emerges from a tribe of lowly swamp goblins.
aaronfeld
Posts: 52
Joined: June 9th, 2010, 7:30 pm

Re: .Map

Post by aaronfeld »

That worked fine but I still get an error. I'm not on the comp that has Wesnoth so when I'm on that I'll post the error. It's probley what I've done wrong though.
Post Reply