2
0
Эх сурвалжийг харах

Added fallback handling to MaterialAssets if the asset was found but the matDef was not
Added import config handling for prepending Directory to asset name
Added handling for import config of appending a sound suffix
Integrated handling of directory prepend and asset type suffix to rename issue resolution of asset importing
Corrected miswording of warn message for duplicate object names
Correct GUI issues with verve tools
Convert verve tools to utilize assets for their GUI elements
Fix window binding/naming issue depending on window mode for verve
Fix popup menus formatting for verve
WIP fix for material swap in Material editor. Corrects crash, but swap action is unreliable depending on object type
Fix display issue with mission area editor toolbar button image
Fix tooltip display of SFXEmitters in editor tree to correctly show the bound asset
Changed network graph accelerator keybind from just N to Ctrl N to avoid keybind issues when typing
Fixed Create New Emitter button in particle emitter that was showing as no texture

Areloch 3 жил өмнө
parent
commit
0fab2ebf54
34 өөрчлөгдсөн 608 нэмэгдсэн , 654 устгасан
  1. 6 0
      Engine/source/T3D/assets/MaterialAsset.cpp
  2. 66 21
      Engine/source/T3D/assets/assetImporter.cpp
  3. 32 0
      Engine/source/T3D/assets/assetImporter.h
  4. 1 1
      Engine/source/console/simDictionary.cpp
  5. 1 1
      Templates/BaseGame/game/tools/VerveEditor/GUI/GuiProfiles.tscript
  6. 35 35
      Templates/BaseGame/game/tools/VerveEditor/GUI/VerveEditor.gui
  7. 27 27
      Templates/BaseGame/game/tools/VerveEditor/GUI/VerveEditorGroupBuilder.gui
  8. 12 12
      Templates/BaseGame/game/tools/VerveEditor/GUI/VerveEditorImportPathNodes.gui
  9. 32 32
      Templates/BaseGame/game/tools/VerveEditor/GUI/VerveEditorPreferences.gui
  10. 4 4
      Templates/BaseGame/game/tools/VerveEditor/Scripts/Controller/VControllerProperties.tscript
  11. 23 19
      Templates/BaseGame/game/tools/VerveEditor/Scripts/EditorMenu.tscript
  12. 18 14
      Templates/BaseGame/game/tools/VerveEditor/Scripts/EditorWindow.tscript
  13. 6 6
      Templates/BaseGame/game/tools/VerveEditor/Scripts/Groups/VGroup.tscript
  14. 2 2
      Templates/BaseGame/game/tools/VerveEditor/Scripts/Inspector/Controls.tscript
  15. 2 2
      Templates/BaseGame/game/tools/VerveEditor/Scripts/Inspector/Fields/TypeData.tscript
  16. 2 1
      Templates/BaseGame/game/tools/VerveEditor/Scripts/Inspector/Selection.tscript
  17. 6 6
      Templates/BaseGame/game/tools/VerveEditor/Scripts/Tracks/VMotionTrack.tscript
  18. 5 5
      Templates/BaseGame/game/tools/VerveEditor/Scripts/Tracks/VTrack.tscript
  19. 2 3
      Templates/BaseGame/game/tools/VerveEditor/main.tscript
  20. 231 443
      Templates/BaseGame/game/tools/assetBrowser/assetImportConfigs.xml
  21. 6 1
      Templates/BaseGame/game/tools/assetBrowser/scripts/assetImportConfig.tscript
  22. 2 2
      Templates/BaseGame/game/tools/assetBrowser/scripts/assetImportConfigEditor.tscript
  23. BIN
      Templates/BaseGame/game/tools/gui/images/stencilIcons/larger.png
  24. 8 0
      Templates/BaseGame/game/tools/gui/images/stencilIcons/larger_image.asset.taml
  25. BIN
      Templates/BaseGame/game/tools/gui/images/stencilIcons/smaller.png
  26. 8 0
      Templates/BaseGame/game/tools/gui/images/stencilIcons/smaller_image.asset.taml
  27. 2 1
      Templates/BaseGame/game/tools/gui/profiles.ed.tscript
  28. 1 1
      Templates/BaseGame/game/tools/materialEditor/gui/guiMaterialPropertiesWindow.ed.gui
  29. 58 11
      Templates/BaseGame/game/tools/materialEditor/scripts/materialEditor.ed.tscript
  30. BIN
      Templates/BaseGame/game/tools/missionAreaEditor/images/mission-area_h.png
  31. BIN
      Templates/BaseGame/game/tools/missionAreaEditor/images/mission-area_n.png
  32. 1 1
      Templates/BaseGame/game/tools/particleEditor/ParticleEditor.ed.gui
  33. 8 2
      Templates/BaseGame/game/tools/worldEditor/scripts/EditorGui.ed.tscript
  34. 1 1
      Templates/BaseGame/game/tools/worldEditor/scripts/menus.ed.tscript

+ 6 - 0
Engine/source/T3D/assets/MaterialAsset.cpp

@@ -319,6 +319,12 @@ U32 MaterialAsset::getAssetByMaterialName(StringTableEntry matName, AssetPtr<Mat
          AssetDatabase.releaseAsset(query.mAssetList[i]); //cleanup if that's not the one we needed
          AssetDatabase.releaseAsset(query.mAssetList[i]); //cleanup if that's not the one we needed
       }
       }
    }
    }
+
+   //Somehow we failed to bind an asset, so just use the fallback and mark the failure
+   matAsset->setAssetId(MaterialAsset::smNoMaterialAssetFallback);
+   (*matAsset)->mLoadedState = AssetErrCode::UsingFallback;
+   return AssetErrCode::UsingFallback;
+
 }
 }
 
 
 StringTableEntry MaterialAsset::getAssetIdByMaterialName(StringTableEntry matName)
 StringTableEntry MaterialAsset::getAssetIdByMaterialName(StringTableEntry matName)

+ 66 - 21
Engine/source/T3D/assets/assetImporter.cpp

@@ -104,7 +104,9 @@ AssetImportConfig::AssetImportConfig() :
    importSounds(true),
    importSounds(true),
    VolumeAdjust(false),
    VolumeAdjust(false),
    PitchAdjust(false),
    PitchAdjust(false),
-   SoundsCompressed(false)
+   SoundsCompressed(false),
+   AlwaysAddSoundSuffix(false),
+   AddedSoundSuffix("_sound")
 {
 {
 }
 }
 
 
@@ -316,6 +318,8 @@ void AssetImportConfig::loadImportConfig(Settings* configSettings, String config
    VolumeAdjust = dAtof(configSettings->value(String(configName + "/Sounds/VolumeAdjust").c_str()));
    VolumeAdjust = dAtof(configSettings->value(String(configName + "/Sounds/VolumeAdjust").c_str()));
    PitchAdjust = dAtof(configSettings->value(String(configName + "/Sounds/PitchAdjust").c_str()));
    PitchAdjust = dAtof(configSettings->value(String(configName + "/Sounds/PitchAdjust").c_str()));
    SoundsCompressed = dAtob(configSettings->value(String(configName + "/Sounds/Compressed").c_str()));
    SoundsCompressed = dAtob(configSettings->value(String(configName + "/Sounds/Compressed").c_str()));
+   AlwaysAddSoundSuffix = dAtob(configSettings->value(String(configName + "/Sounds/AlwaysAddSoundSuffix").c_str()));
+   AddedSoundSuffix = configSettings->value(String(configName + "/Sounds/AddedSoundSuffix").c_str());
 }
 }
 
 
 void AssetImportConfig::CopyTo(AssetImportConfig* target) const
 void AssetImportConfig::CopyTo(AssetImportConfig* target) const
@@ -406,6 +410,8 @@ void AssetImportConfig::CopyTo(AssetImportConfig* target) const
    target->VolumeAdjust = VolumeAdjust;
    target->VolumeAdjust = VolumeAdjust;
    target->PitchAdjust = PitchAdjust;
    target->PitchAdjust = PitchAdjust;
    target->SoundsCompressed = SoundsCompressed;
    target->SoundsCompressed = SoundsCompressed;
+   target->AlwaysAddSoundSuffix = AlwaysAddSoundSuffix;
+   target->AddedSoundSuffix = AddedSoundSuffix;
 }
 }
 
 
 ConsoleDocClass(AssetImportObject,
 ConsoleDocClass(AssetImportObject,
@@ -607,6 +613,7 @@ AssetImportObject* AssetImporter::addImportingAsset(String assetType, Torque::Pa
    assetName.replace('*', '_');
    assetName.replace('*', '_');
    assetName.replace('-', '_');
    assetName.replace('-', '_');
    assetName.replace('+', '_');
    assetName.replace('+', '_');
+   assetName.replace('&', '_');
 
 
    assetImportObj->assetType = assetType;
    assetImportObj->assetType = assetType;
    assetImportObj->filePath = filePath;
    assetImportObj->filePath = filePath;
@@ -622,6 +629,14 @@ AssetImportObject* AssetImporter::addImportingAsset(String assetType, Torque::Pa
    assetImportObj->importStatus = AssetImportObject::NotProcessed;
    assetImportObj->importStatus = AssetImportObject::NotProcessed;
    assetImportObj->generatedAsset = false;
    assetImportObj->generatedAsset = false;
 
 
+   //If the config is marked to always set the directory prefix, do that now
+   if (activeImportConfig->AddDirectoryPrefixToAssetName)
+   {
+      assetName = getFolderPrefixedName(assetImportObj);
+      assetImportObj->assetName = assetName;
+      assetImportObj->cleanAssetName = assetName;
+   }
+
    if (parentItem != nullptr)
    if (parentItem != nullptr)
    {
    {
       dSprintf(importLogBuffer, sizeof(importLogBuffer), "Added Child Importing Asset to %s", parentItem->assetName.c_str());
       dSprintf(importLogBuffer, sizeof(importLogBuffer), "Added Child Importing Asset to %s", parentItem->assetName.c_str());
@@ -1976,6 +1991,12 @@ void AssetImporter::processSoundAsset(AssetImportObject* assetItem)
    dSprintf(importLogBuffer, sizeof(importLogBuffer), "Preparing Sound for Import: %s", assetItem->assetName.c_str());
    dSprintf(importLogBuffer, sizeof(importLogBuffer), "Preparing Sound for Import: %s", assetItem->assetName.c_str());
    activityLog.push_back(importLogBuffer);
    activityLog.push_back(importLogBuffer);
 
 
+   if (activeImportConfig->AlwaysAddSoundSuffix)
+   {
+      assetItem->assetName += activeImportConfig->AddedSoundSuffix;
+      assetItem->cleanAssetName = assetItem->assetName;
+   }
+
    assetItem->importStatus = AssetImportObject::Processed;
    assetItem->importStatus = AssetImportObject::Processed;
 }
 }
 
 
@@ -2165,7 +2186,49 @@ void AssetImporter::resolveAssetItemIssues(AssetImportObject* assetItem)
       {
       {
          //Set trailing number
          //Set trailing number
          String renamedAssetName = assetItem->assetName;
          String renamedAssetName = assetItem->assetName;
-         renamedAssetName = Sim::getUniqueName(renamedAssetName.c_str());
+         String renamedAssetId = assetItem->moduleName + ":" + renamedAssetName;
+
+         String addedSuffix;
+
+         if (assetItem->assetType == String("ShapeAsset"))
+            addedSuffix = activeImportConfig->AddedShapeSuffix;
+         else if (assetItem->assetType == String("MaterialAsset"))
+            addedSuffix = activeImportConfig->AddedMaterialSuffix;
+         else if (assetItem->assetType == String("ImageAsset"))
+            addedSuffix = activeImportConfig->AddedImageSuffix;
+         else if (assetItem->assetType == String("SoundAsset"))
+            addedSuffix = activeImportConfig->AddedSoundSuffix;
+
+         //do the suffix if it isn't already on it
+         if (!renamedAssetName.endsWith(addedSuffix.c_str()))
+         {
+            renamedAssetName += addedSuffix;
+            renamedAssetId = assetItem->moduleName + ":" + renamedAssetName;
+            assetItem->assetName = renamedAssetName;
+         }
+
+         //if still conflicted
+         //add the directory prefix
+         if (AssetDatabase.isDeclaredAsset(renamedAssetId.c_str()))
+         {
+            renamedAssetName = getFolderPrefixedName(assetItem);
+            renamedAssetId = assetItem->moduleName + ":" + renamedAssetName;
+            assetItem->assetName = renamedAssetName;
+         }
+
+         bool appendedNumber = false;
+         U32 uniqueNumber = 0;
+         while (AssetDatabase.isDeclaredAsset(renamedAssetId.c_str()))
+         {
+            uniqueNumber++;
+            renamedAssetId = assetItem->moduleName + ":" + renamedAssetName + String::ToString(uniqueNumber);
+            appendedNumber = true;
+         }
+
+         if (appendedNumber)
+         {
+            renamedAssetName += String::ToString(uniqueNumber);
+         }
 
 
          //Log it's renaming
          //Log it's renaming
          dSprintf(importLogBuffer, sizeof(importLogBuffer), "Asset %s was renamed due to %s as part of the Import Configuration", assetItem->assetName.c_str(), humanReadableReason.c_str());
          dSprintf(importLogBuffer, sizeof(importLogBuffer), "Asset %s was renamed due to %s as part of the Import Configuration", assetItem->assetName.c_str(), humanReadableReason.c_str());
@@ -2186,25 +2249,7 @@ void AssetImporter::resolveAssetItemIssues(AssetImportObject* assetItem)
       }
       }
       else if (activeImportConfig->DuplicateAutoResolution == String("FolderPrefix"))
       else if (activeImportConfig->DuplicateAutoResolution == String("FolderPrefix"))
       {
       {
-         String renamedAssetName = assetItem->assetName;
-
-         //Set trailing number
-         S32 dirIndex = assetItem->filePath.getDirectoryCount() - 1;
-         while (dirIndex > -1)
-         {
-            renamedAssetName = assetItem->assetName;
-            String owningFolder = assetItem->filePath.getDirectory(dirIndex);
-
-            renamedAssetName = owningFolder + "_" + renamedAssetName;
-
-            if (AssetDatabase.isDeclaredAsset(renamedAssetName))
-            {
-               dirIndex--;
-               continue;
-            }
-
-            break;
-         }
+         String renamedAssetName = getFolderPrefixedName(assetItem);
 
 
          //Log it's renaming
          //Log it's renaming
          dSprintf(importLogBuffer, sizeof(importLogBuffer), "Asset %s was renamed due to %s as part of the Import Configuration", assetItem->assetName.c_str(), humanReadableReason.c_str());
          dSprintf(importLogBuffer, sizeof(importLogBuffer), "Asset %s was renamed due to %s as part of the Import Configuration", assetItem->assetName.c_str(), humanReadableReason.c_str());

+ 32 - 0
Engine/source/T3D/assets/assetImporter.h

@@ -409,6 +409,15 @@ public:
    /// </summary>
    /// </summary>
    bool SoundsCompressed;
    bool SoundsCompressed;
 
 
+   /// When importing an image, this indicates if it should automatically add a standard suffix onto the name
+   /// </summary>
+   bool AlwaysAddSoundSuffix;
+
+   /// <summary>
+   /// If AlwaysAddSoundSuffix is on, this is the suffix to be added
+   /// </summary>
+   String AddedSoundSuffix;
+
 public:
 public:
    AssetImportConfig();
    AssetImportConfig();
    virtual ~AssetImportConfig();
    virtual ~AssetImportConfig();
@@ -934,4 +943,27 @@ public:
    //
    //
    void setTargetModuleId(const String& moduleId) { targetModuleId = moduleId; }
    void setTargetModuleId(const String& moduleId) { targetModuleId = moduleId; }
    const String& getTargetModuleId() { return targetModuleId; }
    const String& getTargetModuleId() { return targetModuleId; }
+
+   String getFolderPrefixedName(AssetImportObject* assetItem)
+   {
+      String renamedAssetName = assetItem->assetName;
+      S32 dirIndex = assetItem->filePath.getDirectoryCount() - 1;
+      while (dirIndex > -1)
+      {
+         renamedAssetName = assetItem->assetName;
+         String owningFolder = assetItem->filePath.getDirectory(dirIndex);
+
+         renamedAssetName = owningFolder + "_" + renamedAssetName;
+
+         if (AssetDatabase.isDeclaredAsset(renamedAssetName))
+         {
+            dirIndex--;
+            continue;
+         }
+
+         break;
+      }
+
+      return renamedAssetName;
+   }
 };
 };

+ 1 - 1
Engine/source/console/simDictionary.cpp

@@ -53,7 +53,7 @@ void SimNameDictionary::insert(SimObject* obj)
    SimObject* checkForDup = find(obj->getName());
    SimObject* checkForDup = find(obj->getName());
 
 
    if (checkForDup)
    if (checkForDup)
-      Con::warnf("Warning! You have a duplicate datablock name of %s. This can cause problems. You should rename one of them.", obj->getName());
+      Con::warnf("Warning! You have a duplicate object name of %s. This can cause problems. You should rename one of them.", obj->getName());
 
 
    Mutex::lockMutex(mutex);
    Mutex::lockMutex(mutex);
 #ifndef USE_NEW_SIMDICTIONARY
 #ifndef USE_NEW_SIMDICTIONARY

+ 1 - 1
Templates/BaseGame/game/tools/VerveEditor/GUI/GuiProfiles.tscript

@@ -92,7 +92,7 @@ singleton GuiControlProfile ( VEditorBitmapButtonProfile : VEditorDefaultProfile
     justify = "center";
     justify = "center";
     
     
     hasBitmapArray = true;
     hasBitmapArray = true;
-    bitmap         = "./Images/Button";
+    bitmapAsset         = "ToolsModule:button_image";
 };
 };
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------

+ 35 - 35
Templates/BaseGame/game/tools/VerveEditor/GUI/VerveEditor.gui

@@ -4,15 +4,15 @@ $guiContent = new GuiControl(VerveEditorGui) {
    Enabled = "1";
    Enabled = "1";
    isContainer = "1";
    isContainer = "1";
    Profile = "VEditorDefaultProfile";
    Profile = "VEditorDefaultProfile";
-   HorizSizing = "right";
-   VertSizing = "bottom";
+   HorizSizing = "width";
+   VertSizing = "height";
    Position = "0 0";
    Position = "0 0";
    Extent = "1024 768";
    Extent = "1024 768";
    MinExtent = "8 2";
    MinExtent = "8 2";
    canSave = "1";
    canSave = "1";
    isDecoy = "0";
    isDecoy = "0";
    Visible = "1";
    Visible = "1";
-   tooltipprofile = "GuiToolTipProfile";
+   tooltipprofile = "ToolsGuiToolTipProfile";
    hovertime = "1000";
    hovertime = "1000";
 
 
    new GuiControl() {
    new GuiControl() {
@@ -44,7 +44,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
          canSave = "1";
          canSave = "1";
          isDecoy = "0";
          isDecoy = "0";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          Margin = "0 0 0 0";
          Margin = "0 0 0 0";
          Padding = "0 0 0 0";
          Padding = "0 0 0 0";
@@ -80,7 +80,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
             canSave = "1";
             canSave = "1";
             isDecoy = "0";
             isDecoy = "0";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             
             
             new VEditorButton() {
             new VEditorButton() {
@@ -96,7 +96,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                  MinExtent = "210 1";
                  MinExtent = "210 1";
                  canSave = "1";
                  canSave = "1";
                  Visible = "1";
                  Visible = "1";
-                 tooltipprofile = "GuiToolTipProfile";
+                 tooltipprofile = "ToolsGuiToolTipProfile";
                  hovertime = "1000";
                  hovertime = "1000";
                  text = "";
                  text = "";
                  groupNum = "-1";
                  groupNum = "-1";
@@ -122,7 +122,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                canSave = "1";
                canSave = "1";
                isDecoy = "0";
                isDecoy = "0";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                hovertime = "1000";
                hovertime = "1000";
             };
             };
          };
          };
@@ -140,7 +140,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
          canSave = "1";
          canSave = "1";
          isDecoy = "0";
          isDecoy = "0";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          Margin = "0 0 0 0";
          Margin = "0 0 0 0";
          Padding = "0 0 0 0";
          Padding = "0 0 0 0";
@@ -176,7 +176,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
             canSave = "1";
             canSave = "1";
             isDecoy = "0";
             isDecoy = "0";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
 
 
             new VTimeLineControl(VerveEditorTrackTimeLine) {
             new VTimeLineControl(VerveEditorTrackTimeLine) {
@@ -192,7 +192,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                canSave = "1";
                canSave = "1";
                isDecoy = "0";
                isDecoy = "0";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                hovertime = "1000";
                hovertime = "1000";
                IsController = "0";
                IsController = "0";
                Controller = "VerveEditorController";
                Controller = "VerveEditorController";
@@ -211,7 +211,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                      MinExtent = "8 8";
                      MinExtent = "8 8";
                      canSave = "1";
                      canSave = "1";
                      Visible = "1";
                      Visible = "1";
-                     tooltipprofile = "GuiToolTipProfile";
+                     tooltipprofile = "ToolsGuiToolTipProfile";
                      hovertime = "1000";
                      hovertime = "1000";
                      text = "";
                      text = "";
                      groupNum = "-1";
                      groupNum = "-1";
@@ -237,7 +237,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                     canSave = "1";
                     canSave = "1";
                     isDecoy = "0";
                     isDecoy = "0";
                     Visible = "1";
                     Visible = "1";
-                    tooltipprofile = "GuiToolTipProfile";
+                    tooltipprofile = "ToolsGuiToolTipProfile";
                     hovertime = "1000";
                     hovertime = "1000";
                 };
                 };
             };
             };
@@ -256,7 +256,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
          canSave = "1";
          canSave = "1";
          isDecoy = "0";
          isDecoy = "0";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiDefaultProfile";
+         tooltipprofile = "ToolsGuiDefaultProfile";
          hovertime = "1000";
          hovertime = "1000";
          Margin = "0 0 0 0";
          Margin = "0 0 0 0";
          Padding = "0 0 0 0";
          Padding = "0 0 0 0";
@@ -283,7 +283,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
             canSave = "1";
             canSave = "1";
             isDecoy = "0";
             isDecoy = "0";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
 
 
              new GuiBitmapButtonCtrl(VerveEditorAddGroupButton) {
              new GuiBitmapButtonCtrl(VerveEditorAddGroupButton) {
@@ -300,7 +300,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                 canSave = "1";
                 canSave = "1";
                 isDecoy = "0";
                 isDecoy = "0";
                 Visible = "1";
                 Visible = "1";
-                tooltipprofile = "GuiToolTipProfile";
+                tooltipprofile = "ToolsGuiToolTipProfile";
                 tooltip = "Add New Group";
                 tooltip = "Add New Group";
                 command = "$ThisControl.DisplayContextMenu();";
                 command = "$ThisControl.DisplayContextMenu();";
                 hovertime = "1000";
                 hovertime = "1000";
@@ -323,7 +323,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                 canSave = "1";
                 canSave = "1";
                 isDecoy = "0";
                 isDecoy = "0";
                 Visible = "1";
                 Visible = "1";
-                tooltipprofile = "GuiToolTipProfile";
+                tooltipprofile = "ToolsGuiToolTipProfile";
                 tooltip = "Add New Track";
                 tooltip = "Add New Track";
                 command = "$ThisControl.DisplayContextMenu();";
                 command = "$ThisControl.DisplayContextMenu();";
                 hovertime = "1000";
                 hovertime = "1000";
@@ -345,7 +345,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                 canSave = "1";
                 canSave = "1";
                 isDecoy = "0";
                 isDecoy = "0";
                 Visible = "1";
                 Visible = "1";
-                tooltipprofile = "GuiToolTipProfile";
+                tooltipprofile = "ToolsGuiToolTipProfile";
                 tooltip = "Add New Event";
                 tooltip = "Add New Event";
                 command = "VerveEditor::AddEvent();";
                 command = "VerveEditor::AddEvent();";
                 hovertime = "1000";
                 hovertime = "1000";
@@ -367,7 +367,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                 canSave = "1";
                 canSave = "1";
                 isDecoy = "0";
                 isDecoy = "0";
                 Visible = "1";
                 Visible = "1";
-                tooltipprofile = "GuiToolTipProfile";
+                tooltipprofile = "ToolsGuiToolTipProfile";
                 tooltip = "Delete Selected Object(s)";
                 tooltip = "Delete Selected Object(s)";
                 command = "VerveEditor::DeleteSelection();";
                 command = "VerveEditor::DeleteSelection();";
                 hovertime = "1000";
                 hovertime = "1000";
@@ -391,7 +391,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
          canSave = "1";
          canSave = "1";
          isDecoy = "0";
          isDecoy = "0";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          Margin = "0 0 0 0";
          Margin = "0 0 0 0";
          Padding = "0 0 0 0";
          Padding = "0 0 0 0";
@@ -427,7 +427,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
             canSave = "1";
             canSave = "1";
             isDecoy = "0";
             isDecoy = "0";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
 
 
             new VTimeLineControl(VerveEditorTimeLine) {
             new VTimeLineControl(VerveEditorTimeLine) {
@@ -443,7 +443,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                canSave = "1";
                canSave = "1";
                isDecoy = "0";
                isDecoy = "0";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                hovertime = "1000";
                hovertime = "1000";
                IsController = "1";
                IsController = "1";
                Controller = "VerveEditorController";
                Controller = "VerveEditorController";
@@ -465,7 +465,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
       canSave = "1";
       canSave = "1";
       isDecoy = "0";
       isDecoy = "0";
       Visible = "1";
       Visible = "1";
-      tooltipprofile = "GuiToolTipProfile";
+      tooltipprofile = "ToolsGuiToolTipProfile";
       hovertime = "1000";
       hovertime = "1000";
       Margin = "0 0 0 0";
       Margin = "0 0 0 0";
       Padding = "0 0 0 0";
       Padding = "0 0 0 0";
@@ -496,7 +496,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
         canSave = "1";
         canSave = "1";
         isDecoy = "0";
         isDecoy = "0";
         Visible = "1";
         Visible = "1";
-        tooltipprofile = "GuiToolTipProfile";
+        tooltipprofile = "ToolsGuiToolTipProfile";
         hovertime = "1000";
         hovertime = "1000";
      };
      };
    };
    };
@@ -513,7 +513,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
       canSave = "1";
       canSave = "1";
       isDecoy = "0";
       isDecoy = "0";
       Visible = "1";
       Visible = "1";
-      tooltipprofile = "GuiDefaultProfile";
+      tooltipprofile = "ToolsGuiDefaultProfile";
       hovertime = "1000";
       hovertime = "1000";
       Margin = "0 0 0 0";
       Margin = "0 0 0 0";
       Padding = "0 0 0 0";
       Padding = "0 0 0 0";
@@ -540,7 +540,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
          canSave = "1";
          canSave = "1";
          isDecoy = "0";
          isDecoy = "0";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
       };
       };
    };
    };
@@ -557,7 +557,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
       canSave = "1";
       canSave = "1";
       isDecoy = "0";
       isDecoy = "0";
       Visible = "1";
       Visible = "1";
-      tooltipprofile = "GuiDefaultProfile";
+      tooltipprofile = "ToolsGuiDefaultProfile";
       hovertime = "1000";
       hovertime = "1000";
       Margin = "0 0 0 0";
       Margin = "0 0 0 0";
       Padding = "0 0 0 0";
       Padding = "0 0 0 0";
