mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
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.
98 lines
2.7 KiB
Text
98 lines
2.7 KiB
Text
//--- OBJECT WRITE BEGIN ---
|
|
new SimGroup(MissionGroup) {
|
|
canSave = "1";
|
|
canSaveDynamicFields = "1";
|
|
cdTrack = "2";
|
|
CTF_scoreLimit = "5";
|
|
enabled = "1";
|
|
musicTrack = "lush";
|
|
|
|
new LevelInfo(TheLevelInfo) {
|
|
nearClip = "0.1";
|
|
visibleDistance = "1000";
|
|
visibleGhostDistance = "0";
|
|
decalBias = "0.0015";
|
|
fogColor = "0.6 0.6 0.7 1";
|
|
fogDensity = "0";
|
|
fogDensityOffset = "700";
|
|
fogAtmosphereHeight = "0";
|
|
canvasClearColor = "0 0 0 255";
|
|
ambientLightBlendPhase = "1";
|
|
ambientLightBlendCurve = "0 0 -1 -1";
|
|
advancedLightmapSupport = "0";
|
|
soundAmbience = "AudioAmbienceDefault";
|
|
soundDistanceModel = "Linear";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "1";
|
|
desc0 = "A blank room ready to be populated with Torque objects. Guns, anyone?";
|
|
enabled = "1";
|
|
levelName = "Blank Room";
|
|
};
|
|
new SkyBox(theSky) {
|
|
Material = "BlankSkyMat";
|
|
drawBottom = "0";
|
|
fogBandHeight = "0";
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "1";
|
|
};
|
|
new Sun(theSun) {
|
|
azimuth = "230.396";
|
|
elevation = "45";
|
|
color = "0.968628 0.901961 0.901961 1";
|
|
ambient = "0.337255 0.533333 0.619608 1";
|
|
brightness = "1";
|
|
castShadows = "1";
|
|
staticRefreshFreq = "250";
|
|
dynamicRefreshFreq = "8";
|
|
coronaEnabled = "1";
|
|
coronaScale = "0.5";
|
|
coronaTint = "1 1 1 1";
|
|
coronaUseLightColor = "1";
|
|
flareScale = "1";
|
|
attenuationRatio = "0 1 1";
|
|
shadowType = "PSSM";
|
|
texSize = "1024";
|
|
overDarkFactor = "3000 1500 750 250";
|
|
shadowDistance = "200";
|
|
shadowSoftness = "0.25";
|
|
numSplits = "4";
|
|
logWeight = "0.9";
|
|
fadeStartDistance = "0";
|
|
lastSplitTerrainOnly = "0";
|
|
representedInLightmap = "0";
|
|
shadowDarkenColor = "0 0 0 -1";
|
|
includeLightmappedGeometryInShadow = "0";
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "1";
|
|
bias = "0.1";
|
|
Blur = "1";
|
|
enabled = "1";
|
|
height = "1024";
|
|
lightBleedFactor = "0.8";
|
|
minVariance = "0";
|
|
pointShadowType = "PointShadowType_Paraboloid";
|
|
shadowBox = "-100 -100 -100 100 100 100";
|
|
splitFadeDistances = "1 1 1 1";
|
|
width = "3072";
|
|
};
|
|
new GroundPlane() {
|
|
squareSize = "128";
|
|
scaleU = "25";
|
|
scaleV = "25";
|
|
Material = "Grid_512_Grey";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "1";
|
|
enabled = "1";
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|
|
|