ParticleEditor.ed.gui 200 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880
  1. //-----------------------------------------------------------------------------
  2. // Torque
  3. // Copyright GarageGames, LLC 2011
  4. //-----------------------------------------------------------------------------
  5. $PE_guielement_pos_single_container = "0 0";
  6. $PE_guielement_ext_single_container = "184 20";
  7. $PE_guielement_pos_name = "1 0";
  8. $PE_guielement_ext_name = "70 18";
  9. $PE_guielement_pos_slider = "74 2";
  10. $PE_guielement_ext_slider = "58 12";
  11. $PE_guielement_pos_value = "138 0";
  12. $PE_guielement_ext_value = "36 18";
  13. $PE_guielement_pos_textedit = "74 0";
  14. $PE_guielement_ext_textedit = "100 18";
  15. $PE_guielement_ext_checkbox_name = "156 18";
  16. $PE_guielement_pos_checkbox = "161 0";
  17. $PE_guielement_ext_checkbox = "15 18";
  18. $PE_guielement_pos_colorpicker = "158 0";
  19. $PE_guielement_ext_colorpicker = "18 18";
  20. //--- OBJECT WRITE BEGIN ---
  21. $guiContent = new GuiWindowCollapseCtrl(PE_Window) {
  22. canCollapse = "0";
  23. canSaveDynamicFields = "0";
  24. Enabled = "1";
  25. isContainer = "1";
  26. Profile = "ToolsGuiWindowProfile";
  27. Position = firstWord($pref::Video::mode) - 360
  28. SPC getWord(EditorGuiToolbar.extent, 1) + 6;
  29. Extent = "360" SPC getWord($pref::Video::mode, 1) - getWord(EditorGuiToolbar.extent, 1) - 65;
  30. MinExtent = "300 140";
  31. HorizSizing = "windowRelative";
  32. VertSizing = "windowRelative";
  33. canSave = "1";
  34. Visible = "1";
  35. hovertime = "1000";
  36. Margin = "0 0 0 0";
  37. Padding = "0 0 0 0";
  38. AnchorTop = "1";
  39. AnchorBottom = "0";
  40. AnchorLeft = "1";
  41. AnchorRight = "0";
  42. resizeWidth = "1";
  43. resizeHeight = "1";
  44. canMove = "0";
  45. canClose = "0";
  46. canMinimize = "0";
  47. canMaximize = "0";
  48. minSize = "50 50";
  49. closeCommand = "";
  50. EdgeSnap = "0";
  51. text = ":: Particle Editor";
  52. new GuiTabBookCtrl(PE_TabBook) {
  53. canSaveDynamicFields = "0";
  54. isContainer = "1";
  55. internalName = "EditorTabBook";
  56. Profile = "ToolsGuiTabBookProfile";
  57. HorizSizing = "width";
  58. VertSizing = "height";
  59. position = "6 27";
  60. Extent = "197 289";
  61. MinExtent = "8 2";
  62. canSave = "1";
  63. Visible = "1";
  64. hovertime = "1000";
  65. Margin = "3 2 3 3";
  66. Docking = "client";
  67. Padding = "0 0 0 0";
  68. AnchorTop = "1";
  69. AnchorBottom = "0";
  70. AnchorLeft = "1";
  71. AnchorRight = "0";
  72. TabPosition = "Top";
  73. TabMargin = "0";
  74. MinTabWidth = "64";
  75. new GuiTabPageCtrl(PE_EmitterEditor) {
  76. canSaveDynamicFields = "0";
  77. Enabled = "1";
  78. isContainer = "1";
  79. Profile = "ToolsGuiEditorTabPage";
  80. HorizSizing = "width";
  81. VertSizing = "height";
  82. position = "0 19";
  83. Extent = "197 271";
  84. MinExtent = "8 2";
  85. canSave = "1";
  86. Visible = "1";
  87. hovertime = "1000";
  88. Margin = "0 0 0 0";
  89. Padding = "0 0 0 0";
  90. AnchorTop = "1";
  91. AnchorBottom = "0";
  92. AnchorLeft = "1";
  93. AnchorRight = "0";
  94. text = "Emitter";
  95. maxLength = "1024";
  96. new GuiScrollCtrl() {
  97. canSaveDynamicFields = "0";
  98. Enabled = "1";
  99. isContainer = "1";
  100. Profile = "ToolsGuiScrollProfile";
  101. HorizSizing = "width";
  102. VertSizing = "height";
  103. Position = "0 0";
  104. Extent = "197 271";
  105. MinExtent = "8 8";
  106. canSave = "1";
  107. Visible = "1";
  108. hovertime = "1000";
  109. willFirstRespond = "1";
  110. hScrollBar = "alwaysOff";
  111. vScrollBar = "dynamic";
  112. lockHorizScroll = false;
  113. lockVertScroll = "false";
  114. constantThumbHeight = "0";
  115. childMargin = "0 0";
  116. new GuiStackControl() {
  117. StackingType = "Vertical";
  118. HorizStacking = "Left to Right";
  119. VertStacking = "Top to Bottom";
  120. Padding = "0";
  121. canSaveDynamicFields = "0";
  122. Enabled = "1";
  123. isContainer = "1";
  124. Profile = "ToolsGuiDefaultProfile";
  125. HorizSizing = "width";
  126. VertSizing = "bottom";
  127. Position = "1 3";
  128. Extent = "197 16";
  129. MinExtent = "16 16";
  130. canSave = "1";
  131. isDecoy = "0";
  132. Visible = "1";
  133. tooltipprofile = "ToolsGuiToolTipProfile";
  134. hovertime = "1000";
  135. new GuiControl(PEE_EmitterSelector_Control){ // PEE_EmitterSelector
  136. class = "QuickEditDropDownTextEditCtrl";
  137. isContainer = "1";
  138. HorizSizing = "width";
  139. VertSizing = "bottom";
  140. Position = $PE_guielement_pos_single_container ;
  141. Extent = "197 26" ;
  142. new GuiPopUpMenuCtrl(PEE_EmitterSelector) {
  143. internalName = "PopUpMenu";
  144. canSaveDynamicFields = "0";
  145. Enabled = "1";
  146. isContainer = "0";
  147. Profile = "ToolsGuiPopUpMenuProfile";
  148. HorizSizing = "width";
  149. VertSizing = "bottom";
  150. position = "4 4";
  151. Extent = "123 18";
  152. MinExtent = "8 2";
  153. canSave = "1";
  154. Visible = "1";
  155. Command = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor::onNewEmitter();";
  156. hovertime = "1000";
  157. Margin = "0 0 0 0";
  158. Padding = "0 0 0 0";
  159. AnchorTop = "1";
  160. AnchorBottom = "0";
  161. AnchorLeft = "1";
  162. AnchorRight = "0";
  163. maxLength = "255";
  164. maxPopupHeight = "200";
  165. sbUsesNAColor = "0";
  166. reverseTextList = "0";
  167. bitmapBounds = "16 16";
  168. };
  169. new GuiTextEditCtrl() {
  170. internalName = "TextEdit";
  171. canSaveDynamicFields = "0";
  172. Enabled = "1";
  173. isContainer = "0";
  174. Profile = "GuiDropdownTextEditProfile";
  175. HorizSizing = "width";
  176. VertSizing = "bottom";
  177. position = "4 4";
  178. Extent = "107 18";
  179. MinExtent = "8 2";
  180. canSave = "1";
  181. Visible = "1";
  182. hovertime = "1000";
  183. Margin = "0 0 0 0";
  184. Padding = "0 0 0 0";
  185. AnchorTop = "1";
  186. AnchorBottom = "0";
  187. AnchorLeft = "1";
  188. AnchorRight = "0";
  189. text = "None";
  190. maxLength = "1024";
  191. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);";
  192. };
  193. new GuiBitmapButtonCtrl() {
  194. canSaveDynamicFields = "0";
  195. Enabled = "1";
  196. isContainer = "0";
  197. Profile = "ToolsGuiDefaultProfile";
  198. HorizSizing = "left";
  199. VertSizing = "bottom";
  200. position = "131 5";
  201. Extent = "17 17";
  202. MinExtent = "8 2";
  203. canSave = "1";
  204. Visible = "1";
  205. Command = "PE_EmitterEditor.showNewDialog();";
  206. hovertime = "1000";
  207. groupNum = "-1";
  208. buttonType = "PushButton";
  209. useMouseEvents = "0";
  210. bitmapAsset = "ToolsModule:new_n_image";
  211. tooltip = "Create New Emitter";
  212. };
  213. new GuiBitmapButtonCtrl() {
  214. canSaveDynamicFields = "0";
  215. Enabled = "1";
  216. isContainer = "0";
  217. Profile = "ToolsGuiDefaultProfile";
  218. HorizSizing = "left";
  219. VertSizing = "bottom";
  220. position = "147 5";
  221. Extent = "17 17";
  222. MinExtent = "8 2";
  223. canSave = "1";
  224. Visible = "1";
  225. Command = "";
  226. hovertime = "1000";
  227. groupNum = "-1";
  228. buttonType = "PushButton";
  229. useMouseEvents = "0";
  230. bitmapAsset = "ToolsModule:save_icon_n_image";
  231. command = "PE_EmitterEditor.saveEmitter( " @ PE_EmitterEditor.currEmitter @ " ); PE_ParticleEditor.saveParticle( PE_ParticleEditor.currParticle );";
  232. tooltip = "Save Current Emitter";
  233. };
  234. new GuiBitmapButtonCtrl() {
  235. canSaveDynamicFields = "0";
  236. Enabled = "1";
  237. isContainer = "0";
  238. Profile = "ToolsGuiDefaultProfile";
  239. HorizSizing = "left";
  240. VertSizing = "bottom";
  241. position = "164 5";
  242. Extent = "17 17";
  243. MinExtent = "8 2";
  244. canSave = "1";
  245. Visible = "1";
  246. Command = "PE_EmitterEditor.showDeleteDialog();";
  247. hovertime = "1000";
  248. groupNum = "-1";
  249. buttonType = "PushButton";
  250. useMouseEvents = "0";
  251. bitmapAsset = "ToolsModule:delete_n_image";
  252. tooltip = "Delete Current Emitter";
  253. };
  254. };
  255. new GuiRolloutCtrl() {
  256. class = "BehaviorQuickEditRollout";
  257. superclass = LBQuickEditRollout;
  258. Profile = "GuiRolloutProfile";
  259. HorizSizing = "width";
  260. VertSizing = "bottom";
  261. Position = "0 0";
  262. Extent = "197 0";
  263. Caption = "Basic";
  264. Margin = "4 4 4 0";
  265. DragSizable = false;
  266. container = true;
  267. new GuiStackControl() {
  268. StackingType = "Vertical";
  269. HorizStacking = "Left to Right";
  270. VertStacking = "Top to Bottom";
  271. Padding = "0";
  272. canSaveDynamicFields = "0";
  273. Enabled = "1";
  274. isContainer = "1";
  275. Profile = "ToolsGuiDefaultProfile";
  276. HorizSizing = "width";
  277. VertSizing = "bottom";
  278. Position = "1 3";
  279. Extent = "197 16";
  280. MinExtent = "16 16";
  281. canSave = "1";
  282. isDecoy = "0";
  283. Visible = "1";
  284. tooltipprofile = "ToolsGuiToolTipProfile";
  285. hovertime = "1000";
  286. new GuiControl(){ // Emitter PEE_lifetimeMS
  287. isContainer = "1";
  288. class = "AggregateControl";
  289. HorizSizing = "width";
  290. VertSizing = "bottom";
  291. Position = $PE_guielement_pos_single_container ;
  292. Extent = $PE_guielement_ext_single_container ;
  293. new GuiTextCtrl() {
  294. canSaveDynamicFields = "0";
  295. Enabled = "1";
  296. isContainer = "0";
  297. Profile = "ToolsGuiTextProfile";
  298. HorizSizing = "width";
  299. VertSizing = "bottom";
  300. position = $PE_guielement_pos_name;
  301. Extent = $PE_guielement_ext_name;
  302. MinExtent = "8 2";
  303. canSave = "1";
  304. Visible = "1";
  305. hovertime = "1000";
  306. Margin = "0 0 0 0";
  307. Padding = "0 0 0 0";
  308. AnchorTop = "1";
  309. AnchorBottom = "0";
  310. AnchorLeft = "1";
  311. AnchorRight = "0";
  312. text = "Life";
  313. maxLength = "255";
  314. };
  315. new GuiSliderCtrl(PEE_lifetimeMS) {
  316. internalName = "PEE_lifetimeMS_slider";
  317. canSaveDynamicFields = "0";
  318. Enabled = "1";
  319. isContainer = "0";
  320. Profile = "ToolsGuiSliderProfile";
  321. HorizSizing = "left";
  322. VertSizing = "bottom";
  323. position = $PE_guielement_pos_slider;
  324. Extent = $PE_guielement_ext_slider;
  325. MinExtent = "8 2";
  326. canSave = "1";
  327. Visible = "1";
  328. Command = "PE_EmitterEditor.updateLifeFields( false, $ThisControl.getValue(), true, true );";
  329. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateLifeFields( false, $ThisControl.getValue(), true, false );";
  330. hovertime = "1000";
  331. range = "0 1000";
  332. ticks = "0";
  333. value = "0";
  334. };
  335. new GuiTextEditCtrl() {
  336. internalName = "PEE_lifetimeMS_textEdit";
  337. Profile = "ToolsGuiTextEditProfile";
  338. HorizSizing = "left";
  339. VertSizing = "bottom";
  340. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateLifeFields( false, $ThisControl.getValue() );";
  341. position = $PE_guielement_pos_value;
  342. Extent = $PE_guielement_ext_value;
  343. };
  344. };
  345. new GuiControl(){ // Emitter PEE_lifetimeVarianceMS
  346. isContainer = "1";
  347. class = "AggregateControl";
  348. HorizSizing = "width";
  349. VertSizing = "bottom";
  350. Position = $PE_guielement_pos_single_container ;
  351. Extent = $PE_guielement_ext_single_container ;
  352. new GuiTextCtrl() {
  353. canSaveDynamicFields = "0";
  354. Enabled = "1";
  355. isContainer = "0";
  356. Profile = "ToolsGuiTextProfile";
  357. HorizSizing = "width";
  358. VertSizing = "bottom";
  359. position = $PE_guielement_pos_name;
  360. Extent = $PE_guielement_ext_name;
  361. MinExtent = "8 2";
  362. canSave = "1";
  363. Visible = "1";
  364. hovertime = "1000";
  365. Margin = "0 0 0 0";
  366. Padding = "0 0 0 0";
  367. AnchorTop = "1";
  368. AnchorBottom = "0";
  369. AnchorLeft = "1";
  370. AnchorRight = "0";
  371. text = "Life Random";
  372. maxLength = "255";
  373. };
  374. new GuiSliderCtrl(PEE_lifetimeVarianceMS) {
  375. internalName = "PEE_lifetimeVarianceMS_slider";
  376. canSaveDynamicFields = "0";
  377. Enabled = "1";
  378. isContainer = "0";
  379. Profile = "ToolsGuiSliderProfile";
  380. HorizSizing = "left";
  381. VertSizing = "bottom";
  382. position = $PE_guielement_pos_slider;
  383. Extent = $PE_guielement_ext_slider;
  384. MinExtent = "8 2";
  385. canSave = "1";
  386. Visible = "1";
  387. Command = "PE_EmitterEditor.updateLifeFields( true, $ThisControl.getValue(), true, true );";
  388. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateLifeFields( true, $ThisControl.getValue(), true, false );";
  389. hovertime = "1000";
  390. range = "0 1000";
  391. ticks = "0";
  392. value = "";
  393. };
  394. new GuiTextEditCtrl() {
  395. internalName = "PEE_lifetimeVarianceMS_textEdit";
  396. Profile = "ToolsGuiTextEditProfile";
  397. HorizSizing = "left";
  398. VertSizing = "bottom";
  399. position = $PE_guielement_pos_value;
  400. Extent = $PE_guielement_ext_value;
  401. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateLifeFields( true, $ThisControl.getValue() );";
  402. };
  403. };
  404. new GuiControl(){ // Emitter Infinite Loop
  405. isContainer = "1";
  406. HorizSizing = "width";
  407. VertSizing = "bottom";
  408. Position = $PE_guielement_pos_single_container ;
  409. Extent = $PE_guielement_ext_single_container ;
  410. new GuiTextCtrl() {
  411. Profile = "ToolsGuiTextProfile";
  412. HorizSizing = "width";
  413. VertSizing = "bottom";
  414. position = $PE_guielement_pos_name;
  415. Extent = $PE_guielement_ext_checkbox_name;
  416. text = "Infinite Loop";
  417. };
  418. new GuiCheckBoxCtrl() {
  419. internalName = "PEE_infiniteLoop";
  420. Profile = "ToolsGuiCheckBoxProfile";
  421. HorizSizing = "left";
  422. VertSizing = "bottom";
  423. position = $PE_guielement_pos_checkbox;
  424. Extent = $PE_guielement_ext_checkbox;
  425. Command = "PE_EmitterEditor.updateLifeFieldsInfiniteLoop();";
  426. text = "";
  427. };
  428. };
  429. new GuiControl(){ // Spacer ----------------------------
  430. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  431. new GuiBitmapCtrl(){
  432. position="0 3"; extent ="188 2"; HorizSizing = "width";
  433. bitmapAsset ="ToolsModule:separator_v_image";
  434. };
  435. };// end spacer ----------------------------------------
  436. new GuiControl(){ // Emitter Amount
  437. class = "AggregateControl";
  438. isContainer = "1";
  439. HorizSizing = "width";
  440. VertSizing = "bottom";
  441. Position = $PE_guielement_pos_single_container ;
  442. Extent = $PE_guielement_ext_single_container ;
  443. new GuiTextCtrl() {
  444. Profile = "ToolsGuiTextProfile";
  445. HorizSizing = "width";
  446. VertSizing = "bottom";
  447. position = $PE_guielement_pos_name;
  448. Extent = $PE_guielement_ext_name;
  449. text = "Amount";
  450. };
  451. new GuiSliderCtrl(PEE_ejectionPeriodMS) {
  452. internalName = "PEE_ejectionPeriodMS_slider";
  453. canSaveDynamicFields = "0";
  454. Enabled = "1";
  455. isContainer = "0";
  456. Profile = "ToolsGuiSliderProfile";
  457. HorizSizing = "left";
  458. VertSizing = "bottom";
  459. position = $PE_guielement_pos_slider;
  460. Extent = $PE_guielement_ext_slider;
  461. MinExtent = "8 2";
  462. canSave = "1";
  463. Visible = "1";
  464. Command = "PE_EmitterEditor.updateAmountFields( false, $ThisControl.getValue(), true, true );";
  465. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateAmountFields( false, $ThisControl.getValue(), true, false );";
  466. hovertime = "1000";
  467. range = "1 1000";
  468. ticks = "0";
  469. value = "1";
  470. };
  471. new GuiTextEditCtrl() {
  472. internalName = "PEE_ejectionPeriodMS_textEdit";
  473. Profile = "ToolsGuiTextEditProfile";
  474. HorizSizing = "left";
  475. VertSizing = "bottom";
  476. position = $PE_guielement_pos_value;
  477. Extent = $PE_guielement_ext_value;
  478. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateAmountFields( false, $ThisControl.getValue() );";
  479. };
  480. };
  481. new GuiControl(){ // Emitter Amount Random
  482. class = "AggregateControl";
  483. isContainer = "1";
  484. HorizSizing = "width";
  485. VertSizing = "bottom";
  486. Position = $PE_guielement_pos_single_container ;
  487. Extent = $PE_guielement_ext_single_container ;
  488. new GuiTextCtrl() {
  489. Profile = "ToolsGuiTextProfile";
  490. HorizSizing = "width";
  491. VertSizing = "bottom";
  492. position = $PE_guielement_pos_name;
  493. Extent = $PE_guielement_ext_name;
  494. text = "Amount Random";
  495. };
  496. new GuiSliderCtrl(PEE_periodVarianceMS) {
  497. internalName = "PEE_periodVarianceMS_slider";
  498. canSaveDynamicFields = "0";
  499. Enabled = "1";
  500. isContainer = "0";
  501. Profile = "ToolsGuiSliderProfile";
  502. HorizSizing = "left";
  503. VertSizing = "bottom";
  504. position = $PE_guielement_pos_slider;
  505. Extent = $PE_guielement_ext_slider;
  506. MinExtent = "8 2";
  507. canSave = "1";
  508. Visible = "1";
  509. Command = "PE_EmitterEditor.updateAmountFields( true, $ThisControl.getValue(), true, true );";
  510. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateAmountFields( true, $ThisControl.getValue(), true, false );";
  511. hovertime = "1000";
  512. range = "0 999";
  513. ticks = "0";
  514. value = "1";
  515. };
  516. new GuiTextEditCtrl() {
  517. internalName = "PEE_periodVarianceMS_textEdit";
  518. Profile = "ToolsGuiTextEditProfile";
  519. HorizSizing = "left";
  520. VertSizing = "bottom";
  521. position = $PE_guielement_pos_value;
  522. Extent = $PE_guielement_ext_value;
  523. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateAmountFields( true, $ThisControl.getValue() );";
  524. };
  525. };
  526. new GuiControl(){ // Particle glow
  527. isContainer = "1";
  528. HorizSizing = "width";
  529. VertSizing = "bottom";
  530. Position = $PE_guielement_pos_single_container ;
  531. Extent = $PE_guielement_ext_single_container ;
  532. new GuiTextCtrl() {
  533. Profile = "ToolsGuiTextProfile";
  534. HorizSizing = "width";
  535. VertSizing = "bottom";
  536. position = $PE_guielement_pos_name;
  537. Extent = $PE_guielement_ext_checkbox_name;
  538. text = "Glow";
  539. };
  540. new GuiCheckBoxCtrl() {
  541. internalName = "PEE_glow";
  542. Profile = "ToolsGuiCheckBoxProfile";
  543. HorizSizing = "left";
  544. VertSizing = "bottom";
  545. position = $PE_guielement_pos_checkbox;
  546. Extent = $PE_guielement_ext_checkbox;
  547. Command = "PE_EmitterEditor.updateEmitter( \"glow\", $ThisControl.getValue());";
  548. text = "";
  549. };
  550. };
  551. };// end stack
  552. }; // end "basic" rollout
  553. new GuiRolloutCtrl() {
  554. class = "BehaviorQuickEditRollout";
  555. superclass = LBQuickEditRollout;
  556. Profile = "GuiRolloutProfile";
  557. HorizSizing = "width";
  558. VertSizing = "bottom";
  559. Position = "0 0";
  560. Extent = "197 0";
  561. Caption = "Motion";
  562. Margin = "4 4 4 0";
  563. DragSizable = false;
  564. container = true;
  565. new GuiStackControl() {
  566. StackingType = "Vertical";
  567. HorizStacking = "Left to Right";
  568. VertStacking = "Top to Bottom";
  569. Padding = "0";
  570. canSaveDynamicFields = "0";
  571. Enabled = "1";
  572. isContainer = "1";
  573. Profile = "ToolsGuiDefaultProfile";
  574. HorizSizing = "width";
  575. VertSizing = "bottom";
  576. Position = "1 3";
  577. Extent = "197 16";
  578. MinExtent = "16 16";
  579. canSave = "1";
  580. isDecoy = "0";
  581. Visible = "1";
  582. tooltipprofile = "ToolsGuiToolTipProfile";
  583. hovertime = "1000";
  584. new GuiControl(){ // Emitter speed
  585. class = "AggregateControl";
  586. isContainer = "1";
  587. HorizSizing = "width";
  588. VertSizing = "bottom";
  589. Position = $PE_guielement_pos_single_container ;
  590. Extent = $PE_guielement_ext_single_container ;
  591. new GuiTextCtrl() {
  592. Profile = "ToolsGuiTextProfile";
  593. HorizSizing = "width";
  594. VertSizing = "bottom";
  595. position = $PE_guielement_pos_name;
  596. Extent = $PE_guielement_ext_name;
  597. text = "Speed";
  598. };
  599. new GuiSliderCtrl(PEE_ejectionVelocity) {
  600. internalName = "PEE_ejectionVelocity_slider";
  601. canSaveDynamicFields = "0";
  602. Enabled = "1";
  603. isContainer = "0";
  604. Profile = "ToolsGuiSliderProfile";
  605. HorizSizing = "left";
  606. VertSizing = "bottom";
  607. position = $PE_guielement_pos_slider;
  608. Extent = $PE_guielement_ext_slider;
  609. MinExtent = "8 2";
  610. canSave = "1";
  611. Visible = "1";
  612. Command = "PE_EmitterEditor.updateSpeedFields( false, $ThisControl.getValue(), true, true );";
  613. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateSpeedFields( false, $ThisControl.getValue(), true, false );";
  614. hovertime = "1000";
  615. range = "0 100";
  616. ticks = "0";
  617. value = "0";
  618. };
  619. new GuiTextEditCtrl() {
  620. internalName = "PEE_ejectionVelocity_textEdit";
  621. Profile = "ToolsGuiTextEditProfile";
  622. HorizSizing = "left";
  623. VertSizing = "bottom";
  624. position = $PE_guielement_pos_value;
  625. Extent = $PE_guielement_ext_value;
  626. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateSpeedFields( false, $ThisControl.getValue() );";
  627. };
  628. };
  629. new GuiControl(){ // Emitter speed random
  630. class = "AggregateControl";
  631. isContainer = "1";
  632. HorizSizing = "width";
  633. VertSizing = "bottom";
  634. Position = $PE_guielement_pos_single_container ;
  635. Extent = $PE_guielement_ext_single_container ;
  636. new GuiTextCtrl() {
  637. Profile = "ToolsGuiTextProfile";
  638. HorizSizing = "width";
  639. VertSizing = "bottom";
  640. position = $PE_guielement_pos_name;
  641. Extent = $PE_guielement_ext_name;
  642. text = "Speed Random";
  643. };
  644. new GuiSliderCtrl(PEE_velocityVariance) {
  645. internalName = "PEE_velocityVariance_slider";
  646. canSaveDynamicFields = "0";
  647. Enabled = "1";
  648. isContainer = "0";
  649. Profile = "ToolsGuiSliderProfile";
  650. HorizSizing = "left";
  651. VertSizing = "bottom";
  652. position = $PE_guielement_pos_slider;
  653. Extent = $PE_guielement_ext_slider;
  654. MinExtent = "8 2";
  655. canSave = "1";
  656. Visible = "1";
  657. Command = "PE_EmitterEditor.updateSpeedFields( true, $ThisControl.getValue(), true, true );";
  658. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateSpeedFields( true, $ThisControl.getValue(), true, false );";
  659. hovertime = "1000";
  660. range = "0 100";
  661. ticks = "0";
  662. value = "0";
  663. };
  664. new GuiTextEditCtrl() {
  665. internalName = "PEE_velocityVariance_textEdit";
  666. Profile = "ToolsGuiTextEditProfile";
  667. HorizSizing = "left";
  668. VertSizing = "bottom";
  669. position = $PE_guielement_pos_value;
  670. Extent = $PE_guielement_ext_value;
  671. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateSpeedFields( true, $ThisControl.getValue() );";
  672. };
  673. };
  674. new GuiControl(){ // Spacer ----------------------------
  675. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  676. new GuiBitmapCtrl(){
  677. position="0 3"; extent ="188 2"; HorizSizing = "width";
  678. bitmapAsset ="ToolsModule:separator_v_image";
  679. };
  680. };// end spacer ----------------------------------------
  681. new GuiControl(){ // Emitter Orient to Movment Direction
  682. isContainer = "1";
  683. HorizSizing = "width";
  684. VertSizing = "bottom";
  685. Position = $PE_guielement_pos_single_container ;
  686. Extent = $PE_guielement_ext_single_container ;
  687. new GuiTextCtrl() {
  688. Profile = "ToolsGuiTextProfile";
  689. HorizSizing = "width";
  690. VertSizing = "bottom";
  691. position = $PE_guielement_pos_name;
  692. Extent = $PE_guielement_ext_checkbox_name;
  693. text = "Orient to Movment Direction";
  694. };
  695. new GuiCheckBoxCtrl() {
  696. internalName = "PEE_orientParticles";
  697. Profile = "ToolsGuiCheckBoxProfile";
  698. HorizSizing = "left";
  699. VertSizing = "bottom";
  700. position = $PE_guielement_pos_checkbox;
  701. Extent = $PE_guielement_ext_checkbox;
  702. text = "";
  703. command = "PE_EmitterEditor.updateEmitter( \"orientParticles\", $ThisControl.getValue());";
  704. };
  705. };
  706. new GuiControl(){ // Emitter Align to a Direction
  707. isContainer = "1";
  708. HorizSizing = "width";
  709. VertSizing = "bottom";
  710. Position = $PE_guielement_pos_single_container ;
  711. Extent = $PE_guielement_ext_single_container ;
  712. new GuiTextCtrl() {
  713. Profile = "ToolsGuiTextProfile";
  714. HorizSizing = "width";
  715. VertSizing = "bottom";
  716. position = $PE_guielement_pos_name;
  717. Extent = $PE_guielement_ext_checkbox_name;
  718. text = "Align to a Direction";
  719. };
  720. new GuiCheckBoxCtrl() {
  721. internalName = "PEE_alignParticles";
  722. Profile = "ToolsGuiCheckBoxProfile";
  723. HorizSizing = "left";
  724. VertSizing = "bottom";
  725. position = $PE_guielement_pos_checkbox;
  726. Extent = $PE_guielement_ext_checkbox;
  727. text = "";
  728. command = "PE_EmitterEditor.updateEmitter( \"alignParticles\", $ThisControl.getValue());";
  729. };
  730. };
  731. new GuiControl(){ // Emitter Align Direction
  732. isContainer = "1";
  733. HorizSizing = "width";
  734. VertSizing = "bottom";
  735. Position = $PE_guielement_pos_single_container ;
  736. Extent = $PE_guielement_ext_single_container ;
  737. new GuiTextCtrl() {
  738. Profile = "ToolsGuiTextProfile";
  739. HorizSizing = "width";
  740. VertSizing = "bottom";
  741. position = $PE_guielement_pos_name;
  742. Extent = $PE_guielement_ext_name;
  743. text = "Align Direction";
  744. };
  745. new GuiTextEditCtrl() {
  746. internalName = "PEE_alignDirection";
  747. Profile = "ToolsGuiTextEditProfile";
  748. HorizSizing = "left";
  749. VertSizing = "bottom";
  750. position = $PE_guielement_pos_textedit;
  751. Extent = $PE_guielement_ext_textedit;
  752. text = "0 0 0";
  753. altCommand = "PE_EmitterEditor.updateEmitter( \"alignDirection\", $ThisControl.getText());";
  754. };
  755. };
  756. new GuiControl(){ // Emitter ribbon
  757. isContainer = "1";
  758. HorizSizing = "width";
  759. VertSizing = "bottom";
  760. Position = $PE_guielement_pos_single_container ;
  761. Extent = $PE_guielement_ext_single_container ;
  762. new GuiTextCtrl() {
  763. Profile = "ToolsGuiTextProfile";
  764. HorizSizing = "width";
  765. VertSizing = "bottom";
  766. position = $PE_guielement_pos_name;
  767. Extent = $PE_guielement_ext_checkbox_name;
  768. text = "Render as a Ribbon";
  769. };
  770. new GuiCheckBoxCtrl() {
  771. internalName = "PEE_ribbonParticles";
  772. Profile = "ToolsGuiCheckBoxProfile";
  773. HorizSizing = "left";
  774. VertSizing = "bottom";
  775. position = $PE_guielement_pos_checkbox;
  776. Extent = $PE_guielement_ext_checkbox;
  777. text = "";
  778. command = "PE_EmitterEditor.updateEmitter( \"ribbonParticles\", $ThisControl.getValue());";
  779. };
  780. };
  781. }; // end stack
  782. }; // end "motion" rollout
  783. new GuiRolloutCtrl() {
  784. class = "BehaviorQuickEditRollout";
  785. superclass = LBQuickEditRollout;
  786. Profile = "GuiRolloutProfile";
  787. HorizSizing = "width";
  788. VertSizing = "bottom";
  789. Position = "0 0";
  790. Extent = "197 0";
  791. Caption = "Spread";
  792. Margin = "4 4 4 0";
  793. DragSizable = false;
  794. container = true;
  795. new GuiStackControl() {
  796. StackingType = "Vertical";
  797. HorizStacking = "Left to Right";
  798. VertStacking = "Top to Bottom";
  799. Padding = "0";
  800. canSaveDynamicFields = "0";
  801. Enabled = "1";
  802. isContainer = "1";
  803. Profile = "ToolsGuiDefaultProfile";
  804. HorizSizing = "width";
  805. VertSizing = "bottom";
  806. Position = "1 3";
  807. Extent = "197 16";
  808. MinExtent = "16 16";
  809. canSave = "1";
  810. isDecoy = "0";
  811. Visible = "1";
  812. tooltipprofile = "ToolsGuiToolTipProfile";
  813. hovertime = "1000";
  814. new GuiControl(){ // Emitter Angle Min
  815. isContainer = "1";
  816. class = "AggregateControl";
  817. HorizSizing = "width";
  818. VertSizing = "bottom";
  819. Position = $PE_guielement_pos_single_container ;
  820. Extent = $PE_guielement_ext_single_container ;
  821. new GuiBitmapCtrl(){ // 0 Degrees
  822. HorizSizing = "left";
  823. position = getWord($PE_guielement_pos_slider,0)+4 SPC "0";
  824. Extent = "2 18";
  825. minExtent = "0 0";
  826. bitmapAsset = "ToolsModule:separator_h_image";
  827. tooltip = "0 Degrees ( Up )";
  828. };
  829. new GuiBitmapCtrl(){ // 90 Degrees
  830. HorizSizing = "left";
  831. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/4)+1 SPC "0";
  832. Extent = "2 18";
  833. minExtent = "0 0";
  834. bitmapAsset = "ToolsModule:separator_h_image";
  835. tooltip = "90 Degrees ( Left )";
  836. };
  837. new GuiBitmapCtrl(){ // 180 Degrees
  838. HorizSizing = "left";
  839. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
  840. Extent = "2 18";
  841. minExtent = "0 0";
  842. bitmapAsset = "ToolsModule:separator_h_image";
  843. tooltip = "180 Degrees ( Down )";
  844. };
  845. new GuiBitmapCtrl(){ // 270 Degrees
  846. HorizSizing = "left";
  847. 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";
  848. Extent = "2 18";
  849. minExtent = "0 0";
  850. bitmapAsset = "ToolsModule:separator_h_image";
  851. tooltip = "270 Degrees ( Right )";
  852. };
  853. new GuiBitmapCtrl(){ // 360 Degrees
  854. HorizSizing = "left";
  855. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0))-5 SPC "0";
  856. Extent = "2 18";
  857. minExtent = "0 0";
  858. bitmapAsset = "ToolsModule:separator_h_image";
  859. tooltip = "360 Degrees ( Up )";
  860. };
  861. new GuiTextCtrl() {
  862. Profile = "ToolsGuiTextProfile";
  863. HorizSizing = "width";
  864. VertSizing = "bottom";
  865. position = $PE_guielement_pos_name;
  866. Extent = $PE_guielement_ext_name;
  867. text = "Angle Min";
  868. };
  869. new GuiSliderCtrl(PEE_thetaMin) {
  870. internalName = "PEE_thetaMin_slider";
  871. canSaveDynamicFields = "0";
  872. Enabled = "1";
  873. isContainer = "0";
  874. Profile = "ToolsGuiSliderProfile";
  875. HorizSizing = "left";
  876. VertSizing = "bottom";
  877. position = $PE_guielement_pos_slider;
  878. Extent = $PE_guielement_ext_slider;
  879. MinExtent = "8 2";
  880. canSave = "1";
  881. Visible = "1";
  882. Command = "PE_EmitterEditor.updateEmitter( \"thetaMin\", $ThisControl.getValue(), true, true );";
  883. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaMin\", $ThisControl.getValue(), true, false );";
  884. hovertime = "1000";
  885. range = "0 180";
  886. ticks = "0";
  887. value = "0";
  888. };
  889. new GuiTextEditCtrl() {
  890. internalname = "PEE_thetaMin_textEdit";
  891. Profile = "ToolsGuiTextEditProfile";
  892. HorizSizing = "left";
  893. VertSizing = "bottom";
  894. position = $PE_guielement_pos_value;
  895. Extent = $PE_guielement_ext_value;
  896. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaMin\", $ThisControl.getText());";
  897. };
  898. };
  899. new GuiControl(){ // Emitter Angle Max
  900. isContainer = "1";
  901. class = "AggregateControl";
  902. HorizSizing = "width";
  903. VertSizing = "bottom";
  904. Position = $PE_guielement_pos_single_container ;
  905. Extent = $PE_guielement_ext_single_container ;
  906. new GuiBitmapCtrl(){ // 0 Degrees
  907. HorizSizing = "left";
  908. position = getWord($PE_guielement_pos_slider,0)+4 SPC "0";
  909. Extent = "2 18";
  910. minExtent = "0 0";
  911. bitmapAsset = "ToolsModule:separator_h_image";
  912. tooltip = "0 Degrees ( Up )";
  913. };
  914. new GuiBitmapCtrl(){ // 90 Degrees
  915. HorizSizing = "left";
  916. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/4)+1 SPC "0";
  917. Extent = "2 18";
  918. minExtent = "0 0";
  919. bitmapAsset = "ToolsModule:separator_h_image";
  920. tooltip = "90 Degrees ( Left )";
  921. };
  922. new GuiBitmapCtrl(){ // 180 Degrees
  923. HorizSizing = "left";
  924. minExtent = "0 0";
  925. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
  926. Extent = "2 18";
  927. bitmapAsset = "ToolsModule:separator_h_image";
  928. tooltip = "180 Degrees ( Down )";
  929. };
  930. new GuiBitmapCtrl(){ // 270 Degrees
  931. HorizSizing = "left";
  932. 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";
  933. Extent = "2 18";
  934. minExtent = "0 0";
  935. bitmapAsset = "ToolsModule:separator_h_image";
  936. tooltip = "270 Degrees ( Right )";
  937. };
  938. new GuiBitmapCtrl(){ // 360 Degrees
  939. HorizSizing = "left";
  940. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0))-5 SPC "0";
  941. Extent = "2 18";
  942. minExtent = "0 0";
  943. bitmapAsset = "ToolsModule:separator_h_image";
  944. tooltip = "360 Degrees ( Up )";
  945. };
  946. new GuiTextCtrl() {
  947. Profile = "ToolsGuiTextProfile";
  948. HorizSizing = "width";
  949. VertSizing = "bottom";
  950. position = $PE_guielement_pos_name;
  951. Extent = $PE_guielement_ext_name;
  952. text = "Angle Max";
  953. };
  954. new GuiSliderCtrl(PEE_thetaMax) {
  955. internalName = "PEE_thetaMax_slider";
  956. canSaveDynamicFields = "0";
  957. Enabled = "1";
  958. isContainer = "0";
  959. Profile = "ToolsGuiSliderProfile";
  960. HorizSizing = "left";
  961. VertSizing = "bottom";
  962. position = $PE_guielement_pos_slider;
  963. Extent = $PE_guielement_ext_slider;
  964. MinExtent = "8 2";
  965. canSave = "1";
  966. Visible = "1";
  967. Command = "PE_EmitterEditor.updateEmitter( \"thetaMax\", $ThisControl.getValue(), true, true );";
  968. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaMax\", $ThisControl.getValue(), true, false );";
  969. hovertime = "1000";
  970. range = "0 180";
  971. ticks = "0";
  972. value = "0";
  973. };
  974. new GuiTextEditCtrl() {
  975. internalName = "PEE_thetaMax_textEdit";
  976. Profile = "ToolsGuiTextEditProfile";
  977. HorizSizing = "left";
  978. VertSizing = "bottom";
  979. position = $PE_guielement_pos_value;
  980. Extent = $PE_guielement_ext_value;
  981. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaMax\", $ThisControl.getText());";
  982. };
  983. };
  984. new GuiControl(){ // Emitter Angle Variance
  985. isContainer = "1";
  986. class = "AggregateControl";
  987. HorizSizing = "width";
  988. VertSizing = "bottom";
  989. Position = $PE_guielement_pos_single_container ;
  990. Extent = $PE_guielement_ext_single_container ;
  991. new GuiBitmapCtrl(){ // 0 Degrees
  992. HorizSizing = "left";
  993. position = getWord($PE_guielement_pos_slider,0)+4 SPC "0";
  994. Extent = "2 18";
  995. minExtent = "0 0";
  996. bitmapAsset = "ToolsModule:separator_h_image";
  997. tooltip = "0 Degrees ( Up )";
  998. };
  999. new GuiBitmapCtrl(){ // 90 Degrees
  1000. HorizSizing = "left";
  1001. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/4)+1 SPC "0";
  1002. Extent = "2 18";
  1003. minExtent = "0 0";
  1004. bitmapAsset = "ToolsModule:separator_h_image";
  1005. tooltip = "45 Degrees";
  1006. };
  1007. new GuiBitmapCtrl(){ // 180 Degrees
  1008. HorizSizing = "left";
  1009. minExtent = "0 0";
  1010. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
  1011. Extent = "2 18";
  1012. bitmapAsset = "ToolsModule:separator_h_image";
  1013. tooltip = "90 Degrees";
  1014. };
  1015. new GuiBitmapCtrl(){ // 270 Degrees
  1016. HorizSizing = "left";
  1017. 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";
  1018. Extent = "2 18";
  1019. minExtent = "0 0";
  1020. bitmapAsset = "ToolsModule:separator_h_image";
  1021. tooltip = "135 Degrees";
  1022. };
  1023. new GuiBitmapCtrl(){ // 360 Degrees
  1024. HorizSizing = "left";
  1025. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0))-5 SPC "0";
  1026. Extent = "2 18";
  1027. minExtent = "0 0";
  1028. bitmapAsset = "ToolsModule:separator_h_image";
  1029. tooltip = "180 Degrees";
  1030. };
  1031. new GuiTextCtrl() {
  1032. Profile = "ToolsGuiTextProfile";
  1033. HorizSizing = "width";
  1034. VertSizing = "bottom";
  1035. position = $PE_guielement_pos_name;
  1036. Extent = $PE_guielement_ext_name;
  1037. text = "Angle Variance";
  1038. };
  1039. new GuiSliderCtrl(PEE_thetaVar) {
  1040. internalName = "PEE_thetaVar_slider";
  1041. canSaveDynamicFields = "0";
  1042. Enabled = "1";
  1043. isContainer = "0";
  1044. Profile = "ToolsGuiSliderProfile";
  1045. HorizSizing = "left";
  1046. VertSizing = "bottom";
  1047. position = $PE_guielement_pos_slider;
  1048. Extent = $PE_guielement_ext_slider;
  1049. MinExtent = "8 2";
  1050. canSave = "1";
  1051. Visible = "1";
  1052. Command = "PE_EmitterEditor.updateEmitter( \"thetaVariance\", $ThisControl.getValue(), true, true );";
  1053. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaVariance\", $ThisControl.getValue(), true, false );";
  1054. hovertime = "1000";
  1055. range = "0 180";
  1056. ticks = "0";
  1057. value = "0";
  1058. };
  1059. new GuiTextEditCtrl() {
  1060. internalName = "PEE_thetaVar_textEdit";
  1061. Profile = "ToolsGuiTextEditProfile";
  1062. HorizSizing = "left";
  1063. VertSizing = "bottom";
  1064. position = $PE_guielement_pos_value;
  1065. Extent = $PE_guielement_ext_value;
  1066. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"thetaVariance\", $ThisControl.getText());";
  1067. };
  1068. };
  1069. new GuiControl(){ // Spacer ----------------------------
  1070. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  1071. new GuiBitmapCtrl(){
  1072. position="0 3"; extent ="188 2"; HorizSizing = "width";
  1073. bitmapAsset ="ToolsModule:separator_v_image";
  1074. };
  1075. };// end spacer ----------------------------------------
  1076. new GuiControl(){ // Emitter Depth
  1077. isContainer = "1";
  1078. class = "AggregateControl";
  1079. HorizSizing = "width";
  1080. VertSizing = "bottom";
  1081. Position = $PE_guielement_pos_single_container ;
  1082. Extent = $PE_guielement_ext_single_container ;
  1083. new GuiTextCtrl() {
  1084. Profile = "ToolsGuiTextProfile";
  1085. HorizSizing = "width";
  1086. VertSizing = "bottom";
  1087. position = $PE_guielement_pos_name;
  1088. Extent = $PE_guielement_ext_name;
  1089. text = "Depth";
  1090. };
  1091. new GuiSliderCtrl(PEE_phiVariance) {
  1092. internalName = "PEE_phiVariance_slider";
  1093. canSaveDynamicFields = "0";
  1094. Enabled = "1";
  1095. isContainer = "0";
  1096. Profile = "ToolsGuiSliderProfile";
  1097. HorizSizing = "left";
  1098. VertSizing = "bottom";
  1099. position = $PE_guielement_pos_slider;
  1100. Extent = $PE_guielement_ext_slider;
  1101. MinExtent = "8 2";
  1102. canSave = "1";
  1103. Visible = "1";
  1104. Command = "PE_EmitterEditor.updateEmitter( \"phiVariance\", $ThisControl.getValue(), true, true );";
  1105. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"phiVariance\", $ThisControl.getValue(), true, false );";
  1106. hovertime = "1000";
  1107. range = "0 360";
  1108. ticks = "0";
  1109. value = "360";
  1110. };
  1111. new GuiTextEditCtrl() {
  1112. internalName = "PEE_phiVariance_textEdit";
  1113. Profile = "ToolsGuiTextEditProfile";
  1114. HorizSizing = "left";
  1115. VertSizing = "bottom";
  1116. position = $PE_guielement_pos_value;
  1117. Extent = $PE_guielement_ext_value;
  1118. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"phiVariance\", $ThisControl.getText());";
  1119. };
  1120. };
  1121. new GuiControl(){ // Emitter Offset
  1122. class = "AggregateControl";
  1123. isContainer = "1";
  1124. HorizSizing = "width";
  1125. VertSizing = "bottom";
  1126. Position = $PE_guielement_pos_single_container ;
  1127. Extent = $PE_guielement_ext_single_container ;
  1128. new GuiTextCtrl() {
  1129. Profile = "ToolsGuiTextProfile";
  1130. HorizSizing = "width";
  1131. VertSizing = "bottom";
  1132. position = $PE_guielement_pos_name;
  1133. Extent = $PE_guielement_ext_name;
  1134. text = "Offset";
  1135. };
  1136. new GuiSliderCtrl(PEE_ejectionOffset) {
  1137. internalName = "PEE_ejectionOffset_slider";
  1138. canSaveDynamicFields = "0";
  1139. Enabled = "1";
  1140. isContainer = "0";
  1141. Profile = "ToolsGuiSliderProfile";
  1142. HorizSizing = "left";
  1143. VertSizing = "bottom";
  1144. position = $PE_guielement_pos_slider;
  1145. Extent = $PE_guielement_ext_slider;
  1146. MinExtent = "8 2";
  1147. canSave = "1";
  1148. Visible = "1";
  1149. Command = "PE_EmitterEditor.updateEmitter( \"ejectionOffset\", $ThisControl.getValue(), true, true );";
  1150. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ejectionOffset\", $ThisControl.getValue(), true, false );";
  1151. hovertime = "1000";
  1152. range = "0 50";
  1153. ticks = "0";
  1154. value = "0";
  1155. };
  1156. new GuiTextEditCtrl() {
  1157. internalName = "PEE_ejectionOffset_textEdit";
  1158. Profile = "ToolsGuiTextEditProfile";
  1159. HorizSizing = "left";
  1160. VertSizing = "bottom";
  1161. position = $PE_guielement_pos_value;
  1162. Extent = $PE_guielement_ext_value;
  1163. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ejectionOffset\", $ThisControl.getText());";
  1164. };
  1165. };
  1166. new GuiControl(){ // Emitter Offset Variance
  1167. class = "AggregateControl";
  1168. isContainer = "1";
  1169. HorizSizing = "width";
  1170. VertSizing = "bottom";
  1171. Position = $PE_guielement_pos_single_container ;
  1172. Extent = $PE_guielement_ext_single_container ;
  1173. new GuiTextCtrl() {
  1174. Profile = "ToolsGuiTextProfile";
  1175. HorizSizing = "width";
  1176. VertSizing = "bottom";
  1177. position = $PE_guielement_pos_name;
  1178. Extent = $PE_guielement_ext_name;
  1179. text = "OffsetVariance";
  1180. };
  1181. new GuiSliderCtrl(PEE_ejectionOffsetVariance) {
  1182. internalName = "PEE_ejectionOffsetVariance_slider";
  1183. canSaveDynamicFields = "0";
  1184. Enabled = "1";
  1185. isContainer = "0";
  1186. Profile = "ToolsGuiSliderProfile";
  1187. HorizSizing = "left";
  1188. VertSizing = "bottom";
  1189. position = $PE_guielement_pos_slider;
  1190. Extent = $PE_guielement_ext_slider;
  1191. MinExtent = "8 2";
  1192. canSave = "1";
  1193. Visible = "1";
  1194. Command = "PE_EmitterEditor.updateEmitter( \"ejectionOffsetVariance\", $ThisControl.getValue(), true, true );";
  1195. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ejectionOffsetVariance\", $ThisControl.getValue(), true, false );";
  1196. hovertime = "1000";
  1197. range = "0 25";
  1198. ticks = "0";
  1199. value = "0";
  1200. };
  1201. new GuiTextEditCtrl() {
  1202. internalName = "PEE_ejectionOffsetVariance_textEdit";
  1203. Profile = "ToolsGuiTextEditProfile";
  1204. HorizSizing = "left";
  1205. VertSizing = "bottom";
  1206. position = $PE_guielement_pos_value;
  1207. Extent = $PE_guielement_ext_value;
  1208. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ejectionOffsetVariance\", $ThisControl.getText());";
  1209. };
  1210. };
  1211. }; // end stack
  1212. }; // end "spread" rollout
  1213. new GuiRolloutCtrl() {
  1214. class = "BehaviorQuickEditRollout";
  1215. superclass = LBQuickEditRollout;
  1216. Profile = "GuiRolloutProfile";
  1217. HorizSizing = "width";
  1218. VertSizing = "bottom";
  1219. Position = "0 0";
  1220. Extent = "197 0";
  1221. Caption = "Particles";
  1222. Margin = "4 4 4 0";
  1223. DragSizable = false;
  1224. container = true;
  1225. new GuiStackControl() {
  1226. StackingType = "Vertical";
  1227. HorizStacking = "Left to Right";
  1228. VertStacking = "Top to Bottom";
  1229. Padding = "0";
  1230. canSaveDynamicFields = "0";
  1231. Enabled = "1";
  1232. isContainer = "1";
  1233. Profile = "ToolsGuiDefaultProfile";
  1234. HorizSizing = "width";
  1235. VertSizing = "bottom";
  1236. Position = "1 3";
  1237. Extent = "197 16";
  1238. MinExtent = "16 16";
  1239. canSave = "1";
  1240. isDecoy = "0";
  1241. Visible = "1";
  1242. tooltipprofile = "ToolsGuiToolTipProfile";
  1243. hovertime = "1000";
  1244. new GuiControl(PEE_EmitterParticle1){ // emmiter particle 1
  1245. isContainer = "1";
  1246. HorizSizing = "width";
  1247. VertSizing = "bottom";
  1248. Position = $PE_guielement_pos_single_container ;
  1249. Extent = $PE_guielement_ext_single_container ;
  1250. new GuiTextCtrl() {
  1251. Profile = "ToolsGuiTextProfile";
  1252. HorizSizing = "width";
  1253. VertSizing = "bottom";
  1254. position = $PE_guielement_pos_name;
  1255. Extent = $PE_guielement_ext_name;
  1256. text = "Particle 1";
  1257. };
  1258. new GuiPopUpMenuCtrl(PEE_EmitterParticleSelector1) {
  1259. internalName = "PopUpMenu";
  1260. Profile = "ToolsGuiPopUpMenuProfile";
  1261. HorizSizing = "left";
  1262. VertSizing = "bottom";
  1263. position = $PE_guielement_pos_textedit;
  1264. Extent = $PE_guielement_ext_textedit;
  1265. text = "";
  1266. command = "PE_EmitterEditor.updateParticlesFields($ThisControl);";
  1267. };
  1268. };
  1269. new GuiControl(PEE_EmitterParticle2){ // emmiter particle 2
  1270. isContainer = "1";
  1271. HorizSizing = "width";
  1272. VertSizing = "bottom";
  1273. Position = $PE_guielement_pos_single_container ;
  1274. Extent = $PE_guielement_ext_single_container ;
  1275. new GuiTextCtrl() {
  1276. Profile = "ToolsGuiTextProfile";
  1277. HorizSizing = "width";
  1278. VertSizing = "bottom";
  1279. position = $PE_guielement_pos_name;
  1280. Extent = $PE_guielement_ext_name;
  1281. text = "Particle 2";
  1282. };
  1283. new GuiPopUpMenuCtrl(PEE_EmitterParticleSelector2) {
  1284. internalName = "PopUpMenu";
  1285. Profile = "ToolsGuiPopUpMenuProfile";
  1286. HorizSizing = "left";
  1287. VertSizing = "bottom";
  1288. position = $PE_guielement_pos_textedit;
  1289. Extent = $PE_guielement_ext_textedit;
  1290. text = "None";
  1291. command = "PE_EmitterEditor.updateParticlesFields();";
  1292. };
  1293. // Clear particle 2
  1294. new GuiBitmapButtonCtrl() {
  1295. canSaveDynamicFields = "0";
  1296. Enabled = "1";
  1297. isContainer = "0";
  1298. Profile = "ToolsGuiButtonProfile";
  1299. HorizSizing = "left";
  1300. VertSizing = "bottom";
  1301. position = "56 1";
  1302. Extent = "17 17";
  1303. MinExtent = "8 2";
  1304. canSave = "1";
  1305. Visible = "1";
  1306. Command = "$_particleId = PEE_EmitterParticle2-->PopUpMenu.findText( \"None\" ); PEE_EmitterParticle2-->PopUpMenu.setSelected( $_particleId );PE_EmitterEditor.updateParticlesFields();";
  1307. hovertime = "1000";
  1308. tooltip = "Clear Particle 2 from Emitter";
  1309. text = "";
  1310. bitmapAsset = "ToolsModule:clear_icon_n_image";
  1311. groupNum = "-1";
  1312. buttonType = "PushButton";
  1313. useMouseEvents = "0";
  1314. };
  1315. };
  1316. new GuiControl(PEE_EmitterParticle3){ // emmiter particle 3
  1317. isContainer = "1";
  1318. HorizSizing = "width";
  1319. VertSizing = "bottom";
  1320. Position = $PE_guielement_pos_single_container ;
  1321. Extent = $PE_guielement_ext_single_container ;
  1322. new GuiTextCtrl() {
  1323. Profile = "ToolsGuiTextProfile";
  1324. HorizSizing = "width";
  1325. VertSizing = "bottom";
  1326. position = $PE_guielement_pos_name;
  1327. Extent = $PE_guielement_ext_name;
  1328. text = "Particle 3";
  1329. };
  1330. new GuiPopUpMenuCtrl(PEE_EmitterParticleSelector3) {
  1331. internalName = "PopUpMenu";
  1332. Profile = "ToolsGuiPopUpMenuProfile";
  1333. HorizSizing = "left";
  1334. VertSizing = "bottom";
  1335. position = $PE_guielement_pos_textedit;
  1336. Extent = $PE_guielement_ext_textedit;
  1337. text = "None";
  1338. command = "PE_EmitterEditor.updateParticlesFields();";
  1339. };
  1340. // Clear particle 3
  1341. new GuiBitmapButtonCtrl() {
  1342. canSaveDynamicFields = "0";
  1343. Enabled = "1";
  1344. isContainer = "0";
  1345. Profile = "ToolsGuiButtonProfile";
  1346. HorizSizing = "left";
  1347. VertSizing = "bottom";
  1348. position = "56 1";
  1349. Extent = "17 17";
  1350. MinExtent = "8 2";
  1351. canSave = "1";
  1352. Visible = "1";
  1353. Command = "$_particleId = PEE_EmitterParticle3-->PopUpMenu.findText( \"None\" ); PEE_EmitterParticle3-->PopUpMenu.setSelected( $_particleId );PE_EmitterEditor.updateParticlesFields();";
  1354. hovertime = "1000";
  1355. tooltip = "Clear Particle 3 from Emitter";
  1356. text = "";
  1357. bitmapAsset = "ToolsModule:clear_icon_n_image";
  1358. groupNum = "-1";
  1359. buttonType = "PushButton";
  1360. useMouseEvents = "0";
  1361. };
  1362. };
  1363. new GuiControl(PEE_EmitterParticle4){ // emmiter particle 4
  1364. isContainer = "1";
  1365. HorizSizing = "width";
  1366. VertSizing = "bottom";
  1367. Position = $PE_guielement_pos_single_container ;
  1368. Extent = $PE_guielement_ext_single_container ;
  1369. new GuiTextCtrl() {
  1370. Profile = "ToolsGuiTextProfile";
  1371. HorizSizing = "width";
  1372. VertSizing = "bottom";
  1373. position = $PE_guielement_pos_name;
  1374. Extent = $PE_guielement_ext_name;
  1375. text = "Particle 4";
  1376. };
  1377. new GuiPopUpMenuCtrl(PEE_EmitterParticleSelector4) {
  1378. internalName = "PopUpMenu";
  1379. Profile = "ToolsGuiPopUpMenuProfile";
  1380. HorizSizing = "left";
  1381. VertSizing = "bottom";
  1382. position = $PE_guielement_pos_textedit;
  1383. Extent = $PE_guielement_ext_textedit;
  1384. text = "None";
  1385. command = "PE_EmitterEditor.updateParticlesFields();";
  1386. };
  1387. // Clear particle 4
  1388. new GuiBitmapButtonCtrl() {
  1389. canSaveDynamicFields = "0";
  1390. Enabled = "1";
  1391. isContainer = "0";
  1392. Profile = "ToolsGuiButtonProfile";
  1393. HorizSizing = "left";
  1394. VertSizing = "bottom";
  1395. position = "56 1";
  1396. Extent = "17 17";
  1397. MinExtent = "8 2";
  1398. canSave = "1";
  1399. Visible = "1";
  1400. Command = "$_particleId = PEE_EmitterParticle4-->PopUpMenu.findText( \"None\" ); PEE_EmitterParticle4-->PopUpMenu.setSelected( $_particleId );PE_EmitterEditor.updateParticlesFields();";
  1401. hovertime = "1000";
  1402. tooltip = "Clear Particle 4 from Emitter";
  1403. text = "";
  1404. bitmapAsset = "ToolsModule:clear_icon_n_image";
  1405. groupNum = "-1";
  1406. buttonType = "PushButton";
  1407. useMouseEvents = "0";
  1408. };
  1409. };
  1410. }; // end stack
  1411. }; // end "particles" rollout
  1412. new GuiRolloutCtrl() {
  1413. class = "BehaviorQuickEditRollout";
  1414. superclass = LBQuickEditRollout;
  1415. Profile = "GuiRolloutProfile";
  1416. HorizSizing = "width";
  1417. VertSizing = "bottom";
  1418. Position = "0 0";
  1419. Extent = "197 0";
  1420. Caption = "Blending";
  1421. Margin = "4 4 4 0";
  1422. DragSizable = false;
  1423. container = true;
  1424. new GuiStackControl() {
  1425. StackingType = "Vertical";
  1426. HorizStacking = "Left to Right";
  1427. VertStacking = "Top to Bottom";
  1428. Padding = "0";
  1429. canSaveDynamicFields = "0";
  1430. Enabled = "1";
  1431. isContainer = "1";
  1432. Profile = "ToolsGuiDefaultProfile";
  1433. HorizSizing = "width";
  1434. VertSizing = "bottom";
  1435. Position = "1 3";
  1436. Extent = "197 16";
  1437. MinExtent = "16 16";
  1438. canSave = "1";
  1439. isDecoy = "0";
  1440. Visible = "1";
  1441. tooltipprofile = "ToolsGuiToolTipProfile";
  1442. hovertime = "1000";
  1443. new GuiControl(){ // Blend type
  1444. isContainer = "1";
  1445. HorizSizing = "width";
  1446. VertSizing = "bottom";
  1447. Position = $PE_guielement_pos_single_container ;
  1448. Extent = $PE_guielement_ext_single_container ;
  1449. new GuiTextCtrl() {
  1450. Profile = "ToolsGuiTextProfile";
  1451. HorizSizing = "width";
  1452. VertSizing = "bottom";
  1453. position = $PE_guielement_pos_name;
  1454. Extent = $PE_guielement_ext_name;
  1455. text = "Blend Type";
  1456. };
  1457. new GuiPopUpMenuCtrl() {
  1458. Profile = "ToolsGuiPopUpMenuProfile";
  1459. internalName = "PEE_blendType";
  1460. HorizSizing = "left";
  1461. VertSizing = "bottom";
  1462. position = $PE_guielement_pos_textedit;
  1463. Extent = $PE_guielement_ext_textedit;
  1464. command = "PE_EmitterEditor.updateEmitter( \"blendStyle\", $ThisControl.getText());";
  1465. };
  1466. };
  1467. new GuiControl(){ // softness Distance
  1468. class = "AggregateControl";
  1469. isContainer = "1";
  1470. HorizSizing = "width";
  1471. VertSizing = "bottom";
  1472. Position = $PE_guielement_pos_single_container ;
  1473. Extent = $PE_guielement_ext_single_container ;
  1474. new GuiTextCtrl() {
  1475. Profile = "ToolsGuiTextProfile";
  1476. HorizSizing = "width";
  1477. VertSizing = "bottom";
  1478. position = $PE_guielement_pos_name;
  1479. Extent = $PE_guielement_ext_name;
  1480. text = "Softness Distance ";
  1481. };
  1482. new GuiSliderCtrl() {
  1483. internalName = "PEE_softnessDistance_slider";
  1484. canSaveDynamicFields = "0";
  1485. Enabled = "1";
  1486. isContainer = "0";
  1487. Profile = "ToolsGuiSliderProfile";
  1488. HorizSizing = "left";
  1489. VertSizing = "bottom";
  1490. position = $PE_guielement_pos_slider;
  1491. Extent = $PE_guielement_ext_slider;
  1492. MinExtent = "8 2";
  1493. canSave = "1";
  1494. Visible = "1";
  1495. Command = "";
  1496. hovertime = "1000";
  1497. range = "0 1000";
  1498. ticks = "0";
  1499. value = "0";
  1500. Command = "PE_EmitterEditor.updateEmitter( \"softnessDistance\", $ThisControl.getValue(), true, true );";
  1501. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"softnessDistance\", $ThisControl.getValue(), true, false );";
  1502. };
  1503. new GuiTextEditCtrl() {
  1504. internalName = "PEE_softnessDistance_textEdit";
  1505. Profile = "ToolsGuiTextEditProfile";
  1506. HorizSizing = "left";
  1507. VertSizing = "bottom";
  1508. position = $PE_guielement_pos_value;
  1509. Extent = $PE_guielement_ext_value;
  1510. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"softnessDistance\", $ThisControl.getText());";
  1511. };
  1512. };
  1513. new GuiControl(){ // Ambient Factor
  1514. class = "AggregateControl";
  1515. isContainer = "1";
  1516. HorizSizing = "width";
  1517. VertSizing = "bottom";
  1518. Position = $PE_guielement_pos_single_container ;
  1519. Extent = $PE_guielement_ext_single_container ;
  1520. new GuiTextCtrl() {
  1521. Profile = "ToolsGuiTextProfile";
  1522. HorizSizing = "width";
  1523. VertSizing = "bottom";
  1524. position = $PE_guielement_pos_name;
  1525. Extent = $PE_guielement_ext_name;
  1526. text = "Ambient Factor";
  1527. };
  1528. new GuiSliderCtrl() {
  1529. internalName = "PEE_ambientFactor_slider";
  1530. canSaveDynamicFields = "0";
  1531. Enabled = "1";
  1532. isContainer = "0";
  1533. Profile = "ToolsGuiSliderProfile";
  1534. HorizSizing = "left";
  1535. VertSizing = "bottom";
  1536. position = $PE_guielement_pos_slider;
  1537. Extent = $PE_guielement_ext_slider;
  1538. MinExtent = "8 2";
  1539. canSave = "1";
  1540. Visible = "1";
  1541. Command = "";
  1542. hovertime = "1000";
  1543. range = "0 10";
  1544. ticks = "0";
  1545. value = "0";
  1546. Command = "PE_EmitterEditor.updateEmitter( \"ambientFactor\", $ThisControl.getValue(), true, true );";
  1547. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ambientFactor\", $ThisControl.getValue(), true, false );";
  1548. };
  1549. new GuiTextEditCtrl() {
  1550. internalName = "PEE_ambientFactor_textEdit";
  1551. Profile = "ToolsGuiTextEditProfile";
  1552. HorizSizing = "left";
  1553. VertSizing = "bottom";
  1554. position = $PE_guielement_pos_value;
  1555. Extent = $PE_guielement_ext_value;
  1556. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_EmitterEditor.updateEmitter( \"ambientFactor\", $ThisControl.getText));";
  1557. };
  1558. };
  1559. new GuiControl(){ // Spacer ----------------------------
  1560. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  1561. new GuiBitmapCtrl(){
  1562. position="0 3"; extent ="188 2"; HorizSizing = "width";
  1563. bitmapAsset ="ToolsModule:separator_v_image";
  1564. };
  1565. };// end spacer ----------------------------------------
  1566. new GuiControl(){ // Sort Particles
  1567. isContainer = "1";
  1568. HorizSizing = "width";
  1569. VertSizing = "bottom";
  1570. Position = $PE_guielement_pos_single_container ;
  1571. Extent = $PE_guielement_ext_single_container ;
  1572. new GuiTextCtrl() {
  1573. Profile = "ToolsGuiTextProfile";
  1574. HorizSizing = "width";
  1575. VertSizing = "bottom";
  1576. position = $PE_guielement_pos_name;
  1577. Extent = $PE_guielement_ext_checkbox_name;
  1578. text = "Sort Particles";
  1579. };
  1580. new GuiCheckBoxCtrl() {
  1581. internalName = "PEE_softParticles";
  1582. Profile = "ToolsGuiCheckBoxProfile";
  1583. HorizSizing = "left";
  1584. VertSizing = "bottom";
  1585. position = $PE_guielement_pos_checkbox;
  1586. Extent = $PE_guielement_ext_checkbox;
  1587. text = "";
  1588. command = "PE_EmitterEditor.updateEmitter( \"softParticles\", $ThisControl.getValue());";
  1589. };
  1590. };
  1591. new GuiControl(){ // Emitter Reverse Order
  1592. isContainer = "1";
  1593. HorizSizing = "width";
  1594. VertSizing = "bottom";
  1595. Position = $PE_guielement_pos_single_container ;
  1596. Extent = $PE_guielement_ext_single_container ;
  1597. new GuiTextCtrl() {
  1598. Profile = "ToolsGuiTextProfile";
  1599. HorizSizing = "width";
  1600. VertSizing = "bottom";
  1601. position = $PE_guielement_pos_name;
  1602. Extent = $PE_guielement_ext_checkbox_name;
  1603. text = "Reverse Order";
  1604. };
  1605. new GuiCheckBoxCtrl() {
  1606. internalName = "PEE_reverseOrder";
  1607. Profile = "ToolsGuiCheckBoxProfile";
  1608. HorizSizing = "left";
  1609. VertSizing = "bottom";
  1610. position = $PE_guielement_pos_checkbox;
  1611. Extent = $PE_guielement_ext_checkbox;
  1612. text = "";
  1613. command = "PE_EmitterEditor.updateEmitter( \"reverseOrder\", $ThisControl.getValue());";
  1614. };
  1615. };
  1616. new GuiControl(){ // Emitter Use Emitter Size
  1617. isContainer = "1";
  1618. HorizSizing = "width";
  1619. VertSizing = "bottom";
  1620. Position = $PE_guielement_pos_single_container ;
  1621. Extent = $PE_guielement_ext_single_container ;
  1622. new GuiTextCtrl() {
  1623. Profile = "ToolsGuiTextProfile";
  1624. HorizSizing = "width";
  1625. VertSizing = "bottom";
  1626. position = $PE_guielement_pos_name;
  1627. Extent = $PE_guielement_ext_checkbox_name;
  1628. text = "Use Emitter Size";
  1629. };
  1630. new GuiCheckBoxCtrl(PEE_useEmitterSizes) {
  1631. internalName = "PEE_useEmitterSizes";
  1632. Profile = "ToolsGuiCheckBoxProfile";
  1633. HorizSizing = "left";
  1634. VertSizing = "bottom";
  1635. position = $PE_guielement_pos_checkbox;
  1636. Extent = $PE_guielement_ext_checkbox;
  1637. text = "";
  1638. command = "PE_EmitterEditor.updateEmitter( \"useEmitterSizes\", $ThisControl.getValue());";
  1639. };
  1640. };
  1641. new GuiControl(){ // Emitter use Material Effect Color
  1642. isContainer = "1";
  1643. HorizSizing = "width";
  1644. VertSizing = "bottom";
  1645. Position = $PE_guielement_pos_single_container ;
  1646. Extent = $PE_guielement_ext_single_container ;
  1647. new GuiTextCtrl() {
  1648. Profile = "ToolsGuiTextProfile";
  1649. HorizSizing = "width";
  1650. VertSizing = "bottom";
  1651. position = $PE_guielement_pos_name;
  1652. Extent = $PE_guielement_ext_checkbox_name;
  1653. text = "Use Material Effect Color";
  1654. };
  1655. new GuiCheckBoxCtrl(PEE_useEmitterColors) {
  1656. internalName = "PEE_useEmitterColors";
  1657. Profile = "ToolsGuiCheckBoxProfile";
  1658. HorizSizing = "left";
  1659. VertSizing = "bottom";
  1660. position = $PE_guielement_pos_checkbox;
  1661. Extent = $PE_guielement_ext_checkbox;
  1662. text = "";
  1663. command = "PE_EmitterEditor.updateEmitter( \"useEmitterColors\", $ThisControl.getValue());";
  1664. };
  1665. };
  1666. }; // end stack
  1667. }; // end "Blending" rollout
  1668. };// end stack "Emitter"
  1669. };// end scroll "Emitter"
  1670. };// end tab page "Emitter"
  1671. new GuiTabPageCtrl(PE_ParticleEditor) {
  1672. canSaveDynamicFields = "0";
  1673. Enabled = "1";
  1674. isContainer = "1";
  1675. Profile = "ToolsGuiEditorTabPage";
  1676. HorizSizing = "width";
  1677. VertSizing = "height";
  1678. position = "0 19";
  1679. Extent = "197 271";
  1680. MinExtent = "8 2";
  1681. canSave = "1";
  1682. Visible = "1";
  1683. hovertime = "1000";
  1684. Margin = "0 0 0 0";
  1685. Padding = "0 0 0 0";
  1686. AnchorTop = "1";
  1687. AnchorBottom = "0";
  1688. AnchorLeft = "1";
  1689. AnchorRight = "0";
  1690. text = "Particle";
  1691. maxLength = "1024";
  1692. new GuiScrollCtrl() {
  1693. canSaveDynamicFields = "0";
  1694. Enabled = "1";
  1695. isContainer = "1";
  1696. Profile = "ToolsGuiScrollProfile";
  1697. HorizSizing = "width";
  1698. VertSizing = "height";
  1699. Position = "0 0";
  1700. Extent = "197 271";
  1701. MinExtent = "8 8";
  1702. canSave = "1";
  1703. Visible = "1";
  1704. hovertime = "1000";
  1705. willFirstRespond = "1";
  1706. hScrollBar = "alwaysOff";
  1707. vScrollBar = "dynamic";
  1708. lockHorizScroll = false;
  1709. lockVertScroll = "false";
  1710. constantThumbHeight = "0";
  1711. childMargin = "0 0";
  1712. new GuiStackControl() {
  1713. StackingType = "Vertical";
  1714. HorizStacking = "Left to Right";
  1715. VertStacking = "Top to Bottom";
  1716. Padding = "0";
  1717. canSaveDynamicFields = "0";
  1718. Enabled = "1";
  1719. isContainer = "1";
  1720. Profile = "ToolsGuiDefaultProfile";
  1721. HorizSizing = "width";
  1722. VertSizing = "bottom";
  1723. Position = "1 3";
  1724. Extent = "197 16";
  1725. MinExtent = "16 16";
  1726. canSave = "1";
  1727. isDecoy = "0";
  1728. Visible = "1";
  1729. tooltipprofile = "ToolsGuiToolTipProfile";
  1730. hovertime = "1000";
  1731. new GuiControl(PEP_ParticleSelector_Control){ // PEP_ParticleSelector
  1732. isContainer = "1";
  1733. class = "QuickEditDropDownTextEditCtrl";
  1734. HorizSizing = "width";
  1735. VertSizing = "bottom";
  1736. Position = $PE_guielement_pos_single_container ;
  1737. Extent = "197 26" ;
  1738. new GuiPopUpMenuCtrl(PEP_ParticleSelector) {
  1739. internalName = "PopUpMenu";
  1740. canSaveDynamicFields = "0";
  1741. Enabled = "1";
  1742. isContainer = "0";
  1743. Profile = "ToolsGuiPopUpMenuProfile";
  1744. HorizSizing = "width";
  1745. VertSizing = "bottom";
  1746. position = "4 4";
  1747. Extent = "123 18";
  1748. MinExtent = "8 2";
  1749. canSave = "1";
  1750. Visible = "1";
  1751. Command = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.onNewParticle();";
  1752. hovertime = "1000";
  1753. Margin = "0 0 0 0";
  1754. Padding = "0 0 0 0";
  1755. AnchorTop = "1";
  1756. AnchorBottom = "0";
  1757. AnchorLeft = "1";
  1758. AnchorRight = "0";
  1759. maxLength = "255";
  1760. maxPopupHeight = "200";
  1761. sbUsesNAColor = "0";
  1762. reverseTextList = "0";
  1763. bitmapBounds = "16 16";
  1764. };
  1765. new GuiTextEditCtrl() {
  1766. internalName = "TextEdit";
  1767. canSaveDynamicFields = "0";
  1768. Enabled = "1";
  1769. isContainer = "0";
  1770. Profile = "GuiDropdownTextEditProfile";
  1771. HorizSizing = "width";
  1772. VertSizing = "bottom";
  1773. position = "4 4";
  1774. Extent = "107 18";
  1775. MinExtent = "8 2";
  1776. canSave = "1";
  1777. Visible = "1";
  1778. hovertime = "1000";
  1779. Margin = "0 0 0 0";
  1780. Padding = "0 0 0 0";
  1781. AnchorTop = "1";
  1782. AnchorBottom = "0";
  1783. AnchorLeft = "1";
  1784. AnchorRight = "0";
  1785. text = "None";
  1786. maxLength = "1024";
  1787. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl);";
  1788. };
  1789. new GuiBitmapButtonCtrl( PEP_NewParticleButton ) {
  1790. canSaveDynamicFields = "0";
  1791. Enabled = "1";
  1792. isContainer = "0";
  1793. Profile = "ToolsGuiDefaultProfile";
  1794. HorizSizing = "left";
  1795. VertSizing = "bottom";
  1796. position = "131 5";
  1797. Extent = "17 17";
  1798. MinExtent = "8 2";
  1799. canSave = "1";
  1800. Visible = "1";
  1801. hovertime = "1000";
  1802. groupNum = "-1";
  1803. buttonType = "PushButton";
  1804. useMouseEvents = "0";
  1805. bitmapAsset = "ToolsModule:new_n_image";
  1806. tooltip = "Add New Particle To Current Emitter";
  1807. useModifiers = "1";
  1808. };
  1809. new GuiBitmapButtonCtrl() {
  1810. canSaveDynamicFields = "0";
  1811. Enabled = "1";
  1812. isContainer = "0";
  1813. Profile = "ToolsGuiDefaultProfile";
  1814. HorizSizing = "left";
  1815. VertSizing = "bottom";
  1816. position = "147 5";
  1817. Extent = "17 17";
  1818. MinExtent = "8 2";
  1819. canSave = "1";
  1820. Visible = "1";
  1821. hovertime = "1000";
  1822. groupNum = "-1";
  1823. buttonType = "PushButton";
  1824. useMouseEvents = "0";
  1825. bitmapAsset = "ToolsModule:save_icon_n_image";
  1826. command = "PE_ParticleEditor.saveParticle( PE_ParticleEditor.currParticle );";
  1827. tooltip = "Save Current Particle";
  1828. };
  1829. new GuiBitmapButtonCtrl() {
  1830. canSaveDynamicFields = "0";
  1831. Enabled = "1";
  1832. isContainer = "0";
  1833. Profile = "ToolsGuiDefaultProfile";
  1834. HorizSizing = "left";
  1835. VertSizing = "bottom";
  1836. position = "164 5";
  1837. Extent = "17 17";
  1838. MinExtent = "8 2";
  1839. canSave = "1";
  1840. Visible = "1";
  1841. Command = "PE_ParticleEditor.showDeleteDialog();";
  1842. hovertime = "1000";
  1843. groupNum = "-1";
  1844. buttonType = "PushButton";
  1845. useMouseEvents = "0";
  1846. bitmapAsset = "ToolsModule:delete_n_image";
  1847. tooltip = "Delete Current Particle";
  1848. };
  1849. };
  1850. new GuiRolloutCtrl() {
  1851. class = "BehaviorQuickEditRollout";
  1852. superclass = LBQuickEditRollout;
  1853. Profile = "GuiRolloutProfile";
  1854. HorizSizing = "width";
  1855. VertSizing = "bottom";
  1856. Position = "0 0";
  1857. Extent = "197 0";
  1858. Caption = "Basic";
  1859. Margin = "4 4 4 0";
  1860. DragSizable = false;
  1861. container = true;
  1862. new GuiStackControl() {
  1863. StackingType = "Vertical";
  1864. HorizStacking = "Left to Right";
  1865. VertStacking = "Top to Bottom";
  1866. Padding = "0";
  1867. canSaveDynamicFields = "0";
  1868. Enabled = "1";
  1869. isContainer = "1";
  1870. Profile = "ToolsGuiDefaultProfile";
  1871. HorizSizing = "width";
  1872. VertSizing = "bottom";
  1873. Position = "1 3";
  1874. Extent = "197 16";
  1875. MinExtent = "16 16";
  1876. canSave = "1";
  1877. isDecoy = "0";
  1878. Visible = "1";
  1879. tooltipprofile = "ToolsGuiToolTipProfile";
  1880. hovertime = "1000";
  1881. new GuiContainer(){ // particle texture map
  1882. profile="ToolsGuiDefaultProfile";
  1883. isContainer = "1";
  1884. position = "0 0";
  1885. Extent = "185 52";
  1886. HorizSizing = "width";
  1887. new GuiBitmapCtrl() {
  1888. canSaveDynamicFields = "0";
  1889. Enabled = "1";
  1890. isContainer = "0";
  1891. Profile = "ToolsGuiDefaultProfile";
  1892. HorizSizing = "right";
  1893. VertSizing = "bottom";
  1894. position = "1 1";
  1895. Extent = "48 48";
  1896. MinExtent = "8 2";
  1897. canSave = "1";
  1898. Visible = "1";
  1899. hovertime = "1000";
  1900. bitmapAsset = "ToolsModule:unknownImage_image";
  1901. wrap = "0";
  1902. };
  1903. new GuiTextCtrl() {
  1904. canSaveDynamicFields = "0";
  1905. Enabled = "1";
  1906. isContainer = "0";
  1907. Profile = "EditorTextProfile";
  1908. HorizSizing = "right";
  1909. VertSizing = "bottom";
  1910. position = "56 -2";
  1911. Extent = "72 18";
  1912. MinExtent = "8 2";
  1913. canSave = "1";
  1914. Visible = "1";
  1915. hovertime = "1000";
  1916. Margin = "0 0 0 0";
  1917. Padding = "0 0 0 0";
  1918. AnchorTop = "1";
  1919. AnchorBottom = "0";
  1920. AnchorLeft = "1";
  1921. AnchorRight = "0";
  1922. text = "Texture Map";
  1923. maxLength = "1024";
  1924. };
  1925. new GuiBitmapButtonCtrl() {
  1926. internalName = "PEP_previewImage";
  1927. canSaveDynamicFields = "0";
  1928. Enabled = "1";
  1929. isContainer = "0";
  1930. Profile = "ToolsGuiDefaultProfile";
  1931. HorizSizing = "right";
  1932. VertSizing = "bottom";
  1933. position = "1 1";
  1934. Extent = "48 48";
  1935. MinExtent = "8 2";
  1936. canSave = "1";
  1937. Visible = "1";
  1938. Command = "";
  1939. tooltipprofile = "ToolsGuiDefaultProfile";
  1940. ToolTip = "Edit Selected Particle.";
  1941. hovertime = "1000";
  1942. groupNum = "-1";
  1943. buttonType = "PushButton";
  1944. useMouseEvents = "0";
  1945. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  1946. };
  1947. new GuiBitmapButtonCtrl() {
  1948. canSaveDynamicFields = "0";
  1949. Enabled = "1";
  1950. isContainer = "0";
  1951. Profile = "ToolsGuiDefaultProfile";
  1952. HorizSizing = "right";
  1953. VertSizing = "bottom";
  1954. position = "1 1";
  1955. Extent = "48 48";
  1956. MinExtent = "8 2";
  1957. canSave = "1";
  1958. Visible = "1";
  1959. Command = "";
  1960. tooltipprofile = "ToolsGuiDefaultProfile";
  1961. ToolTip = "Edit Selected Particle.";
  1962. hovertime = "1000";
  1963. groupNum = "-1";
  1964. buttonType = "PushButton";
  1965. useMouseEvents = "0";
  1966. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  1967. Command = "PE_ParticleEditor.updateParticleTexture(1);";
  1968. };
  1969. new GuiCheckBoxCtrl() {
  1970. internalName = "PEP_inverseAlpha";
  1971. HorizSizing = "width";
  1972. VertSizing = "bottom";
  1973. position = "55 14";
  1974. Extent = "84 18";
  1975. MinExtent = "8 2";
  1976. text = "Inverse Alpha";
  1977. command = "PE_ParticleEditor.updateParticle( \"useInvAlpha\", $ThisControl.getValue());";
  1978. };
  1979. new GuiTextEditCtrl(PEP_textureName) {
  1980. internalName = "PEP_previewImageName";
  1981. canSaveDynamicFields = "0";
  1982. Enabled = "1";
  1983. isContainer = "0";
  1984. Profile = "ToolsGuiTextEditProfile";
  1985. HorizSizing = "width";
  1986. VertSizing = "bottom";
  1987. position = "55 31";
  1988. Extent = "120 18";
  1989. MinExtent = "8 2";
  1990. canSave = "1";
  1991. Visible = "1";
  1992. hovertime = "1000";
  1993. Margin = "0 0 0 0";
  1994. Padding = "0 0 0 0";
  1995. AnchorTop = "1";
  1996. AnchorBottom = "0";
  1997. AnchorLeft = "1";
  1998. AnchorRight = "0";
  1999. text = "None";
  2000. maxLength = "1024";
  2001. };
  2002. new GuiButtonCtrl(){
  2003. profile="ToolsGuiButtonProfile";
  2004. text ="Edit";
  2005. HorizSizing = "left";
  2006. VertSizing = "bottom";
  2007. position = "138 0";
  2008. Extent = "36 18" ;
  2009. buttonType = "PushButton";
  2010. Command = "PE_ParticleEditor.updateParticleTexture(1);";
  2011. };
  2012. };
  2013. new GuiControl(){ // Spacer ----------------------------
  2014. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  2015. //visible = false;
  2016. new GuiBitmapCtrl(){
  2017. position="0 3"; extent ="188 2"; HorizSizing = "width";
  2018. bitmapAsset ="ToolsModule:separator_v_image";
  2019. };
  2020. };// end spacer ----------------------------------------
  2021. new GuiControl(){ // particle life
  2022. class = "AggregateControl";
  2023. isContainer = "1";
  2024. HorizSizing = "width";
  2025. VertSizing = "bottom";
  2026. Position = $PE_guielement_pos_single_container ;
  2027. Extent = $PE_guielement_ext_single_container ;
  2028. new GuiTextCtrl() {
  2029. canSaveDynamicFields = "0";
  2030. Enabled = "1";
  2031. isContainer = "0";
  2032. Profile = "ToolsGuiTextProfile";
  2033. HorizSizing = "width";
  2034. VertSizing = "bottom";
  2035. position = $PE_guielement_pos_name;
  2036. Extent = $PE_guielement_ext_name;
  2037. MinExtent = "8 2";
  2038. canSave = "1";
  2039. Visible = "1";
  2040. hovertime = "1000";
  2041. Margin = "0 0 0 0";
  2042. Padding = "0 0 0 0";
  2043. AnchorTop = "1";
  2044. AnchorBottom = "0";
  2045. AnchorLeft = "1";
  2046. AnchorRight = "0";
  2047. text = "Life";
  2048. maxLength = "255";
  2049. };
  2050. new GuiSliderCtrl(PEP_lifetimeMS) {
  2051. internalName = "PEP_lifetimeMS_slider";
  2052. canSaveDynamicFields = "0";
  2053. Enabled = "1";
  2054. isContainer = "0";
  2055. Profile = "ToolsGuiSliderProfile";
  2056. HorizSizing = "left";
  2057. VertSizing = "bottom";
  2058. position = $PE_guielement_pos_slider;
  2059. Extent = $PE_guielement_ext_slider;
  2060. MinExtent = "8 2";
  2061. canSave = "1";
  2062. Visible = "1";
  2063. Command = "PE_ParticleEditor.updateLifeFields( false, $ThisControl.getValue(), true, true );";
  2064. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateLifeFields( false, $ThisControl.getValue(), true, false );";
  2065. hovertime = "1000";
  2066. range = "1 9000";
  2067. ticks = "0";
  2068. value = "3000";
  2069. };
  2070. new GuiTextEditCtrl() {
  2071. internalName = "PEP_lifetimeMS_textEdit";
  2072. Profile = "ToolsGuiTextEditProfile";
  2073. HorizSizing = "left";
  2074. VertSizing = "bottom";
  2075. position = $PE_guielement_pos_value;
  2076. Extent = $PE_guielement_ext_value;
  2077. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateLifeFields( false, $ThisControl.getText() );";
  2078. };
  2079. };
  2080. new GuiControl(){ // particle life Random
  2081. class = "AggregateControl";
  2082. isContainer = "1";
  2083. HorizSizing = "width";
  2084. VertSizing = "bottom";
  2085. Position = $PE_guielement_pos_single_container ;
  2086. Extent = $PE_guielement_ext_single_container ;
  2087. new GuiTextCtrl() {
  2088. canSaveDynamicFields = "0";
  2089. Enabled = "1";
  2090. isContainer = "0";
  2091. Profile = "ToolsGuiTextProfile";
  2092. HorizSizing = "width";
  2093. VertSizing = "bottom";
  2094. position = $PE_guielement_pos_name;
  2095. Extent = $PE_guielement_ext_name;
  2096. MinExtent = "8 2";
  2097. canSave = "1";
  2098. Visible = "1";
  2099. hovertime = "1000";
  2100. Margin = "0 0 0 0";
  2101. Padding = "0 0 0 0";
  2102. AnchorTop = "1";
  2103. AnchorBottom = "0";
  2104. AnchorLeft = "1";
  2105. AnchorRight = "0";
  2106. text = "Life Random";
  2107. maxLength = "255";
  2108. };
  2109. new GuiSliderCtrl(PEP_lifetimeVarianceMS) {
  2110. internalName = "PEP_lifetimeVarianceMS_slider";
  2111. canSaveDynamicFields = "0";
  2112. Enabled = "1";
  2113. isContainer = "0";
  2114. Profile = "ToolsGuiSliderProfile";
  2115. HorizSizing = "left";
  2116. VertSizing = "bottom";
  2117. position = $PE_guielement_pos_slider;
  2118. Extent = $PE_guielement_ext_slider;
  2119. MinExtent = "8 2";
  2120. canSave = "1";
  2121. Visible = "1";
  2122. Command = "PE_ParticleEditor.updateLifeFields( true, $ThisControl.getValue(), true, true );";
  2123. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateLifeFields( true, $ThisControl.getValue(), true, false );";
  2124. hovertime = "1000";
  2125. range = "0 8999";
  2126. ticks = "0";
  2127. value = "3000";
  2128. };
  2129. new GuiTextEditCtrl() {
  2130. internalName = "PEP_lifetimeVarianceMS_textEdit";
  2131. Profile = "ToolsGuiTextEditProfile";
  2132. HorizSizing = "left";
  2133. VertSizing = "bottom";
  2134. position = $PE_guielement_pos_value;
  2135. Extent = $PE_guielement_ext_value;
  2136. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateLifeFields( true, $ThisControl.getText() );";
  2137. };
  2138. };
  2139. }; // end stack
  2140. }; // end "Particles Basic" rollout
  2141. new GuiRolloutCtrl() {
  2142. class = "BehaviorQuickEditRollout";
  2143. superclass = LBQuickEditRollout;
  2144. Profile = "GuiRolloutProfile";
  2145. HorizSizing = "width";
  2146. VertSizing = "bottom";
  2147. Position = "0 0";
  2148. Extent = "197 0";
  2149. Caption = "Motion";
  2150. Margin = "4 4 4 0";
  2151. DragSizable = false;
  2152. container = true;
  2153. new GuiStackControl() {
  2154. StackingType = "Vertical";
  2155. HorizStacking = "Left to Right";
  2156. VertStacking = "Top to Bottom";
  2157. Padding = "0";
  2158. canSaveDynamicFields = "0";
  2159. Enabled = "1";
  2160. isContainer = "1";
  2161. Profile = "ToolsGuiDefaultProfile";
  2162. HorizSizing = "width";
  2163. VertSizing = "bottom";
  2164. Position = "1 3";
  2165. Extent = "197 16";
  2166. MinExtent = "16 16";
  2167. canSave = "1";
  2168. isDecoy = "0";
  2169. Visible = "1";
  2170. tooltipprofile = "ToolsGuiToolTipProfile";
  2171. hovertime = "1000";
  2172. new GuiControl(){ // Particle Initial speed
  2173. class = "AggregateControl";
  2174. isContainer = "1";
  2175. HorizSizing = "width";
  2176. VertSizing = "bottom";
  2177. Position = $PE_guielement_pos_single_container ;
  2178. Extent = $PE_guielement_ext_single_container ;
  2179. new GuiTextCtrl() {
  2180. Profile = "ToolsGuiTextProfile";
  2181. HorizSizing = "width";
  2182. VertSizing = "bottom";
  2183. position = $PE_guielement_pos_name;
  2184. Extent = $PE_guielement_ext_name;
  2185. text = "Initial Speed";
  2186. };
  2187. new GuiSliderCtrl(PEP_inheritedVelFactor) {
  2188. internalName = "PEP_inheritedVelFactor_slider";
  2189. canSaveDynamicFields = "0";
  2190. Enabled = "1";
  2191. isContainer = "0";
  2192. Profile = "ToolsGuiSliderProfile";
  2193. HorizSizing = "left";
  2194. VertSizing = "bottom";
  2195. position = $PE_guielement_pos_slider;
  2196. Extent = $PE_guielement_ext_slider;
  2197. MinExtent = "8 2";
  2198. canSave = "1";
  2199. Visible = "1";
  2200. Command = "PE_ParticleEditor.updateParticle( \"inheritedVelFactor\", $ThisControl.getValue(), true, true );";
  2201. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"inheritedVelFactor\", $ThisControl.getValue(), true, false );";
  2202. hovertime = "1000";
  2203. range = "0 10";
  2204. ticks = "0";
  2205. value = "0";
  2206. };
  2207. new GuiTextEditCtrl() {
  2208. internalName = "PEP_inheritedVelFactor_textEdit";
  2209. Profile = "ToolsGuiTextEditProfile";
  2210. HorizSizing = "left";
  2211. VertSizing = "bottom";
  2212. position = $PE_guielement_pos_value;
  2213. Extent = $PE_guielement_ext_value;
  2214. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"inheritedVelFactor\", $ThisControl.getText());";
  2215. };
  2216. };
  2217. new GuiControl(){ // Particle Acceleration
  2218. class = "AggregateControl";
  2219. isContainer = "1";
  2220. HorizSizing = "width";
  2221. VertSizing = "bottom";
  2222. Position = $PE_guielement_pos_single_container ;
  2223. Extent = $PE_guielement_ext_single_container ;
  2224. new GuiTextCtrl() {
  2225. Profile = "ToolsGuiTextProfile";
  2226. HorizSizing = "width";
  2227. VertSizing = "bottom";
  2228. position = $PE_guielement_pos_name;
  2229. Extent = $PE_guielement_ext_name;
  2230. text = "Acceleration";
  2231. };
  2232. new GuiSliderCtrl(PEP_constantAcceleration) {
  2233. internalName = "PEP_constantAcceleration_slider";
  2234. canSaveDynamicFields = "0";
  2235. Enabled = "1";
  2236. isContainer = "0";
  2237. Profile = "ToolsGuiSliderProfile";
  2238. HorizSizing = "left";
  2239. VertSizing = "bottom";
  2240. position = $PE_guielement_pos_slider;
  2241. Extent = $PE_guielement_ext_slider;
  2242. MinExtent = "8 2";
  2243. canSave = "1";
  2244. Visible = "1";
  2245. Command = "PE_ParticleEditor.updateParticle( \"constantAcceleration\", $ThisControl.getValue(), true, true );";
  2246. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"constantAcceleration\", $ThisControl.getValue(), true, false);";
  2247. hovertime = "1000";
  2248. range = "-10 10";
  2249. ticks = "0";
  2250. value = "0";
  2251. };
  2252. new GuiTextEditCtrl() {
  2253. internalName = "PEP_constantAcceleration_textEdit";
  2254. Profile = "ToolsGuiTextEditProfile";
  2255. HorizSizing = "left";
  2256. VertSizing = "bottom";
  2257. position = $PE_guielement_pos_value;
  2258. Extent = $PE_guielement_ext_value;
  2259. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"constantAcceleration\", $ThisControl.getText());";
  2260. };
  2261. };
  2262. new GuiControl(){ // Spacer ----------------------------
  2263. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  2264. new GuiBitmapCtrl(){
  2265. position="0 3"; extent ="188 2"; HorizSizing = "width";
  2266. bitmapAsset ="ToolsModule:separator_v_image";
  2267. };
  2268. };// end spacer ----------------------------------------
  2269. new GuiControl(){ // Particle Gravity
  2270. class = "AggregateControl";
  2271. isContainer = "1";
  2272. HorizSizing = "width";
  2273. VertSizing = "bottom";
  2274. Position = $PE_guielement_pos_single_container ;
  2275. Extent = $PE_guielement_ext_single_container ;
  2276. new GuiBitmapCtrl(){ // 0 Gravity
  2277. HorizSizing = "left";
  2278. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
  2279. Extent = "2 18";
  2280. minExtent = "0 0";
  2281. bitmapAsset = "ToolsModule:separator_h_image";
  2282. tooltip = "0 Gravity";
  2283. };
  2284. new GuiTextCtrl() {
  2285. Profile = "ToolsGuiTextProfile";
  2286. HorizSizing = "width";
  2287. VertSizing = "bottom";
  2288. position = $PE_guielement_pos_name;
  2289. Extent = $PE_guielement_ext_name;
  2290. text = "Gravity";
  2291. };
  2292. new GuiSliderCtrl(PEP_gravityCoefficient) {
  2293. internalName = "PEP_gravityCoefficient_slider";
  2294. canSaveDynamicFields = "0";
  2295. Enabled = "1";
  2296. isContainer = "0";
  2297. Profile = "ToolsGuiSliderProfile";
  2298. HorizSizing = "left";
  2299. VertSizing = "bottom";
  2300. position = $PE_guielement_pos_slider;
  2301. Extent = $PE_guielement_ext_slider;
  2302. MinExtent = "8 2";
  2303. canSave = "1";
  2304. Visible = "1";
  2305. Command = "PE_ParticleEditor.updateParticle( \"gravityCoefficient\", $ThisControl.getValue(), true, true );";
  2306. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"gravityCoefficient\", $ThisControl.getValue(), true, false );";
  2307. hovertime = "1000";
  2308. range = "-1 1";
  2309. ticks = "0";
  2310. value = "0";
  2311. };
  2312. new GuiTextEditCtrl() {
  2313. internalName = "PEP_gravityCoefficient_textEdit";
  2314. Profile = "ToolsGuiTextEditProfile";
  2315. HorizSizing = "left";
  2316. VertSizing = "bottom";
  2317. position = $PE_guielement_pos_value;
  2318. Extent = $PE_guielement_ext_value;
  2319. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"gravityCoefficient\", $ThisControl.getText());";
  2320. };
  2321. };
  2322. new GuiControl(){ // Particle Drag
  2323. class = "AggregateControl";
  2324. isContainer = "1";
  2325. HorizSizing = "width";
  2326. VertSizing = "bottom";
  2327. Position = $PE_guielement_pos_single_container ;
  2328. Extent = $PE_guielement_ext_single_container ;
  2329. new GuiTextCtrl() {
  2330. Profile = "ToolsGuiTextProfile";
  2331. HorizSizing = "width";
  2332. VertSizing = "bottom";
  2333. position = $PE_guielement_pos_name;
  2334. Extent = $PE_guielement_ext_name;
  2335. text = "Drag";
  2336. };
  2337. new GuiSliderCtrl(PEP_dragCoefficient) {
  2338. internalName = "PEP_dragCoefficient_slider";
  2339. canSaveDynamicFields = "0";
  2340. Enabled = "1";
  2341. isContainer = "0";
  2342. Profile = "ToolsGuiSliderProfile";
  2343. HorizSizing = "left";
  2344. VertSizing = "bottom";
  2345. position = $PE_guielement_pos_slider;
  2346. Extent = $PE_guielement_ext_slider;
  2347. MinExtent = "8 2";
  2348. canSave = "1";
  2349. Visible = "1";
  2350. Command = "PE_ParticleEditor.updateParticle( \"dragCoefficient\", $ThisControl.getValue(), true, true );";
  2351. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"dragCoefficient\", $ThisControl.getValue(), true, false );";
  2352. hovertime = "1000";
  2353. range = "0 1";
  2354. ticks = "0";
  2355. value = "0.298143";
  2356. };
  2357. new GuiTextEditCtrl() {
  2358. internalName = "PEP_dragCoefficient_textEdit";
  2359. Profile = "ToolsGuiTextEditProfile";
  2360. HorizSizing = "left";
  2361. VertSizing = "bottom";
  2362. position = $PE_guielement_pos_value;
  2363. Extent = $PE_guielement_ext_value;
  2364. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"dragCoefficient\", $ThisControl.getText());";
  2365. };
  2366. }; //End Particle Drag
  2367. new GuiControl(){ // Particle Wind
  2368. class = "AggregateControl";
  2369. isContainer = "1";
  2370. HorizSizing = "width";
  2371. VertSizing = "bottom";
  2372. Position = $PE_guielement_pos_single_container ;
  2373. Extent = $PE_guielement_ext_single_container ;
  2374. new GuiTextCtrl() {
  2375. Profile = "ToolsGuiTextProfile";
  2376. HorizSizing = "width";
  2377. VertSizing = "bottom";
  2378. position = $PE_guielement_pos_name;
  2379. Extent = $PE_guielement_ext_name;
  2380. text = "Wind Coeff";
  2381. };
  2382. new GuiSliderCtrl(PEP_windCoefficient) {
  2383. internalName = "PEP_windCoefficient_slider";
  2384. canSaveDynamicFields = "0";
  2385. Enabled = "1";
  2386. isContainer = "0";
  2387. Profile = "ToolsGuiSliderProfile";
  2388. HorizSizing = "left";
  2389. VertSizing = "bottom";
  2390. position = $PE_guielement_pos_slider;
  2391. Extent = $PE_guielement_ext_slider;
  2392. MinExtent = "8 2";
  2393. canSave = "1";
  2394. Visible = "1";
  2395. Command = "PE_ParticleEditor.updateParticle( \"windCoefficient\", $ThisControl.getValue(), true, true );";
  2396. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"windCoefficient\", $ThisControl.getValue(), true, false );";
  2397. hovertime = "1000";
  2398. range = "0 1";
  2399. ticks = "0";
  2400. value = "0.298143";
  2401. };
  2402. new GuiTextEditCtrl() {
  2403. internalName = "PEP_windCoefficient_textEdit";
  2404. Profile = "ToolsGuiTextEditProfile";
  2405. HorizSizing = "left";
  2406. VertSizing = "bottom";
  2407. position = $PE_guielement_pos_value;
  2408. Extent = $PE_guielement_ext_value;
  2409. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"windCoefficient\", $ThisControl.getText());";
  2410. };
  2411. };
  2412. }; // end stack
  2413. }; // end "motion" rollout
  2414. new GuiRolloutCtrl() {
  2415. class = "BehaviorQuickEditRollout";
  2416. superclass = LBQuickEditRollout;
  2417. Profile = "GuiRolloutProfile";
  2418. HorizSizing = "width";
  2419. VertSizing = "bottom";
  2420. Position = "0 0";
  2421. Extent = "197 0";
  2422. Caption = "Spin";
  2423. Margin = "4 4 4 0";
  2424. DragSizable = false;
  2425. container = true;
  2426. new GuiStackControl() {
  2427. StackingType = "Vertical";
  2428. HorizStacking = "Left to Right";
  2429. VertStacking = "Top to Bottom";
  2430. Padding = "0";
  2431. canSaveDynamicFields = "0";
  2432. Enabled = "1";
  2433. isContainer = "1";
  2434. Profile = "ToolsGuiDefaultProfile";
  2435. HorizSizing = "width";
  2436. VertSizing = "bottom";
  2437. Position = "1 3";
  2438. Extent = "197 16";
  2439. MinExtent = "16 16";
  2440. canSave = "1";
  2441. isDecoy = "0";
  2442. Visible = "1";
  2443. tooltipprofile = "ToolsGuiToolTipProfile";
  2444. hovertime = "1000";
  2445. new GuiControl(){ // Particle spin Min
  2446. class = "AggregateControl";
  2447. isContainer = "1";
  2448. HorizSizing = "width";
  2449. VertSizing = "bottom";
  2450. Position = $PE_guielement_pos_single_container ;
  2451. Extent = $PE_guielement_ext_single_container ;
  2452. new GuiBitmapCtrl(){ // No Spin
  2453. HorizSizing = "left";
  2454. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
  2455. Extent = "2 18";
  2456. minExtent = "0 0";
  2457. bitmapAsset = "ToolsModule:separator_h_image";
  2458. tooltip = "No Spin";
  2459. };
  2460. new GuiTextCtrl() {
  2461. Profile = "ToolsGuiTextProfile";
  2462. HorizSizing = "width";
  2463. VertSizing = "bottom";
  2464. position = $PE_guielement_pos_name;
  2465. Extent = $PE_guielement_ext_name;
  2466. text = "Spin Min";
  2467. };
  2468. new GuiSliderCtrl(PEP_spinRandomMin) {
  2469. internalName = "PEP_spinRandomMin_slider";
  2470. canSaveDynamicFields = "0";
  2471. Enabled = "1";
  2472. isContainer = "0";
  2473. Profile = "ToolsGuiSliderProfile";
  2474. HorizSizing = "left";
  2475. VertSizing = "bottom";
  2476. position = $PE_guielement_pos_slider;
  2477. Extent = $PE_guielement_ext_slider;
  2478. MinExtent = "8 2";
  2479. canSave = "1";
  2480. Visible = "1";
  2481. Command = "PE_ParticleEditor.updateSpinFields( true, $ThisControl.getValue(), true, true );";
  2482. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateSpinFields( true, $ThisControl.getValue(), true, false );";
  2483. hovertime = "1000";
  2484. range = "-1000 999";
  2485. ticks = "0";
  2486. value = "0";
  2487. };
  2488. new GuiTextEditCtrl() {
  2489. internalName = "PEP_spinRandomMin_textEdit";
  2490. Profile = "ToolsGuiTextEditProfile";
  2491. HorizSizing = "left";
  2492. VertSizing = "bottom";
  2493. position = $PE_guielement_pos_value;
  2494. Extent = $PE_guielement_ext_value;
  2495. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateSpinFields( true, $ThisControl.getText() );";
  2496. };
  2497. };
  2498. new GuiControl(){ // Particle Spin Max
  2499. class = "AggregateControl";
  2500. isContainer = "1";
  2501. HorizSizing = "width";
  2502. VertSizing = "bottom";
  2503. Position = $PE_guielement_pos_single_container ;
  2504. Extent = $PE_guielement_ext_single_container ;
  2505. new GuiBitmapCtrl(){ // No Spin
  2506. HorizSizing = "left";
  2507. position = getWord($PE_guielement_pos_slider,0)+mCeil(getWord($PE_guielement_ext_slider,0)/2)-1 SPC "0";
  2508. Extent = "2 18";
  2509. minExtent = "0 0";
  2510. bitmapAsset = "ToolsModule:separator_h_image";
  2511. tooltip = "No Spin";
  2512. };
  2513. new GuiTextCtrl() {
  2514. Profile = "ToolsGuiTextProfile";
  2515. HorizSizing = "width";
  2516. VertSizing = "bottom";
  2517. position = $PE_guielement_pos_name;
  2518. Extent = $PE_guielement_ext_name;
  2519. text = "Spin Max";
  2520. };
  2521. new GuiSliderCtrl(PEP_spinRandomMax) {
  2522. internalName = "PEP_spinRandomMax_slider";
  2523. canSaveDynamicFields = "0";
  2524. Enabled = "1";
  2525. isContainer = "0";
  2526. Profile = "ToolsGuiSliderProfile";
  2527. HorizSizing = "left";
  2528. VertSizing = "bottom";
  2529. position = $PE_guielement_pos_slider;
  2530. Extent = $PE_guielement_ext_slider;
  2531. MinExtent = "8 2";
  2532. canSave = "1";
  2533. Visible = "1";
  2534. Command = "PE_ParticleEditor.updateSpinFields( false, $ThisControl.getValue(), true, true );";
  2535. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateSpinFields( false, $ThisControl.getValue(), true, false );";
  2536. hovertime = "1000";
  2537. range = "-999 1000";
  2538. ticks = "0";
  2539. value = "0";
  2540. };
  2541. new GuiTextEditCtrl() {
  2542. internalName = "PEP_spinRandomMax_textEdit";
  2543. Profile = "ToolsGuiTextEditProfile";
  2544. HorizSizing = "left";
  2545. VertSizing = "bottom";
  2546. position = $PE_guielement_pos_value;
  2547. Extent = $PE_guielement_ext_value;
  2548. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateSpinFields( false, $ThisControl.getText() );";
  2549. };
  2550. };
  2551. new GuiControl(){ // Spacer ----------------------------
  2552. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  2553. new GuiBitmapCtrl(){
  2554. position="0 3"; extent ="188 2"; HorizSizing = "width";
  2555. bitmapAsset ="ToolsModule:separator_v_image";
  2556. };
  2557. };// end spacer ----------------------------------------
  2558. new GuiControl(){ // Particle spin Speed
  2559. class = "AggregateControl";
  2560. isContainer = "1";
  2561. HorizSizing = "width";
  2562. VertSizing = "bottom";
  2563. Position = $PE_guielement_pos_single_container ;
  2564. Extent = $PE_guielement_ext_single_container ;
  2565. new GuiTextCtrl() {
  2566. Profile = "ToolsGuiTextProfile";
  2567. HorizSizing = "width";
  2568. VertSizing = "bottom";
  2569. position = $PE_guielement_pos_name;
  2570. Extent = $PE_guielement_ext_name;
  2571. text = "Spin Speed";
  2572. };
  2573. new GuiSliderCtrl(PEP_spinSpeed) {
  2574. internalName = "PEP_spinSpeed_slider";
  2575. canSaveDynamicFields = "0";
  2576. Enabled = "1";
  2577. isContainer = "0";
  2578. Profile = "ToolsGuiSliderProfile";
  2579. HorizSizing = "left";
  2580. VertSizing = "bottom";
  2581. position = $PE_guielement_pos_slider;
  2582. Extent = $PE_guielement_ext_slider;
  2583. MinExtent = "8 2";
  2584. canSave = "1";
  2585. Visible = "1";
  2586. hovertime = "1000";
  2587. range = "0 1";
  2588. ticks = "0";
  2589. value = "0";
  2590. Command = "PE_ParticleEditor.updateParticle( \"spinSpeed\", $ThisControl.getValue(), true, true );";
  2591. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"spinSpeed\", $ThisControl.getValue(), true, false );";
  2592. };
  2593. new GuiTextEditCtrl() {
  2594. internalName = "PEP_spinSpeed_textEdit";
  2595. Profile = "ToolsGuiTextEditProfile";
  2596. HorizSizing = "left";
  2597. VertSizing = "bottom";
  2598. position = $PE_guielement_pos_value;
  2599. Extent = $PE_guielement_ext_value;
  2600. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"spinSpeed\", $ThisControl.getText());";
  2601. };
  2602. };
  2603. }; // end stack
  2604. }; // end "Spin" rollout
  2605. new GuiRolloutCtrl() {
  2606. class = "BehaviorQuickEditRollout";
  2607. superclass = LBQuickEditRollout;
  2608. Profile = "GuiRolloutProfile";
  2609. HorizSizing = "width";
  2610. VertSizing = "bottom";
  2611. Position = "0 0";
  2612. Extent = "197 0";
  2613. Caption = "Animation";
  2614. Margin = "4 4 4 0";
  2615. DragSizable = false;
  2616. container = true;
  2617. new GuiStackControl() {
  2618. StackingType = "Vertical";
  2619. HorizStacking = "Left to Right";
  2620. VertStacking = "Top to Bottom";
  2621. Padding = "0";
  2622. canSaveDynamicFields = "0";
  2623. Enabled = "1";
  2624. isContainer = "1";
  2625. Profile = "ToolsGuiDefaultProfile";
  2626. HorizSizing = "width";
  2627. VertSizing = "bottom";
  2628. Position = "1 3";
  2629. Extent = "197 16";
  2630. MinExtent = "16 16";
  2631. canSave = "1";
  2632. isDecoy = "0";
  2633. Visible = "1";
  2634. tooltipprofile = "ToolsGuiToolTipProfile";
  2635. hovertime = "1000";
  2636. new GuiCheckBoxCtrl() {
  2637. internalName = "PEP_animateTexture";
  2638. HorizSizing = "width";
  2639. VertSizing = "bottom";
  2640. position = "55 14";
  2641. Extent = "84 18";
  2642. MinExtent = "8 2";
  2643. text = "Animate Texture";
  2644. command = "PE_ParticleEditor.updateParticle( \"animateTexture\", $ThisControl.getValue());";
  2645. };
  2646. new GuiControl(){ // Particle framesPerSec
  2647. class = "AggregateControl";
  2648. isContainer = "1";
  2649. HorizSizing = "width";
  2650. VertSizing = "bottom";
  2651. Position = $PE_guielement_pos_single_container ;
  2652. Extent = $PE_guielement_ext_single_container ;
  2653. new GuiTextCtrl() {
  2654. Profile = "ToolsGuiTextProfile";
  2655. HorizSizing = "width";
  2656. VertSizing = "bottom";
  2657. position = $PE_guielement_pos_name;
  2658. Extent = $PE_guielement_ext_name;
  2659. text = "framesPerSec";
  2660. };
  2661. new GuiSliderCtrl(PEP_framesPerSec) {
  2662. internalName = "PEP_framesPerSec_slider";
  2663. canSaveDynamicFields = "0";
  2664. Enabled = "1";
  2665. isContainer = "0";
  2666. Profile = "ToolsGuiSliderProfile";
  2667. HorizSizing = "left";
  2668. VertSizing = "bottom";
  2669. position = $PE_guielement_pos_slider;
  2670. Extent = $PE_guielement_ext_slider;
  2671. MinExtent = "8 2";
  2672. canSave = "1";
  2673. Visible = "1";
  2674. hovertime = "1000";
  2675. range = "0 60";
  2676. ticks = "0";
  2677. value = "0";
  2678. Command = "PE_ParticleEditor.updateParticle( \"framesPerSec\", $ThisControl.getValue(), true, true );";
  2679. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"framesPerSec\", $ThisControl.getValue(), true, false );";
  2680. };
  2681. new GuiTextEditCtrl() {
  2682. internalName = "PEP_framesPerSec_textEdit";
  2683. Profile = "ToolsGuiTextEditProfile";
  2684. HorizSizing = "left";
  2685. VertSizing = "bottom";
  2686. position = $PE_guielement_pos_value;
  2687. Extent = $PE_guielement_ext_value;
  2688. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"framesPerSec\", $ThisControl.getText());";
  2689. };
  2690. }; // end framesPerSec
  2691. new GuiControl(){ // Particle animTexFramesList
  2692. class = "AggregateControl";
  2693. isContainer = "1";
  2694. HorizSizing = "width";
  2695. VertSizing = "bottom";
  2696. Position = $PE_guielement_pos_single_container;
  2697. Extent = $PE_guielement_ext_single_container;
  2698. new GuiTextCtrl() {
  2699. Profile = "ToolsGuiTextProfile";
  2700. HorizSizing = "width";
  2701. VertSizing = "bottom";
  2702. position = $PE_guielement_pos_name;
  2703. Extent = $PE_guielement_ext_name;
  2704. text = "animTexFrames";
  2705. };
  2706. new GuiTextEditCtrl() {
  2707. internalName = "PEP_animTexFramesList_textEdit";
  2708. Profile = "ToolsGuiTextEditProfile";
  2709. HorizSizing = "left";
  2710. VertSizing = "bottom";
  2711. position = $PE_guielement_pos_textedit;
  2712. Extent = $PE_guielement_ext_textedit;
  2713. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"animTexFrames\", $ThisControl.getText());";
  2714. };
  2715. }; // end animTexFramesList
  2716. new GuiControl(){ // Particle animTileCount
  2717. class = "AggregateControl";
  2718. isContainer = "1";
  2719. HorizSizing = "width";
  2720. VertSizing = "bottom";
  2721. Position = $PE_guielement_pos_single_container;
  2722. Extent = $PE_guielement_ext_single_container;
  2723. new GuiTextCtrl() {
  2724. Profile = "ToolsGuiTextProfile";
  2725. HorizSizing = "width";
  2726. VertSizing = "bottom";
  2727. position = $PE_guielement_pos_name;
  2728. Extent = $PE_guielement_ext_name;
  2729. text = "TileCount (X Y)";
  2730. };
  2731. new GuiTextEditCtrl() {
  2732. internalName = "PEP_animTileCount_textEdit";
  2733. Profile = "ToolsGuiTextEditProfile";
  2734. HorizSizing = "left";
  2735. VertSizing = "bottom";
  2736. position = $PE_guielement_pos_value;
  2737. Extent = $PE_guielement_ext_value;
  2738. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"animTexTiling\", $ThisControl.getText());";
  2739. };
  2740. }; // end animTileCount
  2741. }; // end stack
  2742. }; // end "Anim" rollout
  2743. new GuiRolloutCtrl() {
  2744. class = "BehaviorQuickEditRollout";
  2745. superclass = LBQuickEditRollout;
  2746. Profile = "GuiRolloutProfile";
  2747. HorizSizing = "width";
  2748. VertSizing = "bottom";
  2749. Position = "0 0";
  2750. Extent = "197 0";
  2751. Caption = "Overtime";
  2752. Margin = "4 4 4 0";
  2753. DragSizable = false;
  2754. container = true;
  2755. new GuiStackControl() {
  2756. StackingType = "Vertical";
  2757. HorizStacking = "Left to Right";
  2758. VertStacking = "Top to Bottom";
  2759. Padding = "0";
  2760. canSaveDynamicFields = "0";
  2761. Enabled = "1";
  2762. isContainer = "1";
  2763. Profile = "ToolsGuiDefaultProfile";
  2764. HorizSizing = "width";
  2765. VertSizing = "bottom";
  2766. Position = "1 3";
  2767. Extent = "197 16";
  2768. MinExtent = "16 16";
  2769. canSave = "1";
  2770. isDecoy = "0";
  2771. Visible = "1";
  2772. tooltipprofile = "ToolsGuiToolTipProfile";
  2773. hovertime = "1000";
  2774. new GuiControl(){ // Particle Point Colors
  2775. class = "";
  2776. isContainer = "1";
  2777. HorizSizing = "width";
  2778. VertSizing = "bottom";
  2779. Position = $PE_guielement_pos_single_container ;
  2780. Extent = $PE_guielement_ext_single_container ;
  2781. new GuiTextCtrl() {
  2782. Profile = "ToolsGuiTextProfile";
  2783. HorizSizing = "width";
  2784. VertSizing = "bottom";
  2785. position = $PE_guielement_pos_name;
  2786. Extent = $PE_guielement_ext_name;
  2787. text = "Colors";
  2788. };
  2789. new GuiSwatchButtonCtrl(PE_ColorTintSwatch0) {
  2790. canSaveDynamicFields = "0";
  2791. Enabled = "1";
  2792. isContainer = "0";
  2793. Profile = "GuiInspectorSwatchButtonProfile";
  2794. HorizSizing = "left";
  2795. VertSizing = "bottom";
  2796. position = "20 0";
  2797. Extent = $PE_guielement_ext_colorpicker;
  2798. MinExtent = "8 2";
  2799. canSave = "1";
  2800. Visible = "1";
  2801. Command = "getColorF( PE_ParticleEditor.currParticle.colors[0], \"PE_ColorTintSwatch0.updateParticleColor\");";
  2802. altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
  2803. hovertime = "1000";
  2804. groupNum = "-1";
  2805. buttonType = "PushButton";
  2806. useMouseEvents = "1";
  2807. arrayNum = "0";
  2808. class = "PE_ColorTintSwatch";
  2809. };
  2810. new GuiSwatchButtonCtrl(PE_ColorTintSwatch1) {
  2811. canSaveDynamicFields = "0";
  2812. Enabled = "1";
  2813. isContainer = "0";
  2814. Profile = "GuiInspectorSwatchButtonProfile";
  2815. HorizSizing = "left";
  2816. VertSizing = "bottom";
  2817. position = "40 0";
  2818. Extent = $PE_guielement_ext_colorpicker;
  2819. MinExtent = "8 2";
  2820. canSave = "1";
  2821. Visible = "1";
  2822. Command = "getColorF( PE_ParticleEditor.currParticle.colors[1], \"PE_ColorTintSwatch1.updateParticleColor\");";
  2823. altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
  2824. hovertime = "1000";
  2825. groupNum = "-1";
  2826. buttonType = "PushButton";
  2827. useMouseEvents = "1";
  2828. arrayNum = "1";
  2829. class = "PE_ColorTintSwatch";
  2830. };
  2831. new GuiSwatchButtonCtrl(PE_ColorTintSwatch2) {
  2832. canSaveDynamicFields = "0";
  2833. Enabled = "1";
  2834. isContainer = "0";
  2835. Profile = "GuiInspectorSwatchButtonProfile";
  2836. HorizSizing = "left";
  2837. VertSizing = "bottom";
  2838. position = "60 0";
  2839. Extent = $PE_guielement_ext_colorpicker;
  2840. MinExtent = "8 2";
  2841. canSave = "1";
  2842. Visible = "1";
  2843. Command = "getColorF( PE_ParticleEditor.currParticle.colors[2], \"PE_ColorTintSwatch2.updateParticleColor\");";
  2844. altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
  2845. hovertime = "1000";
  2846. groupNum = "-1";
  2847. buttonType = "PushButton";
  2848. useMouseEvents = "1";
  2849. arrayNum = "2";
  2850. class = "PE_ColorTintSwatch";
  2851. };
  2852. new GuiSwatchButtonCtrl(PE_ColorTintSwatch3) {
  2853. canSaveDynamicFields = "0";
  2854. Enabled = "1";
  2855. isContainer = "0";
  2856. Profile = "GuiInspectorSwatchButtonProfile";
  2857. HorizSizing = "left";
  2858. VertSizing = "bottom";
  2859. position = "80 0";
  2860. Extent = $PE_guielement_ext_colorpicker;
  2861. MinExtent = "8 2";
  2862. canSave = "1";
  2863. Visible = "1";
  2864. Command = "getColorF( PE_ParticleEditor.currParticle.colors[3], \"PE_ColorTintSwatch3.updateParticleColor\");";
  2865. altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
  2866. hovertime = "1000";
  2867. groupNum = "-1";
  2868. buttonType = "PushButton";
  2869. useMouseEvents = "1";
  2870. arrayNum = "3";
  2871. class = "PE_ColorTintSwatch";
  2872. };
  2873. new GuiSwatchButtonCtrl(PE_ColorTintSwatch4) {
  2874. canSaveDynamicFields = "0";
  2875. Enabled = "1";
  2876. isContainer = "0";
  2877. Profile = "GuiInspectorSwatchButtonProfile";
  2878. HorizSizing = "left";
  2879. VertSizing = "bottom";
  2880. position = "100 0";
  2881. Extent = $PE_guielement_ext_colorpicker;
  2882. MinExtent = "8 2";
  2883. canSave = "1";
  2884. Visible = "1";
  2885. Command = "getColorF( PE_ParticleEditor.currParticle.colors[4], \"PE_ColorTintSwatch4.updateParticleColor\");";
  2886. altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
  2887. hovertime = "1000";
  2888. groupNum = "-1";
  2889. buttonType = "PushButton";
  2890. useMouseEvents = "1";
  2891. arrayNum = "4";
  2892. class = "PE_ColorTintSwatch";
  2893. };
  2894. new GuiSwatchButtonCtrl(PE_ColorTintSwatch5) {
  2895. canSaveDynamicFields = "0";
  2896. Enabled = "1";
  2897. isContainer = "0";
  2898. Profile = "GuiInspectorSwatchButtonProfile";
  2899. HorizSizing = "left";
  2900. VertSizing = "bottom";
  2901. position = "120 0";
  2902. Extent = $PE_guielement_ext_colorpicker;
  2903. MinExtent = "8 2";
  2904. canSave = "1";
  2905. Visible = "1";
  2906. Command = "getColorF( PE_ParticleEditor.currParticle.colors[5], \"PE_ColorTintSwatch5.updateParticleColor\");";
  2907. altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
  2908. hovertime = "1000";
  2909. groupNum = "-1";
  2910. buttonType = "PushButton";
  2911. useMouseEvents = "1";
  2912. arrayNum = "5";
  2913. class = "PE_ColorTintSwatch";
  2914. };
  2915. new GuiSwatchButtonCtrl(PE_ColorTintSwatch6) {
  2916. canSaveDynamicFields = "0";
  2917. Enabled = "1";
  2918. isContainer = "0";
  2919. Profile = "GuiInspectorSwatchButtonProfile";
  2920. HorizSizing = "left";
  2921. VertSizing = "bottom";
  2922. position = "140 0";
  2923. Extent = $PE_guielement_ext_colorpicker;
  2924. MinExtent = "8 2";
  2925. canSave = "1";
  2926. Visible = "1";
  2927. Command = "getColorF( PE_ParticleEditor.currParticle.colors[6], \"PE_ColorTintSwatch6.updateParticleColor\");";
  2928. altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
  2929. hovertime = "1000";
  2930. groupNum = "-1";
  2931. buttonType = "PushButton";
  2932. useMouseEvents = "1";
  2933. arrayNum = "6";
  2934. class = "PE_ColorTintSwatch";
  2935. };
  2936. new GuiSwatchButtonCtrl(PE_ColorTintSwatch7) {
  2937. canSaveDynamicFields = "0";
  2938. Enabled = "1";
  2939. isContainer = "0";
  2940. Profile = "GuiInspectorSwatchButtonProfile";
  2941. HorizSizing = "left";
  2942. VertSizing = "bottom";
  2943. position = "160 0";
  2944. Extent = $PE_guielement_ext_colorpicker;
  2945. MinExtent = "8 2";
  2946. canSave = "1";
  2947. Visible = "1";
  2948. Command = "getColorF( PE_ParticleEditor.currParticle.colors[7], \"PE_ColorTintSwatch7.updateParticleColor\");";
  2949. altCommand = "$ThisControl.updateParticleColor( $ThisControl.color );";
  2950. hovertime = "1000";
  2951. groupNum = "-1";
  2952. buttonType = "PushButton";
  2953. useMouseEvents = "1";
  2954. arrayNum = "7";
  2955. class = "PE_ColorTintSwatch";
  2956. };
  2957. };
  2958. new GuiControl(){ // Spacer ----------------------------
  2959. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  2960. new GuiBitmapCtrl(){
  2961. position="0 3"; extent ="188 2"; HorizSizing = "width";
  2962. bitmapAsset ="ToolsModule:separator_v_image";
  2963. };
  2964. };// end spacer ----------------------------------------
  2965. new GuiControl(){ // Particle Point Size
  2966. class = "AggregateControl";
  2967. isContainer = "1";
  2968. HorizSizing = "width";
  2969. VertSizing = "bottom";
  2970. Position = $PE_guielement_pos_single_container ;
  2971. Extent = $PE_guielement_ext_single_container ;
  2972. new GuiTextCtrl() {
  2973. Profile = "ToolsGuiTextProfile";
  2974. HorizSizing = "width";
  2975. VertSizing = "bottom";
  2976. position = $PE_guielement_pos_name;
  2977. Extent = $PE_guielement_ext_name;
  2978. text = "Size 1";
  2979. };
  2980. new GuiSliderCtrl() {
  2981. internalName = "PEP_pointSize_slider0";
  2982. canSaveDynamicFields = "0";
  2983. Enabled = "1";
  2984. isContainer = "0";
  2985. Profile = "ToolsGuiSliderProfile";
  2986. HorizSizing = "left";
  2987. VertSizing = "bottom";
  2988. position = $PE_guielement_pos_slider;
  2989. Extent = $PE_guielement_ext_slider;
  2990. MinExtent = "8 2";
  2991. canSave = "1";
  2992. Visible = "1";
  2993. Command = "";
  2994. hovertime = "1000";
  2995. range = "0 50";
  2996. ticks = "0";
  2997. value = "0";
  2998. Command = "PE_ParticleEditor.updateParticle( \"sizes[0]\", $ThisControl.getValue(), true, true );";
  2999. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[0]\", $ThisControl.getValue(), true, false );";
  3000. };
  3001. new GuiTextEditCtrl() {
  3002. internalName = "PEP_pointSize_textEdit0";
  3003. Profile = "ToolsGuiTextEditProfile";
  3004. HorizSizing = "left";
  3005. VertSizing = "bottom";
  3006. position = $PE_guielement_pos_value;
  3007. Extent = $PE_guielement_ext_value;
  3008. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[0]\", $ThisControl.getText());";
  3009. };
  3010. };
  3011. new GuiControl(){ // Particle Point Size
  3012. class = "AggregateControl";
  3013. isContainer = "1";
  3014. HorizSizing = "width";
  3015. VertSizing = "bottom";
  3016. Position = $PE_guielement_pos_single_container ;
  3017. Extent = $PE_guielement_ext_single_container ;
  3018. new GuiTextCtrl() {
  3019. Profile = "ToolsGuiTextProfile";
  3020. HorizSizing = "width";
  3021. VertSizing = "bottom";
  3022. position = $PE_guielement_pos_name;
  3023. Extent = $PE_guielement_ext_name;
  3024. text = "Size 2";
  3025. };
  3026. new GuiSliderCtrl() {
  3027. internalName = "PEP_pointSize_slider1";
  3028. canSaveDynamicFields = "0";
  3029. Enabled = "1";
  3030. isContainer = "0";
  3031. Profile = "ToolsGuiSliderProfile";
  3032. HorizSizing = "left";
  3033. VertSizing = "bottom";
  3034. position = $PE_guielement_pos_slider;
  3035. Extent = $PE_guielement_ext_slider;
  3036. MinExtent = "8 2";
  3037. canSave = "1";
  3038. Visible = "1";
  3039. Command = "";
  3040. hovertime = "1000";
  3041. range = "0 50";
  3042. ticks = "0";
  3043. value = "0";
  3044. Command = "PE_ParticleEditor.updateParticle( \"sizes[1]\", $ThisControl.getValue(), true, true );";
  3045. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[1]\", $ThisControl.getValue(), true, false );";
  3046. };
  3047. new GuiTextEditCtrl() {
  3048. internalName = "PEP_pointSize_textEdit1";
  3049. Profile = "ToolsGuiTextEditProfile";
  3050. HorizSizing = "left";
  3051. VertSizing = "bottom";
  3052. position = $PE_guielement_pos_value;
  3053. Extent = $PE_guielement_ext_value;
  3054. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[1]\", $ThisControl.getText());";
  3055. };
  3056. };
  3057. new GuiControl(){ // Particle Point Size
  3058. class = "AggregateControl";
  3059. isContainer = "1";
  3060. HorizSizing = "width";
  3061. VertSizing = "bottom";
  3062. Position = $PE_guielement_pos_single_container ;
  3063. Extent = $PE_guielement_ext_single_container ;
  3064. new GuiTextCtrl() {
  3065. Profile = "ToolsGuiTextProfile";
  3066. HorizSizing = "width";
  3067. VertSizing = "bottom";
  3068. position = $PE_guielement_pos_name;
  3069. Extent = $PE_guielement_ext_name;
  3070. text = "Size 3";
  3071. };
  3072. new GuiSliderCtrl() {
  3073. internalName = "PEP_pointSize_slider2";
  3074. canSaveDynamicFields = "0";
  3075. Enabled = "1";
  3076. isContainer = "0";
  3077. Profile = "ToolsGuiSliderProfile";
  3078. HorizSizing = "left";
  3079. VertSizing = "bottom";
  3080. position = $PE_guielement_pos_slider;
  3081. Extent = $PE_guielement_ext_slider;
  3082. MinExtent = "8 2";
  3083. canSave = "1";
  3084. Visible = "1";
  3085. Command = "";
  3086. hovertime = "1000";
  3087. range = "0 50";
  3088. ticks = "0";
  3089. value = "0";
  3090. Command = "PE_ParticleEditor.updateParticle( \"sizes[2]\", $ThisControl.getValue(), true, true );";
  3091. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[2]\", $ThisControl.getValue(), true, false );";
  3092. };
  3093. new GuiTextEditCtrl() {
  3094. internalName = "PEP_pointSize_textEdit2";
  3095. Profile = "ToolsGuiTextEditProfile";
  3096. HorizSizing = "left";
  3097. VertSizing = "bottom";
  3098. position = $PE_guielement_pos_value;
  3099. Extent = $PE_guielement_ext_value;
  3100. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[2]\", $ThisControl.getText());";
  3101. };
  3102. };
  3103. new GuiControl(){ // Particle Point Size
  3104. class = "AggregateControl";
  3105. isContainer = "1";
  3106. HorizSizing = "width";
  3107. VertSizing = "bottom";
  3108. Position = $PE_guielement_pos_single_container ;
  3109. Extent = $PE_guielement_ext_single_container ;
  3110. new GuiTextCtrl() {
  3111. Profile = "ToolsGuiTextProfile";
  3112. HorizSizing = "width";
  3113. VertSizing = "bottom";
  3114. position = $PE_guielement_pos_name;
  3115. Extent = $PE_guielement_ext_name;
  3116. text = "Size 4";
  3117. };
  3118. new GuiSliderCtrl() {
  3119. internalName = "PEP_pointSize_slider3";
  3120. canSaveDynamicFields = "0";
  3121. Enabled = "1";
  3122. isContainer = "0";
  3123. Profile = "ToolsGuiSliderProfile";
  3124. HorizSizing = "left";
  3125. VertSizing = "bottom";
  3126. position = $PE_guielement_pos_slider;
  3127. Extent = $PE_guielement_ext_slider;
  3128. MinExtent = "8 2";
  3129. canSave = "1";
  3130. Visible = "1";
  3131. Command = "";
  3132. hovertime = "1000";
  3133. range = "0 50";
  3134. ticks = "0";
  3135. value = "0";
  3136. Command = "PE_ParticleEditor.updateParticle( \"sizes[3]\", $ThisControl.getValue(), true, true );";
  3137. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[3]\", $ThisControl.getValue(), true, false );";
  3138. };
  3139. new GuiTextEditCtrl() {
  3140. internalName = "PEP_pointSize_textEdit3";
  3141. Profile = "ToolsGuiTextEditProfile";
  3142. HorizSizing = "left";
  3143. VertSizing = "bottom";
  3144. position = $PE_guielement_pos_value;
  3145. Extent = $PE_guielement_ext_value;
  3146. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[3]\", $ThisControl.getText());";
  3147. };
  3148. };
  3149. new GuiControl(){ // Particle Point Size
  3150. class = "AggregateControl";
  3151. isContainer = "1";
  3152. HorizSizing = "width";
  3153. VertSizing = "bottom";
  3154. Position = $PE_guielement_pos_single_container ;
  3155. Extent = $PE_guielement_ext_single_container ;
  3156. new GuiTextCtrl() {
  3157. Profile = "ToolsGuiTextProfile";
  3158. HorizSizing = "width";
  3159. VertSizing = "bottom";
  3160. position = $PE_guielement_pos_name;
  3161. Extent = $PE_guielement_ext_name;
  3162. text = "Size 5";
  3163. };
  3164. new GuiSliderCtrl() {
  3165. internalName = "PEP_pointSize_slider4";
  3166. canSaveDynamicFields = "0";
  3167. Enabled = "1";
  3168. isContainer = "0";
  3169. Profile = "ToolsGuiSliderProfile";
  3170. HorizSizing = "left";
  3171. VertSizing = "bottom";
  3172. position = $PE_guielement_pos_slider;
  3173. Extent = $PE_guielement_ext_slider;
  3174. MinExtent = "8 2";
  3175. canSave = "1";
  3176. Visible = "1";
  3177. Command = "";
  3178. hovertime = "1000";
  3179. range = "0 50";
  3180. ticks = "0";
  3181. value = "0";
  3182. Command = "PE_ParticleEditor.updateParticle( \"sizes[4]\", $ThisControl.getValue(), true, true );";
  3183. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[4]\", $ThisControl.getValue(), true, false );";
  3184. };
  3185. new GuiTextEditCtrl() {
  3186. internalName = "PEP_pointSize_textEdit4";
  3187. Profile = "ToolsGuiTextEditProfile";
  3188. HorizSizing = "left";
  3189. VertSizing = "bottom";
  3190. position = $PE_guielement_pos_value;
  3191. Extent = $PE_guielement_ext_value;
  3192. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[4]\", $ThisControl.getText());";
  3193. };
  3194. };
  3195. new GuiControl(){ // Particle Point Size
  3196. class = "AggregateControl";
  3197. isContainer = "1";
  3198. HorizSizing = "width";
  3199. VertSizing = "bottom";
  3200. Position = $PE_guielement_pos_single_container ;
  3201. Extent = $PE_guielement_ext_single_container ;
  3202. new GuiTextCtrl() {
  3203. Profile = "ToolsGuiTextProfile";
  3204. HorizSizing = "width";
  3205. VertSizing = "bottom";
  3206. position = $PE_guielement_pos_name;
  3207. Extent = $PE_guielement_ext_name;
  3208. text = "Size 6";
  3209. };
  3210. new GuiSliderCtrl() {
  3211. internalName = "PEP_pointSize_slider5";
  3212. canSaveDynamicFields = "0";
  3213. Enabled = "1";
  3214. isContainer = "0";
  3215. Profile = "ToolsGuiSliderProfile";
  3216. HorizSizing = "left";
  3217. VertSizing = "bottom";
  3218. position = $PE_guielement_pos_slider;
  3219. Extent = $PE_guielement_ext_slider;
  3220. MinExtent = "8 2";
  3221. canSave = "1";
  3222. Visible = "1";
  3223. Command = "";
  3224. hovertime = "1000";
  3225. range = "0 50";
  3226. ticks = "0";
  3227. value = "0";
  3228. Command = "PE_ParticleEditor.updateParticle( \"sizes[5]\", $ThisControl.getValue(), true, true );";
  3229. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[5]\", $ThisControl.getValue(), true, false );";
  3230. };
  3231. new GuiTextEditCtrl() {
  3232. internalName = "PEP_pointSize_textEdit5";
  3233. Profile = "ToolsGuiTextEditProfile";
  3234. HorizSizing = "left";
  3235. VertSizing = "bottom";
  3236. position = $PE_guielement_pos_value;
  3237. Extent = $PE_guielement_ext_value;
  3238. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[5]\", $ThisControl.getText());";
  3239. };
  3240. };
  3241. new GuiControl(){ // Particle Point Size
  3242. class = "AggregateControl";
  3243. isContainer = "1";
  3244. HorizSizing = "width";
  3245. VertSizing = "bottom";
  3246. Position = $PE_guielement_pos_single_container ;
  3247. Extent = $PE_guielement_ext_single_container ;
  3248. new GuiTextCtrl() {
  3249. Profile = "ToolsGuiTextProfile";
  3250. HorizSizing = "width";
  3251. VertSizing = "bottom";
  3252. position = $PE_guielement_pos_name;
  3253. Extent = $PE_guielement_ext_name;
  3254. text = "Size 7";
  3255. };
  3256. new GuiSliderCtrl() {
  3257. internalName = "PEP_pointSize_slider6";
  3258. canSaveDynamicFields = "0";
  3259. Enabled = "1";
  3260. isContainer = "0";
  3261. Profile = "ToolsGuiSliderProfile";
  3262. HorizSizing = "left";
  3263. VertSizing = "bottom";
  3264. position = $PE_guielement_pos_slider;
  3265. Extent = $PE_guielement_ext_slider;
  3266. MinExtent = "8 2";
  3267. canSave = "1";
  3268. Visible = "1";
  3269. Command = "";
  3270. hovertime = "1000";
  3271. range = "0 50";
  3272. ticks = "0";
  3273. value = "0";
  3274. Command = "PE_ParticleEditor.updateParticle( \"sizes[6]\", $ThisControl.getValue(), true, true );";
  3275. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[6]\", $ThisControl.getValue(), true, false );";
  3276. };
  3277. new GuiTextEditCtrl() {
  3278. internalName = "PEP_pointSize_textEdit6";
  3279. Profile = "ToolsGuiTextEditProfile";
  3280. HorizSizing = "left";
  3281. VertSizing = "bottom";
  3282. position = $PE_guielement_pos_value;
  3283. Extent = $PE_guielement_ext_value;
  3284. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[6]\", $ThisControl.getText());";
  3285. };
  3286. };
  3287. new GuiControl(){ // Particle Point Size
  3288. class = "AggregateControl";
  3289. isContainer = "1";
  3290. HorizSizing = "width";
  3291. VertSizing = "bottom";
  3292. Position = $PE_guielement_pos_single_container ;
  3293. Extent = $PE_guielement_ext_single_container ;
  3294. new GuiTextCtrl() {
  3295. Profile = "ToolsGuiTextProfile";
  3296. HorizSizing = "width";
  3297. VertSizing = "bottom";
  3298. position = $PE_guielement_pos_name;
  3299. Extent = $PE_guielement_ext_name;
  3300. text = "Size 8";
  3301. };
  3302. new GuiSliderCtrl() {
  3303. internalName = "PEP_pointSize_slider7";
  3304. canSaveDynamicFields = "0";
  3305. Enabled = "1";
  3306. isContainer = "0";
  3307. Profile = "ToolsGuiSliderProfile";
  3308. HorizSizing = "left";
  3309. VertSizing = "bottom";
  3310. position = $PE_guielement_pos_slider;
  3311. Extent = $PE_guielement_ext_slider;
  3312. MinExtent = "8 2";
  3313. canSave = "1";
  3314. Visible = "1";
  3315. Command = "";
  3316. hovertime = "1000";
  3317. range = "0 50";
  3318. ticks = "0";
  3319. value = "0";
  3320. Command = "PE_ParticleEditor.updateParticle( \"sizes[7]\", $ThisControl.getValue(), true, true );";
  3321. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[7]\", $ThisControl.getValue(), true, false );";
  3322. };
  3323. new GuiTextEditCtrl() {
  3324. internalName = "PEP_pointSize_textEdit7";
  3325. Profile = "ToolsGuiTextEditProfile";
  3326. HorizSizing = "left";
  3327. VertSizing = "bottom";
  3328. position = $PE_guielement_pos_value;
  3329. Extent = $PE_guielement_ext_value;
  3330. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"sizes[7]\", $ThisControl.getText());";
  3331. };
  3332. };
  3333. new GuiControl(){ // Spacer ----------------------------
  3334. isContainer = "1"; HorizSizing = "width"; Position = "0 0"; Extent = "194 8";
  3335. new GuiBitmapCtrl(){
  3336. position="0 3"; extent ="188 2"; HorizSizing = "width";
  3337. bitmapAsset ="ToolsModule:separator_v_image";
  3338. };
  3339. };// end spacer ----------------------------------------
  3340. new GuiControl(){ // Particle Point Time
  3341. class = "AggregateControl";
  3342. isContainer = "1";
  3343. HorizSizing = "width";
  3344. VertSizing = "bottom";
  3345. Position = $PE_guielement_pos_single_container ;
  3346. Extent = $PE_guielement_ext_single_container ;
  3347. new GuiTextCtrl() {
  3348. Profile = "ToolsGuiTextProfile";
  3349. HorizSizing = "width";
  3350. VertSizing = "bottom";
  3351. position = $PE_guielement_pos_name;
  3352. Extent = $PE_guielement_ext_name;
  3353. text = "Time 1";
  3354. };
  3355. new GuiSliderCtrl() {
  3356. internalName = "PEP_pointTime_slider0";
  3357. canSaveDynamicFields = "0";
  3358. Enabled = "1";
  3359. isContainer = "0";
  3360. Profile = "ToolsGuiSliderProfile";
  3361. HorizSizing = "left";
  3362. VertSizing = "bottom";
  3363. position = $PE_guielement_pos_slider;
  3364. Extent = $PE_guielement_ext_slider;
  3365. MinExtent = "8 2";
  3366. canSave = "1";
  3367. Visible = "1";
  3368. Command = "";
  3369. hovertime = "1000";
  3370. range = "0 1";
  3371. ticks = "0";
  3372. value = "0";
  3373. Command = "PE_ParticleEditor.updateParticle( \"times[0]\", $ThisControl.getValue(), true, true );";
  3374. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[0]\", $ThisControl.getValue(), true, false );";
  3375. };
  3376. new GuiTextEditCtrl() {
  3377. internalName = "PEP_pointTime_textEdit0";
  3378. Profile = "ToolsGuiTextEditProfile";
  3379. HorizSizing = "left";
  3380. VertSizing = "bottom";
  3381. position = $PE_guielement_pos_value;
  3382. Extent = $PE_guielement_ext_value;
  3383. altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[0]\", $ThisControl.getText());";
  3384. };
  3385. };
  3386. new GuiControl(){ // Particle Point Time
  3387. class = "AggregateControl";
  3388. isContainer = "1";
  3389. HorizSizing = "width";
  3390. VertSizing = "bottom";
  3391. Position = $PE_guielement_pos_single_container ;
  3392. Extent = $PE_guielement_ext_single_container ;
  3393. new GuiTextCtrl() {
  3394. Profile = "ToolsGuiTextProfile";
  3395. HorizSizing = "width";
  3396. VertSizing = "bottom";
  3397. position = $PE_guielement_pos_name;
  3398. Extent = $PE_guielement_ext_name;
  3399. text = "Time 2";
  3400. };
  3401. new GuiSliderCtrl() {
  3402. internalName = "PEP_pointTime_slider1";
  3403. canSaveDynamicFields = "0";
  3404. Enabled = "1";
  3405. isContainer = "0";
  3406. Profile = "ToolsGuiSliderProfile";
  3407. HorizSizing = "left";
  3408. VertSizing = "bottom";
  3409. position = $PE_guielement_pos_slider;
  3410. Extent = $PE_guielement_ext_slider;
  3411. MinExtent = "8 2";
  3412. canSave = "1";
  3413. Visible = "1";
  3414. Command = "";
  3415. hovertime = "1000";
  3416. range = "0 1";
  3417. ticks = "0";
  3418. value = "0";
  3419. Command = "PE_ParticleEditor.updateParticle( \"times[1]\", $ThisControl.getValue(), true, true );";
  3420. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[1]\", $ThisControl.getValue(), true, false );";
  3421. };
  3422. new GuiTextEditCtrl() {
  3423. internalName = "PEP_pointTime_textEdit1";
  3424. Profile = "ToolsGuiTextEditProfile";
  3425. HorizSizing = "left";
  3426. VertSizing = "bottom";
  3427. position = $PE_guielement_pos_value;
  3428. Extent = $PE_guielement_ext_value;
  3429. altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[1]\", $ThisControl.getText());";
  3430. };
  3431. };
  3432. new GuiControl(){ // Particle Point Time
  3433. class = "AggregateControl";
  3434. isContainer = "1";
  3435. HorizSizing = "width";
  3436. VertSizing = "bottom";
  3437. Position = $PE_guielement_pos_single_container ;
  3438. Extent = $PE_guielement_ext_single_container ;
  3439. new GuiTextCtrl() {
  3440. Profile = "ToolsGuiTextProfile";
  3441. HorizSizing = "width";
  3442. VertSizing = "bottom";
  3443. position = $PE_guielement_pos_name;
  3444. Extent = $PE_guielement_ext_name;
  3445. text = "Time 3";
  3446. };
  3447. new GuiSliderCtrl() {
  3448. internalName = "PEP_pointTime_slider2";
  3449. canSaveDynamicFields = "0";
  3450. Enabled = "1";
  3451. isContainer = "0";
  3452. Profile = "ToolsGuiSliderProfile";
  3453. HorizSizing = "left";
  3454. VertSizing = "bottom";
  3455. position = $PE_guielement_pos_slider;
  3456. Extent = $PE_guielement_ext_slider;
  3457. MinExtent = "8 2";
  3458. canSave = "1";
  3459. Visible = "1";
  3460. Command = "";
  3461. hovertime = "1000";
  3462. range = "0 1";
  3463. ticks = "0";
  3464. value = "0";
  3465. Command = "PE_ParticleEditor.updateParticle( \"times[2]\", $ThisControl.getValue(), true, true );";
  3466. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[2]\", $ThisControl.getValue(), true, false );";
  3467. };
  3468. new GuiTextEditCtrl() {
  3469. internalName = "PEP_pointTime_textEdit2";
  3470. Profile = "ToolsGuiTextEditProfile";
  3471. HorizSizing = "left";
  3472. VertSizing = "bottom";
  3473. position = $PE_guielement_pos_value;
  3474. Extent = $PE_guielement_ext_value;
  3475. altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[2]\", $ThisControl.getText());";
  3476. };
  3477. };
  3478. new GuiControl(){ // Particle Point Time
  3479. class = "AggregateControl";
  3480. isContainer = "1";
  3481. HorizSizing = "width";
  3482. VertSizing = "bottom";
  3483. Position = $PE_guielement_pos_single_container ;
  3484. Extent = $PE_guielement_ext_single_container ;
  3485. new GuiTextCtrl() {
  3486. Profile = "ToolsGuiTextProfile";
  3487. HorizSizing = "width";
  3488. VertSizing = "bottom";
  3489. position = $PE_guielement_pos_name;
  3490. Extent = $PE_guielement_ext_name;
  3491. text = "Time 4";
  3492. };
  3493. new GuiSliderCtrl() {
  3494. internalName = "PEP_pointTime_slider3";
  3495. canSaveDynamicFields = "0";
  3496. Enabled = "1";
  3497. isContainer = "0";
  3498. Profile = "ToolsGuiSliderProfile";
  3499. HorizSizing = "left";
  3500. VertSizing = "bottom";
  3501. position = $PE_guielement_pos_slider;
  3502. Extent = $PE_guielement_ext_slider;
  3503. MinExtent = "8 2";
  3504. canSave = "1";
  3505. Visible = "1";
  3506. Command = "";
  3507. hovertime = "1000";
  3508. range = "0 1";
  3509. ticks = "0";
  3510. value = "0";
  3511. Command = "PE_ParticleEditor.updateParticle( \"times[3]\", $ThisControl.getValue(), true, true );";
  3512. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[3]\", $ThisControl.getValue(), true, false );";
  3513. };
  3514. new GuiTextEditCtrl() {
  3515. internalName = "PEP_pointTime_textEdit3";
  3516. Profile = "ToolsGuiTextEditProfile";
  3517. HorizSizing = "left";
  3518. VertSizing = "bottom";
  3519. position = $PE_guielement_pos_value;
  3520. Extent = $PE_guielement_ext_value;
  3521. altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[3]\", $ThisControl.getText());";
  3522. };
  3523. };
  3524. new GuiControl(){ // Particle Point Time
  3525. class = "AggregateControl";
  3526. isContainer = "1";
  3527. HorizSizing = "width";
  3528. VertSizing = "bottom";
  3529. Position = $PE_guielement_pos_single_container ;
  3530. Extent = $PE_guielement_ext_single_container ;
  3531. new GuiTextCtrl() {
  3532. Profile = "ToolsGuiTextProfile";
  3533. HorizSizing = "width";
  3534. VertSizing = "bottom";
  3535. position = $PE_guielement_pos_name;
  3536. Extent = $PE_guielement_ext_name;
  3537. text = "Time 5";
  3538. };
  3539. new GuiSliderCtrl() {
  3540. internalName = "PEP_pointTime_slider4";
  3541. canSaveDynamicFields = "0";
  3542. Enabled = "1";
  3543. isContainer = "0";
  3544. Profile = "ToolsGuiSliderProfile";
  3545. HorizSizing = "left";
  3546. VertSizing = "bottom";
  3547. position = $PE_guielement_pos_slider;
  3548. Extent = $PE_guielement_ext_slider;
  3549. MinExtent = "8 2";
  3550. canSave = "1";
  3551. Visible = "1";
  3552. Command = "";
  3553. hovertime = "1000";
  3554. range = "0 1";
  3555. ticks = "0";
  3556. value = "0";
  3557. Command = "PE_ParticleEditor.updateParticle( \"times[4]\", $ThisControl.getValue(), true, true );";
  3558. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[4]\", $ThisControl.getValue(), true, false );";
  3559. };
  3560. new GuiTextEditCtrl() {
  3561. internalName = "PEP_pointTime_textEdit4";
  3562. Profile = "ToolsGuiTextEditProfile";
  3563. HorizSizing = "left";
  3564. VertSizing = "bottom";
  3565. position = $PE_guielement_pos_value;
  3566. Extent = $PE_guielement_ext_value;
  3567. altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[4]\", $ThisControl.getText());";
  3568. };
  3569. };
  3570. new GuiControl(){ // Particle Point Time
  3571. class = "AggregateControl";
  3572. isContainer = "1";
  3573. HorizSizing = "width";
  3574. VertSizing = "bottom";
  3575. Position = $PE_guielement_pos_single_container ;
  3576. Extent = $PE_guielement_ext_single_container ;
  3577. new GuiTextCtrl() {
  3578. Profile = "ToolsGuiTextProfile";
  3579. HorizSizing = "width";
  3580. VertSizing = "bottom";
  3581. position = $PE_guielement_pos_name;
  3582. Extent = $PE_guielement_ext_name;
  3583. text = "Time 6";
  3584. };
  3585. new GuiSliderCtrl() {
  3586. internalName = "PEP_pointTime_slider5";
  3587. canSaveDynamicFields = "0";
  3588. Enabled = "1";
  3589. isContainer = "0";
  3590. Profile = "ToolsGuiSliderProfile";
  3591. HorizSizing = "left";
  3592. VertSizing = "bottom";
  3593. position = $PE_guielement_pos_slider;
  3594. Extent = $PE_guielement_ext_slider;
  3595. MinExtent = "8 2";
  3596. canSave = "1";
  3597. Visible = "1";
  3598. Command = "";
  3599. hovertime = "1000";
  3600. range = "0 1";
  3601. ticks = "0";
  3602. value = "0";
  3603. Command = "PE_ParticleEditor.updateParticle( \"times[5]\", $ThisControl.getValue(), true, true );";
  3604. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[5]\", $ThisControl.getValue(), true, false );";
  3605. };
  3606. new GuiTextEditCtrl() {
  3607. internalName = "PEP_pointTime_textEdit5";
  3608. Profile = "ToolsGuiTextEditProfile";
  3609. HorizSizing = "left";
  3610. VertSizing = "bottom";
  3611. position = $PE_guielement_pos_value;
  3612. Extent = $PE_guielement_ext_value;
  3613. altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[5]\", $ThisControl.getText());";
  3614. };
  3615. };
  3616. new GuiControl(){ // Particle Point Time
  3617. class = "AggregateControl";
  3618. isContainer = "1";
  3619. HorizSizing = "width";
  3620. VertSizing = "bottom";
  3621. Position = $PE_guielement_pos_single_container ;
  3622. Extent = $PE_guielement_ext_single_container ;
  3623. new GuiTextCtrl() {
  3624. Profile = "ToolsGuiTextProfile";
  3625. HorizSizing = "width";
  3626. VertSizing = "bottom";
  3627. position = $PE_guielement_pos_name;
  3628. Extent = $PE_guielement_ext_name;
  3629. text = "Time 7";
  3630. };
  3631. new GuiSliderCtrl() {
  3632. internalName = "PEP_pointTime_slider6";
  3633. canSaveDynamicFields = "0";
  3634. Enabled = "1";
  3635. isContainer = "0";
  3636. Profile = "ToolsGuiSliderProfile";
  3637. HorizSizing = "left";
  3638. VertSizing = "bottom";
  3639. position = $PE_guielement_pos_slider;
  3640. Extent = $PE_guielement_ext_slider;
  3641. MinExtent = "8 2";
  3642. canSave = "1";
  3643. Visible = "1";
  3644. Command = "";
  3645. hovertime = "1000";
  3646. range = "0 1";
  3647. ticks = "0";
  3648. value = "0";
  3649. Command = "PE_ParticleEditor.updateParticle( \"times[6]\", $ThisControl.getValue(), true, true );";
  3650. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[6]\", $ThisControl.getValue(), true, false );";
  3651. };
  3652. new GuiTextEditCtrl() {
  3653. internalName = "PEP_pointTime_textEdit6";
  3654. Profile = "ToolsGuiTextEditProfile";
  3655. HorizSizing = "left";
  3656. VertSizing = "bottom";
  3657. position = $PE_guielement_pos_value;
  3658. Extent = $PE_guielement_ext_value;
  3659. altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[6]\", $ThisControl.getText());";
  3660. };
  3661. };
  3662. new GuiControl(){ // Particle Point Time
  3663. class = "AggregateControl";
  3664. isContainer = "1";
  3665. HorizSizing = "width";
  3666. VertSizing = "bottom";
  3667. Position = $PE_guielement_pos_single_container ;
  3668. Extent = $PE_guielement_ext_single_container ;
  3669. new GuiTextCtrl() {
  3670. Profile = "ToolsGuiTextProfile";
  3671. HorizSizing = "width";
  3672. VertSizing = "bottom";
  3673. position = $PE_guielement_pos_name;
  3674. Extent = $PE_guielement_ext_name;
  3675. text = "Time 8";
  3676. };
  3677. new GuiSliderCtrl() {
  3678. internalName = "PEP_pointTime_slider7";
  3679. canSaveDynamicFields = "0";
  3680. Enabled = "1";
  3681. isContainer = "0";
  3682. Profile = "ToolsGuiSliderProfile";
  3683. HorizSizing = "left";
  3684. VertSizing = "bottom";
  3685. position = $PE_guielement_pos_slider;
  3686. Extent = $PE_guielement_ext_slider;
  3687. MinExtent = "8 2";
  3688. canSave = "1";
  3689. Visible = "1";
  3690. Command = "";
  3691. hovertime = "1000";
  3692. range = "0 1";
  3693. ticks = "0";
  3694. value = "0";
  3695. Command = "PE_ParticleEditor.updateParticle( \"times[7]\", $ThisControl.getValue(), true, true );";
  3696. altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[7]\", $ThisControl.getValue(), true, false );";
  3697. };
  3698. new GuiTextEditCtrl() {
  3699. internalName = "PEP_pointTime_textEdit7";
  3700. Profile = "ToolsGuiTextEditProfile";
  3701. HorizSizing = "left";
  3702. VertSizing = "bottom";
  3703. position = $PE_guielement_pos_value;
  3704. Extent = $PE_guielement_ext_value;
  3705. altCommand = "$ThisControl.setText(mClamp( $ThisControl.getValue(), 0.0, 1.0)); $ThisControl.getParent().updateFromChild($ThisControl); PE_ParticleEditor.updateParticle( \"times[7]\", $ThisControl.getText());";
  3706. };
  3707. };
  3708. }; // end stack
  3709. }; // end "Overtime" rollout
  3710. };// end stack "Particles"
  3711. };// end scroll "Particles"
  3712. };// end tab page "Particles"
  3713. };// end tab book
  3714. new GuiBitmapButtonCtrl() {
  3715. canSaveDynamicFields = "0";
  3716. Enabled = "1";
  3717. isContainer = "0";
  3718. Profile = "ToolsGuiButtonProfile";
  3719. HorizSizing = "left";
  3720. VertSizing = "bottom";
  3721. Position = "169 25";
  3722. Extent = "18 18";
  3723. MinExtent = "8 2";
  3724. canSave = "1";
  3725. Visible = "1";
  3726. Command = "ParticleEditor.updateEmitterNode();";
  3727. tooltipprofile = "ToolsGuiToolTipProfile";
  3728. ToolTip = "Play Particle Effect from Start";
  3729. hovertime = "1000";
  3730. bitmapAsset = "ToolsModule:play_btn_n_image";
  3731. buttonType = "PushButton";
  3732. groupNum = "-1";
  3733. text = "";
  3734. useMouseEvents = "0";
  3735. };
  3736. new GuiBitmapButtonCtrl() {
  3737. canSaveDynamicFields = "0";
  3738. Enabled = "1";
  3739. isContainer = "0";
  3740. Profile = "ToolsGuiButtonProfile";
  3741. HorizSizing = "left";
  3742. VertSizing = "bottom";
  3743. Position = "189 26";
  3744. Extent = "16 16";
  3745. MinExtent = "8 2";
  3746. canSave = "1";
  3747. Visible = "1";
  3748. Command = "ParticleEditor.resetEmitterNode();";
  3749. tooltipprofile = "ToolsGuiToolTipProfile";
  3750. ToolTip = "Drops Particle Effect in front of the Camera";
  3751. hovertime = "1000";
  3752. bitmapAsset = "ToolsModule:camera_image";
  3753. buttonType = "PushButton";
  3754. groupNum = "-1";
  3755. text = "";
  3756. useMouseEvents = "0";
  3757. };
  3758. };// end window
  3759. //--- OBJECT WRITE END ---