summaryrefslogtreecommitdiffstats
path: root/tools/worldbuilder/code/AETemplates
diff options
context:
space:
mode:
authorSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
committerSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
commiteb4b3404aa00220d659e532151dab13d642c17a3 (patch)
tree7e1107c4995489a26c4007e41b53ea8d00ab2134 /tools/worldbuilder/code/AETemplates
downloadThe-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.gz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.bz2
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.lz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.xz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.zst
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.zip
Diffstat (limited to 'tools/worldbuilder/code/AETemplates')
-rw-r--r--tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel34
-rw-r--r--tools/worldbuilder/code/AETemplates/AEBreakableCameraLocatorNodeTemplate.mel20
-rw-r--r--tools/worldbuilder/code/AETemplates/AECarStartLocatorNodeTemplate.mel21
-rw-r--r--tools/worldbuilder/code/AETemplates/AEDirectionalLocatorNodeTemplate.mel16
-rw-r--r--tools/worldbuilder/code/AETemplates/AEEventLocatorNodeTemplate.mel28
-rw-r--r--tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel30
-rw-r--r--tools/worldbuilder/code/AETemplates/AEGenericLocatorNodeTemplate.mel16
-rw-r--r--tools/worldbuilder/code/AETemplates/AEInteriorEntranceLocatorNodeTemplate.mel28
-rw-r--r--tools/worldbuilder/code/AETemplates/AEOcclusionLocatorNodeTemplate.mel29
-rw-r--r--tools/worldbuilder/code/AETemplates/AEPedGroupLocatorNodeTemplate.mel26
-rw-r--r--tools/worldbuilder/code/AETemplates/AERailCamLocatorNodeTemplate.mel56
-rw-r--r--tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel28
-rw-r--r--tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel23
-rw-r--r--tools/worldbuilder/code/AETemplates/AEStaticCameraLocatorNodeTemplate.mel52
-rw-r--r--tools/worldbuilder/code/AETemplates/AETriggerVolumeNodeTemplate.mel18
-rw-r--r--tools/worldbuilder/code/AETemplates/AEWBLocatorSuppress.mel37
-rw-r--r--tools/worldbuilder/code/AETemplates/AEWBSelectTarget.mel34
-rw-r--r--tools/worldbuilder/code/AETemplates/AEWBTriggerButton.mel94
-rw-r--r--tools/worldbuilder/code/AETemplates/AEZoneEventLocatorNodeTemplate.mel28
19 files changed, 618 insertions, 0 deletions
diff --git a/tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel
new file mode 100644
index 0000000..4c1a413
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel
@@ -0,0 +1,34 @@
+global proc AEActionEventLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+
+ editorTemplate -addControl "exportTransform";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Action Attribute" -collapse false;
+ editorTemplate -addControl "actionObject";
+ editorTemplate -addControl "joint";
+ editorTemplate -addControl "action";
+ editorTemplate -addControl "buttonInput";
+ editorTemplate -addControl "shouldTransform";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEBreakableCameraLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEBreakableCameraLocatorNodeTemplate.mel
new file mode 100644
index 0000000..82a08f2
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEBreakableCameraLocatorNodeTemplate.mel
@@ -0,0 +1,20 @@
+global proc AEBreakableCameraLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "FOV Settings" -collapse 0;
+ editorTemplate -addControl "fov";
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AECarStartLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AECarStartLocatorNodeTemplate.mel
new file mode 100644
index 0000000..a3e9f04
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AECarStartLocatorNodeTemplate.mel
@@ -0,0 +1,21 @@
+global proc AECarStartLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Car Start Data" -collapse 0;
+ editorTemplate -addControl "isParked";
+ editorTemplate -addControl "specialName";
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEDirectionalLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEDirectionalLocatorNodeTemplate.mel
new file mode 100644
index 0000000..cd9d34e
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEDirectionalLocatorNodeTemplate.mel
@@ -0,0 +1,16 @@
+global proc AEDirectionalLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEEventLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEEventLocatorNodeTemplate.mel
new file mode 100644
index 0000000..9d6443b
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEEventLocatorNodeTemplate.mel
@@ -0,0 +1,28 @@
+global proc AEEventLocatorNodeTemplate( string $nodeName )
+{
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Event Attributes" -collapse false;
+ editorTemplate -addControl "event";
+ editorTemplate -addControl "extraData";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel
new file mode 100644
index 0000000..c02a84a
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEFOVLocatorNodeTemplate.mel
@@ -0,0 +1,30 @@
+global proc AEFOVLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "FOV Settings" -collapse 0;
+ editorTemplate -addControl "fov";
+ editorTemplate -addControl "time";
+ editorTemplate -addControl "rate";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEGenericLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEGenericLocatorNodeTemplate.mel
new file mode 100644
index 0000000..c1ed3cb
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEGenericLocatorNodeTemplate.mel
@@ -0,0 +1,16 @@
+global proc AEGenericLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEInteriorEntranceLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEInteriorEntranceLocatorNodeTemplate.mel
new file mode 100644
index 0000000..f23f6ee
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEInteriorEntranceLocatorNodeTemplate.mel
@@ -0,0 +1,28 @@
+global proc AEInteriorEntranceLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Interior Attribute" -collapse false;
+ editorTemplate -addControl "zone";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEOcclusionLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEOcclusionLocatorNodeTemplate.mel
new file mode 100644
index 0000000..5833530
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEOcclusionLocatorNodeTemplate.mel
@@ -0,0 +1,29 @@
+
+global proc AEOcclusionLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNewOcclude"
+ "AEWBTriggerButtonReplaceOcclude"
+ "message";
+
+ editorTemplate -callCustom "AEWBTriggerButtonNewVisible"
+ "AEWBTriggerButtonReplaceVisible"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEPedGroupLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEPedGroupLocatorNodeTemplate.mel
new file mode 100644
index 0000000..1dcfcce
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEPedGroupLocatorNodeTemplate.mel
@@ -0,0 +1,26 @@
+global proc AEPedGroupLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Ped Group Attributes" -collapse 0;
+ editorTemplate -addControl "group";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AERailCamLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AERailCamLocatorNodeTemplate.mel
new file mode 100644
index 0000000..7d3178c
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AERailCamLocatorNodeTemplate.mel
@@ -0,0 +1,56 @@
+global proc AERailCamLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Rail Attributes" -collapse false;
+ editorTemplate -addControl "cutInOut";
+ editorTemplate -addControl "carOnly";
+ editorTemplate -addControl "onFootOnly";
+ editorTemplate -addControl "reset";
+ editorTemplate -addControl "noFOV";
+ editorTemplate -addControl "camRail";
+ editorTemplate -addControl "behaviour";
+ editorTemplate -addControl "minRadius";
+ editorTemplate -addControl "maxRadius";
+
+ editorTemplate -addSeparator;
+
+ editorTemplate -addControl "trackRail";
+ editorTemplate -addControl "trackDist";
+ editorTemplate -addControl "reverseSense";
+ editorTemplate -addControl "fieldOfView";
+ editorTemplate -addControl "facingOffset";
+ editorTemplate -addControl "axisPlay";
+
+ editorTemplate -addSeparator;
+
+ editorTemplate -addControl "positionLag";
+ editorTemplate -addControl "targetLag";
+
+ editorTemplate -addSeparator;
+
+ editorTemplate -addControl"active";
+ editorTemplate -addControl "target";
+
+ editorTemplate -addSeparator;
+ editorTemplate -addControl "transitionTo";
+
+ editorTemplate -callCustom "AEWBTargetSelectNew"
+ "AEWBTargetSelectReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel
new file mode 100644
index 0000000..2e800c8
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel
@@ -0,0 +1,28 @@
+global proc AEScriptLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Script Attributes" -collapse false;
+ editorTemplate -addControl "script";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel
new file mode 100644
index 0000000..57e5e2a
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel
@@ -0,0 +1,23 @@
+global proc AESplineLocatorNodeTemplate( string $nodeName )
+{
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEStaticCameraLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEStaticCameraLocatorNodeTemplate.mel
new file mode 100644
index 0000000..d611957
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEStaticCameraLocatorNodeTemplate.mel
@@ -0,0 +1,52 @@
+global proc AEStaticCameraLocatorNodeTemplate( string $nodeName )
+{
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Camera Attributes" -collapse false;
+ editorTemplate -addControl "cutInOut";
+ editorTemplate -addControl "carOnly";
+ editorTemplate -addControl "onFootOnly";
+ editorTemplate -addControl "oneShot";
+ editorTemplate -addControl "noFOV";
+ editorTemplate -addControl "fieldOfView";
+ editorTemplate -addControl "facingOffset";
+
+ editorTemplate -addSeparator;
+
+ editorTemplate -addControl "targetLag";
+
+ editorTemplate -addSeparator;
+
+ editorTemplate -addControl "active";
+
+ editorTemplate -addControl "target";
+ editorTemplate -addControl "tracking";
+
+ editorTemplate -addSeparator;
+ editorTemplate -addControl "transitionTo";
+
+ editorTemplate -callCustom "AEWBTargetSelectNew"
+ "AEWBTargetSelectReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AETriggerVolumeNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AETriggerVolumeNodeTemplate.mel
new file mode 100644
index 0000000..4166b0e
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AETriggerVolumeNodeTemplate.mel
@@ -0,0 +1,18 @@
+global proc AETriggerVolumeNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Trigger Volume Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+
+ editorTemplate -addControl "type";
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEWBLocatorSuppress.mel b/tools/worldbuilder/code/AETemplates/AEWBLocatorSuppress.mel
new file mode 100644
index 0000000..e9784d8
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEWBLocatorSuppress.mel
@@ -0,0 +1,37 @@
+global proc AEWBLocatorSuppress( string $nodeName )
+{
+ editorTemplate -suppress "inputTranslate";
+ editorTemplate -suppress "input";
+ editorTemplate -suppress "caching";
+ editorTemplate -suppress "nodeState";
+ editorTemplate -suppress "visibility";
+ editorTemplate -suppress "intermediateObject";
+ editorTemplate -suppress "template";
+ editorTemplate -suppress "ghosting";
+ editorTemplate -suppress "instObjGroups";
+ editorTemplate -suppress "compInstObjGroups";
+ editorTemplate -suppress "castsShadows";
+ editorTemplate -suppress "receiveShadows";
+ editorTemplate -suppress "depthJitter";
+ editorTemplate -suppress "motionBlur";
+ editorTemplate -suppress "renderInfo";
+ editorTemplate -suppress "primaryVisibility";
+ editorTemplate -suppress "visibleInReflections";
+ editorTemplate -suppress "visibleInRefractions";
+ editorTemplate -suppress "geometryAntialiasingOverride";
+ editorTemplate -suppress "antialiasingLevel";
+ editorTemplate -suppress "shadingSamplesOverride";
+ editorTemplate -suppress "shadingSamples";
+ editorTemplate -suppress "maxShadingSamples";
+ editorTemplate -suppress "volumeSamplesOverride";
+ editorTemplate -suppress "volumeSamples";
+ editorTemplate -suppress "maxVisibilitySamplesOverride";
+ editorTemplate -suppress "maxVisibilitySamples";
+ editorTemplate -suppress "boundingBoxScale";
+ editorTemplate -suppress "drawOverride";
+ editorTemplate -suppress "useObjectColor";
+ editorTemplate -suppress "objectColor";
+ editorTemplate -suppress "intermediateObject";
+ editorTemplate -suppress "visibility";
+ editorTemplate -suppress "lodVisibility";
+} \ No newline at end of file
diff --git a/tools/worldbuilder/code/AETemplates/AEWBSelectTarget.mel b/tools/worldbuilder/code/AETemplates/AEWBSelectTarget.mel
new file mode 100644
index 0000000..d1cd428
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEWBSelectTarget.mel
@@ -0,0 +1,34 @@
+global proc wb_BCB_SelectTarget( string $nodeName )
+{
+ select $nodeName;
+ string $actNodes[] = `ls -sl -o`;
+
+ string $text = `textField -q -text WBTargetName`;
+
+ print ($text + "\n");
+
+ if ( $text != "" )
+ {
+ evalEcho ("setAttr " + $actNodes[0] + ".target -type \"string\" \"" + $text + "\"");
+ }
+
+ select $actNodes[0];
+}
+
+global proc AEWBTargetSelectNew( string $nodeName )
+{
+ columnLayout -adj true;
+
+ textField -ed true WBTargetName;
+ string $command = "wb_BCB_SelectTarget( \"" + $nodeName + "\" )";
+ button -label "Select Target" -command $command WBSelectTargetButton;
+
+ setParent ..;
+}
+
+global proc AEWBTargetSelectReplace( string $nodeName )
+{
+ textField -e -text "" WBTargetName;
+ string $command = "wb_BCB_SelectTarget( \"" + $nodeName + "\" )";
+ button -e -command $command WBSelectTargetButton;
+}
diff --git a/tools/worldbuilder/code/AETemplates/AEWBTriggerButton.mel b/tools/worldbuilder/code/AETemplates/AEWBTriggerButton.mel
new file mode 100644
index 0000000..ddb862a
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEWBTriggerButton.mel
@@ -0,0 +1,94 @@
+global int $gIsItVisibler = 0;
+
+global proc AEWBTriggerButtonNew( string $nodeName )
+{
+ columnLayout -adj true;
+
+ select $nodeName;
+ string $names[] = `ls -sl -o`;
+
+ string $command = "wb_BCB_AttachTriggers(\"" + $names[0] + "\", 0)";
+
+ button -label "Attach Triggers" -command $command WBMakeTriggerButton;
+
+ setParent ..;
+
+ select $names[0];
+}
+
+
+global proc AEWBTriggerButtonReplace( string $nodeName )
+{
+
+ select $nodeName;
+ string $names[] = `ls -sl -o`;
+
+ string $command = "wb_BCB_AttachTriggers(\"" + $names[0] + "\", 0)";
+
+ button -e -command $command WBMakeTriggerButton;
+
+ select $names[0];
+}
+
+global proc AEWBTriggerButtonNewOcclude( string $nodeName )
+{
+ columnLayout -adj true;
+
+ select $nodeName;
+ string $names[] = `ls -sl -o`;
+
+ string $command = "wb_BCB_AttachTriggers(\"" + $names[0] + "\", 0)";
+
+ button -label "Add Occlusion Volume" -command $command WBMakeTriggerButton;
+
+ setParent ..;
+
+ select $names[0];
+}
+
+global proc AEWBTriggerButtonReplaceOcclude( string $nodeName )
+{
+ select $nodeName;
+ string $names[] = `ls -sl -o`;
+
+ string $command = "wb_BCB_AttachTriggers(\"" + $names[0] + "\", 0)";
+
+ button -e -command $command WBMakeTriggerButton;
+
+ select $names[0];
+}
+
+global proc AEWBTriggerButtonNewVisible( string $nodeName )
+{
+ columnLayout -adj true;
+
+ select $nodeName;
+ string $names[] = `ls -sl -o`;
+
+ string $command = "wb_BCB_AttachTriggers(\"" + $names[0] + "\", 1)";
+
+ button -label "Add Visibler Volume" -command $command WBMakeTriggerButton;
+
+ setParent ..;
+
+ select $names[0];
+}
+
+global proc AEWBTriggerButtonReplaceVisible( string $nodeName )
+{
+ select $nodeName;
+ string $names[] = `ls -sl -o`;
+
+ string $command = "wb_BCB_AttachTriggers(\"" + $names[0] + "\", 1)";
+
+ button -e -command $command WBMakeTriggerButton;
+
+ select $names[0];
+}
+
+global proc int IsVisibler()
+{
+ global int $gIsItVisibler;
+
+ return $gIsItVisibler;
+}
diff --git a/tools/worldbuilder/code/AETemplates/AEZoneEventLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEZoneEventLocatorNodeTemplate.mel
new file mode 100644
index 0000000..869066a
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEZoneEventLocatorNodeTemplate.mel
@@ -0,0 +1,28 @@
+global proc AEZoneEventLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Zone Attribute" -collapse false;
+ editorTemplate -addControl "zone";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file