summaryrefslogtreecommitdiffstats
path: root/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates
downloadThe-Simpsons-Hit-and-Run-TSH&R-PC.tar
The-Simpsons-Hit-and-Run-TSH&R-PC.tar.gz
The-Simpsons-Hit-and-Run-TSH&R-PC.tar.bz2
The-Simpsons-Hit-and-Run-TSH&R-PC.tar.lz
The-Simpsons-Hit-and-Run-TSH&R-PC.tar.xz
The-Simpsons-Hit-and-Run-TSH&R-PC.tar.zst
The-Simpsons-Hit-and-Run-TSH&R-PC.zip
Diffstat (limited to 'tools/MayaTools/Maya4.0/scripts/AETemplates')
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEActionEventLocatorNodeTemplate.mel34
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEBreakableCameraLocatorNodeTemplate.mel20
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AECarStartLocatorNodeTemplate.mel21
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEDirectionalLocatorNodeTemplate.mel16
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEEventLocatorNodeTemplate.mel28
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEFOVLocatorNodeTemplate.mel30
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEGenericLocatorNodeTemplate.mel16
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEInteriorEntranceLocatorNodeTemplate.mel28
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEIntersectionLocatorNodeTemplate.mel20
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEOcclusionLocatorNodeTemplate.mel29
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEPedGroupLocatorNodeTemplate.mel26
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AERailCamLocatorNodeTemplate.mel56
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AERoadNodeTemplate.mel29
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEScriptLocatorNodeTemplate.mel28
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AESplineLocatorNodeTemplate.mel23
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEStaticCameraLocatorNodeTemplate.mel52
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AETELocatorSuppress.mel37
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AETEShowRoadSegButton.mel29
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AETreelineShapeNodeTemplate.mel41
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AETriggerVolumeNodeTemplate.mel18
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEWBLocatorSuppress.mel37
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEWBSelectTarget.mel34
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEWBTriggerButton.mel94
-rw-r--r--tools/MayaTools/Maya4.0/scripts/AETemplates/AEZoneEventLocatorNodeTemplate.mel28
24 files changed, 774 insertions, 0 deletions
diff --git a/tools/MayaTools/Maya4.0/scripts/AETemplates/AEActionEventLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEActionEventLocatorNodeTemplate.mel
new file mode 100644
index 0000000..4c1a413
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEBreakableCameraLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEBreakableCameraLocatorNodeTemplate.mel
new file mode 100644
index 0000000..82a08f2
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AECarStartLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AECarStartLocatorNodeTemplate.mel
new file mode 100644
index 0000000..a3e9f04
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEDirectionalLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEDirectionalLocatorNodeTemplate.mel
new file mode 100644
index 0000000..cd9d34e
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEEventLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEEventLocatorNodeTemplate.mel
new file mode 100644
index 0000000..9d6443b
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEFOVLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEFOVLocatorNodeTemplate.mel
new file mode 100644
index 0000000..c02a84a
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEGenericLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEGenericLocatorNodeTemplate.mel
new file mode 100644
index 0000000..c1ed3cb
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEInteriorEntranceLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEInteriorEntranceLocatorNodeTemplate.mel
new file mode 100644
index 0000000..f23f6ee
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEIntersectionLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEIntersectionLocatorNodeTemplate.mel
new file mode 100644
index 0000000..740b05f
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEIntersectionLocatorNodeTemplate.mel
@@ -0,0 +1,20 @@
+global proc AEIntersectionLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Intersection Attributes" -collapse 0;
+
+ editorTemplate -addControl "IntersectionType";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+
+ editorTemplate -suppress "localPosition";
+}
+ \ No newline at end of file
diff --git a/tools/MayaTools/Maya4.0/scripts/AETemplates/AEOcclusionLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEOcclusionLocatorNodeTemplate.mel
new file mode 100644
index 0000000..5833530
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEPedGroupLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEPedGroupLocatorNodeTemplate.mel
new file mode 100644
index 0000000..1dcfcce
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AERailCamLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AERailCamLocatorNodeTemplate.mel
new file mode 100644
index 0000000..7d3178c
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AERoadNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AERoadNodeTemplate.mel
new file mode 100644
index 0000000..27c4431
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/AETemplates/AERoadNodeTemplate.mel
@@ -0,0 +1,29 @@
+global proc AERoadNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Road Attributes" -collapse 0;
+
+ editorTemplate -addControl "IntersectionStart";
+ editorTemplate -addControl "IntersectionEnd";
+ editorTemplate -addControl "density";
+ editorTemplate -addControl "speed";
+ editorTemplate -addControl "difficulty";
+ editorTemplate -addControl "shortCut";
+
+ editorTemplate -callCustom "AETEShowRoadSegNew"
+ "AETEShowRoadSegReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+
+ editorTemplate -suppress "localPosition";
+}
+ \ No newline at end of file
diff --git a/tools/MayaTools/Maya4.0/scripts/AETemplates/AEScriptLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEScriptLocatorNodeTemplate.mel
new file mode 100644
index 0000000..2e800c8
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AESplineLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AESplineLocatorNodeTemplate.mel
new file mode 100644
index 0000000..57e5e2a
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEStaticCameraLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEStaticCameraLocatorNodeTemplate.mel
new file mode 100644
index 0000000..d611957
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AETELocatorSuppress.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AETELocatorSuppress.mel
new file mode 100644
index 0000000..13a6d00
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/AETemplates/AETELocatorSuppress.mel
@@ -0,0 +1,37 @@
+global proc AETELocatorSuppress( 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/MayaTools/Maya4.0/scripts/AETemplates/AETEShowRoadSegButton.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AETEShowRoadSegButton.mel
new file mode 100644
index 0000000..3ffbeb5
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/AETemplates/AETEShowRoadSegButton.mel
@@ -0,0 +1,29 @@
+global proc AETEShowRoadSegNew( string $nodeName )
+{
+ columnLayout -adj true;
+
+ select $nodeName;
+ string $names[] = `ls -sl -o`;
+
+ string $command = "te_MCB_ShowRoadFromSelected()";
+
+ button -label "Show Road Segments" -command $command TEShowRoadSegsButton;
+
+ setParent ..;
+
+ select $names[0];
+}
+
+
+global proc AETEShowRoadSegReplace( string $nodeName )
+{
+
+ select $nodeName;
+ string $names[] = `ls -sl -o`;
+
+ string $command = "te_MCB_ShowRoadFromSelected";
+
+ button -e -command $command TEShowRoadSegsButton;
+
+ select $names[0];
+} \ No newline at end of file
diff --git a/tools/MayaTools/Maya4.0/scripts/AETemplates/AETreelineShapeNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AETreelineShapeNodeTemplate.mel
new file mode 100644
index 0000000..766ed13
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/AETemplates/AETreelineShapeNodeTemplate.mel
@@ -0,0 +1,41 @@
+global proc AETreelineShapeNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Treeline Attributes" -collapse false;
+
+ editorTemplate -addControl "material";
+
+ editorTemplate -addControl "uscale";
+
+ editorTemplate -addControl "height";
+
+ editorTemplate -suppress "colour";
+
+ editorTemplate -suppress "alpha";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AETELocatorSuppress( $nodeName );
+
+ editorTemplate -suppress "controlPoints";
+ editorTemplate -suppress "weights";
+ editorTemplate -suppress "uvSet";
+ editorTemplate -suppress "tweak";
+ editorTemplate -suppress "relativeTweak";
+ editorTemplate -suppress "currentUVSet";
+ editorTemplate -suppress "doubleSided";
+ editorTemplate -suppress "opposite";
+ editorTemplate -suppress "smoothShading";
+ editorTemplate -suppress "featureDisplacement";
+ editorTemplate -suppress "initialSampleRate";
+ editorTemplate -suppress "textureThreshold";
+ editorTemplate -suppress "normalThreshold";
+ editorTemplate -suppress "extraSampleRate";
+}
+ \ No newline at end of file
diff --git a/tools/MayaTools/Maya4.0/scripts/AETemplates/AETriggerVolumeNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AETriggerVolumeNodeTemplate.mel
new file mode 100644
index 0000000..4166b0e
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEWBLocatorSuppress.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEWBLocatorSuppress.mel
new file mode 100644
index 0000000..e9784d8
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEWBSelectTarget.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEWBSelectTarget.mel
new file mode 100644
index 0000000..d1cd428
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEWBTriggerButton.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEWBTriggerButton.mel
new file mode 100644
index 0000000..ddb862a
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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/MayaTools/Maya4.0/scripts/AETemplates/AEZoneEventLocatorNodeTemplate.mel b/tools/MayaTools/Maya4.0/scripts/AETemplates/AEZoneEventLocatorNodeTemplate.mel
new file mode 100644
index 0000000..869066a
--- /dev/null
+++ b/tools/MayaTools/Maya4.0/scripts/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