mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-24 00:53:47 +00:00
@rextimmy fix for GuiWindowCtrl so they snap correctly again
Added asset loose files for editor and bake level files on level asset Correct return of ConsoleGetType on TypeShapeAssetPtr Adds shape asset support to TSStatic, now will support either raw shape file or ShapeAsset Adds onInspect function behavior, so when object is inspected, it can do special editor behavior Adds callback for when editTSCtrl is resized Added editor setting to force the world editor sidebar(scene tree and inspector windows) to resize to fit to the right side of the screen automatically instead of float If assimp loader encounters error, it's output into the console log Makes root Data item in folder hierarchy tree in Asset Browser able to support right mouse popup menu action Material and Shape assets now correctly base on current browsed folder Material asset generation now more properly fills out common maps, as well as handles skipped dependencies better More theme corrections Updated TestGrid images asset defs to have proper loose file handling
This commit is contained in:
parent
7ff451ec89
commit
7b5e1c3c58
35 changed files with 619 additions and 295 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -1,59 +1,60 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<AssetImportSettings>
|
||||
<Group name="TestConfig">
|
||||
<Group name="Animations">
|
||||
<Setting name="SeparateAnimations">1</Setting>
|
||||
<Setting name="ImportAnimations">1</Setting>
|
||||
</Group>
|
||||
<Group name="Materials">
|
||||
<Setting name="IgnoreMaterials">ColorEffect*,</Setting>
|
||||
<Setting name="UseExistingMaterials">1</Setting>
|
||||
<Setting name="UseDiffuseSuffixOnOriginImage">1</Setting>
|
||||
<Setting name="CreateComposites">1</Setting>
|
||||
<Setting name="ImportMaterials">1</Setting>
|
||||
<Group name="Images">
|
||||
<Setting name="GenerateMaterialOnImport">1</Setting>
|
||||
<Setting name="RoughnessTypeSuffixes">_ROUGH,_ROUGHNESS</Setting>
|
||||
<Setting name="AOTypeSuffixes">_AO,_AMBIENT,_AMBIENTOCCLUSION</Setting>
|
||||
<Setting name="IsHDR">0</Setting>
|
||||
<Setting name="Scaling">1.0</Setting>
|
||||
<Setting name="PopulateMaterialMaps">1</Setting>
|
||||
<Setting name="Compressed">1</Setting>
|
||||
<Setting name="NormalTypeSuffixes">_NORMAL,_NORM</Setting>
|
||||
<Setting name="TextureFilteringMode">Bilinear</Setting>
|
||||
<Setting name="DiffuseTypeSuffixes">_ALBEDO,_DIFFUSE,_ALB,_DIF,_COLOR,_COL,_baseColor,_a,</Setting>
|
||||
<Setting name="MetalnessTypeSuffixes">_METAL,_MET,_METALNESS,_METALLIC</Setting>
|
||||
<Setting name="SmoothnessTypeSuffixes">_SMOOTH,_SMOOTHNESS</Setting>
|
||||
<Setting name="CompositeTypeSuffixes">_COMP,_COMPOSITE</Setting>
|
||||
<Setting name="ImageType">N/A</Setting>
|
||||
<Setting name="UseMips">1</Setting>
|
||||
</Group>
|
||||
<Group name="Meshes">
|
||||
<Setting name="AdjustFloor">0</Setting>
|
||||
<Setting name="CollapseSubmeshes">0</Setting>
|
||||
<Setting name="IgnoreNodeScale">0</Setting>
|
||||
<Setting name="UpAxisOverride">Z_AXIS</Setting>
|
||||
<Setting name="ScaleOverride">1</Setting>
|
||||
<Setting name="AdjustFloor">0</Setting>
|
||||
<Setting name="LODType">TrailingNumber</Setting>
|
||||
<Setting name="AdjustCenter">0</Setting>
|
||||
<Setting name="IgnoreNodeScale">0</Setting>
|
||||
<Setting name="DoUpAxisOverride">0</Setting>
|
||||
</Group>
|
||||
<Group name="Images">
|
||||
<Setting name="Scaling">1.0</Setting>
|
||||
<Setting name="UseMips">1</Setting>
|
||||
<Setting name="TextureFilteringMode">Bilinear</Setting>
|
||||
<Setting name="IsHDR">0</Setting>
|
||||
<Setting name="MetalnessTypeSuffixes">_METAL,_MET,_METALNESS,_METALLIC</Setting>
|
||||
<Setting name="NormalTypeSuffixes">_NORMAL,_NORM</Setting>
|
||||
<Setting name="AOTypeSuffixes">_AO,_AMBIENT,_AMBIENTOCCLUSION</Setting>
|
||||
<Setting name="ImageType">N/A</Setting>
|
||||
<Setting name="Compressed">1</Setting>
|
||||
<Setting name="RoughnessTypeSuffixes">_ROUGH,_ROUGHNESS</Setting>
|
||||
<Setting name="SmoothnessTypeSuffixes">_SMOOTH,_SMOOTHNESS</Setting>
|
||||
<Setting name="DiffuseTypeSuffixes">_ALBEDO,_DIFFUSE,_ALB,_DIF,_COLOR,_COL,_baseColor,_a,</Setting>
|
||||
<Setting name="PopulateMaterialMaps">1</Setting>
|
||||
<Setting name="GenerateMaterialOnImport">1</Setting>
|
||||
<Setting name="CompositeTypeSuffixes">_COMP,_COMPOSITE</Setting>
|
||||
</Group>
|
||||
<Group name="Collision">
|
||||
<Setting name="GenerateLOSCollisions">1</Setting>
|
||||
<Setting name="CollisionMeshPrefix">Col</Setting>
|
||||
<Setting name="GenCollisionType">CollisionMesh</Setting>
|
||||
<Setting name="GenerateCollisions">1</Setting>
|
||||
<Setting name="LOSCollisionMeshPrefix">LOS</Setting>
|
||||
<Setting name="GenLOSCollisionType">CollisionMesh</Setting>
|
||||
</Group>
|
||||
<Group name="Sounds">
|
||||
<Setting name="PitchAdjust">1.0</Setting>
|
||||
<Setting name="VolumeAdjust">1.0</Setting>
|
||||
<Setting name="Compressed">0</Setting>
|
||||
<Setting name="CollapseSubmeshes">0</Setting>
|
||||
<Setting name="ScaleOverride">1</Setting>
|
||||
<Setting name="AdjustCenter">0</Setting>
|
||||
</Group>
|
||||
<Group name="General">
|
||||
<Setting name="DuplicatAutoResolution">AutoPrune</Setting>
|
||||
</Group>
|
||||
<Group name="Collision">
|
||||
<Setting name="GenCollisionType">CollisionMesh</Setting>
|
||||
<Setting name="CollisionMeshPrefix">Col</Setting>
|
||||
<Setting name="GenLOSCollisionType">CollisionMesh</Setting>
|
||||
<Setting name="GenerateLOSCollisions">1</Setting>
|
||||
<Setting name="LOSCollisionMeshPrefix">LOS</Setting>
|
||||
<Setting name="GenerateCollisions">1</Setting>
|
||||
</Group>
|
||||
<Group name="Materials">
|
||||
<Setting name="IgnoreMaterials">ColorEffect*,</Setting>
|
||||
<Setting name="ImportMaterials">1</Setting>
|
||||
<Setting name="CreateComposites">1</Setting>
|
||||
<Setting name="UseDiffuseSuffixOnOriginImage">1</Setting>
|
||||
<Setting name="UseExistingMaterials">1</Setting>
|
||||
<Setting name="AlwaysPresentImageMaps">1</Setting>
|
||||
</Group>
|
||||
<Group name="Sounds">
|
||||
<Setting name="PitchAdjust">1.0</Setting>
|
||||
<Setting name="Compressed">0</Setting>
|
||||
<Setting name="VolumeAdjust">1.0</Setting>
|
||||
</Group>
|
||||
<Group name="Animations">
|
||||
<Setting name="ImportAnimations">1</Setting>
|
||||
<Setting name="SeparateAnimations">1</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
</AssetImportSettings>
|
||||
|
|
|
|||
|
|
@ -1109,6 +1109,7 @@ function AssetListPanelInputs::onRightMouseDown(%this)
|
|||
|
||||
function AssetBrowserFilterTree::onRightMouseDown(%this, %itemId)
|
||||
{
|
||||
%count = %this.getSelectedItemsCount();
|
||||
if( %this.getSelectedItemsCount() > 0 && %itemId != 1)
|
||||
{
|
||||
//AddNewAssetPopup.showPopup(Canvas);
|
||||
|
|
@ -1127,6 +1128,10 @@ function AssetBrowserFilterTree::onRightMouseDown(%this, %itemId)
|
|||
EditFolderPopup.showPopup(Canvas);
|
||||
}
|
||||
}
|
||||
else if(%itemId == 1)
|
||||
{
|
||||
AddNewModulePopup.showPopup(Canvas);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
@ -1743,14 +1748,20 @@ function EWorldEditor::onControlDropped( %this, %payload, %position )
|
|||
{
|
||||
echo("DROPPED A SHAPE ON THE EDITOR WINDOW!");
|
||||
|
||||
%staticShapeObjDef = AssetDatabase.acquireAsset("Core_GameObjects:StaticShapeObject");
|
||||
/*%staticShapeObjDef = AssetDatabase.acquireAsset("Core_GameObjects:StaticShapeObject");
|
||||
|
||||
%newEntity = %staticShapeObjDef.createObject();
|
||||
|
||||
%newEntity.position = %pos;
|
||||
%newEntity-->MeshComponent.MeshAsset = %module @ ":" @ %asset;
|
||||
|
||||
%newEntity.dirtyGameObject = true; //because if we're specifically setting the mesh asset, it's dirty
|
||||
%newEntity.dirtyGameObject = true; //because if we're specifically setting the mesh asset, it's dirty*/
|
||||
|
||||
%newEntity = new TSStatic()
|
||||
{
|
||||
position = %pos;
|
||||
shapeAsset = %module @ ":" @ %asset;
|
||||
};
|
||||
|
||||
getScene(0).add(%newEntity);
|
||||
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ function AssetBrowser::addImportingAsset( %this, %assetType, %filePath, %parentA
|
|||
};
|
||||
|
||||
//little bit of interception here
|
||||
if(%assetItem.assetType $= "Model")
|
||||
/*if(%assetItem.assetType $= "Model")
|
||||
{
|
||||
%fileExt = fileExt(%assetItem.filePath);
|
||||
%shapeInfo = new GuiTreeViewCtrl();
|
||||
|
|
@ -328,7 +328,7 @@ function AssetBrowser::addImportingAsset( %this, %assetType, %filePath, %parentA
|
|||
%assetItem.delete();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
if(%assetType $= "Material")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ function AssetBrowser::importImageAsset(%this, %assetItem)
|
|||
%assetId = %moduleName@":"@%assetName;
|
||||
|
||||
%assetPath = AssetBrowser.currentAddress @ "/";
|
||||
|
||||
%assetFullPath = %assetPath @ "/" @ fileName(%filePath);
|
||||
|
||||
%newAsset = new ImageAsset()
|
||||
|
|
|
|||
|
|
@ -5,8 +5,10 @@ function AssetBrowser::createMaterialAsset(%this)
|
|||
%moduleName = AssetBrowser.newAssetSettings.moduleName;
|
||||
%modulePath = "data/" @ %moduleName;
|
||||
|
||||
%tamlpath = %modulePath @ "/materials/" @ %assetName @ ".asset.taml";
|
||||
%sgfPath = %modulePath @ "/materials/" @ %assetName @ ".sgf";
|
||||
%assetPath = AssetBrowser.currentAddress @ "/";
|
||||
|
||||
%tamlpath = %assetPath @ %assetName @ ".asset.taml";
|
||||
%sgfPath = %assetPath @ %assetName @ ".sgf";
|
||||
|
||||
%asset = new MaterialAsset()
|
||||
{
|
||||
|
|
@ -225,7 +227,7 @@ function AssetBrowser::prepareImportMaterialAsset(%this, %assetItem)
|
|||
%assetItem.AOImageAsset.skip = true;
|
||||
%assetItem.metalnessImageAsset.skip = true;
|
||||
|
||||
%compositeAssetPath = "data/" @ %assetItem.moduleName @ "/images";
|
||||
%compositeAssetPath = AssetBrowser.currentAddress @ "/";
|
||||
%saveAsPath = %compositeAssetPath @ "/" @ %assetItem.assetName @ "_composite.png";
|
||||
%compositeAsset = AssetBrowser.addImportingAsset("Image", "", %assetItem, %assetItem.assetName @ "_composite");
|
||||
%compositeAsset.generatedAsset = true;
|
||||
|
|
@ -303,6 +305,12 @@ function AssetBrowser::importMaterialAsset(%this, %assetItem)
|
|||
{
|
||||
%dependencyAssetItem = ImportAssetTree.getItemObject(%childId);
|
||||
|
||||
if(%dependencyAssetItem.skip)
|
||||
{
|
||||
%childId = ImportAssetTree.getNextSibling(%childId);
|
||||
continue;
|
||||
}
|
||||
|
||||
%depAssetType = %dependencyAssetItem.assetType;
|
||||
if(%depAssetType $= "Image")
|
||||
{
|
||||
|
|
@ -351,44 +359,45 @@ function AssetBrowser::importMaterialAsset(%this, %assetItem)
|
|||
|
||||
if(%assetItem.diffuseImageAsset !$= "")
|
||||
{
|
||||
%diffuseAssetPath = "data/" @ %moduleName @ "/Images/" @ fileName(%assetItem.diffuseImageAsset.filePath);
|
||||
%diffuseAssetPath = %assetPath @ fileName(%assetItem.diffuseImageAsset.filePath);
|
||||
%file.writeline(" DiffuseMap[0] = \"" @ %diffuseAssetPath @"\";");
|
||||
%file.writeline(" DiffuseMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.diffuseImageAsset.assetName @"\";");
|
||||
}
|
||||
if(%assetItem.normalImageAsset)
|
||||
{
|
||||
%normalAssetPath = "data/" @ %moduleName @ "/Images/" @ fileName(%assetItem.normalImageAsset.filePath);
|
||||
%normalAssetPath = %assetPath @ fileName(%assetItem.normalImageAsset.filePath);
|
||||
%file.writeline(" NormalMap[0] = \"" @ %normalAssetPath @"\";");
|
||||
%file.writeline(" NormalMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.normalImageAsset.assetName @"\";");
|
||||
}
|
||||
/*if(%assetItem.specularImageAsset)
|
||||
{
|
||||
%file.writeline(" SpecularMap[0] = \"" @ %assetItem.specularImageAsset.filePath @"\";");
|
||||
%file.writeline(" SpecularMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.specularImageAsset.assetName @"\";");
|
||||
}*/
|
||||
if(%assetItem.roughnessImageAsset && %assetItem.roughnessImageAsset.skip == false)
|
||||
{
|
||||
%file.writeline(" RoughMap[0] = \"" @ %assetItem.roughnessImageAsset.filePath @"\";");
|
||||
%roughAssetPath = %assetPath @ fileName(%assetItem.roughnessImageAsset.filePath);
|
||||
%file.writeline(" RoughMap[0] = \"" @ %roughAssetPath @"\";");
|
||||
%file.writeline(" RoughMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.roughnessImageAsset.assetName @"\";");
|
||||
}
|
||||
if(%assetItem.smoothnessImageAsset && %assetItem.smoothnessImageAsset.skip == false)
|
||||
{
|
||||
%file.writeline(" SmoothnessMap[0] = \"" @ %assetItem.smoothnessImageAsset.filePath @"\";");
|
||||
%smoothnessAssetPath = %assetPath @ fileName(%assetItem.smoothnessImageAsset.filePath);
|
||||
%file.writeline(" SmoothnessMap[0] = \"" @ %smoothnessAssetPath @"\";");
|
||||
%file.writeline(" SmoothnessMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.smoothnessImageAsset.assetName @"\";");
|
||||
}
|
||||
if(%assetItem.metalnessImageAsset && %assetItem.metalnessImageAsset.skip == false)
|
||||
{
|
||||
%file.writeline(" MetalMap[0] = \"" @ %assetItem.metalnessImageAsset.filePath @"\";");
|
||||
%metalAssetPath = %assetPath @ fileName(%assetItem.metalnessImageAsset.filePath);
|
||||
%file.writeline(" MetalMap[0] = \"" @ %metalAssetPath @"\";");
|
||||
%file.writeline(" MetalMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.metalnessImageAsset.assetName @"\";");
|
||||
}
|
||||
if(%assetItem.AOImageAsset && %assetItem.AOImageAsset.skip == false)
|
||||
{
|
||||
%file.writeline(" AOMap[0] = \"" @ %assetItem.AOImageAsset.filePath @"\";");
|
||||
%AOAssetPath = %assetPath @ fileName(%assetItem.AOImageAsset.filePath);
|
||||
%file.writeline(" AOMap[0] = \"" @ %AOAssetPath @"\";");
|
||||
%file.writeline(" AOMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.AOImageAsset.assetName @"\";");
|
||||
}
|
||||
if(%assetItem.compositeImageAsset)
|
||||
{
|
||||
%file.writeline(" CompositeMap[0] = \"" @ %assetItem.compositeImageAsset.filePath @"\";");
|
||||
%file.writeline(" CompositeMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.compositeImageAsset.assetName @"\";");
|
||||
%compAssetPath = %assetPath @ fileName(%assetItem.compositeImageAsset.filePath);
|
||||
%file.writeline(" PBRConfigMap[0] = \"" @ %compAssetPath @"\";");
|
||||
%file.writeline(" PBRConfigMapAsset[0] = \"" @ %moduleName @ ":" @ %assetItem.compositeImageAsset.assetName @"\";");
|
||||
}
|
||||
%file.writeline("};");
|
||||
%file.writeline("//--- OBJECT WRITE END ---");
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ function AssetBrowser::importShapeAsset(%this, %assetItem)
|
|||
%assetImportSuccessful = false;
|
||||
%assetId = %moduleName@":"@%assetName;
|
||||
|
||||
%assetPath = "data/" @ %moduleName @ "/Shapes";
|
||||
%assetPath = AssetBrowser.currentAddress @ "/";
|
||||
%assetFullPath = %assetPath @ "/" @ fileName(%filePath);
|
||||
|
||||
%newAsset = new ShapeAsset()
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ function AssetBrowser::buildPopupMenus(%this)
|
|||
AddNewModulePopup.enableItem(1, false);
|
||||
}
|
||||
|
||||
|
||||
if( !isObject( EditAssetPopup ) )
|
||||
{
|
||||
new PopupMenu( EditAssetPopup )
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ function ESettingsWindow::getNavEditorSettings(%this)
|
|||
|
||||
SettingsInspector.startGroup("Colors");
|
||||
SettingsInspector.addSettingsField("WorldEditor/newLevelFile", "Hover Spline", "colorI", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/torsionPath", "Select Spline", "colorI", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/forceLoadDAE", "Select Spline", "colorI", "");
|
||||
SettingsInspector.endGroup();
|
||||
}
|
||||
|
||||
|
|
@ -348,10 +348,15 @@ function ESettingsWindow::getSceneEditorSettings(%this)
|
|||
SettingsInspector.endGroup();
|
||||
|
||||
SettingsInspector.startGroup("Misc");
|
||||
//SettingsInspector.addSettingsField("WorldEditor/forceLoadDAE", "Force Load DAE", "bool", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/forceLoadDAE", "Force Load DAE", "bool", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/Tools/dropAtScreenCenterScalar", "Screen Center Scalar", "float", "");
|
||||
SettingsInspector.addSettingsField("WorldEditor/Tools/dropAtScreenCenterMax", "Screen Center Max", "float", "");
|
||||
SettingsInspector.endGroup();
|
||||
|
||||
SettingsInspector.startGroup("Layout");
|
||||
SettingsInspector.addSettingsField("WorldEditor/forceSidebarToSide", "Force Sidebar Window(s) to side", "bool", "1");
|
||||
SettingsInspector.endGroup();
|
||||
}
|
||||
|
||||
function ESettingsWindow::getShapeEditorSettings(%this)
|
||||
|
|
|
|||
|
|
@ -235,8 +235,12 @@ new GuiControlProfile (ToolsGuiAutoSizeTextProfile)
|
|||
if( !isObject( ToolsGuiMLTextProfile ) )
|
||||
new GuiControlProfile( ToolsGuiMLTextProfile )
|
||||
{
|
||||
fontColorLink = "100 100 100";
|
||||
fontColorLinkHL = "255 255 255";
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
|
||||
fontColorLink = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorLinkHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
autoSizeWidth = true;
|
||||
autoSizeHeight = true;
|
||||
border = false;
|
||||
|
|
@ -744,6 +748,8 @@ singleton GuiControlProfile( GuiInspectorTextEditProfile )
|
|||
opaque = true;
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
||||
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
fillColorNA = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
|
||||
// No Border (Rendered by field control)
|
||||
border = false;
|
||||
|
|
@ -756,7 +762,7 @@ singleton GuiControlProfile( GuiInspectorTextEditProfile )
|
|||
fontSize = 14;
|
||||
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorSEL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
category = "Editor";
|
||||
|
|
@ -798,6 +804,7 @@ singleton GuiControlProfile( GuiInspectorFieldProfile)
|
|||
opaque = true;
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
||||
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
fillColorNA = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
|
||||
// border color
|
||||
|
|
@ -1203,6 +1210,7 @@ singleton GuiControlProfile (IconDropdownProfile)
|
|||
{
|
||||
border = -2;
|
||||
category = "Editor";
|
||||
bitmap = "./icon-dropdownbar";
|
||||
category = "Editor";
|
||||
//bitmap = "./icon-dropdownbar";
|
||||
|
||||
fillColor = "0 0 0";
|
||||
};
|
||||
|
|
@ -2775,6 +2775,7 @@
|
|||
HorizSizing = "width";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "9 4";
|
||||
|
|
@ -2783,6 +2784,7 @@
|
|||
};
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "9 26";
|
||||
|
|
@ -3201,6 +3203,7 @@
|
|||
Extent = "135 20";
|
||||
|
||||
new GuiTextCtrl(){ // u
|
||||
profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "11 1";
|
||||
|
|
@ -3243,6 +3246,7 @@
|
|||
Extent = "135 20";
|
||||
|
||||
new GuiTextCtrl(){ // v
|
||||
profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "11 1";
|
||||
|
|
@ -3317,6 +3321,7 @@
|
|||
Extent = "187 20";
|
||||
|
||||
new GuiTextCtrl(){ // Speed
|
||||
profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "11 0";
|
||||
|
|
@ -3418,6 +3423,7 @@
|
|||
Extent = "135 20";
|
||||
|
||||
new GuiTextCtrl(){ // u
|
||||
profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "11 1";
|
||||
|
|
@ -3458,6 +3464,7 @@
|
|||
Extent = "135 20";
|
||||
|
||||
new GuiTextCtrl(){ // v
|
||||
profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "11 1";
|
||||
|
|
@ -3538,6 +3545,7 @@
|
|||
Extent = "187 20";
|
||||
|
||||
new GuiTextCtrl(){ // Speed
|
||||
profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "11 0";
|
||||
|
|
|
|||
|
|
@ -408,6 +408,7 @@
|
|||
Margin = "0 0 3 3";
|
||||
|
||||
new GuiTextCtrl(){
|
||||
profile = "ToolsGuiTextProfile";
|
||||
Profile = "GuiDefaultProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
|
|
|
|||
|
|
@ -1,61 +1,192 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<EditorSettings>
|
||||
<Group name="MeshRoadEditor">
|
||||
<Group name="Theme">
|
||||
<Setting name="tooltipDividerColor">72 70 68 255</Setting>
|
||||
<Setting name="fieldTextHLColor">234 232 230 255</Setting>
|
||||
<Setting name="windowBackgroundColor">32 31 30 255</Setting>
|
||||
<Setting name="tooltipBGColor">43 43 43 255</Setting>
|
||||
<Setting name="tabsColor">37 36 35 255</Setting>
|
||||
<Setting name="tooltipTextColor">255 255 255 255</Setting>
|
||||
<Setting name="dividerMidColor">50 49 48 255</Setting>
|
||||
<Setting name="tabsHLColor">50 49 48 255</Setting>
|
||||
<Setting name="dividerDarkColor">17 16 15 255</Setting>
|
||||
<Setting name="fieldTextNAColor">77 77 77 255</Setting>
|
||||
<Setting name="fieldBGHLColor">72 70 68 255</Setting>
|
||||
<Setting name="fieldBGSELColor">100 98 96 255</Setting>
|
||||
<Setting name="fieldTextColor">178 175 172 255</Setting>
|
||||
<Setting name="headerTextColor">236 234 232 255</Setting>
|
||||
<Setting name="fieldBGColor">59 58 57 255</Setting>
|
||||
<Setting name="headerColor">50 49 48 255</Setting>
|
||||
<Setting name="dividerLightColor">96 94 92 255</Setting>
|
||||
<Setting name="tabsSELColor">59 58 57 255</Setting>
|
||||
<Setting name="fieldTextSELColor">255 255 255 255</Setting>
|
||||
</Group>
|
||||
<Group name="ShapeEditor">
|
||||
<Setting name="AdvancedWndVisible">1</Setting>
|
||||
<Setting name="SunAngleZ">135</Setting>
|
||||
<Setting name="backgroundColor">0 0 0 100</Setting>
|
||||
<Setting name="showNodes">1</Setting>
|
||||
<Setting name="renderMounts">1</Setting>
|
||||
<Setting name="showBounds">0</Setting>
|
||||
<Setting name="SunAmbientColor">180 180 180 255</Setting>
|
||||
<Setting name="ShowGrid">1</Setting>
|
||||
<Setting name="highlightMaterial">1</Setting>
|
||||
<Setting name="SunDiffuseColor">255 255 255 255</Setting>
|
||||
<Setting name="gridSize">0.1</Setting>
|
||||
<Setting name="gridDimension">40 40</Setting>
|
||||
<Setting name="showObjBox">1</Setting>
|
||||
<Setting name="RenderCollision">0</Setting>
|
||||
<Setting name="SunAngleX">45</Setting>
|
||||
</Group>
|
||||
<Group name="WorldEditor">
|
||||
<Setting name="EditorLayoutMode">Modern</Setting>
|
||||
<Setting name="dropType">screenCenter</Setting>
|
||||
<Setting name="orthoShowGrid">1</Setting>
|
||||
<Setting name="displayType">6</Setting>
|
||||
<Setting name="currentEditor">WorldEditorInspectorPlugin</Setting>
|
||||
<Setting name="forceLoadDAE">0</Setting>
|
||||
<Setting name="torsionPath">AssetWork_Debug.exe</Setting>
|
||||
<Setting name="orthoFOV">50</Setting>
|
||||
<Setting name="undoLimit">40</Setting>
|
||||
<Group name="ObjectIcons">
|
||||
<Setting name="fadeIcons">1</Setting>
|
||||
<Setting name="fadeIconsStartDist">8</Setting>
|
||||
<Setting name="fadeIconsEndDist">20</Setting>
|
||||
<Setting name="fadeIconsEndAlpha">0</Setting>
|
||||
<Setting name="fadeIconsStartAlpha">255</Setting>
|
||||
</Group>
|
||||
<Group name="Render">
|
||||
<Setting name="showMousePopupInfo">1</Setting>
|
||||
<Setting name="renderObjHandle">1</Setting>
|
||||
<Setting name="renderSelectionBox">1</Setting>
|
||||
<Setting name="renderPopupBackground">1</Setting>
|
||||
<Setting name="renderObjText">1</Setting>
|
||||
</Group>
|
||||
<Group name="Theme">
|
||||
<Setting name="windowTitleBGColor">50 50 50 255</Setting>
|
||||
<Setting name="windowTitleBGNAColor">180 180 180 255</Setting>
|
||||
<Setting name="windowTitleFontHLColor">255 255 255 255</Setting>
|
||||
<Setting name="windowTitleFontColor">215 215 215 255</Setting>
|
||||
<Setting name="windowTitleBGHLColor">48 48 48 255</Setting>
|
||||
</Group>
|
||||
<Group name="Grid">
|
||||
<Setting name="gridSize">1</Setting>
|
||||
<Setting name="gridSnap">1</Setting>
|
||||
<Setting name="gridColor">102 102 102 100</Setting>
|
||||
<Setting name="gridOriginColor">255 255 255 100</Setting>
|
||||
<Setting name="gridMinorColor">51 51 51 100</Setting>
|
||||
</Group>
|
||||
<Group name="Docs">
|
||||
<Setting name="documentationReference">../../../Documentation/Torque 3D - Script Manual.chm</Setting>
|
||||
<Setting name="forumURL">http://www.garagegames.com/products/torque-3d/forums</Setting>
|
||||
<Setting name="documentationLocal">../../../Documentation/Official Documentation.html</Setting>
|
||||
<Setting name="documentationURL">http://www.garagegames.com/products/torque-3d/documentation/user</Setting>
|
||||
</Group>
|
||||
<Group name="Color">
|
||||
<Setting name="objectTextColor">255 255 255 255</Setting>
|
||||
<Setting name="popupBackgroundColor">100 100 100 255</Setting>
|
||||
<Setting name="objSelectColor">255 0 0 255</Setting>
|
||||
<Setting name="objMouseOverSelectColor">0 0 255 255</Setting>
|
||||
<Setting name="selectionBoxColor">255 255 0 255</Setting>
|
||||
<Setting name="objMouseOverColor">0 255 0 255</Setting>
|
||||
<Setting name="dragRectColor">255 255 0 255</Setting>
|
||||
</Group>
|
||||
<Group name="Tools">
|
||||
<Setting name="snapSoft">0</Setting>
|
||||
<Setting name="snapGround">0</Setting>
|
||||
<Setting name="TerrainSnapOffsetZ">0</Setting>
|
||||
<Setting name="snapSoftSize">2</Setting>
|
||||
<Setting name="boundingBoxCollision">0</Setting>
|
||||
<Setting name="dropAtScreenCenterMax">100</Setting>
|
||||
<Setting name="dropAtScreenCenterScalar">1</Setting>
|
||||
<Setting name="objectsUseBoxCenter">1</Setting>
|
||||
<Setting name="OffsetZValue">0.01</Setting>
|
||||
</Group>
|
||||
<Group name="Images">
|
||||
<Setting name="lockedHandle">tools/worldEditor/images/LockedHandle</Setting>
|
||||
<Setting name="defaultHandle">tools/worldEditor/images/DefaultHandle</Setting>
|
||||
<Setting name="selectHandle">tools/worldEditor/images/SelectHandle</Setting>
|
||||
</Group>
|
||||
<Group name="Layout">
|
||||
<Setting name="LayoutMode">Classic</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group name="AxisGizmo">
|
||||
<Setting name="rotationSnap">15</Setting>
|
||||
<Setting name="snapRotations">0</Setting>
|
||||
<Setting name="mouseScaleScalar">0.8</Setting>
|
||||
<Setting name="mouseRotateScalar">0.8</Setting>
|
||||
<Setting name="renderWhenUsed">0</Setting>
|
||||
<Setting name="axisGizmoMaxScreenLen">100</Setting>
|
||||
<Setting name="renderInfoText">1</Setting>
|
||||
<Group name="Grid">
|
||||
<Setting name="snapToGrid">1</Setting>
|
||||
<Setting name="renderPlane">0</Setting>
|
||||
<Setting name="gridColor">255 255 255 20</Setting>
|
||||
<Setting name="gridSize">1 1 1</Setting>
|
||||
<Setting name="planeDim">500</Setting>
|
||||
<Setting name="renderPlaneHashes">0</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group name="RiverEditor">
|
||||
<Setting name="HoverSplineColor">255 0 0 255</Setting>
|
||||
<Setting name="SelectedSplineColor">0 255 0 255</Setting>
|
||||
<Setting name="sideMaterialName">DefaultRoadMaterialOther</Setting>
|
||||
<Setting name="DefaultWidth">10</Setting>
|
||||
<Setting name="topMaterialName">DefaultRoadMaterialTop</Setting>
|
||||
<Setting name="DefaultDepth">5</Setting>
|
||||
<Setting name="SelectedSplineColor">0 255 0 255</Setting>
|
||||
<Setting name="HoverNodeColor">255 255 255 255</Setting>
|
||||
<Setting name="DefaultNormal">0 0 1</Setting>
|
||||
</Group>
|
||||
<Group name="TerrainEditor">
|
||||
<Setting name="currentAction">lowerHeight</Setting>
|
||||
<Group name="ActionValues">
|
||||
<Setting name="softSelectRadius">50</Setting>
|
||||
<Setting name="softSelectDefaultFilter">1.000000 0.833333 0.666667 0.500000 0.333333 0.166667 0.000000</Setting>
|
||||
<Setting name="setHeightVal">100</Setting>
|
||||
<Setting name="scaleVal">1</Setting>
|
||||
<Setting name="softSelectFilter">1.000000 0.833333 0.666667 0.500000 0.333333 0.166667 0.000000</Setting>
|
||||
<Setting name="SlopeMaxAngle">90</Setting>
|
||||
<Setting name="SlopeMinAngle">0</Setting>
|
||||
<Setting name="smoothFactor">0.1</Setting>
|
||||
<Setting name="noiseFactor">1</Setting>
|
||||
<Setting name="adjustHeightVal">10</Setting>
|
||||
</Group>
|
||||
<Group name="Brush">
|
||||
<Setting name="brushSize">40 40</Setting>
|
||||
<Setting name="maxBrushSize">40 40</Setting>
|
||||
<Setting name="brushSoftness">1</Setting>
|
||||
<Setting name="brushPressure">1</Setting>
|
||||
<Setting name="brushSize">40 40</Setting>
|
||||
<Setting name="brushType">ellipse</Setting>
|
||||
</Group>
|
||||
<Group name="ActionValues">
|
||||
<Setting name="softSelectRadius">50</Setting>
|
||||
<Setting name="adjustHeightVal">10</Setting>
|
||||
<Setting name="SlopeMaxAngle">90</Setting>
|
||||
<Setting name="noiseFactor">1</Setting>
|
||||
<Setting name="SlopeMinAngle">0</Setting>
|
||||
<Setting name="smoothFactor">0.1</Setting>
|
||||
<Setting name="setHeightVal">100</Setting>
|
||||
<Setting name="softSelectFilter">1.000000 0.833333 0.666667 0.500000 0.333333 0.166667 0.000000</Setting>
|
||||
<Setting name="softSelectDefaultFilter">1.000000 0.833333 0.666667 0.500000 0.333333 0.166667 0.000000</Setting>
|
||||
<Setting name="scaleVal">1</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group name="Theme">
|
||||
<Setting name="dividerDarkColor">17 16 15 255</Setting>
|
||||
<Setting name="fieldTextHLColor">234 232 230 255</Setting>
|
||||
<Setting name="fieldTextColor">178 175 172 255</Setting>
|
||||
<Setting name="fieldTextSELColor">255 255 255 255</Setting>
|
||||
<Setting name="fieldBGHLColor">72 70 68 255</Setting>
|
||||
<Setting name="dividerMidColor">50 49 48 255</Setting>
|
||||
<Setting name="tooltipBGColor">43 43 43 255</Setting>
|
||||
<Setting name="windowBackgroundColor">32 31 30 255</Setting>
|
||||
<Setting name="fieldBGColor">59 58 57 255</Setting>
|
||||
<Setting name="fieldBGSELColor">100 98 96 255</Setting>
|
||||
<Setting name="tabsColor">37 36 35 255</Setting>
|
||||
<Setting name="tabsHLColor">50 49 48 255</Setting>
|
||||
<Setting name="headerColor">50 49 48 255</Setting>
|
||||
<Setting name="fieldTextNAColor">77 77 77 255</Setting>
|
||||
<Setting name="tooltipTextColor">255 255 255 255</Setting>
|
||||
<Setting name="headerTextColor">236 234 232 255</Setting>
|
||||
<Setting name="tooltipDividerColor">72 70 68 255</Setting>
|
||||
<Setting name="tabsSELColor">59 58 57 255</Setting>
|
||||
<Setting name="dividerLightColor">96 94 92 255</Setting>
|
||||
<Group name="AssetCreation">
|
||||
<Setting name="PostFXAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="TerrainAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="AutoImport">1</Setting>
|
||||
<Setting name="TerrainMatAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="CppAssetSubdirectoryFormat"><AssetType>/<SpecialAssetTag>/</Setting>
|
||||
<Setting name="GUIAssetSubdirectoryFormat"><AssetType>/OtherFolder/</Setting>
|
||||
<Setting name="StatemachineAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="CubemapAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="LevelAssetSubdirectoryFormat"><AssetType>/<AssetName>/</Setting>
|
||||
<Setting name="ScriptAssetSubdirectoryFormat"><AssetType>/<SpecialAssetTag>/</Setting>
|
||||
<Setting name="AssetImporDefaultConfig">TestConfig</Setting>
|
||||
</Group>
|
||||
<Group name="GuiEditor">
|
||||
<Setting name="lastPath">tools/worldEditor/gui</Setting>
|
||||
<Setting name="lastPath">tools/gui/messageBoxes</Setting>
|
||||
<Setting name="previewResolution">1024 768</Setting>
|
||||
<Group name="Library">
|
||||
<Setting name="viewType">Categorized</Setting>
|
||||
<Group name="EngineDevelopment">
|
||||
<Setting name="toggleIntoEditor">0</Setting>
|
||||
<Setting name="showEditorGuis">0</Setting>
|
||||
<Setting name="showEditorProfiles">0</Setting>
|
||||
</Group>
|
||||
<Group name="Help">
|
||||
<Setting name="documentationLocal">../../../Documentation/Official Documentation.html</Setting>
|
||||
<Setting name="documentationURL">http://www.garagegames.com/products/torque-3d/documentation/user</Setting>
|
||||
<Setting name="documentationReference">../../../Documentation/Torque 3D - Script Manual.chm</Setting>
|
||||
</Group>
|
||||
<Group name="Rendering">
|
||||
<Setting name="drawGuides">1</Setting>
|
||||
<Setting name="drawBorderLines">1</Setting>
|
||||
</Group>
|
||||
<Group name="Snapping">
|
||||
<Setting name="snapToCanvas">1</Setting>
|
||||
|
|
@ -67,188 +198,57 @@
|
|||
<Setting name="snapToEdges">1</Setting>
|
||||
<Setting name="snapToGuides">1</Setting>
|
||||
</Group>
|
||||
<Group name="Rendering">
|
||||
<Setting name="drawGuides">1</Setting>
|
||||
<Setting name="drawBorderLines">1</Setting>
|
||||
</Group>
|
||||
<Group name="Help">
|
||||
<Setting name="documentationURL">http://www.garagegames.com/products/torque-3d/documentation/user</Setting>
|
||||
<Setting name="documentationReference">../../../Documentation/Torque 3D - Script Manual.chm</Setting>
|
||||
<Setting name="documentationLocal">../../../Documentation/Official Documentation.html</Setting>
|
||||
<Group name="Library">
|
||||
<Setting name="viewType">Categorized</Setting>
|
||||
</Group>
|
||||
<Group name="Selection">
|
||||
<Setting name="fullBox">0</Setting>
|
||||
</Group>
|
||||
<Group name="EngineDevelopment">
|
||||
<Setting name="showEditorProfiles">0</Setting>
|
||||
<Setting name="toggleIntoEditor">0</Setting>
|
||||
<Setting name="showEditorGuis">0</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group name="ShapeEditor">
|
||||
<Setting name="SunAngleZ">135</Setting>
|
||||
<Setting name="gridDimension">40 40</Setting>
|
||||
<Setting name="gridSize">0.1</Setting>
|
||||
<Setting name="showObjBox">1</Setting>
|
||||
<Setting name="AdvancedWndVisible">1</Setting>
|
||||
<Setting name="showNodes">1</Setting>
|
||||
<Setting name="ShowGrid">1</Setting>
|
||||
<Setting name="SunDiffuseColor">255 255 255 255</Setting>
|
||||
<Setting name="SunAngleX">45</Setting>
|
||||
<Setting name="highlightMaterial">1</Setting>
|
||||
<Setting name="backgroundColor">0 0 0 100</Setting>
|
||||
<Setting name="renderMounts">1</Setting>
|
||||
<Setting name="RenderCollision">0</Setting>
|
||||
<Setting name="showBounds">0</Setting>
|
||||
<Setting name="SunAmbientColor">180 180 180 255</Setting>
|
||||
</Group>
|
||||
<Group name="WorldEditor">
|
||||
<Setting name="forceLoadDAE">0</Setting>
|
||||
<Setting name="torsionPath">AssetWork_Debug.exe</Setting>
|
||||
<Setting name="orthoFOV">50</Setting>
|
||||
<Setting name="undoLimit">40</Setting>
|
||||
<Setting name="EditorLayoutMode">Modern</Setting>
|
||||
<Setting name="dropType">screenCenter</Setting>
|
||||
<Setting name="orthoShowGrid">1</Setting>
|
||||
<Setting name="displayType">6</Setting>
|
||||
<Setting name="currentEditor">TerrainPainterPlugin</Setting>
|
||||
<Group name="Images">
|
||||
<Setting name="selectHandle">tools/worldEditor/images/SelectHandle</Setting>
|
||||
<Setting name="lockedHandle">tools/worldEditor/images/LockedHandle</Setting>
|
||||
<Setting name="defaultHandle">tools/worldEditor/images/DefaultHandle</Setting>
|
||||
</Group>
|
||||
<Group name="Docs">
|
||||
<Setting name="documentationURL">http://www.garagegames.com/products/torque-3d/documentation/user</Setting>
|
||||
<Setting name="forumURL">http://www.garagegames.com/products/torque-3d/forums</Setting>
|
||||
<Setting name="documentationLocal">../../../Documentation/Official Documentation.html</Setting>
|
||||
<Setting name="documentationReference">../../../Documentation/Torque 3D - Script Manual.chm</Setting>
|
||||
</Group>
|
||||
<Group name="Theme">
|
||||
<Setting name="windowTitleFontColor">215 215 215 255</Setting>
|
||||
<Setting name="windowTitleFontHLColor">255 255 255 255</Setting>
|
||||
<Setting name="windowTitleBGColor">50 50 50 255</Setting>
|
||||
<Setting name="windowTitleBGHLColor">48 48 48 255</Setting>
|
||||
<Setting name="windowTitleBGNAColor">180 180 180 255</Setting>
|
||||
</Group>
|
||||
<Group name="Grid">
|
||||
<Setting name="gridColor">102 102 102 100</Setting>
|
||||
<Setting name="gridOriginColor">255 255 255 100</Setting>
|
||||
<Setting name="gridMinorColor">51 51 51 100</Setting>
|
||||
<Setting name="gridSize">1</Setting>
|
||||
<Setting name="gridSnap">1</Setting>
|
||||
</Group>
|
||||
<Group name="ObjectIcons">
|
||||
<Setting name="fadeIcons">1</Setting>
|
||||
<Setting name="fadeIconsStartDist">8</Setting>
|
||||
<Setting name="fadeIconsEndDist">20</Setting>
|
||||
<Setting name="fadeIconsEndAlpha">0</Setting>
|
||||
<Setting name="fadeIconsStartAlpha">255</Setting>
|
||||
</Group>
|
||||
<Group name="Tools">
|
||||
<Setting name="dropAtScreenCenterScalar">1</Setting>
|
||||
<Setting name="TerrainSnapOffsetZ">0</Setting>
|
||||
<Setting name="OffsetZValue">0.01</Setting>
|
||||
<Setting name="objectsUseBoxCenter">1</Setting>
|
||||
<Setting name="boundingBoxCollision">0</Setting>
|
||||
<Setting name="dropAtScreenCenterMax">100</Setting>
|
||||
<Setting name="snapGround">0</Setting>
|
||||
<Setting name="snapSoft">0</Setting>
|
||||
<Setting name="snapSoftSize">2</Setting>
|
||||
</Group>
|
||||
<Group name="Render">
|
||||
<Setting name="renderObjText">1</Setting>
|
||||
<Setting name="renderPopupBackground">1</Setting>
|
||||
<Setting name="showMousePopupInfo">1</Setting>
|
||||
<Setting name="renderSelectionBox">1</Setting>
|
||||
<Setting name="renderObjHandle">1</Setting>
|
||||
</Group>
|
||||
<Group name="Color">
|
||||
<Setting name="objMouseOverSelectColor">0 0 255 255</Setting>
|
||||
<Setting name="objSelectColor">255 0 0 255</Setting>
|
||||
<Setting name="objMouseOverColor">0 255 0 255</Setting>
|
||||
<Setting name="dragRectColor">255 255 0 255</Setting>
|
||||
<Setting name="objectTextColor">255 255 255 255</Setting>
|
||||
<Setting name="selectionBoxColor">255 255 0 255</Setting>
|
||||
<Setting name="popupBackgroundColor">100 100 100 255</Setting>
|
||||
</Group>
|
||||
<Group name="Layout">
|
||||
<Setting name="LayoutMode">Classic</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group name="AssetCreation">
|
||||
<Setting name="CubemapAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="LevelAssetSubdirectoryFormat"><AssetType>/<AssetName>/</Setting>
|
||||
<Setting name="AssetImporDefaultConfig">TestConfig</Setting>
|
||||
<Setting name="PostFXAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="CppAssetSubdirectoryFormat"><AssetType>/<SpecialAssetTag>/</Setting>
|
||||
<Setting name="StatemachineAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="TerrainMatAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="ScriptAssetSubdirectoryFormat"><AssetType>/<SpecialAssetTag>/</Setting>
|
||||
<Setting name="AutoImport">1</Setting>
|
||||
<Setting name="TerrainAssetSubdirectoryFormat"><AssetType>/</Setting>
|
||||
<Setting name="GUIAssetSubdirectoryFormat"><AssetType>/OtherFolder/</Setting>
|
||||
</Group>
|
||||
<Group name="LevelInformation">
|
||||
<Setting name="levelsDirectory">data/FPSGameplay/levels</Setting>
|
||||
<Group name="levels">
|
||||
<Group name="BlankRoom.mis">
|
||||
<Setting name="cameraSpeed">25</Setting>
|
||||
</Group>
|
||||
<Group name="PbrMatTest.mis">
|
||||
<Setting name="cameraSpeed">5</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group name="MeshRoadEditor">
|
||||
<Setting name="DefaultWidth">10</Setting>
|
||||
<Setting name="topMaterialName">DefaultRoadMaterialTop</Setting>
|
||||
<Setting name="sideMaterialName">DefaultRoadMaterialOther</Setting>
|
||||
<Setting name="DefaultNormal">0 0 1</Setting>
|
||||
<Setting name="HoverSplineColor">255 0 0 255</Setting>
|
||||
<Setting name="SelectedSplineColor">0 255 0 255</Setting>
|
||||
</Group>
|
||||
<Group name="Assets">
|
||||
<Setting name="AutoImport">1</Setting>
|
||||
<Setting name="AssetImporDefaultConfig">TestConfig</Setting>
|
||||
<Setting name="AutoImport">0</Setting>
|
||||
<Group name="Browser">
|
||||
<Setting name="previewTileSize">small</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group name="NavEditor">
|
||||
<Setting name="backgroundBuild">1</Setting>
|
||||
<Setting name="spawnDatablock">DefaultPlayerData</Setting>
|
||||
<Setting name="SpawnClass">AIPlayer</Setting>
|
||||
</Group>
|
||||
<Group name="RiverEditor">
|
||||
<Setting name="DefaultNormal">0 0 1</Setting>
|
||||
<Setting name="HoverSplineColor">255 0 0 255</Setting>
|
||||
<Setting name="DefaultWidth">10</Setting>
|
||||
<Setting name="DefaultDepth">5</Setting>
|
||||
<Setting name="HoverNodeColor">255 255 255 255</Setting>
|
||||
<Setting name="SelectedSplineColor">0 255 0 255</Setting>
|
||||
</Group>
|
||||
<Group name="AxisGizmo">
|
||||
<Setting name="rotationSnap">15</Setting>
|
||||
<Setting name="mouseRotateScalar">0.8</Setting>
|
||||
<Setting name="snapRotations">0</Setting>
|
||||
<Setting name="mouseScaleScalar">0.8</Setting>
|
||||
<Setting name="renderInfoText">1</Setting>
|
||||
<Setting name="renderWhenUsed">0</Setting>
|
||||
<Setting name="axisGizmoMaxScreenLen">100</Setting>
|
||||
<Group name="Grid">
|
||||
<Setting name="gridSize">1 1 1</Setting>
|
||||
<Setting name="planeDim">500</Setting>
|
||||
<Setting name="gridColor">255 255 255 20</Setting>
|
||||
<Setting name="renderPlane">0</Setting>
|
||||
<Setting name="snapToGrid">1</Setting>
|
||||
<Setting name="renderPlaneHashes">0</Setting>
|
||||
<Group name="LevelInformation">
|
||||
<Setting name="levelsDirectory">data/FPSGameplay/levels</Setting>
|
||||
<Group name="levels">
|
||||
<Group name="PbrMatTest.mis">
|
||||
<Setting name="cameraSpeed">5</Setting>
|
||||
</Group>
|
||||
<Group name="BlankRoom.mis">
|
||||
<Setting name="cameraSpeed">25</Setting>
|
||||
</Group>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group name="AssetBrowser">
|
||||
<Setting name="previewSize">Small</Setting>
|
||||
</Group>
|
||||
<Group name="RoadEditor">
|
||||
<Setting name="materialName">DefaultDecalRoadMaterial</Setting>
|
||||
<Setting name="DefaultWidth">10</Setting>
|
||||
<Setting name="SelectedSplineColor">0 255 0 255</Setting>
|
||||
<Setting name="HoverNodeColor">255 255 255 255</Setting>
|
||||
</Group>
|
||||
<Group name="ConvexEditor">
|
||||
<Setting name="materialName">Grid_512_Orange</Setting>
|
||||
</Group>
|
||||
<Group name="RoadEditor">
|
||||
<Setting name="materialName">DefaultDecalRoadMaterial</Setting>
|
||||
<Setting name="HoverNodeColor">255 255 255 255</Setting>
|
||||
<Setting name="DefaultWidth">10</Setting>
|
||||
<Setting name="SelectedSplineColor">0 255 0 255</Setting>
|
||||
</Group>
|
||||
<Group name="NavEditor">
|
||||
<Setting name="SpawnClass">AIPlayer</Setting>
|
||||
<Setting name="backgroundBuild">1</Setting>
|
||||
<Setting name="spawnDatablock">DefaultPlayerData</Setting>
|
||||
</Group>
|
||||
<Group name="DatablockEditor">
|
||||
<Setting name="libraryTab">1</Setting>
|
||||
</Group>
|
||||
<Group name="AssetBrowser">
|
||||
<Setting name="previewSize">Small</Setting>
|
||||
</Group>
|
||||
</EditorSettings>
|
||||
|
|
|
|||
|
|
@ -34,8 +34,15 @@ singleton GuiControlProfile(GuiShapeEdScrollProfile : GuiEditorScrollProfile)
|
|||
|
||||
singleton GuiControlProfile(GuiShapeEdTextListProfile : ToolsGuiTextListProfile)
|
||||
{
|
||||
// Customise the not-active font used for the header row
|
||||
fontColorNA = "75 75 75";
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
fontColorNA = EditorSettings.value("Theme/fieldTextNAColor");
|
||||
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
||||
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
|
||||
category = "Editor";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -431,6 +431,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
text = "Col Meshes";
|
||||
position = "7 120";
|
||||
extent = "56 16";
|
||||
|
|
@ -446,6 +447,7 @@
|
|||
Variable = "ShapeEdShapeView.colMeshes";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
text = "Col Polys";
|
||||
position = "108 120";
|
||||
extent = "43 16";
|
||||
|
|
@ -1417,6 +1419,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
text = "Fit Type";
|
||||
position = "5 5";
|
||||
extent = "41 16";
|
||||
|
|
@ -1434,6 +1437,7 @@
|
|||
internalName = "colType";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
text = "Fit Target";
|
||||
position = "5 25";
|
||||
extent = "45 16";
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@
|
|||
hovertime = "1000";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "left";
|
||||
VertSizing = "top";
|
||||
position = "740 19";
|
||||
|
|
|
|||
|
|
@ -197,6 +197,7 @@
|
|||
isContainer = true;
|
||||
|
||||
new GuiTextCtrl() { // Header
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "5 1";
|
||||
|
|
@ -204,6 +205,7 @@
|
|||
text = "Sequence Properties";
|
||||
};
|
||||
new GuiTextCtrl() { // Name
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "16 22";
|
||||
|
|
@ -402,6 +404,7 @@
|
|||
|
||||
// Triggers
|
||||
new GuiTextCtrl() {
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "5 0";
|
||||
|
|
@ -698,6 +701,7 @@
|
|||
isContainer = true;
|
||||
|
||||
new GuiTextCtrl() {
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "5 1";
|
||||
|
|
@ -1059,6 +1063,7 @@
|
|||
isContainer = "1";
|
||||
|
||||
new GuiTextCtrl() { // Header
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
text = "Detail/Object Properties";
|
||||
position = "4 1";
|
||||
extent = "112 16";
|
||||
|
|
@ -1321,6 +1326,7 @@
|
|||
isContainer = true;
|
||||
|
||||
new GuiTextCtrl() { // Header
|
||||
Profile = "ToolsGuiTextProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "5 1";
|
||||
|
|
|
|||
|
|
@ -853,7 +853,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
isContainer = "1";
|
||||
Profile = "ToolsGuiTransparentProfile";
|
||||
Profile = "ToolsGuiSolidDefaultProfile";
|
||||
HorizSizing = "width";
|
||||
VertSizing = "height";
|
||||
Position = "5 5";
|
||||
|
|
|
|||
|
|
@ -347,6 +347,7 @@
|
|||
};
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
profile = "ToolsGuiCheckBoxProfile";
|
||||
text = "Snap to object bounding box";
|
||||
groupNum = "1";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -775,6 +776,7 @@
|
|||
};
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
profile = "ToolsGuiCheckBoxProfile";
|
||||
text = "Grid Snapping";
|
||||
groupNum = "1";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -794,6 +796,7 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
profile = "ToolsGuiCheckBoxProfile";
|
||||
text = "Use Group Center";
|
||||
groupNum = "1";
|
||||
useMouseEvents = "0";
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
isContainer = "1";
|
||||
Profile = "ToolsGuiWindowProfile";
|
||||
Position = getWord($pref::Video::mode, 0) - 330 SPC
|
||||
getWord(EditorGuiToolbar.extent, 1) + getWord(EWTreeWindow.extent, 1) + 40;
|
||||
getWord(EditorGuiToolbar.extent, 1) + getWord(EWTreeWindow.extent, 1) + 40;
|
||||
Extent = "300 250";
|
||||
MinExtent = "200 150";
|
||||
HorizSizing = "windowRelative";
|
||||
|
|
|
|||
|
|
@ -58,6 +58,12 @@ function EditorGui::init(%this)
|
|||
%this.add( EWTreeWindow );
|
||||
EWTreeWindow-->EditorTree.selectPage( 0 );
|
||||
EWTreeWindow.setVisible( false );
|
||||
|
||||
if(EditorSettings.value( "WorldEditor/forceSidebarToSide" ) == 1)
|
||||
{
|
||||
EWTreeWindow.position = %this.extent.x - EWTreeWindow.Extent.x SPC EditorGuiToolbar.extent.y;
|
||||
EWTreeWindow.extent = EWTreeWindow.extent.x SPC %this.extent.y - EditorGuiToolbar.extent.y - EditorGuiStatusBar.extent.y - 25;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -70,6 +76,12 @@ function EditorGui::init(%this)
|
|||
{
|
||||
%this.add( EWInspectorWindow );
|
||||
EWInspectorWindow.setVisible( false );
|
||||
|
||||
if(EditorSettings.value( "WorldEditor/forceSidebarToSide" ) == 1)
|
||||
{
|
||||
EWInspectorWindow.position = EWTreeWindow.position.x SPC EWTreeWindow.extent.y;
|
||||
EWInspectorWindow.extent = EWTreeWindow.extent.x SPC EWTreeWindow.extent.y;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1425,6 +1437,24 @@ function EWorldEditorAlignPopup::onSelect(%this, %id, %text)
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
function EWorldEditor::onResize(%this, %newPosition, %newExtent)
|
||||
{
|
||||
//if(EditorSettings.value( "WorldEditor/forceSidebarToSide" ) == 1)
|
||||
//{
|
||||
%treePos = %this.extent.x - (%this.extent.x * 0.2) SPC EditorGuiToolbar.extent.y;
|
||||
%treeExt = %this.extent.x * 0.2 SPC (%this.extent.y * 0.5) - EditorGuiToolbar.extent.y - EditorGuiStatusBar.extent.y - 25;
|
||||
|
||||
EWTreeWindow.resize(%treePos.x, %treePos.y, %treeExt.x, %treeExt.y);
|
||||
//}
|
||||
|
||||
//if(EditorSettings.value( "WorldEditor/forceSidebarToSide" ) == 1)
|
||||
//{
|
||||
%inspPos = EWTreeWindow.position.x SPC EWTreeWindow.position.y + EWTreeWindow.extent.y;
|
||||
%inspExt = EWTreeWindow.extent.x SPC %this.extent.y - EWTreeWindow.extent.y - (EditorGuiStatusBar.extent.y * 2);
|
||||
|
||||
EWInspectorWindow.resize(%inspPos.x, %inspPos.y, %inspExt.x, %inspExt.y);
|
||||
//}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue