|
|
@@ -1,3880 +0,0 @@
|
|
|
-//-----------------------------------------------------------------------------
|
|
|
-// Torque
|
|
|
-// Copyright GarageGames, LLC 2011
|
|
|
-//-----------------------------------------------------------------------------
|
|
|
-
|
|
|
-$PE_guielement_pos_single_container = "0 0";
|
|
|
-$PE_guielement_ext_single_container = "184 20";
|
|
|
-$PE_guielement_pos_name = "1 0";
|
|
|
-$PE_guielement_ext_name = "70 18";
|
|
|
-$PE_guielement_pos_slider = "74 2";
|
|
|
-$PE_guielement_ext_slider = "58 12";
|
|
|
-$PE_guielement_pos_value = "138 0";
|
|
|
-$PE_guielement_ext_value = "36 18";
|
|
|
-$PE_guielement_pos_textedit = "74 0";
|
|
|
-$PE_guielement_ext_textedit = "100 18";
|
|
|
-$PE_guielement_ext_checkbox_name = "156 18";
|
|
|
-$PE_guielement_pos_checkbox = "161 0";
|
|
|
-$PE_guielement_ext_checkbox = "15 18";
|
|
|
-$PE_guielement_pos_colorpicker = "158 0";
|
|
|
-$PE_guielement_ext_colorpicker = "18 18";
|
|
|
-
|
|
|
-//--- OBJECT WRITE BEGIN ---
|
|
|
-$guiContent = new GuiWindowCollapseCtrl(PE_Window) {
|
|
|
- canCollapse = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiWindowProfile";
|
|
|
- Position = firstWord($pref::Video::mode) - 360
|
|
|
- SPC getWord(EditorGuiToolbar.extent, 1) + 6;
|
|
|
- Extent = "360" SPC getWord($pref::Video::mode, 1) - getWord(EditorGuiToolbar.extent, 1) - 65;
|
|
|
- MinExtent = "300 140";
|
|
|
- HorizSizing = "windowRelative";
|
|
|
- VertSizing = "windowRelative";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- resizeWidth = "1";
|
|
|
- resizeHeight = "1";
|
|
|
- canMove = "0";
|
|
|
- canClose = "0";
|
|
|
- canMinimize = "0";
|
|
|
- canMaximize = "0";
|
|
|
- minSize = "50 50";
|
|
|
- closeCommand = "";
|
|
|
- EdgeSnap = "0";
|
|
|
- text = ":: Particle Editor";
|
|
|
-
|
|
|
- new GuiTabBookCtrl(PE_TabBook) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- isContainer = "1";
|
|
|
- internalName = "EditorTabBook";
|
|
|
- Profile = "ToolsGuiTabBookProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "height";
|
|
|
- position = "6 27";
|
|
|
- Extent = "197 289";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "3 2 3 3";
|
|
|
- Docking = "client";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- TabPosition = "Top";
|
|
|
- TabMargin = "0";
|
|
|
- MinTabWidth = "64";
|
|
|
-
|
|
|
- new GuiTabPageCtrl(PE_EmitterEditor) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiEditorTabPage";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "height";
|
|
|
- position = "0 19";
|
|
|
- Extent = "197 271";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Emitter";
|
|
|
- maxLength = "1024";
|
|
|
-
|
|
|
- new GuiScrollCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiScrollProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "height";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 271";
|
|
|
- MinExtent = "8 8";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- willFirstRespond = "1";
|
|
|
- hScrollBar = "alwaysOff";
|
|
|
- vScrollBar = "dynamic";
|
|
|
- lockHorizScroll = false;
|
|
|
- lockVertScroll = "false";
|
|
|
- constantThumbHeight = "0";
|
|
|
- childMargin = "0 0";
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(PEE_EmitterSelector_Control){ // PEE_EmitterSelector
|
|
|
- class = "QuickEditDropDownTextEditCtrl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = "197 26" ;
|
|
|
-
|
|
|
- new GuiPopUpMenuCtrl(PEE_EmitterSelector) {
|
|
|
- internalName = "PopUpMenu";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "4 4";
|
|
|
- Extent = "123 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor::onNewEmitter();";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- maxLength = "255";
|
|
|
- maxPopupHeight = "200";
|
|
|
- sbUsesNAColor = "0";
|
|
|
- reverseTextList = "0";
|
|
|
- bitmapBounds = "16 16";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "TextEdit";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiDropdownTextEditProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "4 4";
|
|
|
- Extent = "107 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "131 5";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.showNewDialog();";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:new_n_image";
|
|
|
- tooltip = "Create New Emitter";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "147 5";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:save_icon_n_image";
|
|
|
- command = "PE_EmitterEditor.saveEmitter( " @ PE_EmitterEditor.currEmitter @ " ); PE_ParticleEditor.saveParticle( PE_ParticleEditor.currParticle );";
|
|
|
- tooltip = "Save Current Emitter";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "164 5";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.showDeleteDialog();";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- tooltip = "Delete Current Emitter";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Basic";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter PEE_lifetimeMS
|
|
|
- isContainer = "1";
|
|
|
- class = "AggregateControl";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Life";
|
|
|
- maxLength = "255";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_lifetimeMS) {
|
|
|
- internalName = "PEE_lifetimeMS_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateLifeFields( false, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateLifeFields( false, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1000";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_lifetimeMS_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateLifeFields( false, $ThisControl.getValue() );";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter PEE_lifetimeVarianceMS
|
|
|
- isContainer = "1";
|
|
|
- class = "AggregateControl";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Life Random";
|
|
|
- maxLength = "255";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_lifetimeVarianceMS) {
|
|
|
- internalName = "PEE_lifetimeVarianceMS_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateLifeFields( true, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateLifeFields( true, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1000";
|
|
|
- ticks = "0";
|
|
|
- value = "";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_lifetimeVarianceMS_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateLifeFields( true, $ThisControl.getValue() );";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter Infinite Loop
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Infinite Loop";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEE_infiniteLoop";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- Command = "PE_EmitterEditor.updateLifeFieldsInfiniteLoop();";
|
|
|
- text = "";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter Amount
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Amount";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_ejectionPeriodMS) {
|
|
|
- internalName = "PEE_ejectionPeriodMS_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateAmountFields( false, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateAmountFields( false, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "1 1000";
|
|
|
- ticks = "0";
|
|
|
- value = "1";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_ejectionPeriodMS_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateAmountFields( false, $ThisControl.getValue() );";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter Amount Random
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Amount Random";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_periodVarianceMS) {
|
|
|
- internalName = "PEE_periodVarianceMS_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateAmountFields( true, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateAmountFields( true, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 999";
|
|
|
- ticks = "0";
|
|
|
- value = "1";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_periodVarianceMS_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateAmountFields( true, $ThisControl.getValue() );";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Particle glow
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Glow";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEE_glow";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"glow\", $ThisControl.getValue());";
|
|
|
- text = "";
|
|
|
- };
|
|
|
- };
|
|
|
- };// end stack
|
|
|
- }; // end "basic" rollout
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Motion";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter speed
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Speed";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_ejectionVelocity) {
|
|
|
- internalName = "PEE_ejectionVelocity_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateSpeedFields( false, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateSpeedFields( false, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 100";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_ejectionVelocity_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateSpeedFields( false, $ThisControl.getValue() );";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter speed random
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Speed Random";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_velocityVariance) {
|
|
|
- internalName = "PEE_velocityVariance_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateSpeedFields( true, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateSpeedFields( true, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 100";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_velocityVariance_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateSpeedFields( true, $ThisControl.getValue() );";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter Orient to Movment Direction
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Orient to Movment Direction";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEE_orientParticles";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- text = "";
|
|
|
- command = "PE_EmitterEditor.updateEmitter( \"orientParticles\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter Align to a Direction
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Align to a Direction";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEE_alignParticles";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- text = "";
|
|
|
- command = "PE_EmitterEditor.updateEmitter( \"alignParticles\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter Align Direction
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Align Direction";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_alignDirection";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_textedit;
|
|
|
- Extent = $PE_guielement_ext_textedit;
|
|
|
- text = "0 0 0";
|
|
|
- altCommand = "PE_EmitterEditor.updateEmitter( \"alignDirection\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter ribbon
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Render as a Ribbon";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEE_ribbonParticles";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- text = "";
|
|
|
- command = "PE_EmitterEditor.updateEmitter( \"ribbonParticles\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- };
|
|
|
- }; // end stack
|
|
|
- }; // end "motion" rollout
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Spread";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter Angle Min
|
|
|
- isContainer = "1";
|
|
|
- class = "AggregateControl";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){ // 0 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+4 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "0 Degrees ( Up )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 90 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/4)+1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "90 Degrees ( Left )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 180 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "180 Degrees ( Down )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 270 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2+mCeil(getWord($PE_guielement_ext_slider,0)/4))-4 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "270 Degrees ( Right )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 360 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0))-5 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "360 Degrees ( Up )";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Angle Min";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_thetaMin) {
|
|
|
- internalName = "PEE_thetaMin_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"thetaMin\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaMin\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 180";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalname = "PEE_thetaMin_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaMin\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter Angle Max
|
|
|
- isContainer = "1";
|
|
|
- class = "AggregateControl";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){ // 0 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+4 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "0 Degrees ( Up )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 90 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/4)+1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "90 Degrees ( Left )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 180 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- minExtent = "0 0";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "180 Degrees ( Down )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 270 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2+mCeil(getWord($PE_guielement_ext_slider,0)/4))-4 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "270 Degrees ( Right )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 360 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0))-5 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "360 Degrees ( Up )";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Angle Max";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_thetaMax) {
|
|
|
- internalName = "PEE_thetaMax_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"thetaMax\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaMax\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 180";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_thetaMax_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaMax\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter Angle Variance
|
|
|
- isContainer = "1";
|
|
|
- class = "AggregateControl";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){ // 0 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+4 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "0 Degrees ( Up )";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 90 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/4)+1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "45 Degrees";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 180 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- minExtent = "0 0";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "90 Degrees";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 270 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2+mCeil(getWord($PE_guielement_ext_slider,0)/4))-4 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "135 Degrees";
|
|
|
- };
|
|
|
- new GuiBitmapCtrl(){ // 360 Degrees
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0))-5 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "180 Degrees";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Angle Variance";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_thetaVar) {
|
|
|
- internalName = "PEE_thetaVar_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"thetaVariance\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaVariance\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 180";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_thetaVar_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaVariance\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // Emitter Depth
|
|
|
- isContainer = "1";
|
|
|
- class = "AggregateControl";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Depth";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_phiVariance) {
|
|
|
- internalName = "PEE_phiVariance_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"phiVariance\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"phiVariance\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 360";
|
|
|
- ticks = "0";
|
|
|
- value = "360";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_phiVariance_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"phiVariance\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter Offset
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Offset";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_ejectionOffset) {
|
|
|
- internalName = "PEE_ejectionOffset_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"ejectionOffset\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ejectionOffset\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_ejectionOffset_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ejectionOffset\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter Offset Variance
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "OffsetVariance";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEE_ejectionOffsetVariance) {
|
|
|
- internalName = "PEE_ejectionOffsetVariance_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"ejectionOffsetVariance\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ejectionOffsetVariance\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 25";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_ejectionOffsetVariance_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ejectionOffsetVariance\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- }; // end stack
|
|
|
- }; // end "spread" rollout
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Particles";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(PEE_EmitterParticle1){ // emmiter particle 1
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Particle 1";
|
|
|
- };
|
|
|
- new GuiPopUpMenuCtrl(PEE_EmitterParticleSelector1) {
|
|
|
- internalName = "PopUpMenu";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_textedit;
|
|
|
- Extent = $PE_guielement_ext_textedit;
|
|
|
- text = "";
|
|
|
- command = "PE_EmitterEditor.updateParticlesFields($ThisControl);";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(PEE_EmitterParticle2){ // emmiter particle 2
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Particle 2";
|
|
|
- };
|
|
|
- new GuiPopUpMenuCtrl(PEE_EmitterParticleSelector2) {
|
|
|
- internalName = "PopUpMenu";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_textedit;
|
|
|
- Extent = $PE_guielement_ext_textedit;
|
|
|
- text = "None";
|
|
|
- command = "PE_EmitterEditor.updateParticlesFields();";
|
|
|
- };
|
|
|
- // Clear particle 2
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 1";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$_particleId = PEE_EmitterParticle2-->PopUpMenu.findText( \"None\" ); PEE_EmitterParticle2-->PopUpMenu.setSelected( $_particleId );PE_EmitterEditor.updateParticlesFields();";
|
|
|
- hovertime = "1000";
|
|
|
- tooltip = "Clear Particle 2 from Emitter";
|
|
|
- text = "";
|
|
|
- bitmapAsset = "ToolsModule:clear_icon_n_image";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(PEE_EmitterParticle3){ // emmiter particle 3
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Particle 3";
|
|
|
- };
|
|
|
- new GuiPopUpMenuCtrl(PEE_EmitterParticleSelector3) {
|
|
|
- internalName = "PopUpMenu";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_textedit;
|
|
|
- Extent = $PE_guielement_ext_textedit;
|
|
|
- text = "None";
|
|
|
- command = "PE_EmitterEditor.updateParticlesFields();";
|
|
|
- };
|
|
|
- // Clear particle 3
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 1";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$_particleId = PEE_EmitterParticle3-->PopUpMenu.findText( \"None\" ); PEE_EmitterParticle3-->PopUpMenu.setSelected( $_particleId );PE_EmitterEditor.updateParticlesFields();";
|
|
|
- hovertime = "1000";
|
|
|
- tooltip = "Clear Particle 3 from Emitter";
|
|
|
- text = "";
|
|
|
- bitmapAsset = "ToolsModule:clear_icon_n_image";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(PEE_EmitterParticle4){ // emmiter particle 4
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Particle 4";
|
|
|
- };
|
|
|
- new GuiPopUpMenuCtrl(PEE_EmitterParticleSelector4) {
|
|
|
- internalName = "PopUpMenu";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_textedit;
|
|
|
- Extent = $PE_guielement_ext_textedit;
|
|
|
- text = "None";
|
|
|
- command = "PE_EmitterEditor.updateParticlesFields();";
|
|
|
- };
|
|
|
- // Clear particle 4
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 1";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$_particleId = PEE_EmitterParticle4-->PopUpMenu.findText( \"None\" ); PEE_EmitterParticle4-->PopUpMenu.setSelected( $_particleId );PE_EmitterEditor.updateParticlesFields();";
|
|
|
- hovertime = "1000";
|
|
|
- tooltip = "Clear Particle 4 from Emitter";
|
|
|
- text = "";
|
|
|
- bitmapAsset = "ToolsModule:clear_icon_n_image";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- }; // end stack
|
|
|
- }; // end "particles" rollout
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Blending";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(){ // Blend type
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Blend Type";
|
|
|
- };
|
|
|
- new GuiPopUpMenuCtrl() {
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- internalName = "PEE_blendType";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_textedit;
|
|
|
- Extent = $PE_guielement_ext_textedit;
|
|
|
- command = "PE_EmitterEditor.updateEmitter( \"blendStyle\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // softness Distance
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Softness Distance ";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEE_softnessDistance_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1000";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"softnessDistance\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"softnessDistance\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_softnessDistance_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"softnessDistance\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Ambient Factor
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Ambient Factor";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEE_ambientFactor_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 10";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_EmitterEditor.updateEmitter( \"ambientFactor\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ambientFactor\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEE_ambientFactor_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ambientFactor\", $ThisControl.getText));";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // Sort Particles
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Sort Particles";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEE_softParticles";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- text = "";
|
|
|
- command = "PE_EmitterEditor.updateEmitter( \"softParticles\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter Reverse Order
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Reverse Order";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEE_reverseOrder";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- text = "";
|
|
|
- command = "PE_EmitterEditor.updateEmitter( \"reverseOrder\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter Use Emitter Size
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Use Emitter Size";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl(PEE_useEmitterSizes) {
|
|
|
- internalName = "PEE_useEmitterSizes";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- text = "";
|
|
|
- command = "PE_EmitterEditor.updateEmitter( \"useEmitterSizes\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Emitter use Material Effect Color
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_checkbox_name;
|
|
|
- text = "Use Material Effect Color";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl(PEE_useEmitterColors) {
|
|
|
- internalName = "PEE_useEmitterColors";
|
|
|
- Profile = "ToolsGuiCheckBoxProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_checkbox;
|
|
|
- Extent = $PE_guielement_ext_checkbox;
|
|
|
- text = "";
|
|
|
- command = "PE_EmitterEditor.updateEmitter( \"useEmitterColors\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- };
|
|
|
- }; // end stack
|
|
|
- }; // end "Blending" rollout
|
|
|
- };// end stack "Emitter"
|
|
|
- };// end scroll "Emitter"
|
|
|
- };// end tab page "Emitter"
|
|
|
- new GuiTabPageCtrl(PE_ParticleEditor) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiEditorTabPage";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "height";
|
|
|
- position = "0 19";
|
|
|
- Extent = "197 271";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Particle";
|
|
|
- maxLength = "1024";
|
|
|
-
|
|
|
- new GuiScrollCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiScrollProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "height";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 271";
|
|
|
- MinExtent = "8 8";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- willFirstRespond = "1";
|
|
|
- hScrollBar = "alwaysOff";
|
|
|
- vScrollBar = "dynamic";
|
|
|
- lockHorizScroll = false;
|
|
|
- lockVertScroll = "false";
|
|
|
- constantThumbHeight = "0";
|
|
|
- childMargin = "0 0";
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(PEP_ParticleSelector_Control){ // PEP_ParticleSelector
|
|
|
- isContainer = "1";
|
|
|
- class = "QuickEditDropDownTextEditCtrl";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = "197 26" ;
|
|
|
-
|
|
|
- new GuiPopUpMenuCtrl(PEP_ParticleSelector) {
|
|
|
- internalName = "PopUpMenu";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiPopUpMenuProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "4 4";
|
|
|
- Extent = "123 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.onNewParticle();";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- maxLength = "255";
|
|
|
- maxPopupHeight = "200";
|
|
|
- sbUsesNAColor = "0";
|
|
|
- reverseTextList = "0";
|
|
|
- bitmapBounds = "16 16";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "TextEdit";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiDropdownTextEditProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "4 4";
|
|
|
- Extent = "107 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl);";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl( PEP_NewParticleButton ) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "131 5";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:new_n_image";
|
|
|
- tooltip = "Add New Particle To Current Emitter";
|
|
|
- useModifiers = "1";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "147 5";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:save_icon_n_image";
|
|
|
- command = "PE_ParticleEditor.saveParticle( PE_ParticleEditor.currParticle );";
|
|
|
- tooltip = "Save Current Particle";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "164 5";
|
|
|
- Extent = "17 17";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.showDeleteDialog();";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:delete_n_image";
|
|
|
- tooltip = "Delete Current Particle";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Basic";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiContainer(){ // particle texture map
|
|
|
- profile="ToolsGuiDefaultProfile";
|
|
|
- isContainer = "1";
|
|
|
- position = "0 0";
|
|
|
- Extent = "185 52";
|
|
|
- HorizSizing = "width";
|
|
|
-
|
|
|
- new GuiBitmapCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:unknownImage_image";
|
|
|
- wrap = "0";
|
|
|
- };
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "EditorTextProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "56 -2";
|
|
|
- Extent = "72 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Texture Map";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- internalName = "PEP_previewImage";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
- ToolTip = "Edit Selected Particle.";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- };
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "right";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "1 1";
|
|
|
- Extent = "48 48";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
- ToolTip = "Edit Selected Particle.";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
|
|
- Command = "PE_ParticleEditor.updateParticleTexture(1);";
|
|
|
- };
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEP_inverseAlpha";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "55 14";
|
|
|
- Extent = "84 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- text = "Inverse Alpha";
|
|
|
- command = "PE_ParticleEditor.updateParticle( \"useInvAlpha\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl(PEP_textureName) {
|
|
|
- internalName = "PEP_previewImageName";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "55 31";
|
|
|
- Extent = "120 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "None";
|
|
|
- maxLength = "1024";
|
|
|
- };
|
|
|
- new GuiButtonCtrl(){
|
|
|
- profile="ToolsGuiButtonProfile";
|
|
|
- text ="Edit";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "138 0";
|
|
|
- Extent = "36 18" ;
|
|
|
- buttonType = "PushButton";
|
|
|
- Command = "PE_ParticleEditor.updateParticleTexture(1);";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- //visible = false;
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // particle life
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Life";
|
|
|
- maxLength = "255";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_lifetimeMS) {
|
|
|
- internalName = "PEP_lifetimeMS_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateLifeFields( false, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateLifeFields( false, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "1 9000";
|
|
|
- ticks = "0";
|
|
|
- value = "3000";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_lifetimeMS_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateLifeFields( false, $ThisControl.getText() );";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // particle life Random
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- Margin = "0 0 0 0";
|
|
|
- Padding = "0 0 0 0";
|
|
|
- AnchorTop = "1";
|
|
|
- AnchorBottom = "0";
|
|
|
- AnchorLeft = "1";
|
|
|
- AnchorRight = "0";
|
|
|
- text = "Life Random";
|
|
|
- maxLength = "255";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_lifetimeVarianceMS) {
|
|
|
- internalName = "PEP_lifetimeVarianceMS_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateLifeFields( true, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateLifeFields( true, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 8999";
|
|
|
- ticks = "0";
|
|
|
- value = "3000";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_lifetimeVarianceMS_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateLifeFields( true, $ThisControl.getText() );";
|
|
|
- };
|
|
|
- };
|
|
|
- }; // end stack
|
|
|
- }; // end "Particles Basic" rollout
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Motion";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(){ // Particle Initial speed
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Initial Speed";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_inheritedVelFactor) {
|
|
|
- internalName = "PEP_inheritedVelFactor_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"inheritedVelFactor\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"inheritedVelFactor\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 10";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_inheritedVelFactor_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"inheritedVelFactor\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Acceleration
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Acceleration";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_constantAcceleration) {
|
|
|
- internalName = "PEP_constantAcceleration_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"constantAcceleration\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"constantAcceleration\", $ThisControl.getValue(), true, false);";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-10 10";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_constantAcceleration_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"constantAcceleration\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // Particle Gravity
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){ // 0 Gravity
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "0 Gravity";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Gravity";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_gravityCoefficient) {
|
|
|
- internalName = "PEP_gravityCoefficient_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"gravityCoefficient\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"gravityCoefficient\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-1 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_gravityCoefficient_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"gravityCoefficient\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Drag
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Drag";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_dragCoefficient) {
|
|
|
- internalName = "PEP_dragCoefficient_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"dragCoefficient\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"dragCoefficient\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0.298143";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_dragCoefficient_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"dragCoefficient\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- }; //End Particle Drag
|
|
|
- new GuiControl(){ // Particle Wind
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Wind Coeff";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_windCoefficient) {
|
|
|
- internalName = "PEP_windCoefficient_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"windCoefficient\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"windCoefficient\", $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0.298143";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_windCoefficient_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"windCoefficient\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- }; // end stack
|
|
|
- }; // end "motion" rollout
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Spin";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(){ // Particle spin Min
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){ // No Spin
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "No Spin";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Spin Min";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_spinRandomMin) {
|
|
|
- internalName = "PEP_spinRandomMin_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateSpinFields( true, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateSpinFields( true, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-1000 999";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_spinRandomMin_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateSpinFields( true, $ThisControl.getText() );";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Spin Max
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiBitmapCtrl(){ // No Spin
|
|
|
- HorizSizing = "left";
|
|
|
- position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
|
|
|
- Extent = "2 18";
|
|
|
- minExtent = "0 0";
|
|
|
- bitmapAsset = "ToolsModule:separator_h_image";
|
|
|
- tooltip = "No Spin";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Spin Max";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_spinRandomMax) {
|
|
|
- internalName = "PEP_spinRandomMax_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "PE_ParticleEditor.updateSpinFields( false, $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateSpinFields( false, $ThisControl.getValue(), true, false );";
|
|
|
- hovertime = "1000";
|
|
|
- range = "-999 1000";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_spinRandomMax_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateSpinFields( false, $ThisControl.getText() );";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // Particle spin Speed
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Spin Speed";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_spinSpeed) {
|
|
|
- internalName = "PEP_spinSpeed_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"spinSpeed\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"spinSpeed\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_spinSpeed_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"spinSpeed\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- }; // end stack
|
|
|
- }; // end "Spin" rollout
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Animation";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiCheckBoxCtrl() {
|
|
|
- internalName = "PEP_animateTexture";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "55 14";
|
|
|
- Extent = "84 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- text = "Animate Texture";
|
|
|
- command = "PE_ParticleEditor.updateParticle( \"animateTexture\", $ThisControl.getValue());";
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle framesPerSec
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "framesPerSec";
|
|
|
- };
|
|
|
- new GuiSliderCtrl(PEP_framesPerSec) {
|
|
|
- internalName = "PEP_framesPerSec_slider";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 60";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"framesPerSec\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"framesPerSec\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_framesPerSec_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"framesPerSec\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- }; // end framesPerSec
|
|
|
- new GuiControl(){ // Particle animTexFramesList
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container;
|
|
|
- Extent = $PE_guielement_ext_single_container;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "animTexFrames";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_animTexFramesList_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_textedit;
|
|
|
- Extent = $PE_guielement_ext_textedit;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"animTexFrames\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- }; // end animTexFramesList
|
|
|
- new GuiControl(){ // Particle animTileCount
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container;
|
|
|
- Extent = $PE_guielement_ext_single_container;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "TileCount (X Y)";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_animTileCount_textEdit";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"animTexTiling\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- }; // end animTileCount
|
|
|
- }; // end stack
|
|
|
- }; // end "Anim" rollout
|
|
|
- new GuiRolloutCtrl() {
|
|
|
- class = "BehaviorQuickEditRollout";
|
|
|
- superclass = LBQuickEditRollout;
|
|
|
- Profile = "GuiRolloutProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "0 0";
|
|
|
- Extent = "197 0";
|
|
|
- Caption = "Overtime";
|
|
|
- Margin = "4 4 4 0";
|
|
|
- DragSizable = false;
|
|
|
- container = true;
|
|
|
-
|
|
|
- new GuiStackControl() {
|
|
|
- StackingType = "Vertical";
|
|
|
- HorizStacking = "Left to Right";
|
|
|
- VertStacking = "Top to Bottom";
|
|
|
- Padding = "0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "1";
|
|
|
- Profile = "ToolsGuiDefaultProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "1 3";
|
|
|
- Extent = "197 16";
|
|
|
- MinExtent = "16 16";
|
|
|
- canSave = "1";
|
|
|
- isDecoy = "0";
|
|
|
- Visible = "1";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
-
|
|
|
- new GuiControl(){ // Particle Point Colors
|
|
|
- class = "";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Colors";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl(PE_ColorTintSwatch0) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "20 0";
|
|
|
- Extent = $PE_guielement_ext_colorpicker;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF( PE_ParticleEditor.currParticle.colors[0], \"PE_ColorTintSwatch0.updateParticleColor\");";
|
|
|
- altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "1";
|
|
|
- arrayNum = "0";
|
|
|
- class = "PE_ColorTintSwatch";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl(PE_ColorTintSwatch1) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "40 0";
|
|
|
- Extent = $PE_guielement_ext_colorpicker;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF( PE_ParticleEditor.currParticle.colors[1], \"PE_ColorTintSwatch1.updateParticleColor\");";
|
|
|
- altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "1";
|
|
|
- arrayNum = "1";
|
|
|
- class = "PE_ColorTintSwatch";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl(PE_ColorTintSwatch2) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "60 0";
|
|
|
- Extent = $PE_guielement_ext_colorpicker;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF( PE_ParticleEditor.currParticle.colors[2], \"PE_ColorTintSwatch2.updateParticleColor\");";
|
|
|
- altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "1";
|
|
|
- arrayNum = "2";
|
|
|
- class = "PE_ColorTintSwatch";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl(PE_ColorTintSwatch3) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "80 0";
|
|
|
- Extent = $PE_guielement_ext_colorpicker;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF( PE_ParticleEditor.currParticle.colors[3], \"PE_ColorTintSwatch3.updateParticleColor\");";
|
|
|
- altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "1";
|
|
|
- arrayNum = "3";
|
|
|
- class = "PE_ColorTintSwatch";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl(PE_ColorTintSwatch4) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "100 0";
|
|
|
- Extent = $PE_guielement_ext_colorpicker;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF( PE_ParticleEditor.currParticle.colors[4], \"PE_ColorTintSwatch4.updateParticleColor\");";
|
|
|
- altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "1";
|
|
|
- arrayNum = "4";
|
|
|
- class = "PE_ColorTintSwatch";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl(PE_ColorTintSwatch5) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "120 0";
|
|
|
- Extent = $PE_guielement_ext_colorpicker;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF( PE_ParticleEditor.currParticle.colors[5], \"PE_ColorTintSwatch5.updateParticleColor\");";
|
|
|
- altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "1";
|
|
|
- arrayNum = "5";
|
|
|
- class = "PE_ColorTintSwatch";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl(PE_ColorTintSwatch6) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "140 0";
|
|
|
- Extent = $PE_guielement_ext_colorpicker;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF( PE_ParticleEditor.currParticle.colors[6], \"PE_ColorTintSwatch6.updateParticleColor\");";
|
|
|
- altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "1";
|
|
|
- arrayNum = "6";
|
|
|
- class = "PE_ColorTintSwatch";
|
|
|
- };
|
|
|
- new GuiSwatchButtonCtrl(PE_ColorTintSwatch7) {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "GuiInspectorSwatchButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = "160 0";
|
|
|
- Extent = $PE_guielement_ext_colorpicker;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "getColorF( PE_ParticleEditor.currParticle.colors[7], \"PE_ColorTintSwatch7.updateParticleColor\");";
|
|
|
- altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
|
|
|
- hovertime = "1000";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "1";
|
|
|
- arrayNum = "7";
|
|
|
- class = "PE_ColorTintSwatch";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // Particle Point Size
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Size 1";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointSize_slider0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"sizes[0]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[0]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointSize_textEdit0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[0]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Size
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Size 2";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointSize_slider1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"sizes[1]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[1]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointSize_textEdit1";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[1]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Size
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Size 3";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointSize_slider2";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"sizes[2]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[2]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointSize_textEdit2";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[2]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Size
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Size 4";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointSize_slider3";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"sizes[3]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[3]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointSize_textEdit3";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[3]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Size
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Size 5";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointSize_slider4";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"sizes[4]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[4]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointSize_textEdit4";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[4]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Size
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Size 6";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointSize_slider5";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"sizes[5]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[5]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointSize_textEdit5";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[5]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Size
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Size 7";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointSize_slider6";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"sizes[6]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[6]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointSize_textEdit6";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[6]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Size
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Size 8";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointSize_slider7";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 50";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"sizes[7]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[7]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointSize_textEdit7";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[7]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- new GuiControl(){ // Spacer ----------------------------
|
|
|
- isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
|
|
|
- new GuiBitmapCtrl(){
|
|
|
- position="0 3"; extent ="188 2"; HorizSizing = "width";
|
|
|
- bitmapAsset ="ToolsModule:separator_v_image";
|
|
|
- };
|
|
|
- };// end spacer ----------------------------------------
|
|
|
-
|
|
|
- new GuiControl(){ // Particle Point Time
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Time 1";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointTime_slider0";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"times[0]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[0]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointTime_textEdit0";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[0]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Time
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Time 2";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointTime_slider1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"times[1]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[1]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointTime_textEdit1";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[1]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Time
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Time 3";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointTime_slider2";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"times[2]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[2]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointTime_textEdit2";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[2]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Time
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Time 4";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointTime_slider3";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"times[3]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[3]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointTime_textEdit3";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[3]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Time
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Time 5";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointTime_slider4";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"times[4]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[4]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointTime_textEdit4";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[4]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Time
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Time 6";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointTime_slider5";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"times[5]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[5]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointTime_textEdit5";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[5]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Time
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Time 7";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointTime_slider6";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"times[6]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[6]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointTime_textEdit6";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[6]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiControl(){ // Particle Point Time
|
|
|
- class = "AggregateControl";
|
|
|
- isContainer = "1";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = $PE_guielement_pos_single_container ;
|
|
|
- Extent = $PE_guielement_ext_single_container ;
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- Profile = "ToolsGuiTextProfile";
|
|
|
- HorizSizing = "width";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_name;
|
|
|
- Extent = $PE_guielement_ext_name;
|
|
|
- text = "Time 8";
|
|
|
- };
|
|
|
- new GuiSliderCtrl() {
|
|
|
- internalName = "PEP_pointTime_slider7";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiSliderProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_slider;
|
|
|
- Extent = $PE_guielement_ext_slider;
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "";
|
|
|
- hovertime = "1000";
|
|
|
- range = "0 1";
|
|
|
- ticks = "0";
|
|
|
- value = "0";
|
|
|
- Command = "PE_ParticleEditor.updateParticle( \"times[7]\", $ThisControl.getValue(), true, true );";
|
|
|
- altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[7]\", $ThisControl.getValue(), true, false );";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl() {
|
|
|
- internalName = "PEP_pointTime_textEdit7";
|
|
|
- Profile = "ToolsGuiTextEditProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- position = $PE_guielement_pos_value;
|
|
|
- Extent = $PE_guielement_ext_value;
|
|
|
- altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[7]\", $ThisControl.getText());";
|
|
|
- };
|
|
|
- };
|
|
|
- }; // end stack
|
|
|
- }; // end "Overtime" rollout
|
|
|
- };// end stack "Particles"
|
|
|
- };// end scroll "Particles"
|
|
|
- };// end tab page "Particles"
|
|
|
- };// end tab book
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "169 25";
|
|
|
- Extent = "18 18";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "ParticleEditor.updateEmitterNode();";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Play Particle Effect from Start";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:play_btn_n_image";
|
|
|
- buttonType = "PushButton";
|
|
|
- groupNum = "-1";
|
|
|
- text = "";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
-
|
|
|
- new GuiBitmapButtonCtrl() {
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- Enabled = "1";
|
|
|
- isContainer = "0";
|
|
|
- Profile = "ToolsGuiButtonProfile";
|
|
|
- HorizSizing = "left";
|
|
|
- VertSizing = "bottom";
|
|
|
- Position = "189 26";
|
|
|
- Extent = "16 16";
|
|
|
- MinExtent = "8 2";
|
|
|
- canSave = "1";
|
|
|
- Visible = "1";
|
|
|
- Command = "ParticleEditor.resetEmitterNode();";
|
|
|
- tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
- ToolTip = "Drops Particle Effect in front of the Camera";
|
|
|
- hovertime = "1000";
|
|
|
- bitmapAsset = "ToolsModule:camera_image";
|
|
|
- buttonType = "PushButton";
|
|
|
- groupNum = "-1";
|
|
|
- text = "";
|
|
|
- useMouseEvents = "0";
|
|
|
- };
|
|
|
-};// end window
|
|
|
-//--- OBJECT WRITE END ---
|