Fixed faces and t-shirts
This commit is contained in:
parent
1f3fa96353
commit
664b1359ba
|
|
@ -62,7 +62,7 @@ public class IconLoader
|
||||||
|
|
||||||
if (CopyToItemDir)
|
if (CopyToItemDir)
|
||||||
{
|
{
|
||||||
ItemPath = openFileDialog1.FileName;
|
ItemPath = ItemDir + "\\" + ItemNameFixed + ".png";
|
||||||
}
|
}
|
||||||
|
|
||||||
installOutcome = "Icon " + openFileDialog1.SafeFileName + " installed!";
|
installOutcome = "Icon " + openFileDialog1.SafeFileName + " installed!";
|
||||||
|
|
|
||||||
|
|
@ -84,10 +84,10 @@ public class GlobalPaths
|
||||||
public static readonly string hatdirTextures = hatdir + DirTextures;
|
public static readonly string hatdirTextures = hatdir + DirTextures;
|
||||||
public static readonly string hatdirSounds = hatdir + DirSounds;
|
public static readonly string hatdirSounds = hatdir + DirSounds;
|
||||||
public static readonly string hatdirScripts = hatdir + DirScripts;
|
public static readonly string hatdirScripts = hatdir + DirScripts;
|
||||||
public static readonly string facedirTextures = facedir + DirTextures;
|
public static readonly string facedirTextures = facedir; //+ DirTextures;
|
||||||
public static readonly string headdirFonts = headdir + DirFonts;
|
public static readonly string headdirFonts = headdir + DirFonts;
|
||||||
public static readonly string headdirTextures = headdir + DirTextures;
|
public static readonly string headdirTextures = headdir + DirTextures;
|
||||||
public static readonly string tshirtdirTextures = tshirtdir + DirTextures;
|
public static readonly string tshirtdirTextures = tshirtdir; //+ DirTextures;
|
||||||
public static readonly string shirtdirTextures = shirtdir + DirTextures;
|
public static readonly string shirtdirTextures = shirtdir + DirTextures;
|
||||||
public static readonly string pantsdirTextures = pantsdir + DirTextures;
|
public static readonly string pantsdirTextures = pantsdir + DirTextures;
|
||||||
|
|
||||||
|
|
@ -95,10 +95,10 @@ public class GlobalPaths
|
||||||
public static readonly string hatGameDirTextures = hatGameDir + TexturesGameDir;
|
public static readonly string hatGameDirTextures = hatGameDir + TexturesGameDir;
|
||||||
public static readonly string hatGameDirSounds = hatGameDir + SoundsGameDir;
|
public static readonly string hatGameDirSounds = hatGameDir + SoundsGameDir;
|
||||||
public static readonly string hatGameDirScripts = hatGameDir + ScriptsGameDir;
|
public static readonly string hatGameDirScripts = hatGameDir + ScriptsGameDir;
|
||||||
public static readonly string faceGameDirTextures = faceGameDir + TexturesGameDir;
|
public static readonly string faceGameDirTextures = faceGameDir; //+ TexturesGameDir;
|
||||||
public static readonly string headGameDirFonts = headGameDir + FontsGameDir;
|
public static readonly string headGameDirFonts = headGameDir + FontsGameDir;
|
||||||
public static readonly string headGameDirTextures = headGameDir + TexturesGameDir;
|
public static readonly string headGameDirTextures = headGameDir + TexturesGameDir;
|
||||||
public static readonly string tshirtGameDirTextures = tshirtGameDir + TexturesGameDir;
|
public static readonly string tshirtGameDirTextures = tshirtGameDir; //+ TexturesGameDir;
|
||||||
public static readonly string shirtGameDirTextures = shirtGameDir + TexturesGameDir;
|
public static readonly string shirtGameDirTextures = shirtGameDir + TexturesGameDir;
|
||||||
public static readonly string pantsGameDirTextures = pantsGameDir + TexturesGameDir;
|
public static readonly string pantsGameDirTextures = pantsGameDir + TexturesGameDir;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
||||||
|
|
@ -1012,10 +1012,10 @@ class SDKFuncs
|
||||||
SetItemCoordVals(doc, RobloxDefs.ItemHeadFonts, coordoptions[0], coordoptions[1], coordoptions[2], "Vector3", "Scale");
|
SetItemCoordVals(doc, RobloxDefs.ItemHeadFonts, coordoptions[0], coordoptions[1], coordoptions[2], "Vector3", "Scale");
|
||||||
break;
|
break;
|
||||||
case RobloxFileType.Face:
|
case RobloxFileType.Face:
|
||||||
SetItemFontVals(doc, RobloxDefs.ItemFaceTexture, 0, 0, 0, assetfilenames[0], assetfilenames[2]);
|
SetItemFontVals(doc, RobloxDefs.ItemFaceTexture, 0, 0, 0, "", assetfilenames[2]);
|
||||||
break;
|
break;
|
||||||
case RobloxFileType.TShirt:
|
case RobloxFileType.TShirt:
|
||||||
SetItemFontVals(doc, RobloxDefs.ItemTShirtTexture, 0, 0, 0, assetfilenames[0], assetfilenames[2]);
|
SetItemFontVals(doc, RobloxDefs.ItemTShirtTexture, 0, 0, 0, "", assetfilenames[2]);
|
||||||
break;
|
break;
|
||||||
case RobloxFileType.Shirt:
|
case RobloxFileType.Shirt:
|
||||||
SetItemFontVals(doc, RobloxDefs.ItemShirtTexture, 0, 0, 0, assetfilenames[0], assetfilenames[2]);
|
SetItemFontVals(doc, RobloxDefs.ItemShirtTexture, 0, 0, 0, assetfilenames[0], assetfilenames[2]);
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,9 @@ public partial class ItemCreationSDK : Form
|
||||||
if (type == RobloxFileType.TShirt || type == RobloxFileType.Face)
|
if (type == RobloxFileType.TShirt || type == RobloxFileType.Face)
|
||||||
{
|
{
|
||||||
Option1Path = icon.ItemPath;
|
Option1Path = icon.ItemPath;
|
||||||
|
if (Option1TextBox.ReadOnly) Option1TextBox.ReadOnly = false;
|
||||||
Option1TextBox.Text = Path.GetFileName(Option1Path);
|
Option1TextBox.Text = Path.GetFileName(Option1Path);
|
||||||
|
if (!Option1TextBox.ReadOnly) Option1TextBox.ReadOnly = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue