Necessary map declarations
From Mod Wiki
Materials
Here is a list of materials for assets created later on. Simply copy the text from the boxs below and save to materials/yourmapname.mtr Don't forget to find/replace 'etqwmap' with yourmapname.
This is needed for some codey reason.
#include <materials/commandmaps.include>
These are the megatexture materials. They look pretty as as they use a template.
material megatextures/etqwmap { useTemplate megatextures/default_ambient_spec< "etqwmap" > } material megatextures/etqwmap_noshadows { useTemplate megatextures/default_ambient_spec_noshadows< "etqwmap" > }
These are the command map materials. One for the regular command map, one for out of bounds.
material commandmaps/etqwmap { templates/game/maps/cmMap( "commandmaps/etqwmap.tga" ) } material commandmaps/etqwmap_oob { templates/game/maps/cmMap( "commandmaps/etqwmap_oob.tga" ) }
These are the territory materials.
material commandmaps/etqwmap_territory_01 { templates/game/maps/cmIcon( makealpha( commandmaps/etqwmap/etqwmap_ter01.tga ) ) } material commandmaps/etqwmap_territory_02 { templates/game/maps/cmIcon( makealpha( commandmaps/etqwmap/etqwmap_ter02.tga ) ) } material commandmaps/etqwmap_territory_03 { templates/game/maps/cmIcon( makealpha( commandmaps/etqwmap/etqwmap_ter03.tga ) ) } material commandmaps/etqwmap_territory_04 { templates/game/maps/cmIcon( makealpha( commandmaps/etqwmap/etqwmap_ter04.tga ) ) } material commandmaps/etqwmap_territory_05 { templates/game/maps/cmIcon( makealpha( commandmaps/etqwmap/etqwmap_ter05.tga ) ) }
The level shot (loading screen image) material.
material levelshots/etqwmap { sort gui { blend blend vertexColor map nopicmip clamp "levelshots/etqwmap" } }
The material for the small thumbnail of your map.
material levelshots/thumbs/etqwmap { sort gui { blend blend vertexColor map nopicmip clamp "levelshots/thumbs/etqwmap" } }
Definitions
Here are the map definitions needed for a functioning map. Save these to def/yourmapname.def
#include "def/pathfinder.include" heightMap heightmaps/etqwmap { heightMap "heightmaps/etqwmap.tga" } deployMask masks/etqwmap/mcp { mask "masks/etqwmap/mcp.tga" } deployMask masks/etqwmap/default { mask "masks/etqwmap/default.tga" } deployMask masks/etqwmap/mcp_route { mask "masks/etqwmap/mcp_route.tga" } deployMask masks/etqwmap/playzone { mask "masks/etqwmap/playzone.tga" } stringMap pathfinder_etqwmap { _pathfinder_default( "etqwmap", 20 ) "playzone_0" "etqwmap_playzone_path_and_heightmap" "resolution_x_playzone_0" "1280" "resolution_y_playzone_0" "1280" "mg_resolution_x_playzone_0" "1280" "mg_resolution_y_playzone_0" "1280" }