GFX card profile config file logging moved to debug only

WIP mode of guiSliderCtrl to be a filled rectangle instead of a textured UI
Fixed bug with guiTextEditCtrl losing focus updating history passing malformed strings
Updated WIP options menu
Editor/Project settings WIP
Updated editor theme to be consistent, and feed off the editor settings
Updated popup menus to reference renamed profiles
Added more in-progress modules for examples/stress testing
This commit is contained in:
Areloch 2019-06-17 02:30:45 -05:00
parent 226529fd1b
commit f1777016b8
179 changed files with 10144 additions and 415 deletions

View file

@ -0,0 +1,5 @@
$RPGDialogEditorPref::ActionPath = "art/dialogs/dla/";
$RPGDialogEditorPref::QuestionPath = "art/dialogs/dlq/";
$RPGDialogEditorPref::PortraitsPath = "art/dialogs/portraits/";
$RPGDialogEditorPref::mainMod="art";
$RPGDialogEditorPref::MaxOptions = 100;

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,57 @@
//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------
function initRPGDialogEditor()
{
exec("~/scripts/RPGDialogEditor/ui/MainEditorScreenGui.gui");
exec("~/scripts/RPGDialogEditor/ui/EditQuestionGui.gui");
exec("~/scripts/RPGDialogEditor/ui/EditAnswerGui.gui");
exec("~/scripts/RPGDialogEditor/ui/NewScriptPopup.gui");
exec("~/scripts/RPGDialogEditor/ui/SetPathsPopup.gui");
exec("~/scripts/RPGDialogEditor/ui/EditorOpeningGui.gui");
exec("~/scripts/RPGDialogEditor/defaults.cs");
exec("~/scripts/RPGDialogEditor/prefs.cs");
exec("~/scripts/RPGDialogEditor/editorMain.cs");
PopulateActionList();
PopulateQuestionOptionsList();
GlobalActionMap.bind(keyboard, "f5", toggleRPGDialogEditor);
}
function openRPGDialogEditor()
{
$GuiBeforeRPGDialogEditor=Canvas.getContent();
if(TextScript.getvalue()$="Current Q. Script:")
Canvas.setContent(EditorOpeningGui);
else
Canvas.setContent(MainEditorScreenGui);
Canvas.setCursor("DefaultCursor");
}
function closeRPGDialogEditor()
{
Canvas.setContent($GuiBeforeRPGDialogEditor);
Canvas.setCursor("DefaultCursor");
}
function toggleRPGDialogEditor(%val)
{
if (%val)
{
if (Canvas.getContent() == MainEditorScreenGui.getId() ||
Canvas.getContent() == EditQuestionGui.getId() ||
Canvas.getContent() == EditAnswerGui.getId() ||
Canvas.getContent() == EditorOpeningGui.getId())
closeRPGDialogEditor();
else
openRPGDialogEditor();
}
}

View file

@ -0,0 +1,68 @@
//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------
function initEditor()
{
exec("~/scripts/RPGDialogEditor/ui/MainEditorScreenGui.gui");
exec("~/scripts/RPGDialogEditor/ui/EditQuestionGui.gui");
exec("~/scripts/RPGDialogEditor/ui/EditAnswerGui.gui");
exec("~/scripts/RPGDialogEditor/ui/NewScriptPopup.gui");
exec("~/scripts/RPGDialogEditor/ui/SetPathsPopup.gui");
exec("~/scripts/RPGDialogEditor/ui/EditorOpeningGui.gui");
exec("~/scripts/RPGDialogEditor/defaults.cs");
exec("~/scripts/RPGDialogEditor/prefs.cs");
exec("~/scripts/RPGDialogEditor/editorMain.cs");
}
function startEditor()
{
// The client mod has already set it's own content, but we'll
// just load something new.
Canvas.setContent(EditorOpeningGui);
Canvas.setCursor("DefaultCursor");
PopulateActionList();
PopulateQuestionOptionsList();
}
//-----------------------------------------------------------------------------
// Package overrides to initialize the mod.
// This module currently loads on top of the client mod, but it probably
// doesn't need to. Should look into having disabling the client and
// doing our own canvas init.
package RPGDialogEditor {
function onStart()
{
Parent::onStart();
echo("\n--------- Initializing MOD: RPGDialogEditor ---------");
if (!isObject(Canvas)) {
// If the parent onStart didn't open a canvas, then we're
// probably not running as a mod. We'll have to do the work
// ourselves.
initCanvas("RPGDialog Editor");
}
initEditor();
startEditor();
}
function onExit()
{
echo("Exporting RPGDialog editor prefs");
export("$RPGDialogEditorPref::*", "~/prefs.cs", False);
if(isEventPending($RPGDialog::RefreshSchedule))
cancel($RPGDialog::RefreshSchedule);
Parent::onExit();
}
}; // package end.
activatePackage(RPGDialogEditor);

View file

@ -0,0 +1,5 @@
$RPGDialogEditorPref::ActionPath = "art/dialogs/dla/";
$RPGDialogEditorPref::mainMod = "art";
$RPGDialogEditorPref::MaxOptions = 100;
$RPGDialogEditorPref::PortraitsPath = "art/dialogs/portraits/";
$RPGDialogEditorPref::QuestionPath = "art/dialogs/dlq/";

View file

@ -0,0 +1,131 @@
new GuiChunkedBitmapCtrl(EditAnswerGui) {
profile = "GuiContentProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
helpTag = "0";
bitmap = "./background";
useVariable = "0";
tile = "0";
new GuiScrollCtrl(AnswerEditScroll) {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "40 50";
extent = "480 500";
minExtent = "8 2";
visible = "1";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "dynamic";
constantThumbHeight = "0";
childMargin = "2 2";
new GuiMLTextEditCtrl(AnswerEdit) {
profile = "GuiMLTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 2";
extent = "450 500";
minExtent = "8 2";
visible = "1";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "1";
maxChars = "-1";
};
};
new GuiTextEditCtrl(ActionEdit) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "40 20";
extent = "711 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
};
new GuiButtonCtrl(AnswerEditConfirmButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "523 530";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "OK";
groupNum = "-1";
buttonType = "PushButton";
command = "confirmAnswerEdit();";
};
new GuiButtonCtrl(AnswerEditCancelButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "598 530";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Cancel";
groupNum = "-1";
buttonType = "PushButton";
command = "Canvas.setContent(MainEditorScreenGui);";
};
new GuiButtonCtrl(AnswerEditDeleteButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "673 530";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Delete";
groupNum = "-1";
buttonType = "PushButton";
command = "MessageBoxYesNo( \"Delete Answer\", \"Do you really want to delete this answer?\", \"deleteAnswer(\"@$RPGDialog::EditAnswerNumber@\");\", \"\");";
};
new GuiScrollCtrl(ActionListScroll) {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "521 50";
extent = "230 476";
minExtent = "8 2";
visible = "1";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "dynamic";
vScrollBar = "dynamic";
constantThumbHeight = "0";
childMargin = "2 2";
new GuiTextListCtrl(ActionList) {
profile = "GuiTextListProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "196 401";
minExtent = "8 2";
visible = "1";
helpTag = "0";
enumerate = "0";
resizeCell = "1";
columns = "0";
fitParentWidth = "0";
clipColumnText = "0";
};
};
};

View file

@ -0,0 +1,161 @@
new GuiChunkedBitmapCtrl(EditQuestionGui) {
profile = "GuiContentProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
helpTag = "0";
bitmap = "./background";
useVariable = "0";
tile = "0";
new GuiScrollCtrl(QuestionEditScroll) {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "40 50";
extent = "480 500";
minExtent = "8 2";
visible = "1";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "dynamic";
constantThumbHeight = "0";
childMargin = "2 2";
new GuiMLTextEditCtrl(QuestionEdit) {
profile = "GuiMLTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 2";
extent = "450 500";
minExtent = "8 2";
visible = "1";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "1";
maxChars = "-1";
};
};
new GuiButtonCtrl(QuestionEditConfirmButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "523 530";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "OK";
groupNum = "-1";
buttonType = "PushButton";
command = "confirmQuestionEdit();";
};
new GuiButtonCtrl(QuestionEditCancelButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "598 530";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Cancel";
groupNum = "-1";
buttonType = "PushButton";
command = "cancelQuestionEdit();";
};
new GuiButtonCtrl(QuestionEditClearButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "673 530";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Clear";
groupNum = "-1";
buttonType = "PushButton";
command = "QuestionEdit.settext(\"\");QuestionEditSound.setValue(\"\");";
};
new GuiScrollCtrl(QuestionOptionsScroll) {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "521 83";
extent = "230 443";
minExtent = "8 2";
visible = "1";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "dynamic";
vScrollBar = "dynamic";
constantThumbHeight = "0";
childMargin = "2 2";
new GuiTextListCtrl(QuestionOptionsList) {
profile = "GuiTextListProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "196 401";
minExtent = "8 2";
visible = "1";
helpTag = "0";
enumerate = "0";
resizeCell = "1";
columns = "0";
fitParentWidth = "0";
clipColumnText = "0";
};
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "524 46";
extent = "50 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Sound Profile:";
maxLength = "255";
};
new GuiPopUpMenuCtrl(QuestionEditSound) {
profile = "GuiPopUpMenuProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "521 62";
extent = "135 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
maxPopupHeight = "500";
};
new GuiButtonCtrl(QuestionEditRemoveSound) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "660 62";
extent = "90 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Remove Sound";
groupNum = "-1";
buttonType = "PushButton";
command = "QuestionEditSound.setValue(\"\");";
};
};

View file

@ -0,0 +1,108 @@
//--- OBJECT WRITE BEGIN ---
new GuiChunkedBitmapCtrl(EditorOpeningGui) {
profile = "GuiContentProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
bitmap = "./background";
useVariable = "0";
tile = "0";
helpTag = "0";
new GuiBitmapCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "center";
vertSizing = "bottom";
position = "78 10";
extent = "484 160";
minExtent = "8 2";
visible = "1";
bitmap = "./title";
wrap = "0";
helpTag = "0";
};
new GuiBitmapCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "center";
vertSizing = "center";
position = "248 147";
extent = "143 186";
minExtent = "8 2";
visible = "1";
bitmap = "./box";
wrap = "0";
helpTag = "0";
new GuiButtonCtrl(NewScriptButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "36 47";
extent = "73 18";
minExtent = "8 2";
visible = "1";
command = "initNewScript();";
text = "New Script";
groupNum = "-1";
buttonType = "PushButton";
helpTag = "0";
};
new GuiButtonCtrl(LoadScriptButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "36 66";
extent = "73 18";
minExtent = "8 2";
visible = "1";
command = "getLoadFilename(\"*.dlq\", LoadScript);";
text = "Load Script...";
groupNum = "-1";
buttonType = "PushButton";
helpTag = "0";
};
new GuiButtonCtrl(SetPathsButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "36 85";
extent = "73 18";
minExtent = "8 2";
visible = "1";
command = "initSetPaths();";
text = "Set Paths...";
groupNum = "-1";
buttonType = "PushButton";
helpTag = "0";
};
new GuiButtonCtrl(QuitButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "36 117";
extent = "73 18";
minExtent = "8 2";
visible = "1";
command = "MessageBoxYesNo( \"Quit Editor\", \"Do you really want to quit the editor?\", \"if($GuiBeforeRPGDialogEditor==0)quit();else closeRPGDialogEditor();\", \"\");";
text = "Quit";
groupNum = "-1";
buttonType = "PushButton";
helpTag = "0";
};
new GuiTextCtrl(Version) {
profile = "GuiTextProfile";
horizSizing = "center";
vertSizing = "bottom";
position = "58 18";
extent = "26 18";
minExtent = "8 2";
visible = "1";
text = "V.1.3";
maxLength = "255";
};
};
};
//--- OBJECT WRITE END ---

View file

@ -0,0 +1,265 @@
//--- OBJECT WRITE BEGIN ---
new GuiChunkedBitmapCtrl(MainEditorScreenGui) {
profile = "GuiContentProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
helpTag = "0";
bitmap = "./background";
useVariable = "0";
tile = "0";
new GuiTextCtrl(TextScript) {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "162 21";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Current Q. Script:";
maxLength = "255";
};
new GuiTextCtrl(TextScript2) {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "162 33";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Current A. Script:";
maxLength = "255";
};
new GuiTextCtrl(TextQuestionNumber) {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "162 208";
extent = "46 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Question: 0/0";
maxLength = "255";
};
new GuiButtonCtrl(NewScriptButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "85 52";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "New Script";
groupNum = "-1";
buttonType = "PushButton";
command = "initNewScript();";
};
new GuiButtonCtrl(LoadScriptButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "85 71";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Load Script...";
groupNum = "-1";
buttonType = "PushButton";
command = "getLoadFilename(\"*.dlq\", LoadScript);";
};
new GuiButtonCtrl(NextQuestionButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "610 212";
extent = "29 16";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Next";
groupNum = "-1";
buttonType = "PushButton";
command = "NextQuestion();";
};
new GuiButtonCtrl(PreviousQuestionButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "579 212";
extent = "29 16";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Prev.";
groupNum = "-1";
buttonType = "PushButton";
command = "PreviousQuestion();";
};
new GuiScrollCtrl(QuestionScroll) {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "160 50";
extent = "480 160";
minExtent = "8 2";
visible = "1";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "dynamic";
constantThumbHeight = "0";
childMargin = "4 2";
new GuiMLTextCtrl(QuestionText) {
profile = "GuiMLTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 2";
extent = "478 116";
minExtent = "8 2";
visible = "1";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "1";
maxChars = "-1";
};
};
new GuiScrollCtrl(OptionsScroll) {
profile = "GuiScrollProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "10 250";
extent = "780 300";
minExtent = "8 2";
visible = "1";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
childMargin = "2 2";
new GuiControl(OptionsControl) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 2";
extent = "770 290";
minExtent = "8 2";
visible = "1";
helpTag = "0";
};
};
new GuiButtonCtrl(editQuestionButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "642 123";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Edit Question";
groupNum = "-1";
buttonType = "PushButton";
command = "EditQuestion();";
};
new GuiButtonCtrl(newQuestionButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "642 51";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "New Question";
groupNum = "-1";
buttonType = "PushButton";
command = "newQuestion();";
};
new GuiButtonCtrl(newAnswerButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "715 230";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "New Answer";
groupNum = "-1";
buttonType = "PushButton";
command = "newAnswer();";
};
new GuiButtonCtrl(DeleteQuestionButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "642 76";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Del. Question";
groupNum = "-1";
buttonType = "PushButton";
command = "if($RPGDialog::Questions>0) MessageBoxYesNo( \"Delete Question\", \"Do you really want to delete this question?\", \"deleteQuestion();\", \"\");";
};
new GuiButtonCtrl(QuitButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "85 192";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Quit";
groupNum = "-1";
buttonType = "PushButton";
command = "MessageBoxYesNo( \"Quit Editor\", \"Do you really want to quit the editor?\", \"if($GuiBeforeRPGDialogEditor==0)quit();else closeRPGDialogEditor();\", \"\");";
};
new GuiButtonCtrl(SaveScriptButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "85 103";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Save Script";
groupNum = "-1";
buttonType = "PushButton";
command = "SaveScript();";
};
new GuiButtonCtrl(SaveScriptAsButton) {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "85 122";
extent = "73 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Save As...";
groupNum = "-1";
buttonType = "PushButton";
command = "InitSaveAsPhase1();";
};
};
//--- OBJECT WRITE END ---

View file

@ -0,0 +1,115 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(NewScriptPopup) {
profile = "GuiDefaultProfile";
horizSizing = "center";
vertSizing = "center";
position = "0 0";
extent = "640 480";
minExtent = "8 2";
visible = "1";
helpTag = "0";
new GuiWindowCtrl() {
profile = "GuiWindowProfile";
horizSizing = "center";
vertSizing = "center";
position = "220 146";
extent = "200 188";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "New Dialog Script";
maxLength = "255";
resizeWidth = "1";
resizeHeight = "1";
canMove = "0";
canClose = "0";
canMinimize = "0";
canMaximize = "0";
minSize = "50 50";
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 28";
extent = "50 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Question Script:";
maxLength = "255";
};
new GuiTextEditCtrl(NewScriptQuestion) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 44";
extent = "160 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 68";
extent = "30 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Action Script:";
maxLength = "255";
};
new GuiTextEditCtrl(NewScriptAction) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 84";
extent = "160 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiButtonCtrl() {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "56 156";
extent = "40 16";
minExtent = "8 2";
visible = "1";
command = "NewScript();";
helpTag = "0";
text = "Create";
groupNum = "-1";
buttonType = "PushButton";
};
new GuiButtonCtrl() {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "104 156";
extent = "40 16";
minExtent = "8 2";
visible = "1";
command = "Canvas.popDialog(NewScriptPopup);";
helpTag = "0";
text = "Cancel";
groupNum = "-1";
buttonType = "PushButton";
};
};
};
//--- OBJECT WRITE END ---

View file

@ -0,0 +1,169 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(SetPathsPopup) {
profile = "GuiDefaultProfile";
horizSizing = "center";
vertSizing = "center";
position = "0 0";
extent = "640 480";
minExtent = "8 2";
visible = "1";
helpTag = "0";
new GuiWindowCtrl() {
profile = "GuiWindowProfile";
horizSizing = "center";
vertSizing = "center";
position = "220 146";
extent = "200 228";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Paths";
maxLength = "255";
resizeWidth = "1";
resizeHeight = "1";
canMove = "0";
canClose = "0";
canMinimize = "0";
canMaximize = "0";
minSize = "50 50";
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 24";
extent = "67 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Main Mod Folder:";
maxLength = "255";
};
new GuiTextEditCtrl(MainMod) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 40";
extent = "160 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 64";
extent = "101 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Question Script Path:";
maxLength = "255";
};
new GuiTextEditCtrl(QuestionScriptPath) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 80";
extent = "160 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiTextCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 104";
extent = "89 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Action Script Path:";
maxLength = "255";
};
new GuiTextEditCtrl(ActionScriptPath) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 120";
extent = "160 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 144";
extent = "67 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
text = "Portraits Path:";
maxLength = "255";
};
new GuiTextEditCtrl(PortraitsPath) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 160";
extent = "160 18";
minExtent = "8 2";
visible = "1";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiButtonCtrl() {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "56 192";
extent = "40 16";
minExtent = "8 2";
visible = "1";
command = "SetPaths();";
helpTag = "0";
text = "Set";
groupNum = "-1";
buttonType = "PushButton";
};
new GuiButtonCtrl() {
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "104 192";
extent = "40 16";
minExtent = "8 2";
visible = "1";
command = "Canvas.popDialog(SetPathsPopup);";
helpTag = "0";
text = "Cancel";
groupNum = "-1";
buttonType = "PushButton";
};
};
};
//--- OBJECT WRITE END ---

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB