Mapdev:detail: Difference between revisions

From Spring
Jump to navigationJump to search
m split splat into own page..
Gajop (talk | contribs)
 
(2 intermediate revisions by one other user not shown)
Line 13: Line 13:
= Specification =
= Specification =
== mapinfo.lua ==
== mapinfo.lua ==
<code><pre>
<pre>
local mapinfo = {
local mapinfo = {
   ...
   ...
Line 22: Line 22:
   },
   },
   ...
   ...
}</pre></code>
}</pre>
 
== Image File ==
== Image File ==
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
Line 29: Line 30:
|-
|-
! File Format
! File Format
| PNG, TGA, BMP
| PNG, TGA, BMP, DDS {{new|99.0}}
|-
|-
! Colour Depth
! Colour Depth
Line 41: Line 42:
|}
|}


[[Category:Mapdev]]
[[Category:Map Dev]]
[[Category:Development]]

Latest revision as of 16:38, 18 December 2018

Details

FIXME: Needs description here

Example
FIXME: needs image
Example Detail Texture Ingame Result
* Click on images for higher res

Specification

mapinfo.lua

local mapinfo = {
   ...
   resources = {
      ...
      detailTex = "",
      ...
   },
   ...
}

Image File

File Location ./maps/
File Format PNG, TGA, BMP, DDS New in version 99.0
Colour Depth 8bpp
Channels RGB
Resolution Any powers of two, eg. 256, 512, 1024...