//--- OBJECT WRITE BEGIN --- new GuiControl(ParticleEditor) { profile = "GuiDialogProfile"; horizSizing = "center"; vertSizing = "center"; position = "0 0"; extent = "640 480"; minExtent = "8 8"; visible = "1"; helpTag = "0"; new GuiWindowCtrl() { profile = "GuiWindowProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "16 7"; extent = "634 476"; minExtent = "48 92"; visible = "1"; helpTag = "0"; text = "Particle Editor v. 1.12"; maxLength = "255"; resizeWidth = "1"; resizeHeight = "1"; canMove = "1"; canClose = "1"; canMinimize = "1"; canMaximize = "1"; minSize = "50 50"; new GuiControl() { profile = "GuiWindowProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "5 35"; extent = "617 434"; minExtent = "254 26"; visible = "1"; helpTag = "0"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "27 407"; extent = "86 38"; minExtent = "32 38"; visible = "1"; command = "toggleparticleEditor(1);"; helpTag = "0"; text = "Back"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(WorldTab) { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "28 204"; extent = "85 38"; minExtent = "48 38"; visible = "1"; command = "ParticleEditor.setPane(WorldPane, WorldTab);"; helpTag = "0"; text = "World"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(EmitterTab) { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "28 153"; extent = "85 38"; minExtent = "48 38"; visible = "1"; command = "ParticleEditor.setPane(EmitterPane,EmitterTab);"; helpTag = "0"; text = "Emitter"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(ReplaceButton) { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "26 345"; extent = "89 40"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.replaceDefaultEmitter(ParticleEditorReplacePopup);"; helpTag = "0"; text = "Replace Default"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(Particle1Tab) { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "28 100"; extent = "85 38"; minExtent = "48 38"; visible = "1"; command = "ParticleEditor.setPane(Particle1Pane, Particle1Tab);"; helpTag = "0"; text = "Particles"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(LoadSaveTab) { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "28 45"; extent = "85 38"; minExtent = "48 38"; visible = "1"; command = "ParticleEditor.setPane(LoadSavePane, LoadSaveTab);"; helpTag = "0"; text = "Load/Save"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiControl(Particle1Pane) { profile = "GuiWindowProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "132 42"; extent = "483 408"; minExtent = "16 18"; visible = "1"; helpTag = "0"; new GuiTextCtrl(PE_opacityText) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "235 214"; extent = "52 18"; minExtent = "8 8"; visible = "1"; helpTag = "0"; maxLength = "255"; }; new GuiTextCtrl(PE_blueText) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "235 192"; extent = "48 16"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "1"; maxLength = "255"; }; new GuiTextCtrl(PE_greenText) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "235 171"; extent = "33 18"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "1"; maxLength = "255"; }; new GuiTextCtrl(PE_redText) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "235 150"; extent = "51 19"; minExtent = "8 8"; visible = "1"; helpTag = "0"; maxLength = "255"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "243 42"; extent = "32 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.nextTexture( -1 );"; helpTag = "0"; text = "<"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "278 42"; extent = "32 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.nextTexture( 1 );"; helpTag = "0"; text = ">"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(NextParticleButton) { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "43 271"; extent = "79 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.nextParticle();"; helpTag = "0"; text = "Next Particle"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "353 170"; extent = "52 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "ConstACC"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "9 154"; extent = "24 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Red:"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "9 175"; extent = "34 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Green:"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "9 196"; extent = "34 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Blue:"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "9 218"; extent = "38 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Opacity:"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "63 311"; extent = "100 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Current Particle Size"; maxLength = "255"; }; new GuiTextCtrl(Blend_Text) { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "9 239"; extent = "34 20"; minExtent = "8 8"; visible = "0"; helpTag = "0"; text = "Blend "; maxLength = "255"; }; new GuiSliderCtrl(R_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "49 154"; extent = "183 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(R_SLIDER, R_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 1.000000"; ticks = "256"; value = "1"; }; new GuiSliderCtrl(G_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "49 175"; extent = "181 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(G_SLIDER, G_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 1.000000"; ticks = "256"; value = "0.496063"; }; new GuiSliderCtrl(B_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "49 196"; extent = "181 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(B_SLIDER, B_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 1.000000"; ticks = "256"; value = "0"; }; new GuiSliderCtrl(O_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "49 220"; extent = "179 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(O_SLIDER, O_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 1.000000"; ticks = "256"; value = "1"; }; new GuiSliderCtrl(SIZES_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "6 327"; extent = "252 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(SIZES_SLIDER, SIZES_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 50.000000"; ticks = "101"; value = "3.10688"; }; new GuiSliderCtrl(TIMES_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "49 241"; extent = "180 24"; minExtent = "12 24"; visible = "0"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(TIMES_SLIDER, TIMES_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 1.000000"; ticks = "101"; value = "0"; }; new GuiCheckBoxCtrl(INV_ALPHA) { profile = "GuiCheckBoxProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "9 126"; extent = "230 30"; minExtent = "26 27"; visible = "1"; variable = "DefaultEmitter.particles.useInvAlpha"; command = "ParticleEditor.emitterSliderUpdate(INV_ALPHA, INV_ALPHA.getValue());"; helpTag = "0"; text = "Inverse Alpha"; groupNum = "-1"; buttonType = "ToggleButton"; }; new GuiSliderCtrl(LifeVAR_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "6 380"; extent = "252 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(LifeVAR_SLIDER, LifeVAR_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 1000.000000"; ticks = "21"; value = "64"; }; new GuiSliderCtrl(LifeMS_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "6 357"; extent = "252 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(LifeMS_SLIDER, LifeMS_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 10000.000000"; ticks = "201"; value = "4800"; }; new GuiSliderCtrl(ConACC_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "289 182"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(ConACC_SLIDER, ConACC_SLIDER.getValue());"; helpTag = "0"; range = "-2.000000 0.000000"; ticks = "100"; value = "0"; }; new GuiTextCtrl() { profile = "GuiMediumTextProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "186 5"; extent = "71 28"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Particle"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "338 138"; extent = "83 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Inverse Velocity"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "70 342"; extent = "85 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "LifeMS / Variance "; maxLength = "255"; }; new GuiSliderCtrl(InVELOCITY_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "289 157"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(InVELOCITY_SLIDER, InVELOCITY_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 1.000000"; ticks = "100"; value = "0"; }; new GuiSliderCtrl(SpinMIN_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "289 221"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(SpinMIN_SLIDER, SpinMIN_SLIDER.getValue() );"; helpTag = "0"; range = "-750.000000 0.000000"; ticks = "76"; value = "0"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "360 288"; extent = "39 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Gravity"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "8 47"; extent = "26 21"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Dir:"; maxLength = "255"; }; new GuiPopUpMenuCtrl(ParticleEditorTexturelist) { profile = "GuiPopUpMenuProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "28 84"; extent = "282 36"; minExtent = "49 36"; visible = "1"; variable = "DefaultEmitter.particles.textureName"; command = "ParticleEditor.emitterSliderUpdate( ParticleEditorTextureList, ParticleEditorTextureList.getValue());"; helpTag = "0"; maxLength = "255"; maxPopupHeight = "200"; }; new GuiPopUpMenuCtrl(ParticleEditorTexturePopup) { profile = "GuiPopUpMenuProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "28 42"; extent = "207 36"; minExtent = "49 36"; visible = "1"; command = "ParticleEditor.textureFill( ParticleEditorTexturePopup.getSelected(), ParticleEditorTexturePopup.getValue() );"; helpTag = "0"; maxLength = "255"; maxPopupHeight = "200"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "4 89"; extent = "37 21"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "File:"; maxLength = "255"; }; new GuiButtonCtrl(PE_SameSizeButton) { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "136 273"; extent = "59 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.setSameSize();"; helpTag = "0"; text = "Same Size"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "337 360"; extent = "84 18"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Wind Coefficient"; maxLength = "255"; }; new GuiSliderCtrl(Wind_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "289 375"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(Wind_SLIDER, Wind_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 100.000000"; ticks = "101"; value = "0"; }; new GuiSliderCtrl(DRAG_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "290 346"; extent = "179 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(DRAG_SLIDER, DRAG_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 5.000000"; ticks = "101"; value = "0"; }; new GuiSliderCtrl(GRAVITY_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "289 306"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(GRAVITY_SLIDER, GRAVITY_SLIDER.getValue());"; helpTag = "0"; range = "-5.000000 5.000000"; ticks = "500"; value = "-0.642247"; }; new GuiTextCtrl(SpinText) { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "344 206"; extent = "70 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Spin Neg / Pos (particle axis)"; maxLength = "255"; }; new GuiSliderCtrl(SpinMAX_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "289 243"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(SpinMAX_SLIDER, SpinMAX_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 750.000000"; ticks = "76"; value = "0"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "360 326"; extent = "39 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Drag"; maxLength = "255"; }; new GuiTextCtrl(PARTICLE_TEXT) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "417 26"; extent = "25 21"; minExtent = "8 8"; visible = "1"; variable = "(ParticleEditor.parCurrent + 1)"; helpTag = "0"; text = "1"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "347 63"; extent = "101 21"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Number of Particles"; maxLength = "255"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "329 84"; extent = "59 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.removeParticle();"; helpTag = "0"; text = "Less"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "396 84"; extent = "59 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.addParticle();"; helpTag = "0"; text = "More"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl() { profile = "GuiTextProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "335 27"; extent = "77 18"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Current Particle:"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiTextProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "335 43"; extent = "70 18"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Total Particles:"; maxLength = "255"; }; new GuiTextCtrl(PE_Total_Particles) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "417 43"; extent = "11 20"; minExtent = "8 8"; visible = "1"; variable = "ParticleEditor.parCurrentMax"; helpTag = "0"; text = "0"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "326 256"; extent = "107 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Spin Speed"; maxLength = "255"; }; new GuiSliderCtrl(SpinSPEED_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "289 273"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(SpinSPEED_SLIDER, SpinSPEED_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 750.000000"; ticks = "101"; value = "0"; }; }; new GuiControl(WorldPane) { profile = "GuiWindowProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "136 46"; extent = "482 401"; minExtent = "16 18"; visible = "0"; helpTag = "0"; new GuiButtonCtrl(AtPlayerButton) { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "201 43"; extent = "108 40"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.dropEmitterAtCamera();"; helpTag = "0"; text = "Move To Camera"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl() { profile = "GuiMediumTextProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "155 7"; extent = "139 28"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "World Controls"; maxLength = "255"; }; new GuiPopUpMenuCtrl(ParticleEditorReplacePopup) { profile = "GuiPopUpMenuProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "87 184"; extent = "240 36"; minExtent = "49 36"; visible = "1"; helpTag = "0"; maxLength = "255"; maxPopupHeight = "200"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "177 359"; extent = "101 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.saveMission();"; helpTag = "0"; text = "Save Mission"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "7 358"; extent = "101 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.deleteCurrentObject();"; helpTag = "0"; text = "Delete"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "44 162"; extent = "55 18"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Current:"; maxLength = "255"; }; new GuiTextCtrl(PE_CurrentEmitter) { profile = "GuiTextProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "90 163"; extent = "8 18"; minExtent = "8 8"; visible = "1"; variable = "EMITTER_TEXT.getValue();"; helpTag = "0"; text = "EMITTER_TEXT.getValue()"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "45 189"; extent = "49 25"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Default: "; maxLength = "255"; }; new GuiSliderCtrl(PE_Sensitivity) { profile = "GuiSliderProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "318 44"; extent = "157 24"; minExtent = "12 24"; visible = "1"; variable = "value"; helpTag = "0"; range = "0.100000 5.000000"; ticks = "100"; value = "1.94356"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "373 357"; extent = "101 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.leaveEmitterInWorld();"; helpTag = "0"; text = "Add to Mission"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "348 31"; extent = "95 22"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Sensitivity"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiMediumTextProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "148 128"; extent = "152 28"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Simulate Emitter"; maxLength = "255"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "33 5"; extent = "55 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.changeOrientation(1, PE_Sensitivity.getValue());"; helpTag = "0"; text = "North"; groupNum = "-1"; buttonType = "PushButton"; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "193 11"; extent = "140 38"; minExtent = "32 38"; visible = "1"; helpTag = "0"; text = "Button"; groupNum = "-1"; buttonType = "PushButton"; }; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "32 80"; extent = "55 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.changeOrientation(1, (-PE_Sensitivity.getValue()) );"; helpTag = "0"; text = "SOUTH"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "5 42"; extent = "55 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.changeOrientation(0, -PE_Sensitivity.getValue());"; helpTag = "0"; text = "WEST"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "59 42"; extent = "55 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.changeOrientation(0, (PE_Sensitivity.getValue()) );"; helpTag = "0"; text = "EAST"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "115 43"; extent = "80 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.changeOrientation(2, (PE_Sensitivity.getValue()) );"; helpTag = "0"; text = "UP"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "115 80"; extent = "80 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.changeOrientation(2, (-PE_Sensitivity.getValue()) );"; helpTag = "0"; text = "DOWN"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(ReplaceButton) { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "155 228"; extent = "110 40"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.replaceDefaultEmitter(ParticleEditorReplacePopup);"; helpTag = "0"; text = "Replace Default"; groupNum = "-1"; buttonType = "PushButton"; }; }; new GuiControl(LoadSavePane) { profile = "GuiWindowProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "132 39"; extent = "483 408"; minExtent = "16 18"; visible = "0"; helpTag = "0"; new GuiTextEditCtrl(EMITTER_TEXT) { profile = "GuiTextEditProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "9 20"; extent = "252 38"; minExtent = "32 38"; visible = "1"; helpTag = "0"; maxLength = "35"; historySize = "0"; password = "0"; tabComplete = "0"; }; new GuiPopUpMenuCtrl(ParticleEditorEmitterPopup) { profile = "GuiPopUpMenuProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "9 126"; extent = "267 36"; minExtent = "49 36"; visible = "1"; variable = "ParticleEditor.Emitters[ParticleEditor.parIndex]"; command = "ParticleEditor.changeEmitter(ParticleEditorEmitterPopup, ParticleEditorEmitterPopup.getValue());"; helpTag = "0"; maxLength = "255"; maxPopupHeight = "200"; }; new GuiPopUpMenuCtrl(particleEditorSavePopup) { profile = "GuiPopUpMenuProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "8 198"; extent = "269 36"; minExtent = "49 36"; visible = "1"; command = "ParticleEditor.changeEmitter(ParticleEditorSavePopup, ParticleEditorSavePopup.getValue());"; helpTag = "0"; maxLength = "255"; maxPopupHeight = "200"; }; new GuiButtonCtrl(DefaultCycleButton) { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "286 124"; extent = "94 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.nextEmitter(DefaultCycleButton);"; helpTag = "0"; text = "Cycle Defaults"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(CustomCycleButton) { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "286 197"; extent = "94 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.nextEmitter(CustomCycleButton);"; helpTag = "0"; text = "Cycle Custom"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "200 349"; extent = "96 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.saveEmitter();"; helpTag = "0"; text = "Save Current"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "6 350"; extent = "102 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.createDataBlock(DefaultEmitter);"; helpTag = "0"; text = "Create DataBlock"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "10 102"; extent = "45 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Defaults:"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "11 177"; extent = "37 19"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Custom:"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "8 3"; extent = "77 15"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Current Emitter"; maxLength = "255"; }; new GuiButtonCtrl() { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "123 350"; extent = "61 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.deleteCurrentObject();"; helpTag = "0"; text = "Delete"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiButtonCtrl(PE_toggleDataBlock) { profile = "GuiButtonProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "283 21"; extent = "94 40"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.toggleParticleDatablock(PE_toggleDataBlock);"; helpTag = "0"; text = "Default"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl(PE_emitterLifeText) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "51 62"; extent = "53 17"; minExtent = "8 8"; visible = "1"; command = "PE_emitterLife.getValue();"; helpTag = "0"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "10 63"; extent = "45 15"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Life MS: "; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "289 5"; extent = "80 15"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Emission Speed"; maxLength = "255"; }; }; new GuiControl(EmitterPane) { profile = "GuiWindowProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "132 41"; extent = "485 396"; minExtent = "16 18"; visible = "0"; helpTag = "0"; new GuiCheckBoxCtrl(ORIENT_VELOCITY) { profile = "GuiCheckBoxProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "38 361"; extent = "125 30"; minExtent = "26 27"; visible = "1"; variable = "DefaultEmitter.orientOnVelocity"; command = "ParticleEditor.emitterSliderUpdate(ORIENT_VELOCITY, ORIENT_VELOCITY.getValue());"; helpTag = "0"; text = "Orient on Velocity"; groupNum = "-1"; buttonType = "ToggleButton"; }; new GuiSliderCtrl(EPERIOD_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "12 58"; extent = "215 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(EPERIOD_SLIDER, EPERIOD_SLIDER.getValue());"; helpTag = "0"; range = "1.000000 1000.000000"; ticks = "255"; value = "10"; }; new GuiSliderCtrl(EVARIANCE_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "12 79"; extent = "215 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(EVARIANCE_SLIDER, EVARIANCE_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 1000.000000"; ticks = "255"; value = "0"; }; new GuiSliderCtrl(EVELOCITY_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "13 118"; extent = "214 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(EVELOCITY_SLIDER, EVELOCITY_SLIDER.getValue());"; helpTag = "0"; range = "1.000000 10.000000"; ticks = "10"; value = "2"; }; new GuiSliderCtrl(EVELVARIANCE_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "13 138"; extent = "214 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(EVELVARIANCE_SLIDER, EVELVARIANCE_SLIDER.getValue());"; helpTag = "0"; range = "1.000000 10.000000"; ticks = "10"; value = "1"; }; new GuiSliderCtrl(EOFFSET_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "261 174"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(EOFFSET_SLIDER, EOFFSET_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 10.000000"; ticks = "11"; value = "0"; }; new GuiTextCtrl() { profile = "GuiMediumTextProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "141 326"; extent = "180 28"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Particle Orientation"; maxLength = "255"; }; new GuiSliderCtrl(THETAMIN_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "261 52"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(THETAMIN_SLIDER, THETAMIN_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 90.000000"; ticks = "91"; value = "0"; }; new GuiSliderCtrl(THETAMAX_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "261 75"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(THETAMAX_SLIDER, THETAMAX_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 90.000000"; ticks = "10"; value = "0"; }; new GuiSliderCtrl(PHIREFVEL_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "261 116"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(PHIREFVEL_SLIDER, PHIREFVEL_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 360.000000"; ticks = "361"; value = "0"; }; new GuiSliderCtrl(PHIVAR_SLIDER) { profile = "GuiSliderProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "261 137"; extent = "180 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.emitterSliderUpdate(PHIVAR_SLIDER, PHIVAR_SLIDER.getValue());"; helpTag = "0"; range = "0.000000 360.000000"; ticks = "361"; value = "0"; }; new GuiCheckBoxCtrl(OVERRIDE_ADVANCES) { profile = "GuiCheckBoxProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "328 361"; extent = "125 30"; minExtent = "26 27"; visible = "1"; variable = "DefaultEmitter.overrideAdvances"; command = "ParticleEditor.emitterSliderUpdate(OVERRIDE_ADVANCES, OVERRIDE_ADVANCES.getValue());"; helpTag = "0"; text = "Override Advances"; groupNum = "-1"; buttonType = "ToggleButton"; }; new GuiCheckBoxCtrl(ORIENT) { profile = "GuiCheckBoxProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "183 361"; extent = "125 30"; minExtent = "26 27"; visible = "1"; variable = "DefaultEmitter.orientParticles"; command = "ParticleEditor.emitterSliderUpdate(ORIENT, ORIENT.getValue());"; helpTag = "0"; text = "Orient Particles"; groupNum = "-1"; buttonType = "ToggleButton"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "307 38"; extent = "87 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Theta MIN / MAX"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiMediumTextProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "200 9"; extent = "66 28"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Emitter"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "41 40"; extent = "124 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Emission Delay / Variance"; maxLength = "255"; }; new GuiSliderCtrl(PE_emitterLifeDelay) { profile = "GuiSliderProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "8 297"; extent = "470 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "PE_emitterLifeDelayText.setValue( mFloor ( PE_emitterLifeDelay.getValue() ) );"; helpTag = "0"; range = "100.000000 5000.000000"; ticks = "501"; value = "1101.3"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "317 100"; extent = "68 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "PHI / Variance"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "55 102"; extent = "96 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Velocity / Variance"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "left"; vertSizing = "bottom"; position = "332 156"; extent = "38 20"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Offset"; maxLength = "255"; }; new GuiSliderCtrl(PE_emitterLife) { profile = "GuiSliderProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "9 262"; extent = "468 24"; minExtent = "12 24"; visible = "1"; variable = "value"; command = "ParticleEditor.changeEmitterLife(PE_emitterLife.getValue());"; helpTag = "0"; range = "0.000000 5000.000000"; ticks = "10001"; value = "0"; }; new GuiButtonCtrl(PE_modeButton) { profile = "GuiButtonProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "265 222"; extent = "150 38"; minExtent = "32 38"; visible = "1"; command = "ParticleEditor.toggleLoopDelay(PE_emitterLife.getValue());"; helpTag = "0"; text = "Constant Loop"; groupNum = "-1"; buttonType = "PushButton"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "23 235"; extent = "99 17"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Emitter LifeMS:"; maxLength = "255"; }; new GuiTextCtrl(PE_emitterLifeTextWorld) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "103 235"; extent = "109 17"; minExtent = "8 8"; visible = "1"; command = "PE_emitterLife.getValue();"; helpTag = "0"; text = "0"; maxLength = "255"; }; new GuiTextCtrl() { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "46 276"; extent = "69 18"; minExtent = "8 8"; visible = "1"; helpTag = "0"; text = "Delay MS:"; maxLength = "255"; }; new GuiTextCtrl(PE_emitterLifeDelayText) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "98 278"; extent = "99 17"; minExtent = "8 8"; visible = "1"; helpTag = "0"; maxLength = "255"; }; }; }; }; //--- OBJECT WRITE END ---