Mapdev:detail: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
→Image File: 99.0 - allow to load dds as detailtex
Gajop (talk | contribs)
 
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%"

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...