Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Mapdev:Main: Difference between revisions

From FIGHTORDER
imported>Forboding angel
imported>Forboding angel
Line 85: Line 85:
= Common Problems =
= Common Problems =
== Pink Map ==
== Pink Map ==
{{FIXME}}Umm from what i remember it has something to do with the name of the smf/smt files. if you change their name it buggers up the texture thingo.. anyway cant remember exactly. and probably should search it out again.
Renaming the SMT file and not defining the new name in mapinfo.lua will result in a map with a pink texture.
 
== Map doesn't show in spring after compressing with 7zip==
== Map doesn't show in spring after compressing with 7zip==
The most likely cause is that it was compressed using the solid archive option.
The most likely cause is that it was compressed using the solid archive option.

Revision as of 09:42, 22 December 2012

Map Development

Maps are the fields on which the battles are fought, made with the implicit contract that they shall not alter game mechanics. They are made up of images and text files which describe the environment and its features, such as height, colour, background, details features, atmosphere and lighting etc. These images and text files are then compressed into a 7zip archive for distribution.

FIXME: [put some images here] I'm thinking a couple of minimaps and perspective views. of the prettiest maps.

Beginners Tutorial

This beginners tutorial is split into three parts, the basic stuff, the more advanced basic stuff, and how to compile and create a map archive for distribution. It is intended to get you started, when you are comfortable with the concepts, please look over the technical documentation to further your knowledge.

Blueprint

Due to the amount of boiler plate files needed to create a fairly feature complete map, Jk has created a blueprint map to get things started

Technical Documentation

Scripting

Howto's

Tools

Tools vs Platform
Tool Windows Linux MacOS
MapConv Yes
MapConvNG Yes Yes
Mothers_MapConv Deprecated
Start Position Editor Yes
Das Bruce's Mapconv Frontend Yes
FrostRegen's SpringMapEdit yes yes yes

Spring Widgets

Spring "games"

Spring Resources

Spring Features V1.0

Common Problems

Pink Map

Renaming the SMT file and not defining the new name in mapinfo.lua will result in a map with a pink texture.

Map doesn't show in spring after compressing with 7zip

The most likely cause is that it was compressed using the solid archive option.

FIXME: Add windows and MacOS solutions.

For linux the option -ms=off needs to be given on the command line. eg.

7z a -ms=off myarchivename.sd7 dem files I want to archive

Flipped Images

Heightmap images compiled into map files are inverted. It is necessary to use the -i parameter of Mapconv to vertically flip the image so that it matches the texture.

smt name defined in smf

The smt file name is hardcoded in the smf, and renaming the smt used to cause pink map issues, but the smt can now be manually defined in mapinfo.lua thereby bypassing the entire issue altogether.

Map Devopment Wiki

Deprecated but not Deleted

We plan on integrating any and all useful knowledge from these pages into the rest of the wiki, they are kept here so that they are not hidden away.

Full Guides For Map Making (Outdated)

The guides listed below are outdated and scheduled for archival.

Specific Guides (Extremely Outdated!)

The linked pages below are scheduled for archival.

Features. Stones, rocks, trees, for your map can be found at: http://springrts.com/phpbb/viewtopic.php?f=56&t=25752

Map making: SM3 (Experimental) (DEPRECATED)

SM3 (Spring Mapformat 3) is getting allong nicely and maps using this format can be made. The following is documented so far.