621 lines
20 KiB
Plaintext
621 lines
20 KiB
Plaintext
//--- OBJECT WRITE BEGIN ---
|
|
new GuiControl(WorldEditorSettingsDlg) {
|
|
profile = "GuiModelessDialogProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
|
|
new GuiWindowCtrl() {
|
|
profile = "GuiWindowProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
position = "90 55";
|
|
extent = "459 370";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "WorldEditor Settings";
|
|
maxLength = "255";
|
|
resizeWidth = "0";
|
|
resizeHeight = "0";
|
|
canMove = "1";
|
|
canClose = "0";
|
|
canMinimize = "0";
|
|
canMaximize = "0";
|
|
minSize = "50 50";
|
|
closeCommand = "Canvas.popDialog(WorldEditorSettingsDlg);";
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "307 332";
|
|
extent = "80 20";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
command = "Canvas.popDialog(WorldEditorSettingsDlg);";
|
|
helpTag = "0";
|
|
text = "OK";
|
|
groupNum = "-1";
|
|
buttonType = "PushButton";
|
|
};
|
|
new GuiControl(WESettingsGeneralTab) {
|
|
profile = "GuiWindowProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "231 27";
|
|
extent = "220 210";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 10";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.planarMovement";
|
|
command = "EWorldEditor.planarMovement = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Planar Movement";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 36";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.boundingBoxCollision";
|
|
command = "EWorldEditor.boundingBoxCollision = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Collide With Object\'s Bounding Box";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 88";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.axisGizmoActive";
|
|
command = "EWorldEditor.axisGizmoActive = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Axis Gizmo Active";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 62";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.objectsUseBoxCenter";
|
|
command = "EWorldEditor.objectsUseBoxCenter = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Objects Use Box Center";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "13 123";
|
|
extent = "83 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Min Scale Factor:";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "13 146";
|
|
extent = "83 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Min Scale Factor:";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "104 123";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.minScaleFactor";
|
|
command = "EWorldEditor.minScaleFactor = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "104 146";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.maxScaleFactor";
|
|
command = "EWorldEditor.maxScaleFactor = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "13 178";
|
|
extent = "80 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Visible Distance:";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "104 178";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "pref::Editor::visibleDistance";
|
|
command = "$pref::Editor::visibleDistance = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
};
|
|
new GuiControl(WESettingsDisplayTab) {
|
|
profile = "GuiWindowProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "7 27";
|
|
extent = "220 210";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 10";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.renderPlane";
|
|
command = "EWorldEditor.renderPlane = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Render Plane";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 37";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.renderPlaneHashes";
|
|
command = "EWorldEditor.renderPlaneHashes = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Render Plane Hashes";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 64";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.renderObjText";
|
|
command = "EWorldEditor.renderObjText = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Render Object Text";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 119";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.renderSelectionBox";
|
|
command = "EWorldEditor.renderSelectionBox = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Render Selection Box";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "93 151";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.planeDim";
|
|
command = "EWorldEditor.planeDim = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "18 151";
|
|
extent = "59 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Plane Extent";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "18 175";
|
|
extent = "44 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Grid Size";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "93 175";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.gridSize";
|
|
command = "EWorldEditor.gridSize = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 90";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.renderObjHandle";
|
|
command = "EWorldEditor.renderObjHandle = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Render Object Handle";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
};
|
|
new GuiControl(WESettingsSnapTab) {
|
|
profile = "GuiContentProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "6 52";
|
|
extent = "220 210";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
helpTag = "0";
|
|
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "22 39";
|
|
extent = "44 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Grid Size";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "97 39";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.gridSize";
|
|
command = "EWorldEditor.gridSize = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 10";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.snapToGrid";
|
|
command = "EWorldEditor.snapToGrid = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Snap To Grid";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "12 66";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.snapRotations";
|
|
command = "EWorldEditor.snapRotations = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Snap Rotations";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "22 95";
|
|
extent = "56 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Snap Angle";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "97 95";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.rotationSnap";
|
|
command = "EWorldEditor.rotationSnap = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
};
|
|
new GuiControl(WESettingsMouseTab) {
|
|
profile = "GuiWindowProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "7 241";
|
|
extent = "220 121";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
|
|
new GuiCheckBoxCtrl() {
|
|
profile = "GuiCheckBoxProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "10 10";
|
|
extent = "200 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.showMousePopupInfo";
|
|
command = "EWorldEditor.showMousePopupInfo = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
text = "Show Mouse Popup Info";
|
|
groupNum = "-1";
|
|
buttonType = "ToggleButton";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "101 35";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.mouseMoveScale";
|
|
command = "EWorldEditor.mouseMoveScale = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "101 60";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.mouseRotateScale";
|
|
command = "EWorldEditor.mouseRotateScale = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "101 85";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.mouseScaleScale";
|
|
command = "EWorldEditor.mouseScaleScale = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "12 60";
|
|
extent = "61 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Rotate Scale";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "12 85";
|
|
extent = "57 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Scale Scale";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "12 35";
|
|
extent = "56 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Move Scale";
|
|
maxLength = "255";
|
|
};
|
|
};
|
|
new GuiControl(WESettingsMiscTab) {
|
|
profile = "GuiWindowProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "231 241";
|
|
extent = "220 64";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "9 35";
|
|
extent = "78 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Project Distance";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "9 9";
|
|
extent = "89 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
text = "Gizmo Screen Len";
|
|
maxLength = "255";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "101 35";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.projectDistance";
|
|
command = "EWorldEditor.projectDistance = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
new GuiTextEditCtrl() {
|
|
profile = "GuiTextEditProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "101 9";
|
|
extent = "107 18";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
variable = "EWorldEditor.axisGizmoMaxScreenLen";
|
|
command = "EWorldEditor.axisGizmoMaxScreenLen = $ThisControl.getValue();";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
historySize = "0";
|
|
password = "0";
|
|
tabComplete = "0";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|
|
|