Mapdev:Tutorial Intermediate: Difference between revisions
m filled out some more. |
m filled out some more. |
||
| Line 16: | Line 16: | ||
= Map Features = | = Map Features = | ||
Map features are the extra bits and bobs added to a map that give it extra bling eg. bushes, trees, houses, rocks etc. You can bundle them with your map, or you can create a dependency to external archives like [[SpringFeatures]]. For this tutorial we will be bundling the features with the map. | |||
{{infobox|title=Tip|icon=icon-tip.png|color=rgba(255,255,0,0.1) | |||
|body=There is not a simple, solid, mature way to cover your map with features yet. Provided here are instructions for the simplest method, but its very time consuming and tedious. There are better methods that yield good results, you can find them listed in the [[Mapdev:features|features]] page.}} | |||
<ol> | |||
<li>Unzip the additional stuff archive into your working directory | |||
<li>Copy the ... folders into your map.sdd directory | |||
<li>Edit the set.lua file to contain references to the map features | |||
</ol> | |||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
|+ Example | |+ Example | ||
| Line 31: | Line 33: | ||
|} | |} | ||
= Specular | = Specular Map = | ||
The [[Mapdev:specular|specular]] map defines how shiny and the colour of the shine that the terrain is, it is useful for ice & snow, polished rock, metal, or wet ground types. | |||
The Specular map can be any size, and is stretched over the terrain. | |||
<ol> | |||
<li>Create a 1024x1024 RGB image | |||
<li>Paint it white | |||
{{infobox|title=Tip|icon=icon-tip.png|color=rgba(255,255,0,0.1) | |||
|body=It is most often the case that you will leave the texture full white as most specular reflection is white, in certain circumstances though you will want to have coloured reflections.}} | |||
<li>save the image to your working directory | |||
{| class="wikitable" width="100%" | |||
|+ Example | |||
| (picture of specular color map) | |||
|- | |||
! Example Specular Color Map | |||
|} | |||
<li>Create another 1024x1024 greyscale image | |||
<li>Paint it such that black is matt finish, and white is full specularity. you will probably want to keep it mostly black, with some slight grey around specific areas. | |||
<li>save the image to your working directory | |||
{| class="wikitable" width="100%" | |||
|+ Example | |||
| (picture of specular Value map) | |||
|- | |||
! Example Specular Value Map | |||
|} | |||
<li>Combine the two images into one 1024x1024 RGBA image | |||
<li>Save the result to ... directory as spec.png | |||
</ol> | |||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
|+ Example | |+ Example | ||
| (picture of | | (picture of final spec map) || (gif of resulting game terrain ) | ||
|- | |- | ||
! Example Specular Map !! In Game Result | ! Example Specular Map !! In Game Result | ||
| Line 41: | Line 69: | ||
= Detail Splatting = | = Detail Splatting = | ||
Detail texture splatting adds a lot of fine detail onto the map. link to [[Mapdev:detailsplat]] | |||
<ol> | <ol> | ||
<li>Collect 4 detail textures that you would like to have your terrain multiplied by | <li>Collect 4 detail textures that you would like to have your terrain multiplied by | ||
| Line 73: | Line 101: | ||
= Lighting = | = Lighting = | ||
could be fun to explain | could be fun to explain link to [[Mapdev:lighting]] | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Examples | |+ Examples | ||
| Line 85: | Line 113: | ||
|} | |} | ||
= Review = | = Review = | ||
From this tutorial you have been able to really increase the detail level of your map using: features, specular highlights, detail splatting and lighting. | |||
give a directory structure listing | |||
= Finalizing = | = Finalizing = | ||
continue to [[Mapdev:Tutorial_finalizing|this]] page to compile and archive your map for play | continue to [[Mapdev:Tutorial_finalizing|this]] page to compile and archive your map for play | ||
Revision as of 07:19, 17 December 2012
Beginners Tutorial Stage 2
This beginners tutorial is aimed at getting you from nothing, to something simple, from which you can then extend by looking through the more detailed technical documentation.
What you will need
- An image editor, such as GIMP or Adobe Photoshop, etc
- 7zip
- MapConvNG
- A copy of the map we used in the first tutorial
- This archive which contains a couple of things you will need.(features)
There are a multitude of other tools you can use to make maps, however for the purposes of this beginners tutorial, these are the only ones you will need. Check the tools section for more information.
Download example
- Here is a link to the map from the first tutorial to continue on with
- Here's a link to this finished tutorial
Map Features
Map features are the extra bits and bobs added to a map that give it extra bling eg. bushes, trees, houses, rocks etc. You can bundle them with your map, or you can create a dependency to external archives like SpringFeatures. For this tutorial we will be bundling the features with the map.
| Tip | |
|---|---|
| There is not a simple, solid, mature way to cover your map with features yet. Provided here are instructions for the simplest method, but its very time consuming and tedious. There are better methods that yield good results, you can find them listed in the features page. |
- Unzip the additional stuff archive into your working directory
- Copy the ... folders into your map.sdd directory
- Edit the set.lua file to contain references to the map features
|
(picture of resulting game terrain ) |
| Example set.lua text | Ingame Result |
|---|
Specular Map
The specular map defines how shiny and the colour of the shine that the terrain is, it is useful for ice & snow, polished rock, metal, or wet ground types.
The Specular map can be any size, and is stretched over the terrain.
- Create a 1024x1024 RGB image
- Paint it white
Tip It is most often the case that you will leave the texture full white as most specular reflection is white, in certain circumstances though you will want to have coloured reflections. - save the image to your working directory
Example (picture of specular color map) Example Specular Color Map - Create another 1024x1024 greyscale image
- Paint it such that black is matt finish, and white is full specularity. you will probably want to keep it mostly black, with some slight grey around specific areas.
- save the image to your working directory
Example (picture of specular Value map) Example Specular Value Map - Combine the two images into one 1024x1024 RGBA image
- Save the result to ... directory as spec.png
| (picture of final spec map) | (gif of resulting game terrain ) |
| Example Specular Map | In Game Result |
|---|
Detail Splatting
Detail texture splatting adds a lot of fine detail onto the map. link to Mapdev:detailsplat
- Collect 4 detail textures that you would like to have your terrain multiplied by
- Paint 4 greyscale images of where to splat each detail.
- Combine the 4 detail textures into an RGBA image,
| (picture of all 4 detail textures) | (picture of combined result ) |
| Four detail textures | Combined Result |
|---|
- Combine the 4 splat maps into an RGBA image
| (picture of all 4 detail distribution maps) | (picture of combined result ) |
| Four distribution maps | Combined Result |
|---|
Edit mapinfo.lua
- tweak splat scales and multipliers
| This shows the size of the detail images at different scale sizes. |
Lighting
could be fun to explain link to Mapdev:lighting
| (Code goes here) | (example image goes here) |
| (Code goes here) | (example image goes here) |
| (Code goes here) | (example image goes here) |
| Example lighting variables | In game result |
|---|
Review
From this tutorial you have been able to really increase the detail level of your map using: features, specular highlights, detail splatting and lighting.
give a directory structure listing
Finalizing
continue to this page to compile and archive your map for play
I want more
This concludes the Beginners tutorial, there are loads more things you can do with maps so have a look through the documentation and think out of the box (show pictures of novel concepts, like bridges, scripted terrain, map borders etc.