ParticleEditor.ed.gui 200 KB

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