mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Removed GuiFlexibleArrayControl.
This commit is contained in:
parent
2ed175b52c
commit
add9f990f7
4 changed files with 268 additions and 513 deletions
|
|
@ -199,10 +199,8 @@
|
|||
Extent = "86 18";
|
||||
text = "Actions";
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "SelectActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -216,40 +214,47 @@
|
|||
text = "Build NavMesh";
|
||||
command = "NavEditorGui.buildSelectedMeshes();";
|
||||
};
|
||||
new GuiCheckboxCtrl() {
|
||||
internalName = "BackgroundBuildButton";
|
||||
text = "Background";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
extent = "75 20";
|
||||
minExtent = "8 2";
|
||||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "$Nav::Editor::backgroundBuild";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckboxCtrl() {
|
||||
internalName = "SaveIntermediatesButton";
|
||||
text = "Keep intermediates";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
extent = "105 20";
|
||||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "$Nav::Editor::saveIntermediates";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
new GuiControl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
Extent = "182 20";
|
||||
position = "0 20";
|
||||
|
||||
new GuiCheckboxCtrl() {
|
||||
internalName = "BackgroundBuildButton";
|
||||
text = "Background";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
extent = "75 20";
|
||||
minExtent = "8 2";
|
||||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "NavEditorGui.backgroundBuild";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckboxCtrl() {
|
||||
position = "75 0";
|
||||
internalName = "SaveIntermediatesButton";
|
||||
text = "Keep intermediates";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
extent = "105 20";
|
||||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "NavEditorGui.saveIntermediates";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
};
|
||||
new GuiCheckboxCtrl() {
|
||||
internalName = "BuildSoundButton";
|
||||
|
|
@ -262,7 +267,7 @@
|
|||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "$Nav::Editor::playSoundWhenDone";
|
||||
variable = "NavEditorGui.playSoundWhenDone";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
|
|
@ -270,10 +275,8 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "LinkActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -288,10 +291,8 @@
|
|||
command = "NavEditorGui.buildLinks();";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "CoverActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -315,10 +316,8 @@
|
|||
command = "NavEditorGui.deleteCoverPoints();";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "TileActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -333,10 +332,8 @@
|
|||
command = "NavEditorGui.buildTile();";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "TestActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -350,41 +347,53 @@
|
|||
text = "Spawn";
|
||||
command = "NavEditorGui.spawnPlayer();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Delete";
|
||||
command = "NavEditorGui.getPlayer().delete();";
|
||||
new GuiControl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
Extent = "190 18";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Delete";
|
||||
command = "NavEditorGui.getPlayer().delete();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
position = "100 0";
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Find cover";
|
||||
command = "NavEditorGui.findCover();";
|
||||
};
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Find cover";
|
||||
command = "NavEditorGui.findCover();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Follow";
|
||||
command = "NavEditorGui.followObject();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Stop";
|
||||
command = "NavEditorGui.getPlayer().stop();";
|
||||
new GuiControl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
Extent = "190 18";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Follow";
|
||||
command = "NavEditorGui.followObject();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
position = "100 0";
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Stop";
|
||||
command = "NavEditorGui.getPlayer().stop();";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -460,17 +469,15 @@
|
|||
dividerMargin = "5";
|
||||
};
|
||||
|
||||
new GuiFlexibleArrayControl() {
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
new GuiStackControl() {
|
||||
internalName = "LinkProperties";
|
||||
position = "7 21";
|
||||
extent = "186 64";
|
||||
padding = "2 2 2 2";
|
||||
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkWalkFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkWalkFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Walk";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -482,15 +489,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "This link is just ordinary flat ground.";
|
||||
toolTip = "This link is just ordinary flat ground.";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkJumpFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkJumpFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Jump";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -502,15 +509,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Does this link require a jump?";
|
||||
toolTip = "Does this link require a jump?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkDropFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkDropFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Drop";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -522,15 +529,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Does this link involve a significant drop?";
|
||||
toolTip = "Does this link involve a significant drop?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkLedgeFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkLedgeFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Ledge";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -542,15 +549,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Should the character jump at the next ledge?";
|
||||
toolTip = "Should the character jump at the next ledge?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkClimbFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkClimbFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Climb";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -562,15 +569,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Does this link involve climbing?";
|
||||
toolTip = "Does this link involve climbing?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkTeleportFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkTeleportFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Teleport";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -582,16 +589,14 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Is this link a teleporter?";
|
||||
toolTip = "Is this link a teleporter?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl() {
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
new GuiStackControl() {
|
||||
internalName = "TileProperties";
|
||||
position = "7 21";
|
||||
extent = "186 64";
|
||||
|
|
@ -613,7 +618,7 @@
|
|||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
variable = "$Nav::Editor::renderInput";
|
||||
variable = "$Nav::Editor::renderInput";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
text = " Display voxels";
|
||||
|
|
@ -631,24 +636,22 @@
|
|||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
variable = "$Nav::Editor::renderVoxels";
|
||||
variable = "$Nav::Editor::renderVoxels";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl() {
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
new GuiStackControl() {
|
||||
internalName = "TestProperties";
|
||||
position = "7 21";
|
||||
extent = "186 64";
|
||||
padding = "2 2 2 2";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
text = "Cover";
|
||||
text = "Cover";
|
||||
profile = "GuiTextProfile";
|
||||
extent = "180 20";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
};
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "CoverRadius";
|
||||
text = "10";
|
||||
|
|
@ -657,9 +660,9 @@
|
|||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Radius for cover-finding.";
|
||||
toolTip = "Radius for cover-finding.";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "CoverPosition";
|
||||
text = "LocalClientConnection.getControlObject().getPosition();";
|
||||
profile = "GuiTextEditProfile";
|
||||
|
|
@ -667,15 +670,15 @@
|
|||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Position to find cover from.";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Follow";
|
||||
toolTip = "Position to find cover from.";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Follow";
|
||||
profile = "GuiTextProfile";
|
||||
extent = "180 20";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
};
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "FollowRadius";
|
||||
text = "1";
|
||||
|
|
@ -684,9 +687,9 @@
|
|||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Radius for following.";
|
||||
toolTip = "Radius for following.";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "FollowObject";
|
||||
text = "LocalClientConnection.player";
|
||||
profile = "GuiTextEditProfile";
|
||||
|
|
@ -694,18 +697,18 @@
|
|||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Object to follow.";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Movement";
|
||||
toolTip = "Object to follow.";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Movement";
|
||||
profile = "GuiTextProfile";
|
||||
extent = "180 20";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
};
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkWalkFlag";
|
||||
class = "NavMeshTestFlagButton";
|
||||
internalName = "LinkWalkFlag";
|
||||
class = "NavMeshTestFlagButton";
|
||||
text = " Walk";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
|
|||
|
|
@ -199,10 +199,8 @@
|
|||
Extent = "86 18";
|
||||
text = "Actions";
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "SelectActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -216,40 +214,47 @@
|
|||
text = "Build NavMesh";
|
||||
command = "NavEditorGui.buildSelectedMeshes();";
|
||||
};
|
||||
new GuiCheckboxCtrl() {
|
||||
internalName = "BackgroundBuildButton";
|
||||
text = "Background";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
extent = "75 20";
|
||||
minExtent = "8 2";
|
||||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "$Nav::Editor::backgroundBuild";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckboxCtrl() {
|
||||
internalName = "SaveIntermediatesButton";
|
||||
text = "Keep intermediates";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
extent = "105 20";
|
||||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "$Nav::Editor::saveIntermediates";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
new GuiControl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
Extent = "182 20";
|
||||
position = "0 20";
|
||||
|
||||
new GuiCheckboxCtrl() {
|
||||
internalName = "BackgroundBuildButton";
|
||||
text = "Background";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
extent = "75 20";
|
||||
minExtent = "8 2";
|
||||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "NavEditorGui.backgroundBuild";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckboxCtrl() {
|
||||
position = "75 0";
|
||||
internalName = "SaveIntermediatesButton";
|
||||
text = "Keep intermediates";
|
||||
groupNum = "-1";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
extent = "105 20";
|
||||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "NavEditorGui.saveIntermediates";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
};
|
||||
new GuiCheckboxCtrl() {
|
||||
internalName = "BuildSoundButton";
|
||||
|
|
@ -262,7 +267,7 @@
|
|||
profile = "GuiCheckBoxProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
variable = "$Nav::Editor::playSoundWhenDone";
|
||||
variable = "NavEditorGui.playSoundWhenDone";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
|
|
@ -270,10 +275,8 @@
|
|||
canSaveDynamicFields = "0";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "LinkActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -288,10 +291,8 @@
|
|||
command = "NavEditorGui.buildLinks();";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "CoverActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -315,10 +316,8 @@
|
|||
command = "NavEditorGui.deleteCoverPoints();";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "TileActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -333,10 +332,8 @@
|
|||
command = "NavEditorGui.buildTile();";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl()
|
||||
new GuiStackControl()
|
||||
{
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
internalName = "TestActions";
|
||||
position = "7 21";
|
||||
extent = "190 64";
|
||||
|
|
@ -350,41 +347,53 @@
|
|||
text = "Spawn";
|
||||
command = "NavEditorGui.spawnPlayer();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Delete";
|
||||
command = "NavEditorGui.getPlayer().delete();";
|
||||
new GuiControl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
Extent = "190 18";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Delete";
|
||||
command = "NavEditorGui.getPlayer().delete();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
position = "100 0";
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Find cover";
|
||||
command = "NavEditorGui.findCover();";
|
||||
};
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Find cover";
|
||||
command = "NavEditorGui.findCover();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Follow";
|
||||
command = "NavEditorGui.followObject();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Stop";
|
||||
command = "NavEditorGui.getPlayer().stop();";
|
||||
new GuiControl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
Extent = "190 18";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Follow";
|
||||
command = "NavEditorGui.followObject();";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
position = "100 0";
|
||||
Profile = "GuiButtonProfile";
|
||||
buttonType = "PushButton";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
Extent = "90 18";
|
||||
text = "Stop";
|
||||
command = "NavEditorGui.getPlayer().stop();";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -460,17 +469,15 @@
|
|||
dividerMargin = "5";
|
||||
};
|
||||
|
||||
new GuiFlexibleArrayControl() {
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
new GuiStackControl() {
|
||||
internalName = "LinkProperties";
|
||||
position = "7 21";
|
||||
extent = "186 64";
|
||||
padding = "2 2 2 2";
|
||||
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkWalkFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkWalkFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Walk";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -482,15 +489,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "This link is just ordinary flat ground.";
|
||||
toolTip = "This link is just ordinary flat ground.";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkJumpFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkJumpFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Jump";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -502,15 +509,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Does this link require a jump?";
|
||||
toolTip = "Does this link require a jump?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkDropFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkDropFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Drop";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -522,15 +529,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Does this link involve a significant drop?";
|
||||
toolTip = "Does this link involve a significant drop?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkLedgeFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkLedgeFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Ledge";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -542,15 +549,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Should the character jump at the next ledge?";
|
||||
toolTip = "Should the character jump at the next ledge?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkClimbFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkClimbFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Climb";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -562,15 +569,15 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Does this link involve climbing?";
|
||||
toolTip = "Does this link involve climbing?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkTeleportFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
internalName = "LinkTeleportFlag";
|
||||
class = "NavMeshLinkFlagButton";
|
||||
text = " Teleport";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
@ -582,16 +589,14 @@
|
|||
visible = "1";
|
||||
active = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Is this link a teleporter?";
|
||||
toolTip = "Is this link a teleporter?";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl() {
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
new GuiStackControl() {
|
||||
internalName = "TileProperties";
|
||||
position = "7 21";
|
||||
extent = "186 64";
|
||||
|
|
@ -613,7 +618,7 @@
|
|||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
variable = "$Nav::Editor::renderInput";
|
||||
variable = "$Nav::Editor::renderInput";
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
text = " Display voxels";
|
||||
|
|
@ -631,24 +636,22 @@
|
|||
isContainer = "0";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
variable = "$Nav::Editor::renderVoxels";
|
||||
variable = "$Nav::Editor::renderVoxels";
|
||||
};
|
||||
};
|
||||
new GuiFlexibleArrayControl() {
|
||||
colSpacing = 2;
|
||||
rowSpacing = 2;
|
||||
new GuiStackControl() {
|
||||
internalName = "TestProperties";
|
||||
position = "7 21";
|
||||
extent = "186 64";
|
||||
padding = "2 2 2 2";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
text = "Cover";
|
||||
text = "Cover";
|
||||
profile = "GuiTextProfile";
|
||||
extent = "180 20";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
};
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "CoverRadius";
|
||||
text = "10";
|
||||
|
|
@ -657,9 +660,9 @@
|
|||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Radius for cover-finding.";
|
||||
toolTip = "Radius for cover-finding.";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "CoverPosition";
|
||||
text = "LocalClientConnection.getControlObject().getPosition();";
|
||||
profile = "GuiTextEditProfile";
|
||||
|
|
@ -667,15 +670,15 @@
|
|||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Position to find cover from.";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Follow";
|
||||
toolTip = "Position to find cover from.";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Follow";
|
||||
profile = "GuiTextProfile";
|
||||
extent = "180 20";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
};
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "FollowRadius";
|
||||
text = "1";
|
||||
|
|
@ -684,9 +687,9 @@
|
|||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Radius for following.";
|
||||
toolTip = "Radius for following.";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
new GuiTextEditCtrl() {
|
||||
internalName = "FollowObject";
|
||||
text = "LocalClientConnection.player";
|
||||
profile = "GuiTextEditProfile";
|
||||
|
|
@ -694,18 +697,18 @@
|
|||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
toolTip = "Object to follow.";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Movement";
|
||||
toolTip = "Object to follow.";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Movement";
|
||||
profile = "GuiTextProfile";
|
||||
extent = "180 20";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
};
|
||||
};
|
||||
new GuiCheckBoxCtrl() {
|
||||
internalName = "LinkWalkFlag";
|
||||
class = "NavMeshTestFlagButton";
|
||||
internalName = "LinkWalkFlag";
|
||||
class = "NavMeshTestFlagButton";
|
||||
text = " Walk";
|
||||
buttonType = "ToggleButton";
|
||||
useMouseEvents = "0";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue