mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
Full Template for ticket #1
This commit is contained in:
parent
74f265b3b3
commit
f439dc8dcd
2150 changed files with 286240 additions and 0 deletions
83
Templates/Full/game/levels/Empty Room.mis
Normal file
83
Templates/Full/game/levels/Empty Room.mis
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
canSaveDynamicFields = "1";
|
||||
Enabled = "1";
|
||||
|
||||
new LevelInfo(theLevelInfo) {
|
||||
visibleDistance = "1000";
|
||||
fogColor = "0.6 0.6 0.7 1";
|
||||
fogDensity = "0";
|
||||
fogDensityOffset = "700";
|
||||
fogAtmosphereHeight = "0";
|
||||
canvasClearColor = "0 0 0 255";
|
||||
canSaveDynamicFields = "1";
|
||||
levelName = "Empty Room";
|
||||
desc0 = "An empty room ready to be populated with Torque objects.";
|
||||
Enabled = "1";
|
||||
};
|
||||
new SkyBox(theSky) {
|
||||
canSaveDynamicFields = "1";
|
||||
Position = "0 0 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
Material = "BlackSkyMat";
|
||||
drawBottom = "0";
|
||||
fogBandHeight = "0";
|
||||
};
|
||||
new Sun(theSun) {
|
||||
canSaveDynamicFields = "1";
|
||||
Position = "0 0 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
azimuth = "230.396";
|
||||
elevation = "45";
|
||||
color = "0.968628 0.901961 0.901961 1";
|
||||
ambient = "0.078431 0.113725 0.156863 1";
|
||||
castShadows = "1";
|
||||
attenuationRatio = "0 1 1";
|
||||
shadowType = "PSSM";
|
||||
texSize = "1024";
|
||||
overDarkFactor = "3000 2000 1000 250";
|
||||
shadowDistance = "400";
|
||||
shadowSoftness = "0.25";
|
||||
numSplits = "4";
|
||||
logWeight = "0.96";
|
||||
fadeStartDistance = "325";
|
||||
lastSplitTerrainOnly = "0";
|
||||
};
|
||||
new SimGroup(PlayerDropPoints) {
|
||||
canSaveDynamicFields = "1";
|
||||
Enabled = "1";
|
||||
|
||||
new SpawnSphere() {
|
||||
canSaveDynamicFields = "1";
|
||||
Position = "0 0 2";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "5";
|
||||
spawnClass = "";
|
||||
spawnDatablock = "";
|
||||
autoSpawn = "0";
|
||||
sphereWeight = "1";
|
||||
indoorWeight = "1";
|
||||
outdoorWeight = "1";
|
||||
Enabled = "1";
|
||||
homingCount = "0";
|
||||
lockCount = "0";
|
||||
};
|
||||
};
|
||||
new GroundPlane() {
|
||||
canSaveDynamicFields = "1";
|
||||
Position = "0 0 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
squareSize = "128";
|
||||
scaleU = "12";
|
||||
scaleV = "12";
|
||||
Material = "BlankWhite";
|
||||
Enabled = "1";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
BIN
Templates/Full/game/levels/Empty Room_preview.png
Normal file
BIN
Templates/Full/game/levels/Empty Room_preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
90
Templates/Full/game/levels/Empty Terrain.mis
Normal file
90
Templates/Full/game/levels/Empty Terrain.mis
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
canSaveDynamicFields = "1";
|
||||
enabled = "1";
|
||||
|
||||
new LevelInfo(theLevelInfo) {
|
||||
nearClip = "0.1";
|
||||
visibleDistance = "2000";
|
||||
decalBias = "0.0015";
|
||||
fogColor = "1 1 0.6 1";
|
||||
fogDensity = "0.001";
|
||||
fogDensityOffset = "10";
|
||||
fogAtmosphereHeight = "100";
|
||||
canvasClearColor = "233 220 143 255";
|
||||
advancedLightmapSupport = "0";
|
||||
desc0 = "An empty terrain ready to be populated with Torque objects.";
|
||||
LevelName = "Empty Terrain";
|
||||
};
|
||||
new ScatterSky() {
|
||||
skyBrightness = "30";
|
||||
mieScattering = "0.0015";
|
||||
rayleighScattering = "0.0035";
|
||||
sunScale = "1 1 0.8 1";
|
||||
ambientScale = "0.5 0.5 0.4 1";
|
||||
exposure = "0.85";
|
||||
azimuth = "84";
|
||||
elevation = "54";
|
||||
castShadows = "1";
|
||||
brightness = "1";
|
||||
flareType = "SunFlareExample1";
|
||||
flareScale = "1";
|
||||
nightColor = "0.0196078 0.0117647 0.109804 1";
|
||||
moonEnabled = "1";
|
||||
moonTexture = "core/art/skies/night/moon_wglow";
|
||||
moonScale = "0.3";
|
||||
moonTint = "0.192157 0.192157 0.192157 1";
|
||||
useNightCubemap = "0";
|
||||
attenuationRatio = "0 1 1";
|
||||
shadowType = "PSSM";
|
||||
texSize = "1024";
|
||||
overDarkFactor = "3000 2000 1000 250";
|
||||
shadowDistance = "400";
|
||||
shadowSoftness = "0.25";
|
||||
numSplits = "4";
|
||||
logWeight = "0.96";
|
||||
fadeStartDistance = "325";
|
||||
lastSplitTerrainOnly = "0";
|
||||
representedInLightmap = "0";
|
||||
shadowDarkenColor = "0 0 0 -1";
|
||||
includeLightmappedGeometryInShadow = "0";
|
||||
position = "0 0 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
canSaveDynamicFields = "1";
|
||||
sunBrightness = "50";
|
||||
};
|
||||
new TerrainBlock(theTerrain) {
|
||||
terrainFile = "art/terrains/Empty Terrain_0.ter";
|
||||
squareSize = "2";
|
||||
tile = "0";
|
||||
baseTexSize = "1024";
|
||||
screenError = "16";
|
||||
position = "-1024 -1024 179.978";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
canSaveDynamicFields = "1";
|
||||
};
|
||||
new SimGroup(PlayerDropPoints) {
|
||||
canSaveDynamicFields = "1";
|
||||
enabled = "1";
|
||||
|
||||
new SpawnSphere() {
|
||||
autoSpawn = "0";
|
||||
radius = "1";
|
||||
sphereWeight = "1";
|
||||
indoorWeight = "1";
|
||||
outdoorWeight = "1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
position = "0 0 241.772";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
canSaveDynamicFields = "1";
|
||||
enabled = "1";
|
||||
homingCount = "0";
|
||||
lockCount = "0";
|
||||
TypeBool locked = "False";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
BIN
Templates/Full/game/levels/Empty Terrain_preview.png
Normal file
BIN
Templates/Full/game/levels/Empty Terrain_preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 158 KiB |
21
Templates/Full/game/levels/main.cs
Normal file
21
Templates/Full/game/levels/main.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Copyright (c) 2012 GarageGames, LLC
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to
|
||||
// deal in the Software without restriction, including without limitation the
|
||||
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
// sell copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
Loading…
Add table
Add a link
Reference in a new issue