ParticleEditor.ed.gui 199 KB

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