Adds some basic, common materials to the editor so some starting point is always on-hand, as well as hook the BlankRoom starting editor level up to use them.
Added a check so if no levels are found from other modules, the default ui module will prompt the user to launch the editor to the base editor level and begin editing or return to main menu if tools are present, or inform them to double-check that there are modules with gameplay/levels and return them to the main menu in no tools available. Also set it up so if the editor is launched while a mission isn't running, it'll automatically load to the base editor level and set up a default camera object. This way editing can be done even if no level is currently loaded.
BIN
Templates/BaseGame/game/tools/base/images/512_black.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
Templates/BaseGame/game/tools/base/images/512_blue.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
Templates/BaseGame/game/tools/base/images/512_forestgreen.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
BIN
Templates/BaseGame/game/tools/base/images/512_green.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Templates/BaseGame/game/tools/base/images/512_grey.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
Templates/BaseGame/game/tools/base/images/512_grey_base.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Templates/BaseGame/game/tools/base/images/512_orange.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
Templates/BaseGame/game/tools/base/images/512_orange_lines.png
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
Templates/BaseGame/game/tools/base/images/512_red.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Templates/BaseGame/game/tools/base/images/black.png
Normal file
|
After Width: | Height: | Size: 118 B |
BIN
Templates/BaseGame/game/tools/base/images/gray.png
Normal file
|
After Width: | Height: | Size: 126 B |
80
Templates/BaseGame/game/tools/base/images/materials.cs
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Torque
|
||||
// Copyright GarageGames, LLC 2011
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
singleton CubemapData( BlankSkyCubemap )
|
||||
{
|
||||
cubeFace[0] = "./skybox_1";
|
||||
cubeFace[1] = "./skybox_2";
|
||||
cubeFace[2] = "./skybox_3";
|
||||
cubeFace[3] = "./skybox_4";
|
||||
cubeFace[4] = "./skybox_5";
|
||||
cubeFace[5] = "./skybox_6";
|
||||
};
|
||||
|
||||
singleton Material( BlankSkyMat )
|
||||
{
|
||||
cubemap = BlankSkyCubemap;
|
||||
isSky = true;
|
||||
};
|
||||
|
||||
singleton Material(White)
|
||||
{
|
||||
diffuseMap[0] = "./white.png";
|
||||
};
|
||||
|
||||
singleton Material(Gray)
|
||||
{
|
||||
diffuseMap[0] = "./gray.png";
|
||||
};
|
||||
|
||||
singleton Material(Black)
|
||||
{
|
||||
diffuseMap[0] = "./black.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_Black)
|
||||
{
|
||||
diffuseMap[0] = "./512_black.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_ForestGreen)
|
||||
{
|
||||
diffuseMap[0] = "./512_forestgreen.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_ForestGreen_Lines)
|
||||
{
|
||||
diffuseMap[0] = "./512_forestgreen_lines.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_Green)
|
||||
{
|
||||
diffuseMap[0] = "./512_green.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_Grey)
|
||||
{
|
||||
diffuseMap[0] = "./512_grey.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_Grey_Base)
|
||||
{
|
||||
diffuseMap[0] = "./512_grey_base.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_Orange)
|
||||
{
|
||||
diffuseMap[0] = "./512_orange.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_Orange_Lines)
|
||||
{
|
||||
diffuseMap[0] = "./512_orange_lines.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_Red)
|
||||
{
|
||||
diffuseMap[0] = "./512_red.png";
|
||||
};
|
||||
7
Templates/BaseGame/game/tools/base/images/sky_skybox.dml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
skybox_1
|
||||
skybox_2
|
||||
skybox_3
|
||||
skybox_4
|
||||
skybox_5
|
||||
skybox_6
|
||||
skybox_6
|
||||
BIN
Templates/BaseGame/game/tools/base/images/skybox_1.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
Templates/BaseGame/game/tools/base/images/skybox_2.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
Templates/BaseGame/game/tools/base/images/skybox_3.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
Templates/BaseGame/game/tools/base/images/skybox_4.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
Templates/BaseGame/game/tools/base/images/skybox_5.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
Templates/BaseGame/game/tools/base/images/skybox_6.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
Templates/BaseGame/game/tools/base/images/white.png
Normal file
|
After Width: | Height: | Size: 121 B |