@@ -584,7 +584,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
          canSave = "1";
          canSave = "1";
          isDecoy = "0";
          isDecoy = "0";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
 
 
          new GuiControl() {
          new GuiControl() {
@@ -600,7 +600,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
             canSave = "1";
             canSave = "1";
             isDecoy = "0";
             isDecoy = "0";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
 
 
             new GuiBitmapButtonCtrl() {
             new GuiBitmapButtonCtrl() {
@@ -616,7 +616,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                canSave = "1";
                canSave = "1";
                isDecoy = "0";
                isDecoy = "0";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                tooltip = "Jump Backwards";
                tooltip = "Jump Backwards";
                command = "VerveEditor::Rewind();";
                command = "VerveEditor::Rewind();";
                hovertime = "1000";
                hovertime = "1000";
@@ -638,7 +638,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                canSave = "1";
                canSave = "1";
                isDecoy = "0";
                isDecoy = "0";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                tooltip = "Step Backwards 1 Frame";
                tooltip = "Step Backwards 1 Frame";
                command = "VerveEditor::StepB();";
                command = "VerveEditor::StepB();";
                hovertime = "1000";
                hovertime = "1000";
@@ -660,7 +660,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                canSave = "1";
                canSave = "1";
                isDecoy = "0";
                isDecoy = "0";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                tooltip = "Play / Pause";
                tooltip = "Play / Pause";
                command = "VerveEditor::TogglePlay( $ThisControl );";
                command = "VerveEditor::TogglePlay( $ThisControl );";
                hovertime = "1000";
                hovertime = "1000";
@@ -682,7 +682,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                canSave = "1";
                canSave = "1";
                isDecoy = "0";
                isDecoy = "0";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                tooltip = "Step Forward 1 Frame";
                tooltip = "Step Forward 1 Frame";
                command = "VerveEditor::StepF();";
                command = "VerveEditor::StepF();";
                hovertime = "1000";
                hovertime = "1000";
@@ -704,7 +704,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
                canSave = "1";
                canSave = "1";
                isDecoy = "0";
                isDecoy = "0";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                tooltip = "Jump Forward";
                tooltip = "Jump Forward";
                command = "VerveEditor::Forward();";
                command = "VerveEditor::Forward();";
                hovertime = "1000";
                hovertime = "1000";
@@ -727,7 +727,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
             canSave = "1";
             canSave = "1";
             isDecoy = "0";
             isDecoy = "0";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             tooltip = "Insert Time (Front)";
             tooltip = "Insert Time (Front)";
             command = "VerveEditor::InsertTimeFront();";
             command = "VerveEditor::InsertTimeFront();";
             hovertime = "1000";
             hovertime = "1000";
@@ -749,7 +749,7 @@ $guiContent = new GuiControl(VerveEditorGui) {
             canSave = "1";
             canSave = "1";
             isDecoy = "0";
             isDecoy = "0";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             tooltip = "Insert Time (Back)";
             tooltip = "Insert Time (Back)";
             command = "VerveEditor::InsertTimeBack();";
             command = "VerveEditor::InsertTimeBack();";
             hovertime = "1000";
             hovertime = "1000";

+ 27 - 27
Templates/BaseGame/game/tools/VerveEditor/GUI/VerveEditorGroupBuilder.gui

@@ -1,7 +1,7 @@
 //--- OBJECT WRITE BEGIN ---
 //--- OBJECT WRITE BEGIN ---
 $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
 $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
    isContainer = "1";
    isContainer = "1";
-   Profile = "GuiDefaultProfile";
+   Profile = "ToolsGuiDefaultProfile";
    HorizSizing = "right";
    HorizSizing = "right";
    VertSizing = "bottom";
    VertSizing = "bottom";
    position = "0 0";
    position = "0 0";
@@ -9,7 +9,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
    MinExtent = "8 8";
    MinExtent = "8 8";
    canSave = "1";
    canSave = "1";
    Visible = "1";
    Visible = "1";
-   tooltipprofile = "GuiToolTipProfile";
+   tooltipprofile = "ToolsGuiToolTipProfile";
    hovertime = "1000";
    hovertime = "1000";
    canSaveDynamicFields = "0";
    canSaveDynamicFields = "0";
 
 
@@ -30,7 +30,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
       AnchorLeft = "1";
       AnchorLeft = "1";
       AnchorRight = "0";
       AnchorRight = "0";
       isContainer = "1";
       isContainer = "1";
-      Profile = "GuiWindowProfile";
+      Profile = "ToolsGuiWindowProfile";
       HorizSizing = "center";
       HorizSizing = "center";
       VertSizing = "center";
       VertSizing = "center";
       position = "268 181";
       position = "268 181";
@@ -38,7 +38,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
       MinExtent = "256 8";
       MinExtent = "256 8";
       canSave = "1";
       canSave = "1";
       Visible = "1";
       Visible = "1";
-      tooltipprofile = "GuiToolTipProfile";
+      tooltipprofile = "ToolsGuiToolTipProfile";
       hovertime = "1000";
       hovertime = "1000";
       canSaveDynamicFields = "0";
       canSaveDynamicFields = "0";
 
 
@@ -52,7 +52,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          AnchorLeft = "1";
          AnchorLeft = "1";
          AnchorRight = "0";
          AnchorRight = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiTextProfile";
+         Profile = "ToolsGuiTextProfile";
          HorizSizing = "right";
          HorizSizing = "right";
          VertSizing = "bottom";
          VertSizing = "bottom";
          position = "14 30";
          position = "14 30";
@@ -60,7 +60,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          MinExtent = "8 8";
          MinExtent = "8 8";
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
       };
       };
@@ -78,7 +78,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          AnchorLeft = "1";
          AnchorLeft = "1";
          AnchorRight = "0";
          AnchorRight = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiTextEditProfile";
+         Profile = "ToolsGuiTextEditProfile";
          HorizSizing = "width";
          HorizSizing = "width";
          VertSizing = "bottom";
          VertSizing = "bottom";
          position = "79 29";
          position = "79 29";
@@ -86,13 +86,13 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          MinExtent = "8 8";
          MinExtent = "8 8";
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
       };
       };
       new GuiBitmapBorderCtrl() {
       new GuiBitmapBorderCtrl() {
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiGroupBorderProfile";
+         Profile = "ToolsGuiGroupBorderProfile";
          HorizSizing = "width";
          HorizSizing = "width";
          VertSizing = "bottom";
          VertSizing = "bottom";
          position = "7 55";
          position = "7 55";
@@ -100,7 +100,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          MinExtent = "1 1";
          MinExtent = "1 1";
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
 
 
@@ -112,7 +112,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
             ChangeChildSizeToFit = "1";
             ChangeChildSizeToFit = "1";
             ChangeChildPosition = "1";
             ChangeChildPosition = "1";
             isContainer = "1";
             isContainer = "1";
-            Profile = "GuiTransparentProfile";
+            Profile = "ToolsGuiTransparentProfile";
             HorizSizing = "width";
             HorizSizing = "width";
             VertSizing = "height";
             VertSizing = "height";
             position = "3 3";
             position = "3 3";
@@ -120,13 +120,13 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
             MinExtent = "8 8";
             MinExtent = "8 8";
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
 
 
             new GuiControl() {
             new GuiControl() {
                isContainer = "1";
                isContainer = "1";
-               Profile = "GuiTransparentProfile";
+               Profile = "ToolsGuiTransparentProfile";
                HorizSizing = "right";
                HorizSizing = "right";
                VertSizing = "bottom";
                VertSizing = "bottom";
                position = "0 0";
                position = "0 0";
@@ -134,7 +134,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
                MinExtent = "8 2";
                MinExtent = "8 2";
                canSave = "1";
                canSave = "1";
                Visible = "1";
                Visible = "1";
-               tooltipprofile = "GuiToolTipProfile";
+               tooltipprofile = "ToolsGuiToolTipProfile";
                hovertime = "1000";
                hovertime = "1000";
                canSaveDynamicFields = "0";
                canSaveDynamicFields = "0";
 
 
@@ -148,7 +148,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
                   AnchorLeft = "1";
                   AnchorLeft = "1";
                   AnchorRight = "0";
                   AnchorRight = "0";
                   isContainer = "0";
                   isContainer = "0";
-                  Profile = "GuiTextProfile";
+                  Profile = "ToolsGuiTextProfile";
                   HorizSizing = "right";
                   HorizSizing = "right";
                   VertSizing = "center";
                   VertSizing = "center";
                   position = "4 1";
                   position = "4 1";
@@ -156,7 +156,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
                   MinExtent = "8 2";
                   MinExtent = "8 2";
                   canSave = "1";
                   canSave = "1";
                   Visible = "1";
                   Visible = "1";
-                  tooltipprofile = "GuiToolTipProfile";
+                  tooltipprofile = "ToolsGuiToolTipProfile";
                   hovertime = "1000";
                   hovertime = "1000";
                   canSaveDynamicFields = "0";
                   canSaveDynamicFields = "0";
                };
                };
@@ -181,7 +181,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
                   MinExtent = "8 2";
                   MinExtent = "8 2";
                   canSave = "1";
                   canSave = "1";
                   Visible = "1";
                   Visible = "1";
-                  tooltipprofile = "GuiToolTipProfile";
+                  tooltipprofile = "ToolsGuiToolTipProfile";
                   hovertime = "1000";
                   hovertime = "1000";
                   internalName = "SceneObjectList";
                   internalName = "SceneObjectList";
                   canSaveDynamicFields = "0";
                   canSaveDynamicFields = "0";
@@ -195,7 +195,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          buttonType = "PushButton";
          buttonType = "PushButton";
          useMouseEvents = "0";
          useMouseEvents = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiButtonProfile";
+         Profile = "ToolsGuiButtonProfile";
          HorizSizing = "left";
          HorizSizing = "left";
          VertSizing = "top";
          VertSizing = "top";
          position = "66 139";
          position = "66 139";
@@ -204,7 +204,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
          Command = "VerveEditorGroupBuilderGUI._Build( VerveEditorGroupBuilderNameField.getText() );";
          Command = "VerveEditorGroupBuilderGUI._Build( VerveEditorGroupBuilderNameField.getText() );";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
       };
       };
@@ -214,7 +214,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          buttonType = "PushButton";
          buttonType = "PushButton";
          useMouseEvents = "0";
          useMouseEvents = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiButtonProfile";
+         Profile = "ToolsGuiButtonProfile";
          HorizSizing = "left";
          HorizSizing = "left";
          VertSizing = "top";
          VertSizing = "top";
          position = "174 139";
          position = "174 139";
@@ -223,7 +223,7 @@ $guiContent = new GuiControl(VerveEditorGroupBuilderGUI) {
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
          Command = "VerveEditorGroupBuilderGUI.Close();";
          Command = "VerveEditorGroupBuilderGUI.Close();";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
       };
       };
@@ -283,7 +283,7 @@ function VerveEditorGroupBuilderGUI::_Build( %this, %groupLabel )
 {
 {
     if ( %groupLabel $= "" )
     if ( %groupLabel $= "" )
     {
     {
-        toolsMessageBox( "Warning", "You must provide a Valid Group Label.", "Ok" );
+        MessageBox( "Warning", "You must provide a Valid Group Label.", "Ok" );
         return;
         return;
     }
     }
     
     
@@ -316,7 +316,7 @@ function VerveEditorGroupBuilderFieldStack::CreateObjectList( %this, %objectType
 {
 {
     %container = new GuiControl()
     %container = new GuiControl()
     {
     {
-        Profile      = "GuiTransparentProfile";
+        Profile      = "ToolsGuiTransparentProfile";
         
         
         HorizSizing  = "right";
         HorizSizing  = "right";
         VertSizing   = "bottom";
         VertSizing   = "bottom";
@@ -326,7 +326,7 @@ function VerveEditorGroupBuilderFieldStack::CreateObjectList( %this, %objectType
     
     
     %label = new GuiTextCtrl()
     %label = new GuiTextCtrl()
     {
     {
-        Profile      = "GuiTextProfile";
+        Profile      = "ToolsGuiTextProfile";
         
         
         HorizSizing  = "right";
         HorizSizing  = "right";
         VertSizing   = "center";
         VertSizing   = "center";
@@ -392,7 +392,7 @@ function VerveEditorGroupBuilderFieldStack::CreateCheckbox( %this, %internalName
 {
 {
     %container = new GuiControl()
     %container = new GuiControl()
     {
     {
-        Profile      = "GuiTransparentProfile";
+        Profile      = "ToolsGuiTransparentProfile";
         
         
         HorizSizing  = "right";
         HorizSizing  = "right";
         VertSizing   = "bottom";
         VertSizing   = "bottom";
@@ -402,7 +402,7 @@ function VerveEditorGroupBuilderFieldStack::CreateCheckbox( %this, %internalName
     
     
     %label = new GuiTextCtrl()
     %label = new GuiTextCtrl()
     {
     {
-        Profile      = "GuiTextProfile";
+        Profile      = "ToolsGuiTextProfile";
         
         
         HorizSizing  = "right";
         HorizSizing  = "right";
         VertSizing   = "center";
         VertSizing   = "center";
@@ -415,7 +415,7 @@ function VerveEditorGroupBuilderFieldStack::CreateCheckbox( %this, %internalName
     
     
     %checkBox = new GuiCheckBoxCtrl()
     %checkBox = new GuiCheckBoxCtrl()
     {
     {
-        Profile      = "GuiCheckboxProfile";
+        Profile      = "ToolsGuiCheckboxProfile";
         
         
         HorizSizing  = "left";
         HorizSizing  = "left";
         VertSizing   = "center";
         VertSizing   = "center";

+ 12 - 12
Templates/BaseGame/game/tools/VerveEditor/GUI/VerveEditorImportPathNodes.gui

@@ -1,7 +1,7 @@
 //--- OBJECT WRITE BEGIN ---
 //--- OBJECT WRITE BEGIN ---
 $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
 $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
    isContainer = "1";
    isContainer = "1";
-   Profile = "GuiDefaultProfile";
+   Profile = "ToolsGuiDefaultProfile";
    HorizSizing = "right";
    HorizSizing = "right";
    VertSizing = "bottom";
    VertSizing = "bottom";
    Position = "0 0";
    Position = "0 0";
@@ -9,7 +9,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
    MinExtent = "8 8";
    MinExtent = "8 8";
    canSave = "1";
    canSave = "1";
    Visible = "1";
    Visible = "1";
-   tooltipprofile = "GuiToolTipProfile";
+   tooltipprofile = "ToolsGuiToolTipProfile";
    hovertime = "1000";
    hovertime = "1000";
    canSaveDynamicFields = "1";
    canSaveDynamicFields = "1";
 
 
@@ -30,7 +30,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
       AnchorLeft = "1";
       AnchorLeft = "1";
       AnchorRight = "0";
       AnchorRight = "0";
       isContainer = "1";
       isContainer = "1";
-      Profile = "GuiWindowProfile";
+      Profile = "ToolsGuiWindowProfile";
       HorizSizing = "center";
       HorizSizing = "center";
       VertSizing = "center";
       VertSizing = "center";
       Position = "268 181";
       Position = "268 181";
@@ -38,7 +38,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
       MinExtent = "256 8";
       MinExtent = "256 8";
       canSave = "1";
       canSave = "1";
       Visible = "1";
       Visible = "1";
-      tooltipprofile = "GuiToolTipProfile";
+      tooltipprofile = "ToolsGuiToolTipProfile";
       hovertime = "1000";
       hovertime = "1000";
       canSaveDynamicFields = "0";
       canSaveDynamicFields = "0";
 
 
@@ -52,7 +52,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
          AnchorLeft = "1";
          AnchorLeft = "1";
          AnchorRight = "0";
          AnchorRight = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiTextProfile";
+         Profile = "ToolsGuiTextProfile";
          HorizSizing = "right";
          HorizSizing = "right";
          VertSizing = "bottom";
          VertSizing = "bottom";
          Position = "14 30";
          Position = "14 30";
@@ -60,7 +60,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
          MinExtent = "8 8";
          MinExtent = "8 8";
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
       };
       };
@@ -78,7 +78,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
          AnchorLeft = "1";
          AnchorLeft = "1";
          AnchorRight = "0";
          AnchorRight = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiTextEditProfile";
+         Profile = "ToolsGuiTextEditProfile";
          HorizSizing = "width";
          HorizSizing = "width";
          VertSizing = "bottom";
          VertSizing = "bottom";
          Position = "79 29";
          Position = "79 29";
@@ -86,7 +86,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
          MinExtent = "8 8";
          MinExtent = "8 8";
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
       };
       };
@@ -96,7 +96,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
          buttonType = "PushButton";
          buttonType = "PushButton";
          useMouseEvents = "0";
          useMouseEvents = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiButtonProfile";
+         Profile = "ToolsGuiButtonProfile";
          HorizSizing = "left";
          HorizSizing = "left";
          VertSizing = "top";
          VertSizing = "top";
          Position = "66 62";
          Position = "66 62";
@@ -105,7 +105,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
          Command = "VMotionTrack::_ImportPathNodes( VerveEditorImportPathNodesSpeed.getText() );";
          Command = "VMotionTrack::_ImportPathNodes( VerveEditorImportPathNodesSpeed.getText() );";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
       };
       };
@@ -115,7 +115,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
          buttonType = "PushButton";
          buttonType = "PushButton";
          useMouseEvents = "0";
          useMouseEvents = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiButtonProfile";
+         Profile = "ToolsGuiButtonProfile";
          HorizSizing = "left";
          HorizSizing = "left";
          VertSizing = "top";
          VertSizing = "top";
          Position = "174 62";
          Position = "174 62";
@@ -124,7 +124,7 @@ $guiContent = new GuiControl(VerveEditorImportPathNodesGUI) {
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
          Command = "VerveEditorWindow.popDialog( VerveEditorImportPathNodesGUI );";
          Command = "VerveEditorWindow.popDialog( VerveEditorImportPathNodesGUI );";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
       };
       };

+ 32 - 32
Templates/BaseGame/game/tools/VerveEditor/GUI/VerveEditorPreferences.gui

@@ -2,7 +2,7 @@
 $guiContent = new GuiControl(VerveEditorPreferenceGui) {
 $guiContent = new GuiControl(VerveEditorPreferenceGui) {
    canSaveDynamicFields = "0";
    canSaveDynamicFields = "0";
    isContainer = "1";
    isContainer = "1";
-   Profile = "GuiDefaultProfile";
+   Profile = "ToolsGuiDefaultProfile";
    HorizSizing = "right";
    HorizSizing = "right";
    VertSizing = "bottom";
    VertSizing = "bottom";
    position = "0 0";
    position = "0 0";
@@ -10,13 +10,13 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
    MinExtent = "8 2";
    MinExtent = "8 2";
    canSave = "1";
    canSave = "1";
    Visible = "1";
    Visible = "1";
-   tooltipprofile = "GuiToolTipProfile";
+   tooltipprofile = "ToolsGuiToolTipProfile";
    hovertime = "1000";
    hovertime = "1000";
 
 
    new GuiWindowCtrl() {
    new GuiWindowCtrl() {
       canSaveDynamicFields = "0";
       canSaveDynamicFields = "0";
       isContainer = "1";
       isContainer = "1";
-      Profile = "GuiWindowProfile";
+      Profile = "ToolsGuiWindowProfile";
       HorizSizing = "center";
       HorizSizing = "center";
       VertSizing = "center";
       VertSizing = "center";
       position = "392 253";
       position = "392 253";
@@ -24,7 +24,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
       MinExtent = "8 2";
       MinExtent = "8 2";
       canSave = "1";
       canSave = "1";
       Visible = "1";
       Visible = "1";
-      tooltipprofile = "GuiToolTipProfile";
+      tooltipprofile = "ToolsGuiToolTipProfile";
       hovertime = "1000";
       hovertime = "1000";
       Docking = "None";
       Docking = "None";
       Margin = "4 24 4 4";
       Margin = "4 24 4 4";
@@ -50,7 +50,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
       new GuiControl() {
       new GuiControl() {
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
          isContainer = "1";
          isContainer = "1";
-         Profile = "GuiDefaultProfile";
+         Profile = "ToolsGuiDefaultProfile";
          HorizSizing = "right";
          HorizSizing = "right";
          VertSizing = "bottom";
          VertSizing = "bottom";
          position = "10 93";
          position = "10 93";
@@ -58,13 +58,13 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          MinExtent = "8 2";
          MinExtent = "8 2";
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
 
 
          new GuiBitmapBorderCtrl() {
          new GuiBitmapBorderCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiBitmapBorderProfile";
+            Profile = "ToolsGuiBitmapBorderProfile";
             HorizSizing = "width";
             HorizSizing = "width";
             VertSizing = "height";
             VertSizing = "height";
             position = "0 10";
             position = "0 10";
@@ -72,7 +72,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             MinExtent = "8 2";
             MinExtent = "8 2";
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
          };
          };
          new GuiTextEditCtrl() {
          new GuiTextEditCtrl() {
@@ -87,7 +87,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             MinExtent = "8 2";
             MinExtent = "8 2";
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             Margin = "0 0 0 0";
             Margin = "0 0 0 0";
             Padding = "0 0 0 0";
             Padding = "0 0 0 0";
@@ -101,7 +101,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          new GuiTextCtrl() {
          new GuiTextCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiTextProfile";
+            Profile = "ToolsGuiTextProfile";
             HorizSizing = "right";
             HorizSizing = "right";
             VertSizing = "bottom";
             VertSizing = "bottom";
             position = "30 50";
             position = "30 50";
@@ -109,7 +109,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             MinExtent = "8 2";
             MinExtent = "8 2";
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             Margin = "0 0 0 0";
             Margin = "0 0 0 0";
             Padding = "0 0 0 0";
             Padding = "0 0 0 0";
@@ -123,7 +123,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          new GuiCheckBoxCtrl() {
          new GuiCheckBoxCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiCheckBoxProfile";
+            Profile = "ToolsGuiCheckBoxProfile";
             HorizSizing = "right";
             HorizSizing = "right";
             VertSizing = "bottom";
             VertSizing = "bottom";
             position = "6 30";
             position = "6 30";
@@ -132,7 +132,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
             Variable = "$Pref::VerveEditor::Event::SnapToTime";
             Variable = "$Pref::VerveEditor::Event::SnapToTime";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             text = "   Snap to Time";
             text = "   Snap to Time";
             groupNum = "-1";
             groupNum = "-1";
@@ -143,7 +143,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          new GuiTextEditCtrl() {
          new GuiTextEditCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiTextEditProfile";
+            Profile = "ToolsGuiTextEditProfile";
             HorizSizing = "right";
             HorizSizing = "right";
             VertSizing = "bottom";
             VertSizing = "bottom";
             position = "150 50";
             position = "150 50";
@@ -152,7 +152,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
             Variable = "$Pref::VerveEditor::Event::SnapToTimeThreshold";
             Variable = "$Pref::VerveEditor::Event::SnapToTimeThreshold";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             Margin = "0 0 0 0";
             Margin = "0 0 0 0";
             Padding = "0 0 0 0";
             Padding = "0 0 0 0";
@@ -170,7 +170,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          new GuiCheckBoxCtrl() {
          new GuiCheckBoxCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiCheckBoxProfile";
+            Profile = "ToolsGuiCheckBoxProfile";
             HorizSizing = "right";
             HorizSizing = "right";
             VertSizing = "bottom";
             VertSizing = "bottom";
             position = "6 80";
             position = "6 80";
@@ -179,7 +179,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
             Variable = "$Pref::VerveEditor::Event::SnapToSiblings";
             Variable = "$Pref::VerveEditor::Event::SnapToSiblings";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             text = "   Snap to Siblings";
             text = "   Snap to Siblings";
             groupNum = "-1";
             groupNum = "-1";
@@ -190,7 +190,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          new GuiTextCtrl() {
          new GuiTextCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiTextProfile";
+            Profile = "ToolsGuiTextProfile";
             HorizSizing = "right";
             HorizSizing = "right";
             VertSizing = "bottom";
             VertSizing = "bottom";
             position = "30 100";
             position = "30 100";
@@ -198,7 +198,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             MinExtent = "8 2";
             MinExtent = "8 2";
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             Margin = "0 0 0 0";
             Margin = "0 0 0 0";
             Padding = "0 0 0 0";
             Padding = "0 0 0 0";
@@ -212,7 +212,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          new GuiTextEditCtrl() {
          new GuiTextEditCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiTextEditProfile";
+            Profile = "ToolsGuiTextEditProfile";
             HorizSizing = "right";
             HorizSizing = "right";
             VertSizing = "bottom";
             VertSizing = "bottom";
             position = "150 100";
             position = "150 100";
@@ -221,7 +221,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
             Variable = "$Pref::VerveEditor::Event::SnapToSiblingThreshold";
             Variable = "$Pref::VerveEditor::Event::SnapToSiblingThreshold";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             Margin = "0 0 0 0";
             Margin = "0 0 0 0";
             Padding = "0 0 0 0";
             Padding = "0 0 0 0";
@@ -240,7 +240,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
       new GuiControl() {
       new GuiControl() {
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
          isContainer = "1";
          isContainer = "1";
-         Profile = "GuiDefaultProfile";
+         Profile = "ToolsGuiDefaultProfile";
          HorizSizing = "right";
          HorizSizing = "right";
          VertSizing = "bottom";
          VertSizing = "bottom";
          position = "10 30";
          position = "10 30";
@@ -248,13 +248,13 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          MinExtent = "8 2";
          MinExtent = "8 2";
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
 
 
          new GuiBitmapBorderCtrl() {
          new GuiBitmapBorderCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiBitmapBorderProfile";
+            Profile = "ToolsGuiBitmapBorderProfile";
             HorizSizing = "width";
             HorizSizing = "width";
             VertSizing = "height";
             VertSizing = "height";
             position = "0 10";
             position = "0 10";
@@ -262,7 +262,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             MinExtent = "8 2";
             MinExtent = "8 2";
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
          };
          };
          new GuiTextEditCtrl() {
          new GuiTextEditCtrl() {
@@ -277,7 +277,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             MinExtent = "8 2";
             MinExtent = "8 2";
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             Margin = "0 0 0 0";
             Margin = "0 0 0 0";
             Padding = "0 0 0 0";
             Padding = "0 0 0 0";
@@ -291,7 +291,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          new GuiTextEditCtrl() {
          new GuiTextEditCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiTextEditProfile";
+            Profile = "ToolsGuiTextEditProfile";
             HorizSizing = "right";
             HorizSizing = "right";
             VertSizing = "bottom";
             VertSizing = "bottom";
             position = "6 30";
             position = "6 30";
@@ -300,7 +300,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
             Variable = "$Pref::VerveEditor::RecentFileSize";
             Variable = "$Pref::VerveEditor::RecentFileSize";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             Margin = "0 0 0 0";
             Margin = "0 0 0 0";
             Padding = "0 0 0 0";
             Padding = "0 0 0 0";
@@ -318,7 +318,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          new GuiTextCtrl() {
          new GuiTextCtrl() {
             canSaveDynamicFields = "0";
             canSaveDynamicFields = "0";
             isContainer = "0";
             isContainer = "0";
-            Profile = "GuiTextProfile";
+            Profile = "ToolsGuiTextProfile";
             HorizSizing = "right";
             HorizSizing = "right";
             VertSizing = "bottom";
             VertSizing = "bottom";
             position = "56 30";
             position = "56 30";
@@ -326,7 +326,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
             MinExtent = "8 2";
             MinExtent = "8 2";
             canSave = "1";
             canSave = "1";
             Visible = "1";
             Visible = "1";
-            tooltipprofile = "GuiToolTipProfile";
+            tooltipprofile = "ToolsGuiToolTipProfile";
             hovertime = "1000";
             hovertime = "1000";
             Margin = "0 0 0 0";
             Margin = "0 0 0 0";
             Padding = "0 0 0 0";
             Padding = "0 0 0 0";
@@ -341,7 +341,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
       new GuiButtonCtrl() {
       new GuiButtonCtrl() {
          canSaveDynamicFields = "0";
          canSaveDynamicFields = "0";
          isContainer = "0";
          isContainer = "0";
-         Profile = "GuiButtonProfile";
+         Profile = "ToolsGuiButtonProfile";
          HorizSizing = "right";
          HorizSizing = "right";
          VertSizing = "bottom";
          VertSizing = "bottom";
          position = "151 228";
          position = "151 228";
@@ -350,7 +350,7 @@ $guiContent = new GuiControl(VerveEditorPreferenceGui) {
          canSave = "1";
          canSave = "1";
          Visible = "1";
          Visible = "1";
          Command = "VerveEditor::CloseEditorPreferences();";
          Command = "VerveEditor::CloseEditorPreferences();";
-         tooltipprofile = "GuiToolTipProfile";
+         tooltipprofile = "ToolsGuiToolTipProfile";
          hovertime = "1000";
          hovertime = "1000";
          text = "OK";
          text = "OK";
          groupNum = "-1";
          groupNum = "-1";

+ 4 - 4
Templates/BaseGame/game/tools/VerveEditor/Scripts/Controller/VControllerProperties.tscript

@@ -103,13 +103,13 @@ function VController::DisplayContextMenu( %this, %x, %y )
             
             
             Item[1] = "" TAB "";
             Item[1] = "" TAB "";
              
              
-            Item[2] = "Cu&t"     TAB "" TAB "";
-            Item[3] = "&Copy"    TAB "" TAB "";
-            Item[4] = "&Paste"   TAB "" TAB "VerveEditor::Paste();";
+            Item[2] = "Cut"     TAB "" TAB "";
+            Item[3] = "Copy"    TAB "" TAB "";
+            Item[4] = "Paste"   TAB "" TAB "VerveEditor::Paste();";
             
             
             Item[5] = "" TAB "";
             Item[5] = "" TAB "";
             
             
-            Item[6] = "&Delete"  TAB "" TAB "";
+            Item[6] = "Delete"  TAB "" TAB "";
             
             
             PasteIndex = 4;
             PasteIndex = 4;
         };
         };

+ 23 - 19
Templates/BaseGame/game/tools/VerveEditor/Scripts/EditorMenu.tscript

@@ -76,7 +76,7 @@ function VerveEditorWindow::onCreateMenu( %this )
     // Store Menu Bars.
     // Store Menu Bars.
     if ( !isObject( %this.MenuSet ) )
     if ( !isObject( %this.MenuSet ) )
     {
     {
-        %this.MenuSet = new SimSet();
+        %this.MenuSet = new GuiMenuBar();
     }
     }
     
     
     // CMD Key.
     // CMD Key.
@@ -103,14 +103,14 @@ function VerveEditorWindow::onCreateMenu( %this )
     {
     {
         SuperClass = "VerveWindowMenu";
         SuperClass = "VerveWindowMenu";
         
         
-        Label    = "&File";
+        Label    = "File";
         Position = 0;
         Position = 0;
         
         
-        Item[0] = "&New"         TAB %cmdKey @ "+N"       TAB "VerveEditor::NewFile();";
-        Item[1] = "&Open"        TAB %cmdKey @ "+O"       TAB "VerveEditor::LoadFile();";
+        Item[0] = "New"         TAB %cmdKey @ "+N"       TAB "VerveEditor::NewFile();";
+        Item[1] = "Open"        TAB %cmdKey @ "+O"       TAB "VerveEditor::LoadFile();";
         Item[2] = ""             TAB "";
         Item[2] = ""             TAB "";
-        Item[3] = "&Save"        TAB %cmdKey @ "+S"       TAB "VerveEditor::SaveFile();";
-        Item[4] = "Save &As"     TAB %cmdKey @ "-Shift+S" TAB "VerveEditor::SaveFile( true );";
+        Item[3] = "Save"        TAB %cmdKey @ "+S"       TAB "VerveEditor::SaveFile();";
+        Item[4] = "Save As"     TAB %cmdKey @ "-Shift+S" TAB "VerveEditor::SaveFile( true );";
         Item[5] = ""             TAB "";
         Item[5] = ""             TAB "";
         Item[6] = "Recent Files" TAB %recentSequenceMenu;
         Item[6] = "Recent Files" TAB %recentSequenceMenu;
     };
     };
@@ -133,34 +133,38 @@ function VerveEditorWindow::onCreateMenu( %this )
         Class      = "VerveWindowEditMenu";
         Class      = "VerveWindowEditMenu";
         SuperClass = "VerveWindowMenu";
         SuperClass = "VerveWindowMenu";
         
         
-        Label    = "&Edit";
+        Label    = "Edit";
         Position = 1;
         Position = 1;
         
         
-        Item[0]  = "&Undo"            TAB %cmdKey @ "+Z" TAB "VerveEditor::Undo();";
-        Item[1]  = "&Redo"            TAB %cmdKey @ "+Y" TAB "VerveEditor::Redo();";
+        Item[0]  = "Undo"            TAB %cmdKey @ "+Z" TAB "VerveEditor::Undo();";
+        Item[1]  = "Redo"            TAB %cmdKey @ "+Y" TAB "VerveEditor::Redo();";
         Item[2]  = ""                 TAB "";
         Item[2]  = ""                 TAB "";
-        Item[3]  = "Cu&t"             TAB %cmdKey @ "+X" TAB "VerveEditor::CutSelection();"    TAB VerveEditorEditMap;
-        Item[4]  = "&Copy"            TAB %cmdKey @ "+C" TAB "VerveEditor::CopySelection();"   TAB VerveEditorEditMap;
-        Item[5]  = "&Paste"           TAB %cmdKey @ "+V" TAB "VerveEditor::Paste();"           TAB VerveEditorEditMap;
+        Item[3]  = "Cut"             TAB %cmdKey @ "+X" TAB "VerveEditor::CutSelection();"    TAB VerveEditorEditMap;
+        Item[4]  = "Copy"            TAB %cmdKey @ "+C" TAB "VerveEditor::CopySelection();"   TAB VerveEditorEditMap;
+        Item[5]  = "Paste"           TAB %cmdKey @ "+V" TAB "VerveEditor::Paste();"           TAB VerveEditorEditMap;
         
         
         Item[6]  = ""                 TAB "";
         Item[6]  = ""                 TAB "";
-        Item[7]  = "&Delete"          TAB "Del"          TAB "VerveEditor::DeleteSelection();" TAB VerveEditorEditMap;
+        Item[7]  = "Delete"          TAB "Del"          TAB "VerveEditor::DeleteSelection();" TAB VerveEditorEditMap;
         
         
         Item[8]  = ""                 TAB "";
         Item[8]  = ""                 TAB "";
-        Item[9]  = "&Clear Selection" TAB "Esc"          TAB "VerveEditor::ClearSelection();";
+        Item[9]  = "Clear Selection" TAB "Esc"          TAB "VerveEditor::ClearSelection();";
         
         
         Item[10] = ""                 TAB "";
         Item[10] = ""                 TAB "";
-        Item[11] = "&Preferences"     TAB %cmdKey @ "+P" TAB "VerveEditor::LaunchEditorPreferences();";
+        Item[11] = "Preferences"     TAB %cmdKey @ "+P" TAB "VerveEditor::LaunchEditorPreferences();";
     };
     };
     %this.MenuSet.add( %editMenu );
     %this.MenuSet.add( %editMenu );
     
     
     // Init Popups.
     // Init Popups.
-    %fileMenu.Init();
-    %editMenu.Init();
+    //%fileMenu.Init();
+    //%editMenu.Init();
     
     
     // Attach.
     // Attach.
-    %fileMenu.attachToMenuBar( %this, %fileMenu.Position, %fileMenu.Label );
-    %editMenu.attachToMenuBar( %this, %editMenu.Position, %editMenu.Label );
+    if($Verve::UseSeparateWindow)
+    {
+       %this.setMenuBar(%this.MenuSet);
+       //%fileMenu.attachToMenuBar( %this, %fileMenu.Position, %fileMenu.Label );
+       //%editMenu.attachToMenuBar( %this, %editMenu.Position, %editMenu.Label );
+    }
 }
 }
 
 
 function VerveEditorWindow::ClearMenu( %this )
 function VerveEditorWindow::ClearMenu( %this )

+ 18 - 14
Templates/BaseGame/game/tools/VerveEditor/Scripts/EditorWindow.tscript

@@ -50,8 +50,9 @@ function VerveEditorWindow::Open()
     {
     {
        %editorWindow = new guiWindowCtrl(VerveEditorWindow)
        %editorWindow = new guiWindowCtrl(VerveEditorWindow)
        {
        {
+          Profile = "ToolsGuiWindowProfile";
          position = "0 0";
          position = "0 0";
-         extent = "1024 768";
+         extent = "1024 788";
          minExtent = "8 2";
          minExtent = "8 2";
          horizSizing = "right";
          horizSizing = "right";
          vertSizing = "bottom";
          vertSizing = "bottom";
@@ -62,20 +63,23 @@ function VerveEditorWindow::Open()
 
 
 function VerveEditorWindow::UpdateWindowTitle( %this )
 function VerveEditorWindow::UpdateWindowTitle( %this )
 {
 {
-    %fileName = fileName( $VerveEditor::Controller.FileName );
-    if ( %fileName $= "" )
-    {
-        %fileName = "Untitled.vsf";
-    }
-    
-    if ( VerveEditor::IsDirty() )
-    {
-        // Signify Unsaved Work.
-        %fileName = %fileName @ "*";
-    }
+   %fileName = fileName( $VerveEditor::Controller.FileName );
+   if ( %fileName $= "" )
+   {
+      %fileName = "Untitled.vsf";
+   }
+
+   if ( VerveEditor::IsDirty() )
+   {
+      // Signify Unsaved Work.
+      %fileName = %fileName @ "*";
+   }
     
     
-    // Set Title.
-    %this.setWindowTitle( %fileName SPC "- Verve"  );
+   // Set Title.
+   if($Verve::UseSeparateWindow)
+      %this.setWindowTitle( %fileName SPC "- Verve"  );
+   else
+      %this.text = %fileName SPC "- Verve";
 }
 }
 
 
 function VerveEditorWindow::onGainFocus( %this )
 function VerveEditorWindow::onGainFocus( %this )

+ 6 - 6
Templates/BaseGame/game/tools/VerveEditor/Scripts/Groups/VGroup.tscript

@@ -188,13 +188,13 @@ function VGroup::DisplayContextMenu( %this, %x, %y )
             
             
             Item[1] = "" TAB "";
             Item[1] = "" TAB "";
              
              
-            Item[2] = "Cu&t"     TAB "" TAB "VerveEditor::CutSelection();";
-            Item[3] = "&Copy"    TAB "" TAB "VerveEditor::CopySelection();";
-            Item[4] = "&Paste"   TAB "" TAB "VerveEditor::Paste();";
+            Item[2] = "Cut"     TAB "" TAB "VerveEditor::CutSelection();";
+            Item[3] = "Copy"    TAB "" TAB "VerveEditor::CopySelection();";
+            Item[4] = "Paste"   TAB "" TAB "VerveEditor::Paste();";
             
             
             Item[5] = "" TAB "";
             Item[5] = "" TAB "";
             
             
-            Item[6] = "&Delete"  TAB "" TAB "VerveEditor::DeleteSelection();";
+            Item[6] = "Delete"  TAB "" TAB "VerveEditor::DeleteSelection();";
             
             
             AddIndex   = 0;
             AddIndex   = 0;
             PasteIndex = 4;
             PasteIndex = 4;
@@ -283,7 +283,7 @@ function VerveEditor::CreateGroupControl( %object )
         Class       = "VEditorSelectableGroup";
         Class       = "VEditorSelectableGroup";
         Profile     = "VEditorGroupHeaderProfile";
         Profile     = "VEditorGroupHeaderProfile";
         
         
-        Bitmap      = "~/VerveEditor/GUI/Images/GroupBackground";
+        bitmapAsset      = "ToolsModule:GroupBackground_image";
         
         
         HorizSizing = "width";
         HorizSizing = "width";
         VertSizing  = "bottom";
         VertSizing  = "bottom";
@@ -322,7 +322,7 @@ function VerveEditor::CreateGroupControl( %object )
         Class       = "VEditorSelectableGroup";
         Class       = "VEditorSelectableGroup";
         Profile     = "VEditorGroupTrackProfile";
         Profile     = "VEditorGroupTrackProfile";
         
         
-        Bitmap      = "~/VerveEditor/GUI/Images/GroupBackground";
+        bitmapAsset      = "ToolsModule:GroupBackground_image";
         
         
         HorizSizing = "width";
         HorizSizing = "width";
         VertSizing  = "bottom";
         VertSizing  = "bottom";

+ 2 - 2
Templates/BaseGame/game/tools/VerveEditor/Scripts/Inspector/Controls.tscript

@@ -33,7 +33,7 @@ function VerveEditorPropertyStack::CreatePropertyRollout( %this, %groupLabel )
     %propertyStack = new GuiStackControl()
     %propertyStack = new GuiStackControl()
     {
     {
         Class       = "VEditorPropertyStack";
         Class       = "VEditorPropertyStack";
-        Profile     = "GuiTransparentProfile";
+        Profile     = "ToolsGuiTransparentProfile";
         
         
         HorizSizing = "width";
         HorizSizing = "width";
         VertSizing  = "bottom";
         VertSizing  = "bottom";
@@ -123,7 +123,7 @@ function VerveEditor::CreateField( %targetStack, %fieldName, %fieldType )
     if ( isMethod( "VerveEditor", "Create" @ %fieldType @ "Field" ) )
     if ( isMethod( "VerveEditor", "Create" @ %fieldType @ "Field" ) )
     {
     {
         // Create the Input Control.
         // Create the Input Control.
-        %fieldInput = eval( "return VerveEditor::Create" @ %fieldType @ "Field( %fieldContainer, %fieldName );" );
+        %fieldInput = eval( "return VerveEditor::Create" @ %fieldType @ "Field(" @ %fieldContainer @ "," @ %fieldName @ ");" );
     }
     }
     else
     else
     {
     {

+ 2 - 2
Templates/BaseGame/game/tools/VerveEditor/Scripts/Inspector/Fields/TypeData.tscript

@@ -56,7 +56,7 @@ function VerveEditor::CreateDataField( %fieldContainer, %fieldName )
         Position     = %fieldWidth - 24 SPC 0;
         Position     = %fieldWidth - 24 SPC 0;
         Extent       = "18 18";
         Extent       = "18 18";
         
         
-        Bitmap       = "tools/VerveEditor/GUI/Images/btn_DeleteSml";
+        bitmapAsset       = "ToolsModule:btn_DeleteSml_image";
         
         
         Command      = %fieldInput @ ".Remove();";
         Command      = %fieldInput @ ".Remove();";
     };
     };
@@ -274,7 +274,7 @@ function VerveEditor::CreateAddDataField( %targetStack )
         Position     = %fieldWidth - 24 SPC 0;
         Position     = %fieldWidth - 24 SPC 0;
         Extent       = "18 18";
         Extent       = "18 18";
         
         
-        Bitmap       = "tools/VerveEditor/GUI/Images/btn_AddSml";
+        bitmapAsset       = "ToolsModule:btn_AddSml_image";
         
         
         Command      = "VEditorDataPropertyField::Insert(" @ %fieldType @ ".getText(), " @ %fieldName @ ".getText(), " @ %fieldValue @ ".getText() );";
         Command      = "VEditorDataPropertyField::Insert(" @ %fieldType @ ".getText(), " @ %fieldName @ ".getText(), " @ %fieldValue @ ".getText() );";
     };
     };

+ 2 - 1
Templates/BaseGame/game/tools/VerveEditor/Scripts/Inspector/Selection.tscript

@@ -114,7 +114,8 @@ function VEditorSelectable::OnRightMouseUp( %this, %position, %modifiers, %click
     VerveEditor::SetSelection( %this );
     VerveEditor::SetSelection( %this );
     
     
     // Repaint.
     // Repaint.
-    VerveEditorWindow.Repaint();
+    if($Verve::UseSeparateWindow)
+      VerveEditorWindow.Repaint();
     
     
     if ( %this.Proxy.isMethod( "DisplayContextMenu" ) )
     if ( %this.Proxy.isMethod( "DisplayContextMenu" ) )
     {
     {

+ 6 - 6
Templates/BaseGame/game/tools/VerveEditor/Scripts/Tracks/VMotionTrack.tscript

@@ -105,21 +105,21 @@ function VMotionTrack::GetContextMenu( %this )
             Label    = "VTrackContextMenu";
             Label    = "VTrackContextMenu";
             Position = 0;
             Position = 0;
             
             
-            Item[0] = "&Add Event" TAB "" TAB "VEditorSelectableTrack::AddEvent();";
+            Item[0] = "Add Event" TAB "" TAB "VEditorSelectableTrack::AddEvent();";
             
             
             Item[1] = "" TAB "";
             Item[1] = "" TAB "";
             
             
-            Item[2] = "&Import Path Nodes" TAB "" TAB "VMotionTrack::ImportPathNodes();";
+            Item[2] = "Import Path Nodes" TAB "" TAB "VMotionTrack::ImportPathNodes();";
             
             
             Item[3] = "" TAB "";
             Item[3] = "" TAB "";
              
              
-            Item[4] = "Cu&t"    TAB "" TAB "VerveEditor::CutSelection();";
-            Item[5] = "&Copy"   TAB "" TAB "VerveEditor::CopySelection();";
-            Item[6] = "&Paste"  TAB "" TAB "VEditorSelectableTrack::PasteEvent();";
+            Item[4] = "Cut"    TAB "" TAB "VerveEditor::CutSelection();";
+            Item[5] = "Copy"   TAB "" TAB "VerveEditor::CopySelection();";
+            Item[6] = "Paste"  TAB "" TAB "VEditorSelectableTrack::PasteEvent();";
             
             
             Item[7] = "" TAB "";
             Item[7] = "" TAB "";
             
             
-            Item[8] = "&Delete" TAB "" TAB "VerveEditor::DeleteSelection();";
+            Item[8] = "Delete" TAB "" TAB "VerveEditor::DeleteSelection();";
             
             
             AddIndex   = 0;
             AddIndex   = 0;
             PasteIndex = 4;
             PasteIndex = 4;

+ 5 - 5
Templates/BaseGame/game/tools/VerveEditor/Scripts/Tracks/VTrack.tscript

@@ -175,17 +175,17 @@ function VTrack::GetContextMenu( %this )
             Label    = "VTrackContextMenu";
             Label    = "VTrackContextMenu";
             Position = 0;
             Position = 0;
             
             
-            Item[0] = "&Add Event" TAB "" TAB "VEditorSelectableTrack::AddEvent();";
+            Item[0] = "Add Event" TAB "" TAB "VEditorSelectableTrack::AddEvent();";
             
             
             Item[1] = "" TAB "";
             Item[1] = "" TAB "";
              
              
-            Item[2] = "Cu&t"    TAB "" TAB "VerveEditor::CutSelection();";
-            Item[3] = "&Copy"   TAB "" TAB "VerveEditor::CopySelection();";
-            Item[4] = "&Paste"  TAB "" TAB "VEditorSelectableTrack::PasteEvent();";
+            Item[2] = "Cut"    TAB "" TAB "VerveEditor::CutSelection();";
+            Item[3] = "Copy"   TAB "" TAB "VerveEditor::CopySelection();";
+            Item[4] = "Paste"  TAB "" TAB "VEditorSelectableTrack::PasteEvent();";
             
             
             Item[5] = "" TAB "";
             Item[5] = "" TAB "";
             
             
-            Item[6] = "&Delete" TAB "" TAB "VerveEditor::DeleteSelection();";
+            Item[6] = "Delete" TAB "" TAB "VerveEditor::DeleteSelection();";
             
             
             AddIndex   = 0;
             AddIndex   = 0;
             PasteIndex = 4;
             PasteIndex = 4;

+ 2 - 3
Templates/BaseGame/game/tools/VerveEditor/main.tscript

@@ -5,7 +5,7 @@
 
 
 function InitializeVerveEditor()
 function InitializeVerveEditor()
 {
 {
-   $Verve::UseSeparateWindow = true;
+   $Verve::UseSeparateWindow = ($pref::Video::deviceMode == 0); //can't do separate window atm if you're in fullscreen or borderless full
    
    
     // Preferences.
     // Preferences.
     exec( "./DefaultPrefs." @ $TorqueScriptFileExtension );
     exec( "./DefaultPrefs." @ $TorqueScriptFileExtension );
@@ -59,7 +59,7 @@ function DestroyVerveEditor()
 
 
 function ToggleVerveEditor( %value )
 function ToggleVerveEditor( %value )
 {
 {
-    if ( %value && $Verve::UseSeparateWindow )
+    if ( %value)
     {
     {
         if ( !isObject( VerveEditorWindow ) )
         if ( !isObject( VerveEditorWindow ) )
         {
         {
@@ -97,7 +97,6 @@ function VerveEditor::LaunchEditor()
     VerveEditor::ClearHistory();
     VerveEditor::ClearHistory();
     
     
     // Update Window Title.
     // Update Window Title.
-    if($Verve::UseSeparateWindow)
       VerveEditorWindow.UpdateWindowTitle();
       VerveEditorWindow.UpdateWindowTitle();
     
     
     // Update Selection.
     // Update Selection.

+ 231 - 443
Templates/BaseGame/game/tools/assetBrowser/assetImportConfigs.xml

@@ -1,451 +1,239 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<?xml version="1.0" encoding="UTF-8" standalone ="yes"?>
 <AssetImportSettings>
 <AssetImportSettings>
-    <Group
-        name="DefaultImportConfig">
-        <Group
-            name="Animations">
-            <Setting
-                name="animFPS">2</Setting>
-            <Setting
-                name="animTiming">Seconds</Setting>
-            <Setting
-                name="ImportAnimations">1</Setting>
-            <Setting
-                name="SeparateAnimations">1</Setting>
-        </Group>
-        <Group
-            name="Collision">
-            <Setting
-                name="CollisionMeshPrefix">Col</Setting>
-            <Setting
-                name="GenCollisionType">CollisionMesh</Setting>
-            <Setting
-                name="GenerateCollisions">1</Setting>
-            <Setting
-                name="GenerateLOSCollisions">1</Setting>
-            <Setting
-                name="GenLOSCollisionType">CollisionMesh</Setting>
-            <Setting
-                name="LOSCollisionMeshPrefix">LOS</Setting>
-        </Group>
-        <Group
-            name="General">
-            <Setting
-                name="AutomaticallyPromptMissingFiles">0</Setting>
-            <Setting
-                name="DuplicatAutoResolution">AutoPrune</Setting>
-            <Setting
-                name="PreventImportWithErrors">1</Setting>
-            <Setting
-                name="WarningsAsErrors">0</Setting>
-            <Setting
-                name="AddDirectoryPrefixToAssetName">0</Setting>
-        </Group>
-        <Group
-            name="Images">
-            <Setting
-                name="AddedImageSuffix">_image</Setting>
-            <Setting
-                name="AlwaysAddImageSuffix">1</Setting>
-            <Setting
-                name="AOTypeSuffixes">_AO,_AMBIENT,_AMBIENTOCCLUSION</Setting>
-            <Setting
-                name="CompositeTypeSuffixes">_COMP,_COMPOSITE,_PBR,-COMP,-COMPOSITE,-PBR,_ORM,-ORM</Setting>
-            <Setting
-                name="Compressed">1</Setting>
-            <Setting
-                name="DiffuseTypeSuffixes">_ALBEDO,_DIFFUSE,_ALB,_DIF,_COLOR,_COL</Setting>
-            <Setting
-                name="GenerateMaterialOnImport">0</Setting>
-            <Setting
-                name="ImageType">N/A</Setting>
-            <Setting
-                name="ImportImages">1</Setting>
-            <Setting
-                name="IsHDR">0</Setting>
-            <Setting
-                name="MetalnessTypeSuffixes">_METAL,_MET,_METALNESS,_METALLIC</Setting>
-            <Setting
-                name="NormalTypeSuffixes">_NORMAL,_NORM</Setting>
-            <Setting
-                name="RoughnessTypeSuffixes">_ROUGH,_ROUGHNESS</Setting>
-            <Setting
-                name="Scaling">1.0</Setting>
-            <Setting
-                name="SmoothnessTypeSuffixes">_SMOOTH,_SMOOTHNESS</Setting>
-            <Setting
-                name="TextureFilteringMode">Bilinear</Setting>
-            <Setting
-                name="UseMips">1</Setting>
-        </Group>
-        <Group
-            name="Materials">
-            <Setting
-                name="AddedMaterialSuffix">_mat</Setting>
-            <Setting
-                name="AlwaysAddMaterialSuffix">0</Setting>
-            <Setting
-                name="CreateComposites">1</Setting>
-            <Setting
-                name="ImportMaterials">1</Setting>
-            <Setting
-                name="PopulateMaterialMaps">1</Setting>
-            <Setting
-                name="UseDiffuseSuffixOnOriginImage">1</Setting>
-            <Setting
-                name="UseExistingMaterials">1</Setting>
-        </Group>
-        <Group
-            name="Meshes">
-            <Setting
-                name="AddedShapeSuffix">_shape</Setting>
-            <Setting
-                name="AdjustCenter">0</Setting>
-            <Setting
-                name="AdjustFloor">0</Setting>
-            <Setting
-                name="AlwaysAddShapeSuffix">0</Setting>
-            <Setting
-                name="calcTangentSpace">0</Setting>
-            <Setting
-                name="CollapseSubmeshes">0</Setting>
-            <Setting
-                name="convertLeftHanded">0</Setting>
-            <Setting
-                name="DoScaleOverride">0</Setting>
-            <Setting
-                name="DoUpAxisOverride">0</Setting>
-            <Setting
-                name="findInstances">0</Setting>
-            <Setting
-                name="flipUVCoords">0</Setting>
-            <Setting
-                name="genUVCoords">0</Setting>
-            <Setting
-                name="IgnoreNodeScale">0</Setting>
-            <Setting
-                name="ImportMesh">1</Setting>
-            <Setting
-                name="invertNormals">0</Setting>
-            <Setting
-                name="JoinIdenticalVerts">0</Setting>
-            <Setting
-                name="limitBoneWeights">0</Setting>
-            <Setting
-                name="LODType">TrailingNumber</Setting>
-            <Setting
-                name="removeRedundantMats">0</Setting>
-            <Setting
-                name="reverseWindingOrder">0</Setting>
-            <Setting
-                name="ScaleOverride">1</Setting>
-            <Setting
-                name="TransformUVs">0</Setting>
-            <Setting
-                name="UpAxisOverride">Z_AXIS</Setting>
-        </Group>
-        <Group
-            name="Sounds">
-            <Setting
-                name="Compressed">0</Setting>
-            <Setting
-                name="PitchAdjust">1.0</Setting>
-            <Setting
-                name="VolumeAdjust">1.0</Setting>
+    <Group name="DefaultImportConfig">
+        <Group name="Animations">
+            <Setting name="animFPS">2</Setting>
+            <Setting name="animTiming">Seconds</Setting>
+            <Setting name="ImportAnimations">1</Setting>
+            <Setting name="SeparateAnimations">1</Setting>
+        </Group>
+        <Group name="Collision">
+            <Setting name="CollisionMeshPrefix">Col</Setting>
+            <Setting name="GenCollisionType">CollisionMesh</Setting>
+            <Setting name="GenerateCollisions">1</Setting>
+            <Setting name="GenerateLOSCollisions">1</Setting>
+            <Setting name="GenLOSCollisionType">CollisionMesh</Setting>
+            <Setting name="LOSCollisionMeshPrefix">LOS</Setting>
+        </Group>
+        <Group name="General">
+            <Setting name="AddDirectoryPrefixToAssetName">0</Setting>
+            <Setting name="AutomaticallyPromptMissingFiles">0</Setting>
+            <Setting name="DuplicatAutoResolution">AutoPrune</Setting>
+            <Setting name="PreventImportWithErrors">1</Setting>
+            <Setting name="WarningsAsErrors">0</Setting>
+        </Group>
+        <Group name="Images">
+            <Setting name="AddedImageSuffix">_image</Setting>
+            <Setting name="AlwaysAddImageSuffix">1</Setting>
+            <Setting name="AOTypeSuffixes">_AO,_AMBIENT,_AMBIENTOCCLUSION</Setting>
+            <Setting name="CompositeTypeSuffixes">_COMP,_COMPOSITE,_PBR,-COMP,-COMPOSITE,-PBR,_ORM,-ORM</Setting>
+            <Setting name="Compressed">1</Setting>
+            <Setting name="DiffuseTypeSuffixes">_ALBEDO,_DIFFUSE,_ALB,_DIF,_COLOR,_COL</Setting>
+            <Setting name="GenerateMaterialOnImport">0</Setting>
+            <Setting name="ImageType">N/A</Setting>
+            <Setting name="ImportImages">1</Setting>
+            <Setting name="IsHDR">0</Setting>
+            <Setting name="MetalnessTypeSuffixes">_METAL,_MET,_METALNESS,_METALLIC</Setting>
+            <Setting name="NormalTypeSuffixes">_NORMAL,_NORM</Setting>
+            <Setting name="RoughnessTypeSuffixes">_ROUGH,_ROUGHNESS</Setting>
+            <Setting name="Scaling">1.0</Setting>
+            <Setting name="SmoothnessTypeSuffixes">_SMOOTH,_SMOOTHNESS</Setting>
+            <Setting name="TextureFilteringMode">Bilinear</Setting>
+            <Setting name="UseMips">1</Setting>
+        </Group>
+        <Group name="Materials">
+            <Setting name="AddedMaterialSuffix">_mat</Setting>
+            <Setting name="AlwaysAddMaterialSuffix">0</Setting>
+            <Setting name="CreateComposites">1</Setting>
+            <Setting name="ImportMaterials">1</Setting>
+            <Setting name="PopulateMaterialMaps">1</Setting>
+            <Setting name="UseDiffuseSuffixOnOriginImage">1</Setting>
+            <Setting name="UseExistingMaterials">1</Setting>
+        </Group>
+        <Group name="Meshes">
+            <Setting name="AddedShapeSuffix">_shape</Setting>
+            <Setting name="AdjustCenter">0</Setting>
+            <Setting name="AdjustFloor">0</Setting>
+            <Setting name="AlwaysAddShapeSuffix">0</Setting>
+            <Setting name="calcTangentSpace">0</Setting>
+            <Setting name="CollapseSubmeshes">0</Setting>
+            <Setting name="convertLeftHanded">0</Setting>
+            <Setting name="DoScaleOverride">0</Setting>
+            <Setting name="DoUpAxisOverride">0</Setting>
+            <Setting name="findInstances">0</Setting>
+            <Setting name="flipUVCoords">0</Setting>
+            <Setting name="genUVCoords">0</Setting>
+            <Setting name="IgnoreNodeScale">0</Setting>
+            <Setting name="ImportMesh">1</Setting>
+            <Setting name="invertNormals">0</Setting>
+            <Setting name="JoinIdenticalVerts">0</Setting>
+            <Setting name="limitBoneWeights">0</Setting>
+            <Setting name="LODType">TrailingNumber</Setting>
+            <Setting name="removeRedundantMats">0</Setting>
+            <Setting name="reverseWindingOrder">0</Setting>
+            <Setting name="ScaleOverride">1</Setting>
+            <Setting name="TransformUVs">0</Setting>
+            <Setting name="UpAxisOverride">Z_AXIS</Setting>
+        </Group>
+        <Group name="Sounds">
+            <Setting name="Compressed">0</Setting>
+            <Setting name="PitchAdjust">1.0</Setting>
+            <Setting name="VolumeAdjust">1.0</Setting>
         </Group>
         </Group>
     </Group>
     </Group>
-    <Group
-        name="LegacyProjectImport">
-        <Group
-            name="Animations">
-            <Setting
-                name="animFPS">2</Setting>
-            <Setting
-                name="animTiming">Seconds</Setting>
-            <Setting
-                name="ImportAnimations">1</Setting>
-            <Setting
-                name="SeparateAnimations">1</Setting>
-        </Group>
-        <Group
-            name="Collision">
-            <Setting
-                name="CollisionMeshPrefix">Col</Setting>
-            <Setting
-                name="GenCollisionType">CollisionMesh</Setting>
-            <Setting
-                name="GenerateCollisions">1</Setting>
-            <Setting
-                name="GenerateLOSCollisions">1</Setting>
-            <Setting
-                name="GenLOSCollisionType">CollisionMesh</Setting>
-            <Setting
-                name="LOSCollisionMeshPrefix">LOS</Setting>
-        </Group>
-        <Group
-            name="General">
-            <Setting
-                name="AutomaticallyPromptMissingFiles">0</Setting>
-            <Setting
-                name="DuplicateAutoResolution">FolderPrefix</Setting>
-            <Setting
-                name="PreventImportWithErrors">1</Setting>
-            <Setting
-                name="WarningsAsErrors">0</Setting>
-            <Setting
-                name="AddDirectoryPrefixToAssetName">1</Setting>
-        </Group>
-        <Group
-            name="Images">
-            <Setting
-                name="AddedImageSuffix">_image</Setting>
-            <Setting
-                name="AlwaysAddImageSuffix">1</Setting>
-            <Setting
-                name="AOTypeSuffixes">_AO,_AMBIENT,_AMBIENTOCCLUSION</Setting>
-            <Setting
-                name="CompositeTypeSuffixes">_COMP,_COMPOSITE</Setting>
-            <Setting
-                name="Compressed">1</Setting>
-            <Setting
-                name="DiffuseTypeSuffixes">_ALBEDO,_DIFFUSE,_ALB,_DIF,_COLOR,_COL</Setting>
-            <Setting
-                name="GenerateMaterialOnImport">0</Setting>
-            <Setting
-                name="ImageType">N/A</Setting>
-            <Setting
-                name="ImportImages">1</Setting>
-            <Setting
-                name="IsHDR">0</Setting>
-            <Setting
-                name="MetalnessTypeSuffixes">_METAL,_MET,_METALNESS,_METALLIC</Setting>
-            <Setting
-                name="NormalTypeSuffixes">_NORMAL,_NORM</Setting>
-            <Setting
-                name="RoughnessTypeSuffixes">_ROUGH,_ROUGHNESS</Setting>
-            <Setting
-                name="Scaling">1.0</Setting>
-            <Setting
-                name="SmoothnessTypeSuffixes">_SMOOTH,_SMOOTHNESS</Setting>
-            <Setting
-                name="TextureFilteringMode">Bilinear</Setting>
-            <Setting
-                name="UseMips">1</Setting>
-        </Group>
-        <Group
-            name="Materials">
-            <Setting
-                name="AddedMaterialSuffix">_mat</Setting>
-            <Setting
-                name="AlwaysAddMaterialSuffix">1</Setting>
-            <Setting
-                name="CreateComposites">1</Setting>
-            <Setting
-                name="ImportMaterials">1</Setting>
-            <Setting
-                name="PopulateMaterialMaps">1</Setting>
-            <Setting
-                name="UseDiffuseSuffixOnOriginImage">1</Setting>
-            <Setting
-                name="UseExistingMaterials">1</Setting>
-        </Group>
-        <Group
-            name="Meshes">
-            <Setting
-                name="AddedShapeSuffix">_shape</Setting>
-            <Setting
-                name="AdjustCenter">0</Setting>
-            <Setting
-                name="AdjustFloor">0</Setting>
-            <Setting
-                name="AlwaysAddShapeSuffix">0</Setting>
-            <Setting
-                name="calcTangentSpace">0</Setting>
-            <Setting
-                name="CollapseSubmeshes">0</Setting>
-            <Setting
-                name="convertLeftHanded">0</Setting>
-            <Setting
-                name="DoScaleOverride">0</Setting>
-            <Setting
-                name="DoUpAxisOverride">0</Setting>
-            <Setting
-                name="findInstances">0</Setting>
-            <Setting
-                name="flipUVCoords">0</Setting>
-            <Setting
-                name="genUVCoords">0</Setting>
-            <Setting
-                name="IgnoreNodeScale">0</Setting>
-            <Setting
-                name="ImportMesh">1</Setting>
-            <Setting
-                name="invertNormals">0</Setting>
-            <Setting
-                name="JoinIdenticalVerts">0</Setting>
-            <Setting
-                name="limitBoneWeights">0</Setting>
-            <Setting
-                name="LODType">TrailingNumber</Setting>
-            <Setting
-                name="removeRedundantMats">0</Setting>
-            <Setting
-                name="reverseWindingOrder">0</Setting>
-            <Setting
-                name="ScaleOverride">1</Setting>
-            <Setting
-                name="TransformUVs">0</Setting>
-            <Setting
-                name="UpAxisOverride">Z_AXIS</Setting>
-        </Group>
-        <Group
-            name="Sounds">
-            <Setting
-                name="Compressed">0</Setting>
-            <Setting
-                name="PitchAdjust">1.0</Setting>
-            <Setting
-                name="VolumeAdjust">1.0</Setting>
+    <Group name="LegacyProjectImport">
+        <Group name="Animations">
+            <Setting name="animFPS">2</Setting>
+            <Setting name="animTiming">Seconds</Setting>
+            <Setting name="ImportAnimations">1</Setting>
+            <Setting name="SeparateAnimations">1</Setting>
+        </Group>
+        <Group name="Collision">
+            <Setting name="CollisionMeshPrefix">Col</Setting>
+            <Setting name="GenCollisionType">CollisionMesh</Setting>
+            <Setting name="GenerateCollisions">1</Setting>
+            <Setting name="GenerateLOSCollisions">1</Setting>
+            <Setting name="GenLOSCollisionType">CollisionMesh</Setting>
+            <Setting name="LOSCollisionMeshPrefix">LOS</Setting>
+        </Group>
+        <Group name="General">
+            <Setting name="AddDirectoryPrefixToAssetName">1</Setting>
+            <Setting name="AutomaticallyPromptMissingFiles">0</Setting>
+            <Setting name="DuplicateAutoResolution">FolderPrefix</Setting>
+            <Setting name="PreventImportWithErrors">1</Setting>
+            <Setting name="WarningsAsErrors">0</Setting>
+        </Group>
+        <Group name="Images">
+            <Setting name="AddedImageSuffix">_image</Setting>
+            <Setting name="AlwaysAddImageSuffix">1</Setting>
+            <Setting name="AOTypeSuffixes">_AO,_AMBIENT,_AMBIENTOCCLUSION</Setting>
+            <Setting name="CompositeTypeSuffixes">_COMP,_COMPOSITE</Setting>
+            <Setting name="Compressed">1</Setting>
+            <Setting name="DiffuseTypeSuffixes">_ALBEDO,_DIFFUSE,_ALB,_DIF,_COLOR,_COL</Setting>
+            <Setting name="GenerateMaterialOnImport">0</Setting>
+            <Setting name="ImageType">N/A</Setting>
+            <Setting name="ImportImages">1</Setting>
+            <Setting name="IsHDR">0</Setting>
+            <Setting name="MetalnessTypeSuffixes">_METAL,_MET,_METALNESS,_METALLIC</Setting>
+            <Setting name="NormalTypeSuffixes">_NORMAL,_NORM</Setting>
+            <Setting name="RoughnessTypeSuffixes">_ROUGH,_ROUGHNESS</Setting>
+            <Setting name="Scaling">1.0</Setting>
+            <Setting name="SmoothnessTypeSuffixes">_SMOOTH,_SMOOTHNESS</Setting>
+            <Setting name="TextureFilteringMode">Bilinear</Setting>
+            <Setting name="UseMips">1</Setting>
+        </Group>
+        <Group name="Materials">
+            <Setting name="AddedMaterialSuffix">_mat</Setting>
+            <Setting name="AlwaysAddMaterialSuffix">1</Setting>
+            <Setting name="CreateComposites">1</Setting>
+            <Setting name="ImportMaterials">1</Setting>
+            <Setting name="PopulateMaterialMaps">1</Setting>
+            <Setting name="UseDiffuseSuffixOnOriginImage">1</Setting>
+            <Setting name="UseExistingMaterials">1</Setting>
+        </Group>
+        <Group name="Meshes">
+            <Setting name="AddedShapeSuffix">_shape</Setting>
+            <Setting name="AdjustCenter">0</Setting>
+            <Setting name="AdjustFloor">0</Setting>
+            <Setting name="AlwaysAddShapeSuffix">0</Setting>
+            <Setting name="calcTangentSpace">0</Setting>
+            <Setting name="CollapseSubmeshes">0</Setting>
+            <Setting name="convertLeftHanded">0</Setting>
+            <Setting name="DoScaleOverride">0</Setting>
+            <Setting name="DoUpAxisOverride">0</Setting>
+            <Setting name="findInstances">0</Setting>
+            <Setting name="flipUVCoords">0</Setting>
+            <Setting name="genUVCoords">0</Setting>
+            <Setting name="IgnoreNodeScale">0</Setting>
+            <Setting name="ImportMesh">1</Setting>
+            <Setting name="invertNormals">0</Setting>
+            <Setting name="JoinIdenticalVerts">0</Setting>
+            <Setting name="limitBoneWeights">0</Setting>
+            <Setting name="LODType">TrailingNumber</Setting>
+            <Setting name="removeRedundantMats">0</Setting>
+            <Setting name="reverseWindingOrder">0</Setting>
+            <Setting name="ScaleOverride">1</Setting>
+            <Setting name="TransformUVs">0</Setting>
+            <Setting name="UpAxisOverride">Z_AXIS</Setting>
+        </Group>
+        <Group name="Sounds">
+            <Setting name="Compressed">0</Setting>
+            <Setting name="PitchAdjust">1.0</Setting>
+            <Setting name="VolumeAdjust">1.0</Setting>
         </Group>
         </Group>
     </Group>
     </Group>
-    <Group
-        name="NewTest">
-        <Group
-            name="Animations">
-            <Setting
-                name="animFPS">2</Setting>
-            <Setting
-                name="animTiming">Seconds</Setting>
-            <Setting
-                name="ImportAnimations">1</Setting>
-            <Setting
-                name="SeparateAnimations">1</Setting>
-        </Group>
-        <Group
-            name="Collision">
-            <Setting
-                name="CollisionMeshPrefix">Col</Setting>
-            <Setting
-                name="GenCollisionType">CollisionMesh</Setting>
-            <Setting
-                name="GenerateCollisions">1</Setting>
-            <Setting
-                name="GenerateLOSCollisions">1</Setting>
-            <Setting
-                name="GenLOSCollisionType">CollisionMesh</Setting>
-            <Setting
-                name="LOSCollisionMeshPrefix">LOS</Setting>
-        </Group>
-        <Group
-            name="General">
-            <Setting
-                name="AutomaticallyPromptMissingFiles">0</Setting>
-            <Setting
-                name="DuplicatAutoResolution">AutoPrune</Setting>
-            <Setting
-                name="PreventImportWithErrors">1</Setting>
-            <Setting
-                name="WarningsAsErrors">0</Setting>
-            <Setting
-                name="AddDirectoryPrefixToAssetName">0</Setting>
-        </Group>
-        <Group
-            name="Images">
-            <Setting
-                name="AOTypeSuffixes">_AO,_AMBIENT,_AMBIENTOCCLUSION</Setting>
-            <Setting
-                name="Compressed">1</Setting>
-            <Setting
-                name="DiffuseTypeSuffixes">_ALBEDO,_DIFFUSE,_ALB,_DIF,_COLOR,_COL</Setting>
-            <Setting
-                name="GenerateMaterialOnImport">1</Setting>
-            <Setting
-                name="ImageType">N/A</Setting>
-            <Setting
-                name="IsHDR">0</Setting>
-            <Setting
-                name="MetalnessTypeSuffixes">_METAL,_MET,_METALNESS,_METALLIC</Setting>
-            <Setting
-                name="NormalTypeSuffixes">_NORMAL,_NORM</Setting>
-            <Setting
-                name="PBRTypeSuffixes">_COMP,_COMPOSITE,_PBR,-COMP,-COMPOSITE,-PBR,_ORM,-ORM</Setting>
-            <Setting
-                name="RoughnessTypeSuffixes">_ROUGH,_ROUGHNESS</Setting>
-            <Setting
-                name="Scaling">1.0</Setting>
-            <Setting
-                name="SmoothnessTypeSuffixes">_SMOOTH,_SMOOTHNESS</Setting>
-            <Setting
-                name="TextureFilteringMode">Bilinear</Setting>
-            <Setting
-                name="UseMips">1</Setting>
-        </Group>
-        <Group
-            name="Materials">
-            <Setting
-                name="CreateComposites">1</Setting>
-            <Setting
-                name="ImportMaterials">1</Setting>
-            <Setting
-                name="PopulateMaterialMaps">1</Setting>
-            <Setting
-                name="UseDiffuseSuffixOnOriginImage">1</Setting>
-            <Setting
-                name="UseExistingMaterials">1</Setting>
-        </Group>
-        <Group
-            name="Meshes">
-            <Setting
-                name="AdjustCenter">0</Setting>
-            <Setting
-                name="AdjustFloor">0</Setting>
-            <Setting
-                name="calcTangentSpace">0</Setting>
-            <Setting
-                name="CollapseSubmeshes">0</Setting>
-            <Setting
-                name="convertLeftHanded">0</Setting>
-            <Setting
-                name="DoScaleOverride">0</Setting>
-            <Setting
-                name="DoUpAxisOverride">0</Setting>
-            <Setting
-                name="findInstances">0</Setting>
-            <Setting
-                name="flipUVCoords">0</Setting>
-            <Setting
-                name="genUVCoords">0</Setting>
-            <Setting
-                name="IgnoreNodeScale">0</Setting>
-            <Setting
-                name="ImportMesh">1</Setting>
-            <Setting
-                name="invertNormals">0</Setting>
-            <Setting
-                name="JoinIdenticalVerts">0</Setting>
-            <Setting
-                name="limitBoneWeights">0</Setting>
-            <Setting
-                name="LODType">TrailingNumber</Setting>
-            <Setting
-                name="removeRedundantMats">0</Setting>
-            <Setting
-                name="reverseWindingOrder">0</Setting>
-            <Setting
-                name="ScaleOverride">1</Setting>
-            <Setting
-                name="TransformUVs">0</Setting>
-            <Setting
-                name="UpAxisOverride">Z_AXIS</Setting>
-        </Group>
-        <Group
-            name="Sounds">
-            <Setting
-                name="Compressed">0</Setting>
-            <Setting
-                name="PitchAdjust">1.0</Setting>
-            <Setting
-                name="VolumeAdjust">1.0</Setting>
+    <Group name="NewTest">
+        <Group name="Animations">
+            <Setting name="animFPS">2</Setting>
+            <Setting name="animTiming">Seconds</Setting>
+            <Setting name="ImportAnimations">1</Setting>
+            <Setting name="SeparateAnimations">1</Setting>
+        </Group>
+        <Group name="Collision">
+            <Setting name="CollisionMeshPrefix">Col</Setting>
+            <Setting name="GenCollisionType">CollisionMesh</Setting>
+            <Setting name="GenerateCollisions">1</Setting>
+            <Setting name="GenerateLOSCollisions">1</Setting>
+            <Setting name="GenLOSCollisionType">CollisionMesh</Setting>
+            <Setting name="LOSCollisionMeshPrefix">LOS</Setting>
+        </Group>
+        <Group name="General">
+            <Setting name="AddDirectoryPrefixToAssetName">0</Setting>
+            <Setting name="AutomaticallyPromptMissingFiles">0</Setting>
+            <Setting name="DuplicatAutoResolution">AutoPrune</Setting>
+            <Setting name="PreventImportWithErrors">1</Setting>
+            <Setting name="WarningsAsErrors">0</Setting>
+        </Group>
+        <Group name="Images">
+            <Setting name="AOTypeSuffixes">_AO,_AMBIENT,_AMBIENTOCCLUSION</Setting>
+            <Setting name="Compressed">1</Setting>
+            <Setting name="DiffuseTypeSuffixes">_ALBEDO,_DIFFUSE,_ALB,_DIF,_COLOR,_COL</Setting>
+            <Setting name="GenerateMaterialOnImport">1</Setting>
+            <Setting name="ImageType">N/A</Setting>
+            <Setting name="IsHDR">0</Setting>
+            <Setting name="MetalnessTypeSuffixes">_METAL,_MET,_METALNESS,_METALLIC</Setting>
+            <Setting name="NormalTypeSuffixes">_NORMAL,_NORM</Setting>
+            <Setting name="PBRTypeSuffixes">_COMP,_COMPOSITE,_PBR,-COMP,-COMPOSITE,-PBR,_ORM,-ORM</Setting>
+            <Setting name="RoughnessTypeSuffixes">_ROUGH,_ROUGHNESS</Setting>
+            <Setting name="Scaling">1.0</Setting>
+            <Setting name="SmoothnessTypeSuffixes">_SMOOTH,_SMOOTHNESS</Setting>
+            <Setting name="TextureFilteringMode">Bilinear</Setting>
+            <Setting name="UseMips">1</Setting>
+        </Group>
+        <Group name="Materials">
+            <Setting name="CreateComposites">1</Setting>
+            <Setting name="ImportMaterials">1</Setting>
+            <Setting name="PopulateMaterialMaps">1</Setting>
+            <Setting name="UseDiffuseSuffixOnOriginImage">1</Setting>
+            <Setting name="UseExistingMaterials">1</Setting>
+        </Group>
+        <Group name="Meshes">
+            <Setting name="AdjustCenter">0</Setting>
+            <Setting name="AdjustFloor">0</Setting>
+            <Setting name="calcTangentSpace">0</Setting>
+            <Setting name="CollapseSubmeshes">0</Setting>
+            <Setting name="convertLeftHanded">0</Setting>
+            <Setting name="DoScaleOverride">0</Setting>
+            <Setting name="DoUpAxisOverride">0</Setting>
+            <Setting name="findInstances">0</Setting>
+            <Setting name="flipUVCoords">0</Setting>
+            <Setting name="genUVCoords">0</Setting>
+            <Setting name="IgnoreNodeScale">0</Setting>
+            <Setting name="ImportMesh">1</Setting>
+            <Setting name="invertNormals">0</Setting>
+            <Setting name="JoinIdenticalVerts">0</Setting>
+            <Setting name="limitBoneWeights">0</Setting>
+            <Setting name="LODType">TrailingNumber</Setting>
+            <Setting name="removeRedundantMats">0</Setting>
+            <Setting name="reverseWindingOrder">0</Setting>
+            <Setting name="ScaleOverride">1</Setting>
+            <Setting name="TransformUVs">0</Setting>
+            <Setting name="UpAxisOverride">Z_AXIS</Setting>
+        </Group>
+        <Group name="Sounds">
+            <Setting name="Compressed">0</Setting>
+            <Setting name="PitchAdjust">1.0</Setting>
+            <Setting name="VolumeAdjust">1.0</Setting>
         </Group>
         </Group>
     </Group>
     </Group>
 </AssetImportSettings>
 </AssetImportSettings>

+ 6 - 1
Templates/BaseGame/game/tools/assetBrowser/scripts/assetImportConfig.tscript

@@ -35,6 +35,7 @@ function setupImportConfigSettingsList()
       ImportAssetConfigSettingsList.addNewConfigSetting("General/WarningsAsErrors", "Warnings As Errors", "bool", "", "0", "", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("General/WarningsAsErrors", "Warnings As Errors", "bool", "", "0", "", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("General/PreventImportWithErrors", "Prevent Import With Errors", "bool", "", "1", "", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("General/PreventImportWithErrors", "Prevent Import With Errors", "bool", "", "1", "", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("General/AutomaticallyPromptMissingFiles", "Automatically Prompt Missing Files", "bool", "", "0", "", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("General/AutomaticallyPromptMissingFiles", "Automatically Prompt Missing Files", "bool", "", "0", "", "");
+      ImportAssetConfigSettingsList.addNewConfigSetting("General/AddDirectoryPrefixToAssetName", "Adds the name of the folder to importing asset name", "bool", "", "0", "", "");
    
    
       ImportAssetConfigSettingsList.addNewConfigSetting("Meshes/ImportMesh", "Import Mesh", "bool", "", "1", "", "ToggleImportMesh");
       ImportAssetConfigSettingsList.addNewConfigSetting("Meshes/ImportMesh", "Import Mesh", "bool", "", "1", "", "ToggleImportMesh");
       ImportAssetConfigSettingsList.addNewConfigSetting("Meshes/AlwaysAddShapeSuffix", "Always Add Shape Suffix", "bool", "", "0", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("Meshes/AlwaysAddShapeSuffix", "Always Add Shape Suffix", "bool", "", "0", "");
@@ -117,6 +118,8 @@ function setupImportConfigSettingsList()
       ImportAssetConfigSettingsList.addNewConfigSetting("Sounds/VolumeAdjust", "Volume Adjustment", "float", "", "1.0", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("Sounds/VolumeAdjust", "Volume Adjustment", "float", "", "1.0", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("Sounds/PitchAdjust", "Pitch Adjustment", "float", "", "1.0", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("Sounds/PitchAdjust", "Pitch Adjustment", "float", "", "1.0", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("Sounds/Compressed", "Is Compressed", "bool", "", "0", "");
       ImportAssetConfigSettingsList.addNewConfigSetting("Sounds/Compressed", "Is Compressed", "bool", "", "0", "");
+      ImportAssetConfigSettingsList.addNewConfigSetting("Sounds/AlwaysAddSoundSuffix", "Always Add Sound Suffix", "bool", "", "1", "");
+      ImportAssetConfigSettingsList.addNewConfigSetting("Sounds/AddedSoundSuffix", "Added Sound Suffix", "string", "", "_sound", "");
    }
    }
 }
 }
 
 
@@ -272,7 +275,7 @@ function ImportAssetConfigEditorWindow::populateConfigList(%this, %configName)
    %this.populateConfigListByGroup("Animations");
    %this.populateConfigListByGroup("Animations");
    %this.populateConfigListByGroup("Images");
    %this.populateConfigListByGroup("Images");
    %this.populateConfigListByGroup("Collision");
    %this.populateConfigListByGroup("Collision");
-   %this.populateConfigListByGroup("Sound");
+   %this.populateConfigListByGroup("Sounds");
    
    
    ImportOptionsConfigList.update();
    ImportOptionsConfigList.update();
 }
 }
@@ -373,6 +376,8 @@ function ImportAssetConfigEditorWindow::addNewConfig(%this)
    AssetImportSettings.setValue("Sounds/VolumeAdjust", "1.0");
    AssetImportSettings.setValue("Sounds/VolumeAdjust", "1.0");
    AssetImportSettings.setValue("Sounds/PitchAdjust", "1.0");
    AssetImportSettings.setValue("Sounds/PitchAdjust", "1.0");
    AssetImportSettings.setValue("Sounds/Compressed", "0");
    AssetImportSettings.setValue("Sounds/Compressed", "0");
+   AssetImportSettings.setValue("Sounds/AlwaysAddSoundSuffix", "1");
+   AssetImportSettings.setValue("Sounds/AddedSoundSuffix", "_sound");
    
    
    AssetImportSettings.endGroup();
    AssetImportSettings.endGroup();
    
    

+ 2 - 2
Templates/BaseGame/game/tools/assetBrowser/scripts/assetImportConfigEditor.tscript

@@ -38,10 +38,10 @@ function AssetImportConfigList::onSelect( %this, %id, %text )
    %this.populateConfigListByGroup("General");
    %this.populateConfigListByGroup("General");
    %this.populateConfigListByGroup("Meshes");
    %this.populateConfigListByGroup("Meshes");
    %this.populateConfigListByGroup("Materials");
    %this.populateConfigListByGroup("Materials");
-   %this.populateConfigListByGroup("Animations");
    %this.populateConfigListByGroup("Images");
    %this.populateConfigListByGroup("Images");
+   %this.populateConfigListByGroup("Sounds");
+   %this.populateConfigListByGroup("Animations");
    %this.populateConfigListByGroup("Collision");
    %this.populateConfigListByGroup("Collision");
-   %this.populateConfigListByGroup("Sound");
    
    
    ImportOptionsConfigList.update();  
    ImportOptionsConfigList.update();  
 }
 }

BIN
Templates/BaseGame/game/tools/gui/images/stencilIcons/larger.png


+ 8 - 0
Templates/BaseGame/game/tools/gui/images/stencilIcons/larger_image.asset.taml

@@ -0,0 +1,8 @@
+<ImageAsset
+    canSave="true"
+    canSaveDynamicFields="true"
+    AssetName="larger_image"
+    imageFile="@assetFile=larger.png"
+    UseMips="true"
+    isHDRImage="false"
+    imageType="Albedo" />

BIN
Templates/BaseGame/game/tools/gui/images/stencilIcons/smaller.png


+ 8 - 0
Templates/BaseGame/game/tools/gui/images/stencilIcons/smaller_image.asset.taml

@@ -0,0 +1,8 @@
+<ImageAsset
+    canSave="true"
+    canSaveDynamicFields="true"
+    AssetName="smaller_image"
+    imageFile="@assetFile=smaller.png"
+    UseMips="true"
+    isHDRImage="false"
+    imageType="Albedo" />

+ 2 - 1
Templates/BaseGame/game/tools/gui/profiles.ed.tscript

@@ -163,7 +163,8 @@ new GuiControlProfile (ToolsGuiWindowProfile)
    opaque = false;
    opaque = false;
    border = 1;
    border = 1;
    fillColor = EditorSettings.value("Theme/tabsColor");
    fillColor = EditorSettings.value("Theme/tabsColor");
-   fillColorHL = EditorSettings.value("Theme/tabsColor");
+   fillColorHL = EditorSettings.value("Theme/tabsHLColor");
+   fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
    fillColorNA = EditorSettings.value("Theme/tabsColor");
    fillColorNA = EditorSettings.value("Theme/tabsColor");
    fontColor = EditorSettings.value("Theme/headerTextColor");
    fontColor = EditorSettings.value("Theme/headerTextColor");
    fontColorHL = EditorSettings.value("Theme/headerTextColor");
    fontColorHL = EditorSettings.value("Theme/headerTextColor");

+ 1 - 1
Templates/BaseGame/game/tools/materialEditor/gui/guiMaterialPropertiesWindow.ed.gui

@@ -113,7 +113,7 @@ $guiContent = new GuiControl(MaterialEditorGui,EditorGuiGroup) {
                   HorizSizing = "left";
                   HorizSizing = "left";
                   tooltip = "Swap material on the object with existing";
                   tooltip = "Swap material on the object with existing";
                   bitmapAsset = "ToolsModule:change_material_btn_n_image";
                   bitmapAsset = "ToolsModule:change_material_btn_n_image";
-                  command = "materialSelector.showDialog(\"MaterialEditorGui.showMaterialChangeSaveDialog\");"; 
+                  command = "MaterialEditorGui.swapMaterial();"; 
                };
                };
                
                
                new GuiTextEditCtrl(){ 
                new GuiTextEditCtrl(){ 

+ 58 - 11
Templates/BaseGame/game/tools/materialEditor/scripts/materialEditor.ed.tscript

@@ -465,6 +465,9 @@ function MaterialEditorGui::setActiveMaterial( %this, %material )
    MaterialEditorGui.lastMaterial = %material;
    MaterialEditorGui.lastMaterial = %material;
    
    
    // we create or recreate a material to hold in a pristine state
    // we create or recreate a material to hold in a pristine state
+   if(isObject(notDirtyMaterial))
+      notDirtyMaterial.delete();
+      
    singleton Material(notDirtyMaterial)
    singleton Material(notDirtyMaterial)
    {
    {
       mapTo = "matEd_mappedMat";
       mapTo = "matEd_mappedMat";
@@ -1949,8 +1952,8 @@ function MaterialEditorGui::showMaterialChangeSaveDialog( %this, %toMaterial )
    
    
    toolsMessageBoxYesNoCancel("Save Material?", 
    toolsMessageBoxYesNoCancel("Save Material?", 
       "The material " @ %fromMaterial.getName() @ " has unsaved changes. <br>Do you want to save before changing the material?", 
       "The material " @ %fromMaterial.getName() @ " has unsaved changes. <br>Do you want to save before changing the material?", 
-      "MaterialEditorGui.saveDialogSave(" @ %toMaterial @ "); MaterialEditorGui.changeMaterial(" @ %fromMaterial @ ", " @ %toMaterial @ ");", 
-      "MaterialEditorGui.saveDialogDontSave(" @ %toMaterial @ "); MaterialEditorGui.changeMaterial(" @ %fromMaterial @ ", " @ %toMaterial @ ");", 
+      "MaterialEditorGui.saveDialogSave(\"" @ %toMaterial @ "\"); MaterialEditorGui.changeMaterial(" @ %fromMaterial @ ", \"" @ %toMaterial @ "\");", 
+      "MaterialEditorGui.saveDialogDontSave(\"" @ %toMaterial @ "\"); MaterialEditorGui.changeMaterial(" @ %fromMaterial @ ", \"" @ %toMaterial @ "\");", 
       "MaterialEditorGui.saveDialogCancel();" );
       "MaterialEditorGui.saveDialogCancel();" );
 }
 }
 
 
@@ -1986,11 +1989,21 @@ function MaterialEditorGui::saveDialogDontSave( %this, %material )
    
    
    MaterialEditorGui.setMaterialNotDirty();
    MaterialEditorGui.setMaterialNotDirty();
    
    
+   if(AssetDatabase.isDeclaredAsset(%material))
+   {
+      %material = AssetDatabase.acquireAsset(%material).materialDefinitionName;
+   }
+   
    MaterialEditorGui.setActiveMaterial( %material );
    MaterialEditorGui.setActiveMaterial( %material );
 }
 }
 
 
 function MaterialEditorGui::saveDialogSave( %this, %material )
 function MaterialEditorGui::saveDialogSave( %this, %material )
 {
 {
+   if(AssetDatabase.isDeclaredAsset(%material))
+   {
+      %material = AssetDatabase.acquireAsset(%material).materialDefinitionName;
+   }
+      
    MaterialEditorGui.save();
    MaterialEditorGui.save();
    MaterialEditorGui.setActiveMaterial( %material );
    MaterialEditorGui.setActiveMaterial( %material );
 }
 }
@@ -2277,16 +2290,34 @@ function MaterialEditorGui::changeMaterial(%this, %fromMaterial, %toMaterial)
    %materialTarget = SubMaterialSelector.text;
    %materialTarget = SubMaterialSelector.text;
    %action.materialTarget = %materialTarget;   
    %action.materialTarget = %materialTarget;   
    
    
+   %toMaterialDefinition = %toMaterial;
+   
+   %isMatAsset = false;
+   if(AssetDatabase.isDeclaredAsset(%toMaterial))
+   {
+      %isMatAsset = true;
+      %assetDef = AssetDatabase.acquireAsset(%toMaterial);
+      %toMaterialDefinition = %assetDef.materialDefinitionName;
+      %filename = %assetDef.getScriptPath();
+   }
+   
    %action.fromMaterial = %fromMaterial;    
    %action.fromMaterial = %fromMaterial;    
    %action.toMaterial = %toMaterial;   
    %action.toMaterial = %toMaterial;   
-   %action.toMaterialOldFname = %toMaterial.getFilename();
+   %action.toMaterialOldFname = %toMaterialDefinition.getFilename();
    %action.object =  MaterialEditorGui.currentObject;
    %action.object =  MaterialEditorGui.currentObject;
 
 
    if( MaterialEditorGui.currentMeshMode $= "Model" ) // Models
    if( MaterialEditorGui.currentMeshMode $= "Model" ) // Models
    {
    {
       %action.mode = "model";      
       %action.mode = "model";      
       
       
-      MaterialEditorGui.currentObject.changeMaterial( %materialTarget, %fromMaterial.getName(), %toMaterial.getName() );
+      if(!%isMatAsset)
+      {
+         MaterialEditorGui.currentObject.changeMaterial( %materialTarget, %fromMaterial.getName(), %toMaterialDefinition.getName() );
+      }
+      else
+      {
+         eval("MaterialEditorGui.currentObject." @ %materialTarget @ " = " @ %toMaterial);
+      }
       
       
       if( MaterialEditorGui.currentObject.shapeName !$= "" ) 
       if( MaterialEditorGui.currentObject.shapeName !$= "" ) 
          %sourcePath = MaterialEditorGui.currentObject.shapeName;
          %sourcePath = MaterialEditorGui.currentObject.shapeName;
@@ -2296,6 +2327,8 @@ function MaterialEditorGui::changeMaterial(%this, %fromMaterial, %toMaterial)
             %sourcePath = MaterialEditorGui.currentObject.getDatablock().shapeFile;
             %sourcePath = MaterialEditorGui.currentObject.getDatablock().shapeFile;
       }
       }
       
       
+      if(!%isMatAsset)
+      {
       // Creating "to" path
       // Creating "to" path
       %k = 0;
       %k = 0;
       while( strpos( %sourcePath, "/", %k ) != -1 )
       while( strpos( %sourcePath, "/", %k ) != -1 )
@@ -2308,28 +2341,33 @@ function MaterialEditorGui::changeMaterial(%this, %fromMaterial, %toMaterial)
       
       
       %action.toMaterialNewFname = %fileName;
       %action.toMaterialNewFname = %fileName;
       
       
-      MaterialEditorGui.prepareActiveMaterial( %toMaterial, true );
-      if( !MaterialEditorGui.isMatEditorMaterial( %toMaterial ) )
+         MaterialEditorGui.prepareActiveMaterial( %toMaterialDefinition, true );
+         if( !MaterialEditorGui.isMatEditorMaterial( %toMaterialDefinition ) )
       {
       {
-         matEd_PersistMan.removeObjectFromFile(%toMaterial);
+            matEd_PersistMan.removeObjectFromFile(%toMaterialDefinition);
+         }
       }
       }
       
       
       matEd_PersistMan.setDirty(%fromMaterial);
       matEd_PersistMan.setDirty(%fromMaterial);
-      matEd_PersistMan.setDirty(%toMaterial, %fileName);
+      matEd_PersistMan.setDirty(%toMaterialDefinition, %fileName);
       matEd_PersistMan.saveDirty();
       matEd_PersistMan.saveDirty();
       
       
       matEd_PersistMan.removeDirty(%fromMaterial);
       matEd_PersistMan.removeDirty(%fromMaterial);
-      matEd_PersistMan.removeDirty(%toMaterial);
+      matEd_PersistMan.removeDirty(%toMaterialDefinition);
    }
    }
    else // EditorShapes
    else // EditorShapes
    {
    {
       %action.mode = "editorShapes";
       %action.mode = "editorShapes";
 
 
-      MaterialEditorGui.currentObject.setFieldValue(SubMaterialSelector.getText(), %toMaterial.getName());
+      if(!%isMatAsset)
+         MaterialEditorGui.currentObject.setFieldValue(SubMaterialSelector.getText(), %toMaterialDefinition.getName());
+      else
+         MaterialEditorGui.currentObject.setFieldValue(SubMaterialSelector.getText(), %toMaterial);
+         
       if( MaterialEditorGui.currentObject.isMethod("postApply") )
       if( MaterialEditorGui.currentObject.isMethod("postApply") )
          MaterialEditorGui.currentObject.postApply();
          MaterialEditorGui.currentObject.postApply();
       
       
-      MaterialEditorGui.prepareActiveMaterial( %toMaterial, true );
+      MaterialEditorGui.prepareActiveMaterial( %toMaterialDefinition, true );
    }
    }
    
    
    MaterialEditorGui.submitUndo( %action );
    MaterialEditorGui.submitUndo( %action );
@@ -2458,3 +2496,12 @@ function MaterialEditorGui::saveCompositeMap(%this)
     saveCompositeTexture(%aoMap,%roughMap,%metalMap,"",%channelKey, %saveAs);
     saveCompositeTexture(%aoMap,%roughMap,%metalMap,"",%channelKey, %saveAs);
     %dlg.delete();
     %dlg.delete();
 }
 }
+
+function MaterialEditorGui::swapMaterial(%this)
+{
+   AssetBrowser.showDialog("MaterialAsset", %this @ ".doSwapMaterial", "", "", "");
+}
+function MaterialEditorGui::doSwapMaterial(%this, %materialAsset)
+{
+   MaterialEditorGui.showMaterialChangeSaveDialog(%materialAsset);
+}

BIN
Templates/BaseGame/game/tools/missionAreaEditor/images/mission-area_h.png


BIN
Templates/BaseGame/game/tools/missionAreaEditor/images/mission-area_n.png


+ 1 - 1
Templates/BaseGame/game/tools/particleEditor/ParticleEditor.ed.gui

@@ -214,7 +214,7 @@ $guiContent = new GuiWindowCollapseCtrl(PE_Window) {
                      groupNum = "-1";
                      groupNum = "-1";
                      buttonType = "PushButton";
                      buttonType = "PushButton";
                      useMouseEvents = "0";
                      useMouseEvents = "0";
-                     bitmapAsset = "ToolsModule:new_image";
+                     bitmapAsset = "ToolsModule:new_n_image";
                      tooltip = "Create New Emitter";
                      tooltip = "Create New Emitter";
                   };
                   };
                   new GuiBitmapButtonCtrl() {
                   new GuiBitmapButtonCtrl() {

+ 8 - 2
Templates/BaseGame/game/tools/worldEditor/scripts/EditorGui.ed.tscript

@@ -1883,10 +1883,16 @@ function EditorTree::GetTooltipGroundCover( %this, %obj )
 // Tooltip for SFXEmitter
 // Tooltip for SFXEmitter
 function EditorTree::GetTooltipSFXEmitter( %this, %obj )
 function EditorTree::GetTooltipSFXEmitter( %this, %obj )
 {
 {
+   %soundName = %obj.soundAsset;
+   if(%soundName $= "")
+   {
    if(%obj.fileName $= "")
    if(%obj.fileName $= "")
-      return "Track: " @ %obj.track;
+         %soundName = "Track: " @ %obj.track;
    else
    else
-      return "File: " @ %obj.fileName;
+         %soundName = "File: " @ %obj.fileName;
+   }
+
+   return "Sound: " @ %soundName;
 }
 }
 
 
 // Tooltip for ParticleEmitterNode
 // Tooltip for ParticleEmitterNode

+ 1 - 1
Templates/BaseGame/game/tools/worldEditor/scripts/menus.ed.tscript

@@ -354,7 +354,7 @@ function EditorGui::buildMenus(%this)
 
 
       barTitle = "Tools";
       barTitle = "Tools";
          
          
-      item[0] = "Network Graph" TAB "n" TAB "toggleNetGraph();";
+      item[0] = "Network Graph" TAB "ctrl n" TAB "toggleNetGraph();";
       item[1] = "Profiler" TAB "ctrl F2" TAB "showMetrics(true);";
       item[1] = "Profiler" TAB "ctrl F2" TAB "showMetrics(true);";
 	  item[2] = "Torque SimView" TAB "" TAB "tree();";
 	  item[2] = "Torque SimView" TAB "" TAB "tree();";
       item[3] = "Make Selected a Mesh" TAB "" TAB "AssetBrowser.setupCreateNewAsset(\"ShapeAsset\", AssetBrowser.selectedModule, \"makeSelectedAMesh\");";
       item[3] = "Make Selected a Mesh" TAB "" TAB "AssetBrowser.setupCreateNewAsset(\"ShapeAsset\", AssetBrowser.selectedModule, \"makeSelectedAMesh\");";