guiMaterialPropertiesWindow.ed.gui 231 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(MaterialEditorGui,EditorGuiGroup) {
  3. canSaveDynamicFields = "0";
  4. internalName = "MatEdPropertiesWindowContainer";
  5. Enabled = "1";
  6. isContainer = "1";
  7. Profile = "ToolsGuiDefaultProfile";
  8. HorizSizing = "right";
  9. VertSizing = "bottom";
  10. Position = "0 0";
  11. Extent = "1024 768";
  12. MinExtent = "8 2";
  13. canSave = "1";
  14. Visible = "1";
  15. hovertime = "1000";
  16. new GuiWindowCollapseCtrl(MaterialEditorPropertiesWindow) {
  17. canSaveDynamicFields = "0";
  18. internalName = "MatEdPropertiesWindow";
  19. Enabled = "1";
  20. isContainer = "1";
  21. Profile = "ToolsGuiWindowProfile";
  22. HorizSizing = "windowRelative";
  23. VertSizing = "windowRelative";
  24. Extent = "360" SPC getWord($pref::Video::mode, 1) - getWord(MaterialEditorPreviewWindow.extent, 1) - getWord(EditorGuiToolbar.extent, 1) - 65;
  25. MinExtent = "300 316";
  26. Position = getWord($pref::Video::mode, 0) - 360
  27. SPC getWord(EditorGuiToolbar.extent, 1) + getWord(MaterialEditorPreviewWindow.extent, 1) + 6;
  28. canSave = "1";
  29. Visible = "1";
  30. hovertime = "1000";
  31. Margin = "4 4 4 4";
  32. Padding = "0 0 0 0";
  33. AnchorTop = "1";
  34. AnchorBottom = "0";
  35. AnchorLeft = "1";
  36. AnchorRight = "0";
  37. resizeWidth = "1";
  38. resizeHeight = "1";
  39. canMove = "1";
  40. canClose = "0";
  41. canMinimize = "0";
  42. canMaximize = "0";
  43. closeCommand = "MaterialEditorPropertiesWindow.setVisible(false);";
  44. minSize = "50 50";
  45. EdgeSnap = "1";
  46. text = ":: Material Editor - Properties";
  47. new GuiContainer(MaterialEditorGuiContent){ // Client group
  48. isContainer = "1";
  49. Docking = "Client";
  50. Margin = "3 1 3 3";
  51. Position = "4 24";
  52. Extent = "200 668";
  53. new GuiContainer(){ // container to prevent transparent collapsing from effecting children.
  54. Position = "0 21";
  55. Extent = "200 39";
  56. isContainer = "1";
  57. HorizSizing = "width";
  58. Visible = "1";
  59. new GuiContainer(MatEdMaterialMode){ // Edit Mode
  60. Position = "0 0";
  61. Extent = "200 39";
  62. isContainer = "1";
  63. HorizSizing = "width";
  64. Visible = "0";
  65. new GuiTextCtrl(){
  66. Position = "10 1";
  67. Extent = "50 16";
  68. Profile = "ToolsGuiTextRightProfile";
  69. text = "Material:";
  70. HorizSizing = "right";
  71. VertSizing = "bottom";
  72. };
  73. new GuiTextEditCtrl(){
  74. internalName = "selMaterialName";
  75. Profile = "ToolsGuiTextEditProfile";
  76. AltCommand = "MaterialEditorGui.setMaterialDirty();MaterialEditorGui.updateActiveMaterialName($ThisControl.getText());"; // needs hookup
  77. HorizSizing = "width";
  78. VertSizing = "bottom";
  79. Position = "70 0";
  80. Extent = "125 18";
  81. text = "";
  82. };
  83. new GuiTextCtrl(){
  84. Position = "10 20";
  85. Extent = "50 18";
  86. Profile = "ToolsGuiTextRightProfile";
  87. text = "Target:";
  88. HorizSizing = "right";
  89. VertSizing = "bottom";
  90. };
  91. new GuiTextCtrl(){ // mesh name should not include the path
  92. internalName = "selMaterialMapTo"; // will use the first child found with that name if called from a previous parent even if it is invisable.
  93. Position = "70 20";
  94. Extent = "125 16";
  95. HorizSizing = "width";
  96. VertSizing = "bottom";
  97. text = "";
  98. };
  99. };
  100. new GuiContainer(MatEdTargetMode){ // Selection Mode
  101. Position = "0 0";
  102. Extent = "202 39";
  103. isContainer = "1";
  104. HorizSizing = "width";
  105. Visible = "1";
  106. new GuiBitmapButtonCtrl(){
  107. Profile = "ToolsGuiButtonProfile";
  108. Position = "186 23";
  109. Extent = "17 17";
  110. HorizSizing = "left";
  111. tooltip = "Swap material on the object with existing";
  112. bitmapAsset = "ToolsModule:change_material_btn_n_image";
  113. command = "MaterialEditorGui.swapMaterial();";
  114. };
  115. new GuiTextEditCtrl(){
  116. internalName = "selMaterialName";
  117. Profile = "ToolsGuiTextEditProfile";
  118. AltCommand = "MaterialEditorGui.setMaterialDirty();MaterialEditorGui.updateActiveMaterialName($ThisControl.getText());"; // needs hookup
  119. HorizSizing = "width";
  120. VertSizing = "bottom";
  121. Position = "76 21";
  122. Extent = "107 18";
  123. text = "myMaterial 1";
  124. HorizSizing = "width";
  125. };
  126. new GuiTextCtrl(){ // mesh name should not include the path
  127. internalName = "selMaterialMapTo";
  128. Profile = "ToolsGuiTextRightProfile";
  129. Position = "1 1";
  130. Extent = "70 16";
  131. HorizSizing = "right";
  132. VertSizing = "bottom";
  133. text = "";
  134. };
  135. new GuiTextCtrl(){
  136. Profile = "ToolsGuiTextRightProfile";
  137. Position = "1 21";
  138. Extent = "70 16";
  139. HorizSizing = "right";
  140. VertSizing = "bottom";
  141. text = "Material";
  142. };
  143. new GuiPopupMenuCtrlEx(SubMaterialSelector){ // needs hookup will show the name of the current mesh Maped to
  144. Profile = "ToolsGuiPopUpMenuProfile";
  145. Position = "76 0";
  146. Extent = "126 17";
  147. HorizSizing = "width";
  148. VertSizing = "bottom";
  149. text = "";
  150. tooltip = "Target Material";
  151. Command = "SubMaterialSelector.onSelect();";
  152. reverseTextList = "0";
  153. };
  154. };
  155. };
  156. // make this shorter ////////////////////////////////////////////////////////////////////////////
  157. new GuiScrollCtrl(matEd_scrollControl) {
  158. canSaveDynamicFields = "0";
  159. Enabled = "1";
  160. isContainer = "1";
  161. Profile = "ToolsGuiScrollProfile";
  162. HorizSizing = "width";
  163. VertSizing = "height"; //height
  164. position = "0 65";
  165. Extent = "202 603";
  166. MinExtent = "8 2";
  167. canSave = "1";
  168. Visible = "1";
  169. hovertime = "1000";
  170. willFirstRespond = "1";
  171. hScrollBar = "alwaysOff";
  172. vScrollBar = "dynamic";
  173. lockHorizScroll = "true";
  174. lockVertScroll = "false";
  175. constantThumbHeight = "0";
  176. childMargin = "0 0";
  177. new GuiStackControl(MatEd_scrollContents) {
  178. StackingType = "Vertical";
  179. HorizStacking = "Left to Right";
  180. VertStacking = "Top to Bottom";
  181. Padding = "0";
  182. isContainer = "1";
  183. Profile = "ToolsGuiDefaultProfile";
  184. HorizSizing = "width";
  185. VertSizing = "bottom";
  186. position = "0 0";
  187. Extent = "187 0";
  188. MinExtent = "8 2";
  189. canSave = "1";
  190. isDecoy = "0";
  191. Visible = "1";
  192. tooltipprofile = "ToolsGuiToolTipProfile";
  193. hovertime = "1000";
  194. new GuiPopUpMenuCtrl() {
  195. canSaveDynamicFields = "0";
  196. internalName = "MaterialLayerCtrl";
  197. Enabled = "1";
  198. isContainer = "0";
  199. Profile = "ToolsGuiPopUpMenuTabProfile";
  200. HorizSizing = "right";
  201. VertSizing = "bottom";
  202. position = "0 0";
  203. Extent = "112 18";
  204. MinExtent = "8 2";
  205. canSave = "1";
  206. Visible = "1";
  207. Command = "MaterialEditorGui.changeLayer( $ThisControl.getText() );";
  208. ToolTip = "Changes the material layer being edited";
  209. hovertime = "1000";
  210. text = "Layer 0";
  211. maxLength = "1024";
  212. maxPopupHeight = "200";
  213. sbUsesNAColor = "0";
  214. reverseTextList = "0";
  215. bitmapBounds = "16 16";
  216. };
  217. new GuiRolloutCtrl() {
  218. class = "BehaviorQuickEditRollout";
  219. superclass = LBQuickEditRollout;
  220. Profile = "GuiRolloutProfile";
  221. HorizSizing = "width";
  222. VertSizing = "bottom";
  223. Position = "0 0";
  224. Extent = "185 0";
  225. Caption = " Basic Texture Maps";
  226. Margin = "4 4 4 0";
  227. DragSizable = false;
  228. container = true;
  229. new GuiStackControl() {
  230. StackingType = "Vertical";
  231. HorizStacking = "Left to Right";
  232. VertStacking = "Top to Bottom";
  233. Padding = "0";
  234. canSaveDynamicFields = "0";
  235. Enabled = "1";
  236. isContainer = "1";
  237. Profile = "ToolsGuiDefaultProfile";
  238. HorizSizing = "width";
  239. VertSizing = "bottom";
  240. Position = "1 3";
  241. Extent = "185 16";
  242. MinExtent = "16 16";
  243. canSave = "1";
  244. isDecoy = "0";
  245. Visible = "1";
  246. tooltipprofile = "ToolsGuiToolTipProfile";
  247. hovertime = "1000";
  248. new GuiContainer(){ // Diffuse Map
  249. profile="ToolsGuiDefaultProfile";
  250. isContainer = "1";
  251. position = "6 21";
  252. Extent = "185 52";
  253. HorizSizing = "width";
  254. className = "materialEditorDiffuseMapContainer";
  255. new GuiBitmapCtrl() {
  256. canSaveDynamicFields = "0";
  257. internalName = "diffuseMapDisplayBitmap";
  258. Enabled = "1";
  259. isContainer = "0";
  260. Profile = "ToolsGuiDefaultProfile";
  261. HorizSizing = "right";
  262. VertSizing = "bottom";
  263. position = "1 1";
  264. Extent = "48 48";
  265. MinExtent = "8 2";
  266. canSave = "1";
  267. Visible = "1";
  268. hovertime = "1000";
  269. bitmapAsset = "ToolsModule:unknownImage_image";
  270. wrap = "0";
  271. };
  272. new GuiBitmapButtonCtrl() {
  273. canSaveDynamicFields = "0";
  274. Enabled = "1";
  275. isContainer = "0";
  276. Profile = "ToolsGuiDefaultProfile";
  277. HorizSizing = "right";
  278. VertSizing = "bottom";
  279. position = "1 1";
  280. Extent = "48 48";
  281. MinExtent = "8 2";
  282. canSave = "1";
  283. Visible = "1";
  284. Command = "MaterialEditorGui.updateTextureMap(\"diffuse\", 1);";
  285. tooltipprofile = "ToolsGuiToolTipProfile";
  286. ToolTip = "Change the Active Diffuse Map for this layer";
  287. hovertime = "1000";
  288. groupNum = "-1";
  289. buttonType = "PushButton";
  290. useMouseEvents = "0";
  291. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  292. };
  293. new GuiTextCtrl() {
  294. canSaveDynamicFields = "0";
  295. Enabled = "1";
  296. isContainer = "0";
  297. Profile = "EditorTextProfile";
  298. HorizSizing = "right";
  299. VertSizing = "bottom";
  300. position = "56 0";
  301. Extent = "72 18";
  302. MinExtent = "8 2";
  303. canSave = "1";
  304. Visible = "1";
  305. hovertime = "1000";
  306. Margin = "0 0 0 0";
  307. Padding = "0 0 0 0";
  308. AnchorTop = "1";
  309. AnchorBottom = "0";
  310. AnchorLeft = "1";
  311. AnchorRight = "0";
  312. text = "Diffuse Map";
  313. maxLength = "1024";
  314. };
  315. new GuiTextCtrl() {
  316. canSaveDynamicFields = "0";
  317. internalName = "diffuseMapNameText";
  318. Enabled = "1";
  319. isContainer = "0";
  320. Profile = "ToolsGuiTextProfile";
  321. HorizSizing = "width";
  322. VertSizing = "bottom";
  323. position = "56 16";
  324. Extent = "134 17";
  325. MinExtent = "8 2";
  326. canSave = "1";
  327. Visible = "1";
  328. hovertime = "1000";
  329. Margin = "0 0 0 0";
  330. Padding = "0 0 0 0";
  331. AnchorTop = "1";
  332. AnchorBottom = "0";
  333. AnchorLeft = "1";
  334. AnchorRight = "0";
  335. text = "None";
  336. maxLength = "1024";
  337. };
  338. new GuiSwatchButtonCtrl() {
  339. canSaveDynamicFields = "0";
  340. internalName = "colorTintSwatch";
  341. Enabled = "1";
  342. isContainer = "0";
  343. Profile = "GuiInspectorSwatchButtonProfile";
  344. HorizSizing = "right";
  345. VertSizing = "bottom";
  346. position = "55 33";
  347. Extent = "16 16";
  348. MinExtent = "8 2";
  349. canSave = "1";
  350. Visible = "1";
  351. Command = "getColorF(materialEd_PreviewMaterial.diffuseColor[MaterialEditorGui.currentLayer], \"MaterialEditorGui.updateColorMultiply\");";
  352. hovertime = "1000";
  353. groupNum = "-1";
  354. buttonType = "PushButton";
  355. useMouseEvents = "0";
  356. };
  357. new GuiTextCtrl(){
  358. profile="ToolsGuiDefaultProfile";
  359. text = "Color";
  360. position = "74 34";
  361. Extent = "30 15";
  362. };
  363. new GuiButtonCtrl(){
  364. profile="ToolsGuiButtonProfile";
  365. text ="Edit";
  366. HorizSizing = "left";
  367. VertSizing = "bottom";
  368. position = "134 34";
  369. Extent = "40 16";
  370. buttonType = "PushButton";
  371. command = "MaterialEditorGui.updateTextureMap(\"diffuse\", 1);";
  372. };
  373. new GuiBitmapButtonCtrl() {
  374. canSaveDynamicFields = "0";
  375. Enabled = "1";
  376. isContainer = "0";
  377. Profile = "ToolsGuiDefaultProfile";
  378. HorizSizing = "left";
  379. VertSizing = "bottom";
  380. position = "177 34";
  381. Extent = "16 16";
  382. MinExtent = "8 2";
  383. canSave = "1";
  384. Visible = "1";
  385. Command = "MaterialEditorGui.updateTextureMap(\"diffuse\", 0);";
  386. hovertime = "1000";
  387. groupNum = "-1";
  388. buttonType = "PushButton";
  389. useMouseEvents = "0";
  390. bitmapAsset = "ToolsModule:delete_n_image";
  391. };
  392. };
  393. new GuiBitmapCtrl(){
  394. position="6 75";
  395. extent ="175 2";
  396. HorizSizing = "width";
  397. bitmapAsset = "ToolsModule:separator_v_image";
  398. };
  399. new GuiContainer(){ // Normal Map
  400. profile="ToolsGuiDefaultProfile";
  401. isContainer = "1";
  402. position = "6 77";
  403. Extent = "185 52";
  404. HorizSizing = "width";
  405. className = "materialEditorNormalMapContainer";
  406. new GuiBitmapCtrl() {
  407. canSaveDynamicFields = "0";
  408. internalName = "normalMapDisplayBitmap";
  409. Enabled = "1";
  410. isContainer = "0";
  411. Profile = "ToolsGuiDefaultProfile";
  412. HorizSizing = "right";
  413. VertSizing = "bottom";
  414. position = "1 1";
  415. Extent = "48 48";
  416. MinExtent = "8 2";
  417. canSave = "1";
  418. Visible = "1";
  419. hovertime = "1000";
  420. bitmapAsset = "ToolsModule:unknownImage_image";
  421. wrap = "0";
  422. };
  423. new GuiTextCtrl() {
  424. canSaveDynamicFields = "0";
  425. Enabled = "1";
  426. isContainer = "0";
  427. Profile = "EditorTextProfile";
  428. HorizSizing = "right";
  429. VertSizing = "bottom";
  430. position = "56 0";
  431. Extent = "72 18";
  432. MinExtent = "8 2";
  433. canSave = "1";
  434. Visible = "1";
  435. hovertime = "1000";
  436. Margin = "0 0 0 0";
  437. Padding = "0 0 0 0";
  438. AnchorTop = "1";
  439. AnchorBottom = "0";
  440. AnchorLeft = "1";
  441. AnchorRight = "0";
  442. text = "Normal Map";
  443. maxLength = "1024";
  444. };
  445. new GuiBitmapButtonCtrl() {
  446. canSaveDynamicFields = "0";
  447. Enabled = "1";
  448. isContainer = "0";
  449. Profile = "ToolsGuiDefaultProfile";
  450. HorizSizing = "right";
  451. VertSizing = "bottom";
  452. position = "1 1";
  453. Extent = "48 48";
  454. MinExtent = "8 2";
  455. canSave = "1";
  456. Visible = "1";
  457. Command = "MaterialEditorGui.updateTextureMap(\"normal\", 1);";
  458. tooltipprofile = "ToolsGuiToolTipProfile";
  459. ToolTip = "Change the active Normal Map for this layer.";
  460. hovertime = "1000";
  461. groupNum = "-1";
  462. buttonType = "PushButton";
  463. useMouseEvents = "0";
  464. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  465. };
  466. new GuiTextCtrl() {
  467. canSaveDynamicFields = "0";
  468. internalName = "normalMapNameText";
  469. Enabled = "1";
  470. isContainer = "0";
  471. Profile = "ToolsGuiTextProfile";
  472. HorizSizing = "width";
  473. VertSizing = "bottom";
  474. position = "56 16";
  475. Extent = "143 17";
  476. MinExtent = "8 2";
  477. canSave = "1";
  478. Visible = "1";
  479. hovertime = "1000";
  480. Margin = "0 0 0 0";
  481. Padding = "0 0 0 0";
  482. AnchorTop = "1";
  483. AnchorBottom = "0";
  484. AnchorLeft = "1";
  485. AnchorRight = "0";
  486. text = "None";
  487. maxLength = "1024";
  488. };
  489. new GuiButtonCtrl(){
  490. profile="ToolsGuiButtonProfile";
  491. text ="Edit";
  492. HorizSizing = "left";
  493. VertSizing = "bottom";
  494. position = "134 34";
  495. Extent = "40 16";
  496. buttonType = "PushButton";
  497. command = "MaterialEditorGui.updateTextureMap(\"normal\", 1);";
  498. };
  499. new GuiBitmapButtonCtrl() {
  500. canSaveDynamicFields = "0";
  501. Enabled = "1";
  502. isContainer = "0";
  503. Profile = "ToolsGuiDefaultProfile";
  504. HorizSizing = "left";
  505. VertSizing = "bottom";
  506. position = "177 34";
  507. Extent = "16 16";
  508. MinExtent = "8 2";
  509. canSave = "1";
  510. Visible = "1";
  511. Command = "MaterialEditorGui.updateTextureMap(\"normal\", 0);";
  512. hovertime = "1000";
  513. groupNum = "-1";
  514. buttonType = "PushButton";
  515. useMouseEvents = "0";
  516. bitmapAsset = "ToolsModule:delete_n_image";
  517. };
  518. };
  519. };
  520. };
  521. new GuiRolloutCtrl() { // Light Influence Properties Group
  522. class = "BehaviorQuickEditRollout";
  523. superclass = LBQuickEditRollout;
  524. Profile = "GuiRolloutProfile";
  525. HorizSizing = "width";
  526. VertSizing = "bottom";
  527. Position = "0 0";
  528. Extent = "300 0";
  529. Caption = " Light Influence Maps";
  530. Expanded = false;
  531. Margin = "4 4 4 0";
  532. DragSizable = false;
  533. container = true;
  534. new GuiStackControl() {
  535. StackingType = "Vertical";
  536. HorizStacking = "Left to Right";
  537. VertStacking = "Top to Bottom";
  538. Padding = "0";
  539. canSaveDynamicFields = "0";
  540. Enabled = "1";
  541. isContainer = "1";
  542. Profile = "ToolsGuiDefaultProfile";
  543. HorizSizing = "width";
  544. VertSizing = "bottom";
  545. Position = "1 3";
  546. Extent = "300 16";
  547. MinExtent = "16 16";
  548. canSave = "1";
  549. isDecoy = "0";
  550. Visible = "1";
  551. tooltipprofile = "ToolsGuiToolTipProfile";
  552. hovertime = "1000";
  553. new GuiContainer(){
  554. profile = "ToolsGuiTransparentProfile";
  555. isContainer = "1";
  556. position = "0 0";
  557. Extent = "300 120";
  558. HorizSizing = "left";
  559. new GuiTextCtrl() {
  560. HorizSizing = "right";
  561. VertSizing = "bottom";
  562. position = "0 4";
  563. Extent = "100 16";
  564. text = "Roughness";
  565. Profile = "ToolsGuiTextRightProfile";
  566. };
  567. new GuiTextCtrl() {
  568. HorizSizing = "right";
  569. VertSizing = "bottom";
  570. position = "0 26";
  571. Extent = "100 16";
  572. text = "Metalness";
  573. Profile = "ToolsGuiTextRightProfile";
  574. };
  575. new GuiControl() {
  576. class = "AggregateControl";
  577. position = "120 4";
  578. Extent = "180 20";
  579. HorizSizing = "width";
  580. new GuiSliderCtrl() {
  581. canSaveDynamicFields = "0";
  582. internalName = "RoughnessSlider";
  583. Enabled = "1";
  584. isContainer = "0";
  585. Profile = "ToolsGuiSliderProfile";
  586. HorizSizing = "width";
  587. VertSizing = "bottom";
  588. position = "0 2";
  589. Extent = "10 14";
  590. MinExtent = "8 2";
  591. canSave = "1";
  592. Visible = "1";
  593. Command = "MaterialEditorGui.updateActiveMaterial(\"Roughness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
  594. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Roughness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
  595. tooltipprofile = "ToolsGuiToolTipProfile";
  596. ToolTip = "Sets Roughness.";
  597. hovertime = "1000";
  598. range = "0 1";
  599. ticks = "0";
  600. value = "0";
  601. };
  602. new GuiTextEditCtrl() {
  603. canSaveDynamicFields = "0";
  604. internalName = "RoughnessTextEdit";
  605. Enabled = "1";
  606. isContainer = "0";
  607. Profile = "ToolsGuiTextEditProfile";
  608. HorizSizing = "left";
  609. VertSizing = "bottom";
  610. position = "35 0";
  611. Extent = "30 18";
  612. MinExtent = "8 2";
  613. canSave = "1";
  614. Visible = "1";
  615. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Roughness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  616. hovertime = "1000";
  617. AnchorTop = "1";
  618. AnchorBottom = "0";
  619. AnchorLeft = "1";
  620. AnchorRight = "0";
  621. text = "0";
  622. };
  623. };
  624. new GuiControl() {
  625. class = "AggregateControl";
  626. position = "120 26";
  627. Extent = "180 20";
  628. HorizSizing = "width";
  629. new GuiSliderCtrl() {
  630. canSaveDynamicFields = "0";
  631. internalName = "MetalnessSlider";
  632. Enabled = "1";
  633. isContainer = "0";
  634. Profile = "ToolsGuiSliderProfile";
  635. HorizSizing = "width";
  636. VertSizing = "bottom";
  637. position = "0 2";
  638. Extent = "10 14";
  639. MinExtent = "8 2";
  640. canSave = "1";
  641. Visible = "1";
  642. Command = "MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
  643. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
  644. tooltipprofile = "ToolsGuiToolTipProfile";
  645. ToolTip = "Sets Metalness.";
  646. hovertime = "1000";
  647. range = "0 1";
  648. ticks = "0";
  649. value = "0";
  650. };
  651. new GuiTextEditCtrl() {
  652. canSaveDynamicFields = "0";
  653. internalName = "MetalnessTextEdit";
  654. Enabled = "1";
  655. isContainer = "0";
  656. Profile = "ToolsGuiTextEditProfile";
  657. HorizSizing = "left";
  658. VertSizing = "bottom";
  659. position = "35 0";
  660. Extent = "30 18";
  661. MinExtent = "8 2";
  662. canSave = "1";
  663. Visible = "1";
  664. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"Metalness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  665. hovertime = "1000";
  666. AnchorTop = "1";
  667. AnchorBottom = "0";
  668. AnchorLeft = "1";
  669. AnchorRight = "0";
  670. text = "0";
  671. };
  672. };
  673. new GuiContainer(){ // spec Map options
  674. profile="ToolsGuiDefaultProfile";
  675. isContainer = "1";
  676. position = "6 60";
  677. Extent = "290 24";
  678. HorizSizing = "right";
  679. new GuiCheckBoxCtrl() {
  680. canSaveDynamicFields = "0";
  681. internalName = "isSRGBCheckbox";
  682. Enabled = "1";
  683. isContainer = "0";
  684. Profile = "ToolsGuiCheckBoxProfile";
  685. HorizSizing = "right";
  686. VertSizing = "bottom";
  687. position = "5 0";
  688. Extent = "70 24";
  689. MinExtent = "8 2";
  690. canSave = "1";
  691. Visible = "1";
  692. Command = "MaterialEditorGui.updateActiveMaterial(\"isSRGb[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  693. tooltipprofile = "ToolsGuiToolTipProfile";
  694. ToolTip = "Treat as sRGB" NL "(Substance Designer Workaround)";
  695. hovertime = "1000";
  696. text = " Is sRGB";
  697. groupNum = "-1";
  698. buttonType = "ToggleButton";
  699. useMouseEvents = "0";
  700. useInactiveState = "0";
  701. };
  702. new GuiCheckBoxCtrl() {
  703. canSaveDynamicFields = "0";
  704. internalName = "invertRoughnessCheckbox";
  705. Enabled = "1";
  706. isContainer = "0";
  707. Profile = "ToolsGuiCheckBoxProfile";
  708. HorizSizing = "right";
  709. VertSizing = "bottom";
  710. position = "120 0";
  711. Extent = "120 24";
  712. MinExtent = "8 2";
  713. canSave = "1";
  714. Visible = "1";
  715. Command = "MaterialEditorGui.updateActiveMaterial(\"invertRoughness[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  716. tooltipprofile = "ToolsGuiToolTipProfile";
  717. ToolTip = " Invert Rougness" NL "(Treat as Roughest = 1.0 instead of 0.0)";
  718. hovertime = "1000";
  719. text = " Invert Roughness";
  720. groupNum = "-1";
  721. buttonType = "ToggleButton";
  722. useMouseEvents = "0";
  723. useInactiveState = "0";
  724. };
  725. };
  726. new GuiBitmapCtrl(){
  727. position="6 90";
  728. extent ="175 2";
  729. HorizSizing = "width";
  730. bitmapAsset = "ToolsModule:separator_v_image";
  731. };
  732. };
  733. new GuiContainer(){ // spec Map
  734. profile="ToolsGuiDefaultProfile";
  735. isContainer = "1";
  736. position = "6 280";
  737. Extent = "185 52";
  738. HorizSizing = "width";
  739. className = "materialEditorORMConfigMapContainer";
  740. new GuiBitmapCtrl() {
  741. canSaveDynamicFields = "0";
  742. internalName = "ORMConfigMapDisplayBitmap";
  743. Enabled = "1";
  744. isContainer = "0";
  745. Profile = "ToolsGuiDefaultProfile";
  746. HorizSizing = "right";
  747. VertSizing = "bottom";
  748. position = "1 1";
  749. Extent = "48 48";
  750. MinExtent = "8 2";
  751. canSave = "1";
  752. Visible = "1";
  753. hovertime = "1000";
  754. bitmapAsset = "ToolsModule:unknownImage_image";
  755. wrap = "0";
  756. };
  757. new GuiTextCtrl() {
  758. canSaveDynamicFields = "0";
  759. Enabled = "1";
  760. isContainer = "0";
  761. Profile = "EditorTextProfile";
  762. HorizSizing = "right";
  763. VertSizing = "bottom";
  764. position = "56 0";
  765. Extent = "72 18";
  766. MinExtent = "8 2";
  767. canSave = "1";
  768. Visible = "1";
  769. hovertime = "1000";
  770. Margin = "0 0 0 0";
  771. Padding = "0 0 0 0";
  772. AnchorTop = "1";
  773. AnchorBottom = "0";
  774. AnchorLeft = "1";
  775. AnchorRight = "0";
  776. text = "ORM (Config) Map";
  777. maxLength = "1024";
  778. };
  779. new GuiBitmapButtonCtrl() {
  780. canSaveDynamicFields = "0";
  781. Enabled = "1";
  782. isContainer = "0";
  783. Profile = "ToolsGuiDefaultProfile";
  784. HorizSizing = "right";
  785. VertSizing = "bottom";
  786. position = "1 1";
  787. Extent = "48 48";
  788. MinExtent = "8 2";
  789. canSave = "1";
  790. Visible = "1";
  791. Command = "MaterialEditorGui.updateTextureMap(\"ORMConfig\",1);";
  792. tooltipprofile = "ToolsGuiToolTipProfile";
  793. ToolTip = "Change the packed Specular Map for this layer" NL " - Red: Roughness" NL " - Green: Ambient Occlusion" NL " - Blue: Metalness";
  794. hovertime = "1000";
  795. groupNum = "-1";
  796. buttonType = "PushButton";
  797. useMouseEvents = "0";
  798. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  799. };
  800. new GuiTextCtrl() {
  801. canSaveDynamicFields = "0";
  802. internalName = "ORMConfigMapNameText";
  803. Enabled = "1";
  804. isContainer = "0";
  805. Profile = "ToolsGuiTextProfile";
  806. HorizSizing = "width";
  807. VertSizing = "bottom";
  808. position = "56 16";
  809. Extent = "143 17";
  810. MinExtent = "8 2";
  811. canSave = "1";
  812. Visible = "1";
  813. hovertime = "1000";
  814. Margin = "0 0 0 0";
  815. Padding = "0 0 0 0";
  816. AnchorTop = "1";
  817. AnchorBottom = "0";
  818. AnchorLeft = "1";
  819. AnchorRight = "0";
  820. text = "None";
  821. maxLength = "1024";
  822. };
  823. new GuiButtonCtrl(){
  824. profile="ToolsGuiButtonProfile";
  825. text ="Edit";
  826. HorizSizing = "left";
  827. VertSizing = "bottom";
  828. position = "134 34";
  829. Extent = "40 16";
  830. buttonType = "PushButton";
  831. Command = "MaterialEditorGui.updateTextureMap(\"ORMConfig\",1);";
  832. };
  833. new GuiBitmapButtonCtrl() {
  834. canSaveDynamicFields = "0";
  835. Enabled = "1";
  836. isContainer = "0";
  837. Profile = "ToolsGuiDefaultProfile";
  838. HorizSizing = "left";
  839. VertSizing = "bottom";
  840. position = "177 34";
  841. Extent = "16 16";
  842. MinExtent = "8 2";
  843. canSave = "1";
  844. Visible = "1";
  845. Command = "MaterialEditorGui.updateTextureMap(\"ORMConfig\",0);";
  846. hovertime = "1000";
  847. groupNum = "-1";
  848. buttonType = "PushButton";
  849. useMouseEvents = "0";
  850. bitmapAsset = "ToolsModule:delete_n_image";
  851. };
  852. };
  853. // todo: fix indent
  854. new GuiBitmapCtrl() {
  855. bitmapAsset = "ToolsModule:separator_v_image";
  856. position = "6 75";
  857. extent = "175 2";
  858. minExtent = "8 2";
  859. horizSizing = "width";
  860. visible = "1";
  861. };
  862. new GuiContainer(){ // save composite Map
  863. profile="ToolsGuiDefaultProfile";
  864. isContainer = "1";
  865. position = "0 344";
  866. Extent = "185 20";
  867. HorizSizing = "width";
  868. new GuiTextCtrl() {
  869. canSaveDynamicFields = "0";
  870. Enabled = "1";
  871. isContainer = "0";
  872. Profile = "ToolsGuiDefaultProfile";
  873. HorizSizing = "left";
  874. VertSizing = "bottom";
  875. position = "70 2";
  876. Extent = "100 18";
  877. MinExtent = "8 2";
  878. canSave = "1";
  879. Visible = "1";
  880. hovertime = "1000";
  881. Margin = "0 0 0 0";
  882. Padding = "0 0 0 0";
  883. AnchorTop = "1";
  884. AnchorBottom = "0";
  885. AnchorLeft = "1";
  886. AnchorRight = "0";
  887. text = "Save Composite:";
  888. maxLength = "1024";
  889. };
  890. new GuiBitmapButtonCtrl() {
  891. bitmapAsset = "ToolsModule:save_icon_n_image";
  892. bitmapMode = "Stretched";
  893. autoFitExtents = "0";
  894. useModifiers = "0";
  895. useStates = "1";
  896. groupNum = "-1";
  897. buttonType = "PushButton";
  898. useMouseEvents = "0";
  899. position = "175 2";
  900. extent = "16 16";
  901. minExtent = "8 2";
  902. horizSizing = "left";
  903. vertSizing = "bottom";
  904. profile = "ToolsGuiButtonProfile";
  905. visible = "1";
  906. active = "1";
  907. command = "MaterialEditorGui.saveCompositeMap();";
  908. tooltipProfile = "ToolsGuiToolTipProfile";
  909. hovertime = "1000";
  910. isContainer = "0";
  911. canSave = "1";
  912. canSaveDynamicFields = "0";
  913. };
  914. };
  915. new GuiBitmapCtrl(){
  916. position = "6 75";
  917. extent ="192 2";
  918. HorizSizing = "width";
  919. bitmapAsset ="ToolsModule:separator_v_image";
  920. };
  921. new GuiContainer() {
  922. margin = "0 0 0 0";
  923. padding = "0 0 0 0";
  924. anchorTop = "1";
  925. anchorBottom = "0";
  926. anchorLeft = "1";
  927. anchorRight = "0";
  928. position = "6 364";
  929. extent = "185 52";
  930. minExtent = "8 2";
  931. horizSizing = "width";
  932. vertSizing = "bottom";
  933. profile = "GuiDefaultProfile";
  934. visible = "1";
  935. active = "1";
  936. tooltipProfile = "ToolsGuiToolTipProfile";
  937. hovertime = "1000";
  938. isContainer = "1";
  939. canSave = "1";
  940. canSaveDynamicFields = "0";
  941. className = "materialEditorAOMapContainer";
  942. new GuiBitmapCtrl() {
  943. bitmapAsset = "ToolsModule:unknownImage_image";
  944. wrap = "0";
  945. position = "1 1";
  946. extent = "48 48";
  947. minExtent = "8 2";
  948. horizSizing = "right";
  949. vertSizing = "bottom";
  950. profile = "ToolsGuiButtonProfile";
  951. visible = "1";
  952. active = "1";
  953. tooltipProfile = "ToolsGuiToolTipProfile";
  954. hovertime = "1000";
  955. isContainer = "0";
  956. internalName = "aoMapDisplayBitmap";
  957. canSave = "1";
  958. canSaveDynamicFields = "0";
  959. };
  960. new GuiTextCtrl() {
  961. text = "AO Map";
  962. maxLength = "1024";
  963. margin = "0 0 0 0";
  964. padding = "0 0 0 0";
  965. anchorTop = "1";
  966. anchorBottom = "0";
  967. anchorLeft = "1";
  968. anchorRight = "0";
  969. position = "56 0";
  970. extent = "85 8";
  971. minExtent = "8 2";
  972. horizSizing = "right";
  973. vertSizing = "bottom";
  974. profile = "EditorTextProfile";
  975. visible = "1";
  976. active = "1";
  977. tooltipProfile = "ToolsGuiToolTipProfile";
  978. hovertime = "1000";
  979. isContainer = "0";
  980. canSave = "1";
  981. canSaveDynamicFields = "0";
  982. };
  983. new GuiBitmapButtonCtrl() {
  984. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  985. bitmapMode = "Stretched";
  986. autoFitExtents = "0";
  987. useModifiers = "0";
  988. useStates = "1";
  989. groupNum = "-1";
  990. buttonType = "PushButton";
  991. useMouseEvents = "0";
  992. position = "1 1";
  993. extent = "48 48";
  994. minExtent = "8 2";
  995. horizSizing = "right";
  996. vertSizing = "bottom";
  997. profile = "ToolsGuiButtonProfile";
  998. visible = "1";
  999. active = "1";
  1000. Command = "MaterialEditorGui.updateTextureMap(\"ao\",1);";
  1001. tooltipProfile = "ToolsGuiToolTipProfile";
  1002. tooltip = "Change the AO map for this layer.";
  1003. hovertime = "1000";
  1004. isContainer = "0";
  1005. canSave = "1";
  1006. canSaveDynamicFields = "0";
  1007. };
  1008. new GuiTextCtrl() {
  1009. text = "None";
  1010. maxLength = "1024";
  1011. margin = "0 0 0 0";
  1012. padding = "0 0 0 0";
  1013. anchorTop = "1";
  1014. anchorBottom = "0";
  1015. anchorLeft = "1";
  1016. anchorRight = "0";
  1017. position = "56 17";
  1018. extent = "193 17";
  1019. minExtent = "8 2";
  1020. horizSizing = "width";
  1021. vertSizing = "bottom";
  1022. profile = "ToolsGuiTextProfile";
  1023. visible = "1";
  1024. active = "1";
  1025. tooltipProfile = "ToolsGuiToolTipProfile";
  1026. hovertime = "1000";
  1027. isContainer = "0";
  1028. internalName = "aoMapNameText";
  1029. canSave = "1";
  1030. canSaveDynamicFields = "0";
  1031. };
  1032. new GuiButtonCtrl() {
  1033. text = "Edit";
  1034. groupNum = "-1";
  1035. buttonType = "PushButton";
  1036. useMouseEvents = "0";
  1037. position = "134 34";
  1038. extent = "40 16";
  1039. minExtent = "8 2";
  1040. horizSizing = "left";
  1041. vertSizing = "bottom";
  1042. profile = "ToolsGuiButtonProfile";
  1043. visible = "1";
  1044. active = "1";
  1045. Command = "MaterialEditorGui.updateTextureMap(\"ao\",1);";
  1046. tooltipProfile = "ToolsGuiToolTipProfile";
  1047. hovertime = "1000";
  1048. isContainer = "0";
  1049. canSave = "1";
  1050. canSaveDynamicFields = "0";
  1051. };
  1052. new GuiBitmapButtonCtrl() {
  1053. bitmapAsset = "ToolsModule:delete_n_image";
  1054. bitmapMode = "Stretched";
  1055. autoFitExtents = "0";
  1056. useModifiers = "0";
  1057. useStates = "1";
  1058. groupNum = "-1";
  1059. buttonType = "PushButton";
  1060. useMouseEvents = "0";
  1061. position = "177 34";
  1062. extent = "16 16";
  1063. minExtent = "8 2";
  1064. horizSizing = "left";
  1065. vertSizing = "bottom";
  1066. profile = "ToolsGuiButtonProfile";
  1067. visible = "1";
  1068. active = "1";
  1069. Command = "MaterialEditorGui.updateTextureMap(\"ao\",0);";
  1070. tooltipProfile = "ToolsGuiToolTipProfile";
  1071. hovertime = "1000";
  1072. isContainer = "0";
  1073. canSave = "1";
  1074. canSaveDynamicFields = "0";
  1075. };
  1076. new GuiRadioCtrl(aoChanBtn0) {
  1077. text = "R";
  1078. groupNum = "2";
  1079. buttonType = "RadioButton";
  1080. useMouseEvents = "0";
  1081. position = "160 7";
  1082. extent = "25 10";
  1083. minExtent = "8 2";
  1084. horizSizing = "right";
  1085. vertSizing = "bottom";
  1086. profile = "ToolsGuiRadioRedProfile";
  1087. visible = "1";
  1088. active = "1";
  1089. command = "MaterialEditorGui.setAOChan(0);";
  1090. tooltipProfile = "ToolsGuiToolTipProfile";
  1091. hovertime = "1000";
  1092. isContainer = "0";
  1093. canSave = "1";
  1094. canSaveDynamicFields = "0";
  1095. };
  1096. new GuiRadioCtrl(aoChanBtn1) {
  1097. text = "G";
  1098. groupNum = "2";
  1099. buttonType = "RadioButton";
  1100. useMouseEvents = "0";
  1101. position = "184 7";
  1102. extent = "25 10";
  1103. minExtent = "8 2";
  1104. horizSizing = "right";
  1105. vertSizing = "bottom";
  1106. profile = "ToolsGuiRadioGreenProfile";
  1107. visible = "1";
  1108. active = "1";
  1109. command = "MaterialEditorGui.setAOChan(1);";
  1110. tooltipProfile = "ToolsGuiToolTipProfile";
  1111. hovertime = "1000";
  1112. isContainer = "0";
  1113. canSave = "1";
  1114. canSaveDynamicFields = "0";
  1115. };
  1116. new GuiRadioCtrl(aoChanBtn2) {
  1117. text = "B";
  1118. groupNum = "2";
  1119. buttonType = "RadioButton";
  1120. useMouseEvents = "0";
  1121. position = "208 7";
  1122. extent = "25 10";
  1123. minExtent = "8 2";
  1124. horizSizing = "right";
  1125. vertSizing = "bottom";
  1126. profile = "ToolsGuiRadioBlueProfile";
  1127. visible = "1";
  1128. active = "1";
  1129. command = "MaterialEditorGui.setAOChan(2);";
  1130. tooltipProfile = "ToolsGuiToolTipProfile";
  1131. hovertime = "1000";
  1132. isContainer = "0";
  1133. canSave = "1";
  1134. canSaveDynamicFields = "0";
  1135. };
  1136. new GuiRadioCtrl(aoChanBtn3) {
  1137. text = "A";
  1138. groupNum = "2";
  1139. buttonType = "RadioButton";
  1140. useMouseEvents = "0";
  1141. position = "232 7";
  1142. extent = "25 10";
  1143. minExtent = "8 2";
  1144. horizSizing = "right";
  1145. vertSizing = "bottom";
  1146. profile = "ToolsGuiRadioProfile";
  1147. visible = "1";
  1148. active = "1";
  1149. command = "MaterialEditorGui.setAOChan(3);";
  1150. tooltipProfile = "ToolsGuiToolTipProfile";
  1151. hovertime = "1000";
  1152. isContainer = "0";
  1153. canSave = "1";
  1154. canSaveDynamicFields = "0";
  1155. };
  1156. };
  1157. new GuiContainer() {
  1158. margin = "0 0 0 0";
  1159. padding = "0 0 0 0";
  1160. anchorTop = "1";
  1161. anchorBottom = "0";
  1162. anchorLeft = "1";
  1163. anchorRight = "0";
  1164. position = "6 364";
  1165. extent = "185 52";
  1166. minExtent = "8 2";
  1167. horizSizing = "width";
  1168. vertSizing = "bottom";
  1169. profile = "GuiDefaultProfile";
  1170. visible = "1";
  1171. active = "1";
  1172. tooltipProfile = "ToolsGuiToolTipProfile";
  1173. hovertime = "1000";
  1174. isContainer = "1";
  1175. canSave = "1";
  1176. canSaveDynamicFields = "0";
  1177. className = "materialEditorRoughnessMapContainer";
  1178. new GuiBitmapCtrl() {
  1179. bitmapAsset = "ToolsModule:unknownImage_image";
  1180. wrap = "0";
  1181. position = "1 1";
  1182. extent = "48 48";
  1183. minExtent = "8 2";
  1184. horizSizing = "right";
  1185. vertSizing = "bottom";
  1186. profile = "ToolsGuiButtonProfile";
  1187. visible = "1";
  1188. active = "1";
  1189. tooltipProfile = "ToolsGuiToolTipProfile";
  1190. hovertime = "1000";
  1191. isContainer = "0";
  1192. internalName = "roughMapDisplayBitmap";
  1193. canSave = "1";
  1194. canSaveDynamicFields = "0";
  1195. };
  1196. new GuiTextCtrl() {
  1197. text = "Roughness Map";
  1198. maxLength = "1024";
  1199. margin = "0 0 0 0";
  1200. padding = "0 0 0 0";
  1201. anchorTop = "1";
  1202. anchorBottom = "0";
  1203. anchorLeft = "1";
  1204. anchorRight = "0";
  1205. position = "56 0";
  1206. extent = "35 8";
  1207. minExtent = "8 2";
  1208. horizSizing = "right";
  1209. vertSizing = "bottom";
  1210. profile = "EditorTextProfile";
  1211. visible = "1";
  1212. active = "1";
  1213. tooltipProfile = "ToolsGuiToolTipProfile";
  1214. hovertime = "1000";
  1215. isContainer = "0";
  1216. canSave = "1";
  1217. canSaveDynamicFields = "0";
  1218. };
  1219. new GuiBitmapButtonCtrl() {
  1220. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  1221. bitmapMode = "Stretched";
  1222. autoFitExtents = "0";
  1223. useModifiers = "0";
  1224. useStates = "1";
  1225. groupNum = "-1";
  1226. buttonType = "PushButton";
  1227. useMouseEvents = "0";
  1228. position = "1 1";
  1229. extent = "48 48";
  1230. minExtent = "8 2";
  1231. horizSizing = "right";
  1232. vertSizing = "bottom";
  1233. profile = "ToolsGuiButtonProfile";
  1234. visible = "1";
  1235. active = "1";
  1236. Command = "MaterialEditorGui.updateTextureMap(\"rough\",1);";
  1237. tooltipProfile = "ToolsGuiToolTipProfile";
  1238. tooltip = "Change the Roughness map for this layer.";
  1239. hovertime = "1000";
  1240. isContainer = "0";
  1241. canSave = "1";
  1242. canSaveDynamicFields = "0";
  1243. };
  1244. new GuiTextCtrl() {
  1245. text = "None";
  1246. maxLength = "1024";
  1247. margin = "0 0 0 0";
  1248. padding = "0 0 0 0";
  1249. anchorTop = "1";
  1250. anchorBottom = "0";
  1251. anchorLeft = "1";
  1252. anchorRight = "0";
  1253. position = "56 17";
  1254. extent = "193 17";
  1255. minExtent = "8 2";
  1256. horizSizing = "width";
  1257. vertSizing = "bottom";
  1258. profile = "ToolsGuiTextProfile";
  1259. visible = "1";
  1260. active = "1";
  1261. tooltipProfile = "ToolsGuiToolTipProfile";
  1262. hovertime = "1000";
  1263. isContainer = "0";
  1264. internalName = "roughMapNameText";
  1265. canSave = "1";
  1266. canSaveDynamicFields = "0";
  1267. };
  1268. new GuiButtonCtrl() {
  1269. text = "Edit";
  1270. groupNum = "-1";
  1271. buttonType = "PushButton";
  1272. useMouseEvents = "0";
  1273. position = "134 34";
  1274. extent = "40 16";
  1275. minExtent = "8 2";
  1276. horizSizing = "left";
  1277. vertSizing = "bottom";
  1278. profile = "ToolsGuiButtonProfile";
  1279. visible = "1";
  1280. active = "1";
  1281. Command = "MaterialEditorGui.updateTextureMap(\"rough\",1);";
  1282. tooltipProfile = "ToolsGuiToolTipProfile";
  1283. hovertime = "1000";
  1284. isContainer = "0";
  1285. canSave = "1";
  1286. canSaveDynamicFields = "0";
  1287. };
  1288. new GuiBitmapButtonCtrl() {
  1289. bitmapAsset = "ToolsModule:delete_n_image";
  1290. bitmapMode = "Stretched";
  1291. autoFitExtents = "0";
  1292. useModifiers = "0";
  1293. useStates = "1";
  1294. groupNum = "-1";
  1295. buttonType = "PushButton";
  1296. useMouseEvents = "0";
  1297. position = "177 34";
  1298. extent = "16 16";
  1299. minExtent = "8 2";
  1300. horizSizing = "left";
  1301. vertSizing = "bottom";
  1302. profile = "ToolsGuiButtonProfile";
  1303. visible = "1";
  1304. active = "1";
  1305. Command = "MaterialEditorGui.updateTextureMap(\"rough\",0);";
  1306. tooltipProfile = "ToolsGuiToolTipProfile";
  1307. hovertime = "1000";
  1308. isContainer = "0";
  1309. canSave = "1";
  1310. canSaveDynamicFields = "0";
  1311. };
  1312. new GuiRadioCtrl(roughChanBtn0) {
  1313. text = "R";
  1314. groupNum = "1";
  1315. buttonType = "RadioButton";
  1316. useMouseEvents = "0";
  1317. position = "160 7";
  1318. extent = "25 10";
  1319. minExtent = "8 2";
  1320. horizSizing = "right";
  1321. vertSizing = "bottom";
  1322. profile = "ToolsGuiRadioRedProfile";
  1323. visible = "1";
  1324. active = "1";
  1325. command = "MaterialEditorGui.setRoughChan(0);";
  1326. tooltipProfile = "ToolsGuiToolTipProfile";
  1327. hovertime = "1000";
  1328. isContainer = "0";
  1329. canSave = "1";
  1330. canSaveDynamicFields = "0";
  1331. };
  1332. new GuiRadioCtrl(roughChanBtn1) {
  1333. text = "G";
  1334. groupNum = "1";
  1335. buttonType = "RadioButton";
  1336. useMouseEvents = "0";
  1337. position = "184 7";
  1338. extent = "25 10";
  1339. minExtent = "8 2";
  1340. horizSizing = "right";
  1341. vertSizing = "bottom";
  1342. profile = "ToolsGuiRadioGreenProfile";
  1343. visible = "1";
  1344. active = "1";
  1345. command = "MaterialEditorGui.setRoughChan(1);";
  1346. tooltipProfile = "ToolsGuiToolTipProfile";
  1347. hovertime = "1000";
  1348. isContainer = "0";
  1349. canSave = "1";
  1350. canSaveDynamicFields = "0";
  1351. };
  1352. new GuiRadioCtrl(roughChanBtn2) {
  1353. text = "B";
  1354. groupNum = "1";
  1355. buttonType = "RadioButton";
  1356. useMouseEvents = "0";
  1357. position = "208 7";
  1358. extent = "25 10";
  1359. minExtent = "8 2";
  1360. horizSizing = "right";
  1361. vertSizing = "bottom";
  1362. profile = "ToolsGuiRadioBlueProfile";
  1363. visible = "1";
  1364. active = "1";
  1365. command = "MaterialEditorGui.setRoughChan(2);";
  1366. tooltipProfile = "ToolsGuiToolTipProfile";
  1367. hovertime = "1000";
  1368. isContainer = "0";
  1369. canSave = "1";
  1370. canSaveDynamicFields = "0";
  1371. };
  1372. new GuiRadioCtrl(roughChanBtn3) {
  1373. text = "A";
  1374. groupNum = "1";
  1375. buttonType = "RadioButton";
  1376. useMouseEvents = "0";
  1377. position = "232 7";
  1378. extent = "25 10";
  1379. minExtent = "8 2";
  1380. horizSizing = "right";
  1381. vertSizing = "bottom";
  1382. profile = "ToolsGuiRadioProfile";
  1383. visible = "1";
  1384. active = "1";
  1385. command = "MaterialEditorGui.setRoughChan(3);";
  1386. tooltipProfile = "ToolsGuiToolTipProfile";
  1387. hovertime = "1000";
  1388. isContainer = "0";
  1389. canSave = "1";
  1390. canSaveDynamicFields = "0";
  1391. };
  1392. };
  1393. new GuiContainer() {
  1394. margin = "0 0 0 0";
  1395. padding = "0 0 0 0";
  1396. anchorTop = "1";
  1397. anchorBottom = "0";
  1398. anchorLeft = "1";
  1399. anchorRight = "0";
  1400. position = "6 364";
  1401. extent = "185 52";
  1402. minExtent = "8 2";
  1403. horizSizing = "width";
  1404. vertSizing = "bottom";
  1405. profile = "GuiDefaultProfile";
  1406. visible = "1";
  1407. active = "1";
  1408. tooltipProfile = "ToolsGuiToolTipProfile";
  1409. hovertime = "1000";
  1410. isContainer = "1";
  1411. canSave = "1";
  1412. canSaveDynamicFields = "0";
  1413. className = "materialEditorMetalMapContainer";
  1414. new GuiBitmapCtrl() {
  1415. bitmapAsset = "ToolsModule:unknownImage_image";
  1416. wrap = "0";
  1417. position = "1 1";
  1418. extent = "48 48";
  1419. minExtent = "8 2";
  1420. horizSizing = "right";
  1421. vertSizing = "bottom";
  1422. profile = "ToolsGuiButtonProfile";
  1423. visible = "1";
  1424. active = "1";
  1425. tooltipProfile = "ToolsGuiToolTipProfile";
  1426. hovertime = "1000";
  1427. isContainer = "0";
  1428. internalName = "metalMapDisplayBitmap";
  1429. canSave = "1";
  1430. canSaveDynamicFields = "0";
  1431. };
  1432. new GuiTextCtrl() {
  1433. text = "Metal Map";
  1434. maxLength = "1024";
  1435. margin = "0 0 0 0";
  1436. padding = "0 0 0 0";
  1437. anchorTop = "1";
  1438. anchorBottom = "0";
  1439. anchorLeft = "1";
  1440. anchorRight = "0";
  1441. position = "56 0";
  1442. extent = "35 8";
  1443. minExtent = "8 2";
  1444. horizSizing = "right";
  1445. vertSizing = "bottom";
  1446. profile = "EditorTextProfile";
  1447. visible = "1";
  1448. active = "1";
  1449. tooltipProfile = "ToolsGuiToolTipProfile";
  1450. hovertime = "1000";
  1451. isContainer = "0";
  1452. canSave = "1";
  1453. canSaveDynamicFields = "0";
  1454. };
  1455. new GuiBitmapButtonCtrl() {
  1456. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  1457. bitmapMode = "Stretched";
  1458. autoFitExtents = "0";
  1459. useModifiers = "0";
  1460. useStates = "1";
  1461. groupNum = "-1";
  1462. buttonType = "PushButton";
  1463. useMouseEvents = "0";
  1464. position = "1 1";
  1465. extent = "48 48";
  1466. minExtent = "8 2";
  1467. horizSizing = "right";
  1468. vertSizing = "bottom";
  1469. profile = "ToolsGuiButtonProfile";
  1470. visible = "1";
  1471. active = "1";
  1472. Command = "MaterialEditorGui.updateTextureMap(\"metal\",1);";
  1473. tooltipProfile = "ToolsGuiToolTipProfile";
  1474. tooltip = "Change the Metalness Map for this layer.";
  1475. hovertime = "1000";
  1476. isContainer = "0";
  1477. canSave = "1";
  1478. canSaveDynamicFields = "0";
  1479. };
  1480. new GuiTextCtrl() {
  1481. text = "None";
  1482. maxLength = "1024";
  1483. margin = "0 0 0 0";
  1484. padding = "0 0 0 0";
  1485. anchorTop = "1";
  1486. anchorBottom = "0";
  1487. anchorLeft = "1";
  1488. anchorRight = "0";
  1489. position = "56 17";
  1490. extent = "193 17";
  1491. minExtent = "8 2";
  1492. horizSizing = "width";
  1493. vertSizing = "bottom";
  1494. profile = "ToolsGuiTextProfile";
  1495. visible = "1";
  1496. active = "1";
  1497. tooltipProfile = "ToolsGuiToolTipProfile";
  1498. hovertime = "1000";
  1499. isContainer = "0";
  1500. internalName = "metalMapNameText";
  1501. canSave = "1";
  1502. canSaveDynamicFields = "0";
  1503. };
  1504. new GuiButtonCtrl() {
  1505. text = "Edit";
  1506. groupNum = "-1";
  1507. buttonType = "PushButton";
  1508. useMouseEvents = "0";
  1509. position = "134 34";
  1510. extent = "40 16";
  1511. minExtent = "8 2";
  1512. horizSizing = "left";
  1513. vertSizing = "bottom";
  1514. profile = "ToolsGuiButtonProfile";
  1515. visible = "1";
  1516. active = "1";
  1517. Command = "MaterialEditorGui.updateTextureMap(\"metal\",1);";
  1518. tooltipProfile = "ToolsGuiToolTipProfile";
  1519. hovertime = "1000";
  1520. isContainer = "0";
  1521. canSave = "1";
  1522. canSaveDynamicFields = "0";
  1523. };
  1524. new GuiBitmapButtonCtrl() {
  1525. bitmapAsset = "ToolsModule:delete_n_image";
  1526. bitmapMode = "Stretched";
  1527. autoFitExtents = "0";
  1528. useModifiers = "0";
  1529. useStates = "1";
  1530. groupNum = "-1";
  1531. buttonType = "PushButton";
  1532. useMouseEvents = "0";
  1533. position = "177 34";
  1534. extent = "16 16";
  1535. minExtent = "8 2";
  1536. horizSizing = "left";
  1537. vertSizing = "bottom";
  1538. profile = "ToolsGuiButtonProfile";
  1539. visible = "1";
  1540. active = "1";
  1541. Command = "MaterialEditorGui.updateTextureMap(\"metal\",0);";
  1542. tooltipProfile = "ToolsGuiToolTipProfile";
  1543. hovertime = "1000";
  1544. isContainer = "0";
  1545. canSave = "1";
  1546. canSaveDynamicFields = "0";
  1547. };
  1548. new GuiRadioCtrl(metalChanBtn0) {
  1549. text = "R";
  1550. groupNum = "3";
  1551. buttonType = "RadioButton";
  1552. useMouseEvents = "0";
  1553. position = "160 7";
  1554. extent = "25 10";
  1555. minExtent = "8 2";
  1556. horizSizing = "right";
  1557. vertSizing = "bottom";
  1558. profile = "ToolsGuiRadioRedProfile";
  1559. visible = "1";
  1560. active = "1";
  1561. command = "MaterialEditorGui.setMetalChan(0);";
  1562. tooltipProfile = "ToolsGuiToolTipProfile";
  1563. hovertime = "1000";
  1564. isContainer = "0";
  1565. canSave = "1";
  1566. canSaveDynamicFields = "0";
  1567. };
  1568. new GuiRadioCtrl(metalChanBtn1) {
  1569. text = "G";
  1570. groupNum = "3";
  1571. buttonType = "RadioButton";
  1572. useMouseEvents = "0";
  1573. position = "184 7";
  1574. extent = "25 10";
  1575. minExtent = "8 2";
  1576. horizSizing = "right";
  1577. vertSizing = "bottom";
  1578. profile = "ToolsGuiRadioGreenProfile";
  1579. visible = "1";
  1580. active = "1";
  1581. command = "MaterialEditorGui.setMetalChan(1);";
  1582. tooltipProfile = "ToolsGuiToolTipProfile";
  1583. hovertime = "1000";
  1584. isContainer = "0";
  1585. canSave = "1";
  1586. canSaveDynamicFields = "0";
  1587. };
  1588. new GuiRadioCtrl(metalChanBtn2) {
  1589. text = "B";
  1590. groupNum = "3";
  1591. buttonType = "RadioButton";
  1592. useMouseEvents = "0";
  1593. position = "208 7";
  1594. extent = "25 10";
  1595. minExtent = "8 2";
  1596. horizSizing = "right";
  1597. vertSizing = "bottom";
  1598. profile = "ToolsGuiRadioBlueProfile";
  1599. visible = "1";
  1600. active = "1";
  1601. command = "MaterialEditorGui.setMetalChan(2);";
  1602. tooltipProfile = "ToolsGuiToolTipProfile";
  1603. hovertime = "1000";
  1604. isContainer = "0";
  1605. canSave = "1";
  1606. canSaveDynamicFields = "0";
  1607. };
  1608. new GuiRadioCtrl(metalChanBtn3) {
  1609. text = "A";
  1610. groupNum = "3";
  1611. buttonType = "RadioButton";
  1612. useMouseEvents = "0";
  1613. position = "232 7";
  1614. extent = "25 10";
  1615. minExtent = "8 2";
  1616. horizSizing = "right";
  1617. vertSizing = "bottom";
  1618. profile = "ToolsGuiRadioProfile";
  1619. visible = "1";
  1620. active = "1";
  1621. command = "MaterialEditorGui.setMetalChan(3);";
  1622. tooltipProfile = "ToolsGuiToolTipProfile";
  1623. hovertime = "1000";
  1624. isContainer = "0";
  1625. canSave = "1";
  1626. canSaveDynamicFields = "0";
  1627. };
  1628. };
  1629. new GuiBitmapCtrl(){
  1630. position="6 74";
  1631. extent ="175 2";
  1632. HorizSizing = "width";
  1633. bitmapAsset = "ToolsModule:separator_v_image";
  1634. };
  1635. new GuiContainer() {
  1636. margin = "0 0 0 0";
  1637. padding = "0 0 0 0";
  1638. anchorTop = "1";
  1639. anchorBottom = "0";
  1640. anchorLeft = "1";
  1641. anchorRight = "0";
  1642. position = "6 364";
  1643. extent = "185 80";
  1644. minExtent = "8 2";
  1645. horizSizing = "width";
  1646. vertSizing = "bottom";
  1647. profile = "GuiDefaultProfile";
  1648. visible = "1";
  1649. active = "1";
  1650. tooltipProfile = "ToolsGuiToolTipProfile";
  1651. hovertime = "1000";
  1652. isContainer = "1";
  1653. canSave = "1";
  1654. canSaveDynamicFields = "0";
  1655. className = "materialEditorGlowMapContainer";
  1656. new GuiBitmapCtrl() {
  1657. bitmapAsset = "ToolsModule:unknownImage_image";
  1658. wrap = "0";
  1659. position = "1 1";
  1660. extent = "48 48";
  1661. minExtent = "8 2";
  1662. horizSizing = "right";
  1663. vertSizing = "bottom";
  1664. profile = "ToolsGuiButtonProfile";
  1665. visible = "1";
  1666. active = "1";
  1667. tooltipProfile = "ToolsGuiToolTipProfile";
  1668. hovertime = "1000";
  1669. isContainer = "0";
  1670. internalName = "glowMapDisplayBitmap";
  1671. canSave = "1";
  1672. canSaveDynamicFields = "0";
  1673. };
  1674. new GuiTextCtrl() {
  1675. text = "Glow Map";
  1676. maxLength = "1024";
  1677. margin = "0 0 0 0";
  1678. padding = "0 0 0 0";
  1679. anchorTop = "1";
  1680. anchorBottom = "0";
  1681. anchorLeft = "1";
  1682. anchorRight = "0";
  1683. position = "56 0";
  1684. extent = "35 8";
  1685. minExtent = "8 2";
  1686. horizSizing = "right";
  1687. vertSizing = "bottom";
  1688. profile = "EditorTextProfile";
  1689. visible = "1";
  1690. active = "1";
  1691. tooltipProfile = "ToolsGuiToolTipProfile";
  1692. hovertime = "1000";
  1693. isContainer = "0";
  1694. canSave = "1";
  1695. canSaveDynamicFields = "0";
  1696. };
  1697. new GuiBitmapButtonCtrl() {
  1698. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  1699. bitmapMode = "Stretched";
  1700. autoFitExtents = "0";
  1701. useModifiers = "0";
  1702. useStates = "1";
  1703. groupNum = "-1";
  1704. buttonType = "PushButton";
  1705. useMouseEvents = "0";
  1706. position = "1 1";
  1707. extent = "48 48";
  1708. minExtent = "8 2";
  1709. horizSizing = "right";
  1710. vertSizing = "bottom";
  1711. profile = "ToolsGuiButtonProfile";
  1712. visible = "1";
  1713. active = "1";
  1714. Command = "MaterialEditorGui.updateTextureMap(\"glow\",1);";
  1715. tooltipProfile = "ToolsGuiToolTipProfile";
  1716. tooltip = "Change the Glowness Map for this layer.";
  1717. hovertime = "1000";
  1718. isContainer = "0";
  1719. canSave = "1";
  1720. canSaveDynamicFields = "0";
  1721. };
  1722. new GuiTextCtrl() {
  1723. text = "None";
  1724. maxLength = "1024";
  1725. margin = "0 0 0 0";
  1726. padding = "0 0 0 0";
  1727. anchorTop = "1";
  1728. anchorBottom = "0";
  1729. anchorLeft = "1";
  1730. anchorRight = "0";
  1731. position = "56 17";
  1732. extent = "143 17";
  1733. minExtent = "8 2";
  1734. horizSizing = "width";
  1735. vertSizing = "bottom";
  1736. profile = "ToolsGuiTextProfile";
  1737. visible = "1";
  1738. active = "1";
  1739. tooltipProfile = "ToolsGuiToolTipProfile";
  1740. hovertime = "1000";
  1741. isContainer = "0";
  1742. internalName = "glowMapNameText";
  1743. canSave = "1";
  1744. canSaveDynamicFields = "0";
  1745. };
  1746. new GuiButtonCtrl() {
  1747. text = "Edit";
  1748. groupNum = "-1";
  1749. buttonType = "PushButton";
  1750. useMouseEvents = "0";
  1751. position = "134 34";
  1752. extent = "40 16";
  1753. minExtent = "8 2";
  1754. horizSizing = "left";
  1755. vertSizing = "bottom";
  1756. profile = "ToolsGuiButtonProfile";
  1757. visible = "1";
  1758. active = "1";
  1759. Command = "MaterialEditorGui.updateTextureMap(\"glow\",1);";
  1760. tooltipProfile = "ToolsGuiToolTipProfile";
  1761. hovertime = "1000";
  1762. isContainer = "0";
  1763. canSave = "1";
  1764. canSaveDynamicFields = "0";
  1765. };
  1766. new GuiBitmapButtonCtrl() {
  1767. bitmapAsset = "ToolsModule:delete_n_image";
  1768. bitmapMode = "Stretched";
  1769. autoFitExtents = "0";
  1770. useModifiers = "0";
  1771. useStates = "1";
  1772. groupNum = "-1";
  1773. buttonType = "PushButton";
  1774. useMouseEvents = "0";
  1775. position = "177 34";
  1776. extent = "16 16";
  1777. minExtent = "8 2";
  1778. horizSizing = "left";
  1779. vertSizing = "bottom";
  1780. profile = "ToolsGuiButtonProfile";
  1781. visible = "1";
  1782. active = "1";
  1783. Command = "MaterialEditorGui.updateTextureMap(\"glow\",0);";
  1784. tooltipProfile = "ToolsGuiToolTipProfile";
  1785. hovertime = "1000";
  1786. isContainer = "0";
  1787. canSave = "1";
  1788. canSaveDynamicFields = "0";
  1789. };
  1790. // todo: correct indent
  1791. new GuiTextCtrl() {
  1792. HorizSizing = "right";
  1793. VertSizing = "bottom";
  1794. position = "0 54";
  1795. Extent = "100 24";
  1796. text = "Glow Multiply";
  1797. Profile = "ToolsGuiTextRightProfile";
  1798. };
  1799. new GuiControl() {
  1800. class = "AggregateControl";
  1801. position = "120 54";
  1802. Extent = "100 30";
  1803. HorizSizing = "width";
  1804. new GuiSliderCtrl() {
  1805. canSaveDynamicFields = "0";
  1806. internalName = "GlowMulSlider";
  1807. Enabled = "1";
  1808. isContainer = "0";
  1809. Profile = "ToolsGuiSliderProfile";
  1810. HorizSizing = "width";
  1811. VertSizing = "bottom";
  1812. position = "0 6";
  1813. Extent = "5 14";
  1814. MinExtent = "8 2";
  1815. canSave = "1";
  1816. Visible = "1";
  1817. Command = "MaterialEditorGui.updateActiveMaterial(\"GlowMul[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
  1818. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"GlowMul[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
  1819. tooltipprofile = "ToolsGuiToolTipProfile";
  1820. ToolTip = "Sets GlowMul.";
  1821. hovertime = "1000";
  1822. range = "0 20";
  1823. ticks = "0";
  1824. value = "0";
  1825. };
  1826. new GuiTextEditCtrl() {
  1827. canSaveDynamicFields = "0";
  1828. internalName = "GlowMulTextEdit";
  1829. Enabled = "1";
  1830. isContainer = "0";
  1831. Profile = "ToolsGuiTextEditProfile";
  1832. HorizSizing = "left";
  1833. VertSizing = "bottom";
  1834. position = "35 3";
  1835. Extent = "30 18";
  1836. MinExtent = "8 2";
  1837. canSave = "1";
  1838. Visible = "1";
  1839. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"GlowMul[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  1840. hovertime = "1000";
  1841. AnchorTop = "1";
  1842. AnchorBottom = "0";
  1843. AnchorLeft = "1";
  1844. AnchorRight = "0";
  1845. text = "0";
  1846. };
  1847. };
  1848. };
  1849. };
  1850. };
  1851. new GuiRolloutCtrl(advancedTextureMapsRollout) {
  1852. class = "BehaviorQuickEditRollout";
  1853. superclass = LBQuickEditRollout;
  1854. Profile = "GuiRolloutProfile";
  1855. HorizSizing = "width";
  1856. VertSizing = "bottom";
  1857. Position = "0 0";
  1858. Extent = "185 0";
  1859. Caption = " Advanced Texture Maps";
  1860. Expanded = false;
  1861. Margin = "4 4 4 0";
  1862. DragSizable = false;
  1863. container = true;
  1864. new GuiStackControl() {
  1865. StackingType = "Vertical";
  1866. HorizStacking = "Left to Right";
  1867. VertStacking = "Top to Bottom";
  1868. Padding = "0";
  1869. canSaveDynamicFields = "0";
  1870. Enabled = "1";
  1871. isContainer = "1";
  1872. Profile = "ToolsGuiDefaultProfile";
  1873. HorizSizing = "width";
  1874. VertSizing = "bottom";
  1875. Position = "1 3";
  1876. Extent = "185 16";
  1877. MinExtent = "16 16";
  1878. canSave = "1";
  1879. isDecoy = "0";
  1880. Visible = "1";
  1881. tooltipprofile = "ToolsGuiToolTipProfile";
  1882. hovertime = "1000";
  1883. new GuiContainer(){ // Detail Map
  1884. profile="ToolsGuiDefaultProfile";
  1885. isContainer = "1";
  1886. position = "6 193";
  1887. Extent = "185 52";
  1888. HorizSizing = "width";
  1889. className = "materialEditorDetailMapContainer";
  1890. new GuiBitmapCtrl() {
  1891. canSaveDynamicFields = "0";
  1892. internalName = "detailMapDisplayBitmap";
  1893. Enabled = "1";
  1894. isContainer = "0";
  1895. Profile = "ToolsGuiDefaultProfile";
  1896. HorizSizing = "right";
  1897. VertSizing = "bottom";
  1898. position = "1 1";
  1899. Extent = "48 48";
  1900. MinExtent = "8 2";
  1901. canSave = "1";
  1902. Visible = "1";
  1903. hovertime = "1000";
  1904. bitmapAsset = "ToolsModule:unknownImage_image";
  1905. wrap = "0";
  1906. };
  1907. new GuiBitmapButtonCtrl() {
  1908. canSaveDynamicFields = "0";
  1909. Enabled = "1";
  1910. isContainer = "0";
  1911. Profile = "ToolsGuiDefaultProfile";
  1912. HorizSizing = "right";
  1913. VertSizing = "bottom";
  1914. position = "1 1";
  1915. Extent = "48 48";
  1916. MinExtent = "8 2";
  1917. canSave = "1";
  1918. Visible = "1";
  1919. Command = "MaterialEditorGui.updateTextureMap(\"detail\", 1);";
  1920. tooltipprofile = "ToolsGuiToolTipProfile";
  1921. ToolTip = "Change the active Detail Map for this layer.";
  1922. hovertime = "1000";
  1923. groupNum = "-1";
  1924. buttonType = "PushButton";
  1925. useMouseEvents = "0";
  1926. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  1927. };
  1928. new GuiTextCtrl() { // Detailmap Scale text
  1929. profile="ToolsGuiDefaultProfile";
  1930. position = "56 34";
  1931. Extent = "35 16";
  1932. text ="Scale";
  1933. };
  1934. new GuiTextEditCtrl() { // Detailmap Scale
  1935. profile="ToolsGuiNumericTextEditProfile";
  1936. internalName = "detailScaleTextEdit";
  1937. position = "95 33";
  1938. Extent = "28 18";
  1939. text ="0";
  1940. maxLength = "2";
  1941. AltCommand = "MaterialEditorGui.updateDetailScale($ThisControl.getText());";
  1942. };
  1943. new GuiTextCtrl() {
  1944. canSaveDynamicFields = "0";
  1945. Enabled = "1";
  1946. isContainer = "0";
  1947. Profile = "EditorTextProfile";
  1948. HorizSizing = "right";
  1949. VertSizing = "bottom";
  1950. position = "56 -3";
  1951. Extent = "72 18";
  1952. MinExtent = "8 2";
  1953. canSave = "1";
  1954. Visible = "1";
  1955. hovertime = "1000";
  1956. Margin = "0 0 0 0";
  1957. Padding = "0 0 0 0";
  1958. AnchorTop = "1";
  1959. AnchorBottom = "0";
  1960. AnchorLeft = "1";
  1961. AnchorRight = "0";
  1962. text = "Detail Map";
  1963. maxLength = "1024";
  1964. };
  1965. new GuiTextCtrl() {
  1966. canSaveDynamicFields = "0";
  1967. internalName = "detailMapNameText";
  1968. Enabled = "1";
  1969. isContainer = "0";
  1970. Profile = "ToolsGuiTextProfile";
  1971. HorizSizing = "width";
  1972. VertSizing = "bottom";
  1973. position = "56 16";
  1974. Extent = "143 17";
  1975. MinExtent = "8 2";
  1976. canSave = "1";
  1977. Visible = "1";
  1978. hovertime = "1000";
  1979. Margin = "0 0 0 0";
  1980. Padding = "0 0 0 0";
  1981. AnchorTop = "1";
  1982. AnchorBottom = "0";
  1983. AnchorLeft = "1";
  1984. AnchorRight = "0";
  1985. text = "None";
  1986. maxLength = "1024";
  1987. };
  1988. new GuiButtonCtrl(){
  1989. profile="ToolsGuiButtonProfile";
  1990. text ="Edit";
  1991. HorizSizing = "left";
  1992. VertSizing = "bottom";
  1993. position = "134 34";
  1994. Extent = "40 16";
  1995. buttonType = "PushButton";
  1996. command = "MaterialEditorGui.updateTextureMap(\"detail\", 1);";
  1997. };
  1998. new GuiBitmapButtonCtrl() {
  1999. canSaveDynamicFields = "0";
  2000. Enabled = "1";
  2001. isContainer = "0";
  2002. Profile = "ToolsGuiDefaultProfile";
  2003. HorizSizing = "left";
  2004. VertSizing = "bottom";
  2005. position = "177 34";
  2006. Extent = "16 16";
  2007. MinExtent = "8 2";
  2008. canSave = "1";
  2009. Visible = "1";
  2010. Command = "MaterialEditorGui.updateTextureMap(\"detail\", 0);";
  2011. hovertime = "1000";
  2012. groupNum = "-1";
  2013. buttonType = "PushButton";
  2014. useMouseEvents = "0";
  2015. bitmapAsset = "ToolsModule:delete_n_image";
  2016. };
  2017. };
  2018. new GuiBitmapCtrl(){
  2019. position="6 246";
  2020. extent ="175 2";
  2021. HorizSizing = "width";
  2022. bitmapAsset ="ToolsModule:separator_v_image";
  2023. };
  2024. new GuiContainer(){ // Detail Normal Map
  2025. profile="ToolsGuiDefaultProfile";
  2026. isContainer = "1";
  2027. position = "6 136";
  2028. Extent = "185 52";
  2029. HorizSizing = "width";
  2030. className = "materialEditorDetailNormalMapContainer";
  2031. new GuiBitmapCtrl() {
  2032. canSaveDynamicFields = "0";
  2033. internalName = "detailNormalMapDisplayBitmap";
  2034. Enabled = "1";
  2035. isContainer = "0";
  2036. Profile = "ToolsGuiDefaultProfile";
  2037. HorizSizing = "right";
  2038. VertSizing = "bottom";
  2039. position = "1 1";
  2040. Extent = "48 48";
  2041. MinExtent = "8 2";
  2042. canSave = "1";
  2043. Visible = "1";
  2044. hovertime = "1000";
  2045. bitmapAsset = "ToolsModule:unknownImage_image";
  2046. wrap = "0";
  2047. };
  2048. new GuiBitmapButtonCtrl() {
  2049. canSaveDynamicFields = "0";
  2050. Enabled = "1";
  2051. isContainer = "0";
  2052. Profile = "ToolsGuiDefaultProfile";
  2053. HorizSizing = "right";
  2054. VertSizing = "bottom";
  2055. position = "1 1";
  2056. Extent = "48 48";
  2057. MinExtent = "8 2";
  2058. canSave = "1";
  2059. Visible = "1";
  2060. Command = "MaterialEditorGui.updateTextureMap(\"detailNormal\", 1);";
  2061. tooltipprofile = "ToolsGuiToolTipProfile";
  2062. ToolTip = "Change the active Detail Normal Map for this layer.";
  2063. hovertime = "1000";
  2064. groupNum = "-1";
  2065. buttonType = "PushButton";
  2066. useMouseEvents = "0";
  2067. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  2068. };
  2069. new GuiTextCtrl() { // Detail Normal Map Strength text
  2070. profile="ToolsGuiDefaultProfile";
  2071. position = "56 34";
  2072. Extent = "50 16";
  2073. text ="Strength";
  2074. };
  2075. new GuiTextEditCtrl() { // Detail Normal Map Strength
  2076. profile="ToolsGuiNumericTextEditProfile";
  2077. internalName = "detailNormalStrengthTextEdit";
  2078. position = "115 33";
  2079. Extent = "28 18";
  2080. text ="0";
  2081. maxLength = "3";
  2082. AltCommand = "MaterialEditorGui.updateDetailNormalStrength($ThisControl.getText());";
  2083. };
  2084. new GuiTextCtrl() {
  2085. canSaveDynamicFields = "0";
  2086. Enabled = "1";
  2087. isContainer = "0";
  2088. Profile = "EditorTextProfile";
  2089. HorizSizing = "right";
  2090. VertSizing = "bottom";
  2091. position = "56 -3";
  2092. Extent = "72 18";
  2093. MinExtent = "8 2";
  2094. canSave = "1";
  2095. Visible = "1";
  2096. hovertime = "1000";
  2097. Margin = "0 0 0 0";
  2098. Padding = "0 0 0 0";
  2099. AnchorTop = "1";
  2100. AnchorBottom = "0";
  2101. AnchorLeft = "1";
  2102. AnchorRight = "0";
  2103. text = "Detail Normal Map";
  2104. maxLength = "1024";
  2105. };
  2106. new GuiTextCtrl() {
  2107. canSaveDynamicFields = "0";
  2108. internalName = "detailNormalMapNameText";
  2109. Enabled = "1";
  2110. isContainer = "0";
  2111. Profile = "ToolsGuiTextProfile";
  2112. HorizSizing = "width";
  2113. VertSizing = "bottom";
  2114. position = "56 16";
  2115. Extent = "143 17";
  2116. MinExtent = "8 2";
  2117. canSave = "1";
  2118. Visible = "1";
  2119. hovertime = "1000";
  2120. Margin = "0 0 0 0";
  2121. Padding = "0 0 0 0";
  2122. AnchorTop = "1";
  2123. AnchorBottom = "0";
  2124. AnchorLeft = "1";
  2125. AnchorRight = "0";
  2126. text = "None";
  2127. maxLength = "1024";
  2128. };
  2129. new GuiButtonCtrl(){
  2130. profile="ToolsGuiButtonProfile";
  2131. text ="Edit";
  2132. HorizSizing = "left";
  2133. VertSizing = "bottom";
  2134. position = "134 34";
  2135. Extent = "40 16";
  2136. buttonType = "PushButton";
  2137. command = "MaterialEditorGui.updateTextureMap(\"detailNormal\", 1);";
  2138. };
  2139. new GuiBitmapButtonCtrl() {
  2140. canSaveDynamicFields = "0";
  2141. Enabled = "1";
  2142. isContainer = "0";
  2143. Profile = "ToolsGuiDefaultProfile";
  2144. HorizSizing = "left";
  2145. VertSizing = "bottom";
  2146. position = "177 34";
  2147. Extent = "16 16";
  2148. MinExtent = "8 2";
  2149. canSave = "1";
  2150. Visible = "1";
  2151. Command = "MaterialEditorGui.updateTextureMap(\"detailNormal\", 0);";
  2152. hovertime = "1000";
  2153. groupNum = "-1";
  2154. buttonType = "PushButton";
  2155. useMouseEvents = "0";
  2156. bitmapAsset = "ToolsModule:delete_n_image";
  2157. };
  2158. };
  2159. new GuiBitmapCtrl(){
  2160. position="6 189";
  2161. extent ="175 2";
  2162. HorizSizing = "width";
  2163. bitmapAsset ="ToolsModule:separator_v_image";
  2164. };
  2165. new GuiContainer(){ // Overlay Map
  2166. profile="ToolsGuiDefaultProfile";
  2167. isContainer = "1";
  2168. position = "6 136";
  2169. Extent = "185 52";
  2170. HorizSizing = "width";
  2171. className = "materialEditorOverlayMapContainer";
  2172. new GuiBitmapCtrl() {
  2173. canSaveDynamicFields = "0";
  2174. internalName = "overlayMapDisplayBitmap";
  2175. Enabled = "1";
  2176. isContainer = "0";
  2177. Profile = "ToolsGuiDefaultProfile";
  2178. HorizSizing = "right";
  2179. VertSizing = "bottom";
  2180. position = "1 1";
  2181. Extent = "48 48";
  2182. MinExtent = "8 2";
  2183. canSave = "1";
  2184. Visible = "1";
  2185. hovertime = "1000";
  2186. bitmapAsset = "ToolsModule:unknownImage_image";
  2187. wrap = "0";
  2188. };
  2189. new GuiBitmapButtonCtrl() {
  2190. canSaveDynamicFields = "0";
  2191. Enabled = "1";
  2192. isContainer = "0";
  2193. Profile = "ToolsGuiDefaultProfile";
  2194. HorizSizing = "right";
  2195. VertSizing = "bottom";
  2196. position = "1 1";
  2197. Extent = "48 48";
  2198. MinExtent = "8 2";
  2199. canSave = "1";
  2200. Visible = "1";
  2201. Command = "MaterialEditorGui.updateTextureMap(\"overlay\", 1);";
  2202. tooltipprofile = "ToolsGuiToolTipProfile";
  2203. ToolTip = "Change the active Overlay Map for this layer.";
  2204. hovertime = "1000";
  2205. groupNum = "-1";
  2206. buttonType = "PushButton";
  2207. useMouseEvents = "0";
  2208. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  2209. };
  2210. new GuiTextCtrl() {
  2211. canSaveDynamicFields = "0";
  2212. Enabled = "1";
  2213. isContainer = "0";
  2214. Profile = "EditorTextProfile";
  2215. HorizSizing = "right";
  2216. VertSizing = "bottom";
  2217. position = "56 -3";
  2218. Extent = "72 18";
  2219. MinExtent = "8 2";
  2220. canSave = "1";
  2221. Visible = "1";
  2222. hovertime = "1000";
  2223. Margin = "0 0 0 0";
  2224. Padding = "0 0 0 0";
  2225. AnchorTop = "1";
  2226. AnchorBottom = "0";
  2227. AnchorLeft = "1";
  2228. AnchorRight = "0";
  2229. text = "Overlay Map";
  2230. maxLength = "1024";
  2231. };
  2232. new GuiTextCtrl() {
  2233. canSaveDynamicFields = "0";
  2234. internalName = "overlayMapNameText";
  2235. Enabled = "1";
  2236. isContainer = "0";
  2237. Profile = "ToolsGuiTextProfile";
  2238. HorizSizing = "width";
  2239. VertSizing = "bottom";
  2240. position = "56 16";
  2241. Extent = "143 17";
  2242. MinExtent = "8 2";
  2243. canSave = "1";
  2244. Visible = "1";
  2245. hovertime = "1000";
  2246. Margin = "0 0 0 0";
  2247. Padding = "0 0 0 0";
  2248. AnchorTop = "1";
  2249. AnchorBottom = "0";
  2250. AnchorLeft = "1";
  2251. AnchorRight = "0";
  2252. text = "None";
  2253. maxLength = "1024";
  2254. };
  2255. new GuiButtonCtrl(){
  2256. profile="ToolsGuiButtonProfile";
  2257. text ="Edit";
  2258. HorizSizing = "left";
  2259. VertSizing = "bottom";
  2260. position = "134 34";
  2261. Extent = "40 16";
  2262. buttonType = "PushButton";
  2263. command = "MaterialEditorGui.updateTextureMap(\"overlay\", 1);";
  2264. };
  2265. new GuiBitmapButtonCtrl() {
  2266. canSaveDynamicFields = "0";
  2267. Enabled = "1";
  2268. isContainer = "0";
  2269. Profile = "ToolsGuiDefaultProfile";
  2270. HorizSizing = "left";
  2271. VertSizing = "bottom";
  2272. position = "177 34";
  2273. Extent = "16 16";
  2274. MinExtent = "8 2";
  2275. canSave = "1";
  2276. Visible = "1";
  2277. Command = "MaterialEditorGui.updateTextureMap(\"overlay\", 0);";
  2278. hovertime = "1000";
  2279. groupNum = "-1";
  2280. buttonType = "PushButton";
  2281. useMouseEvents = "0";
  2282. bitmapAsset = "ToolsModule:delete_n_image";
  2283. };
  2284. };
  2285. new GuiBitmapCtrl(){
  2286. position="6 189";
  2287. extent ="175 2";
  2288. HorizSizing = "width";
  2289. bitmapAsset ="ToolsModule:separator_v_image";
  2290. };
  2291. new GuiContainer(){ // light Map
  2292. profile="ToolsGuiDefaultProfile";
  2293. isContainer = "1";
  2294. position = "6 250";
  2295. Extent = "185 52";
  2296. HorizSizing = "width";
  2297. className = "materialEditorLightMapContainer";
  2298. new GuiBitmapCtrl() {
  2299. canSaveDynamicFields = "0";
  2300. internalName = "lightMapDisplayBitmap";
  2301. Enabled = "1";
  2302. isContainer = "0";
  2303. Profile = "ToolsGuiDefaultProfile";
  2304. HorizSizing = "right";
  2305. VertSizing = "bottom";
  2306. position = "1 1";
  2307. Extent = "48 48";
  2308. MinExtent = "8 2";
  2309. canSave = "1";
  2310. Visible = "1";
  2311. hovertime = "1000";
  2312. bitmapAsset = "ToolsModule:unknownImage_image";
  2313. wrap = "0";
  2314. };
  2315. new GuiTextCtrl() {
  2316. canSaveDynamicFields = "0";
  2317. Enabled = "1";
  2318. isContainer = "0";
  2319. Profile = "EditorTextProfile";
  2320. HorizSizing = "right";
  2321. VertSizing = "bottom";
  2322. position = "56 -3";
  2323. Extent = "72 18";
  2324. MinExtent = "8 2";
  2325. canSave = "1";
  2326. Visible = "1";
  2327. hovertime = "1000";
  2328. Margin = "0 0 0 0";
  2329. Padding = "0 0 0 0";
  2330. AnchorTop = "1";
  2331. AnchorBottom = "0";
  2332. AnchorLeft = "1";
  2333. AnchorRight = "0";
  2334. text = "Light Map";
  2335. maxLength = "1024";
  2336. };
  2337. new GuiBitmapButtonCtrl() {
  2338. canSaveDynamicFields = "0";
  2339. Enabled = "1";
  2340. isContainer = "0";
  2341. Profile = "ToolsGuiDefaultProfile";
  2342. HorizSizing = "right";
  2343. VertSizing = "bottom";
  2344. position = "1 1";
  2345. Extent = "48 48";
  2346. MinExtent = "8 2";
  2347. canSave = "1";
  2348. Visible = "1";
  2349. Command = "MaterialEditorGui.updateTextureMap(\"light\", 1);";
  2350. tooltipprofile = "ToolsGuiToolTipProfile";
  2351. ToolTip = "Change the active Light Map for this layer.";
  2352. hovertime = "1000";
  2353. groupNum = "-1";
  2354. buttonType = "PushButton";
  2355. useMouseEvents = "0";
  2356. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  2357. };
  2358. new GuiTextCtrl() {
  2359. canSaveDynamicFields = "0";
  2360. internalName = "lightMapNameText";
  2361. Enabled = "1";
  2362. isContainer = "0";
  2363. Profile = "ToolsGuiTextProfile";
  2364. HorizSizing = "width";
  2365. VertSizing = "bottom";
  2366. position = "56 16";
  2367. Extent = "143 17";
  2368. MinExtent = "8 2";
  2369. canSave = "1";
  2370. Visible = "1";
  2371. hovertime = "1000";
  2372. Margin = "0 0 0 0";
  2373. Padding = "0 0 0 0";
  2374. AnchorTop = "1";
  2375. AnchorBottom = "0";
  2376. AnchorLeft = "1";
  2377. AnchorRight = "0";
  2378. text = "None";
  2379. maxLength = "1024";
  2380. };
  2381. new GuiButtonCtrl(){
  2382. profile="ToolsGuiButtonProfile";
  2383. text ="Edit";
  2384. HorizSizing = "left";
  2385. VertSizing = "bottom";
  2386. position = "134 34";
  2387. Extent = "40 16";
  2388. buttonType = "PushButton";
  2389. command="MaterialEditorGui.updateTextureMap(\"light\", 1);";
  2390. };
  2391. new GuiBitmapButtonCtrl() {
  2392. canSaveDynamicFields = "0";
  2393. Enabled = "1";
  2394. isContainer = "0";
  2395. Profile = "ToolsGuiDefaultProfile";
  2396. HorizSizing = "left";
  2397. VertSizing = "bottom";
  2398. position = "177 34";
  2399. Extent = "16 16";
  2400. MinExtent = "8 2";
  2401. canSave = "1";
  2402. Visible = "1";
  2403. Command = "MaterialEditorGui.updateTextureMap(\"light\", 0);";
  2404. hovertime = "1000";
  2405. groupNum = "-1";
  2406. buttonType = "PushButton";
  2407. useMouseEvents = "0";
  2408. bitmapAsset = "ToolsModule:delete_n_image";
  2409. };
  2410. };
  2411. new GuiBitmapCtrl(){
  2412. position="6 303";
  2413. extent ="175 2";
  2414. HorizSizing = "width";
  2415. bitmapAsset ="ToolsModule:separator_v_image";
  2416. };
  2417. new GuiContainer(){ // tone Map
  2418. profile="ToolsGuiDefaultProfile";
  2419. isContainer = "1";
  2420. position = "6 307";
  2421. Extent = "185 52";
  2422. HorizSizing = "width";
  2423. className = "materialEditorToneMapContainer";
  2424. new GuiBitmapCtrl() {
  2425. canSaveDynamicFields = "0";
  2426. internalName = "toneMapDisplayBitmap";
  2427. Enabled = "1";
  2428. isContainer = "0";
  2429. Profile = "ToolsGuiDefaultProfile";
  2430. HorizSizing = "right";
  2431. VertSizing = "bottom";
  2432. position = "1 1";
  2433. Extent = "48 48";
  2434. MinExtent = "8 2";
  2435. canSave = "1";
  2436. Visible = "1";
  2437. hovertime = "1000";
  2438. bitmapAsset = "ToolsModule:unknownImage_image";
  2439. wrap = "0";
  2440. };
  2441. new GuiTextCtrl() {
  2442. canSaveDynamicFields = "0";
  2443. Enabled = "1";
  2444. isContainer = "0";
  2445. Profile = "EditorTextProfile";
  2446. HorizSizing = "right";
  2447. VertSizing = "bottom";
  2448. position = "56 -3";
  2449. Extent = "72 18";
  2450. MinExtent = "8 2";
  2451. canSave = "1";
  2452. Visible = "1";
  2453. hovertime = "1000";
  2454. Margin = "0 0 0 0";
  2455. Padding = "0 0 0 0";
  2456. AnchorTop = "1";
  2457. AnchorBottom = "0";
  2458. AnchorLeft = "1";
  2459. AnchorRight = "0";
  2460. text = "Tone Map";
  2461. maxLength = "1024";
  2462. };
  2463. new GuiBitmapButtonCtrl() {
  2464. canSaveDynamicFields = "0";
  2465. Enabled = "1";
  2466. isContainer = "0";
  2467. Profile = "ToolsGuiDefaultProfile";
  2468. HorizSizing = "right";
  2469. VertSizing = "bottom";
  2470. position = "1 1";
  2471. Extent = "48 48";
  2472. MinExtent = "8 2";
  2473. canSave = "1";
  2474. Visible = "1";
  2475. Command = "MaterialEditorGui.updateTextureMap(\"tone\", 1);";
  2476. tooltipprofile = "ToolsGuiToolTipProfile";
  2477. ToolTip = "Change the active Tone Map for this layer.";
  2478. hovertime = "1000";
  2479. groupNum = "-1";
  2480. buttonType = "PushButton";
  2481. useMouseEvents = "0";
  2482. bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
  2483. };
  2484. new GuiTextCtrl() {
  2485. canSaveDynamicFields = "0";
  2486. internalName = "toneMapNameText";
  2487. Enabled = "1";
  2488. isContainer = "0";
  2489. Profile = "ToolsGuiTextProfile";
  2490. HorizSizing = "width";
  2491. VertSizing = "bottom";
  2492. position = "56 16";
  2493. Extent = "143 17";
  2494. MinExtent = "8 2";
  2495. canSave = "1";
  2496. Visible = "1";
  2497. hovertime = "1000";
  2498. Margin = "0 0 0 0";
  2499. Padding = "0 0 0 0";
  2500. AnchorTop = "1";
  2501. AnchorBottom = "0";
  2502. AnchorLeft = "1";
  2503. AnchorRight = "0";
  2504. text = "None";
  2505. maxLength = "1024";
  2506. };
  2507. new GuiButtonCtrl(){
  2508. profile="ToolsGuiButtonProfile";
  2509. text ="Edit";
  2510. HorizSizing = "left";
  2511. VertSizing = "bottom";
  2512. position = "134 34";
  2513. Extent = "40 16";
  2514. buttonType = "PushButton";
  2515. command="MaterialEditorGui.updateTextureMap(\"tone\", 1);";
  2516. };
  2517. new GuiBitmapButtonCtrl() {
  2518. canSaveDynamicFields = "0";
  2519. Enabled = "1";
  2520. isContainer = "0";
  2521. Profile = "ToolsGuiDefaultProfile";
  2522. HorizSizing = "left";
  2523. VertSizing = "bottom";
  2524. position = "177 34";
  2525. Extent = "16 16";
  2526. MinExtent = "8 2";
  2527. canSave = "1";
  2528. Visible = "1";
  2529. Command = "MaterialEditorGui.updateTextureMap(\"tone\", 0);";
  2530. hovertime = "1000";
  2531. groupNum = "-1";
  2532. buttonType = "PushButton";
  2533. useMouseEvents = "0";
  2534. bitmapAsset = "ToolsModule:delete_n_image";
  2535. };
  2536. };
  2537. };
  2538. };
  2539. new GuiRolloutCtrl(accumulationPropertiesRollout) {
  2540. class = "BehaviorQuickEditRollout";
  2541. superclass = LBQuickEditRollout;
  2542. Profile = "GuiRolloutProfile";
  2543. HorizSizing = "width";
  2544. VertSizing = "bottom";
  2545. Position = "0 0";
  2546. Extent = "300 0";
  2547. Caption = " Accumulation Properties";
  2548. Expanded = false;
  2549. Margin = "-1 0 0 0";
  2550. DragSizable = false;
  2551. container = true;
  2552. new GuiStackControl() {
  2553. StackingType = "Vertical";
  2554. HorizStacking = "Left to Right";
  2555. VertStacking = "Top to Bottom";
  2556. Padding = "0";
  2557. canSaveDynamicFields = "0";
  2558. Enabled = "1";
  2559. isContainer = "1";
  2560. Profile = "GuiDefaultProfile";
  2561. HorizSizing = "width";
  2562. VertSizing = "bottom";
  2563. Position = "1 3";
  2564. Extent = "300 16";
  2565. MinExtent = "16 16";
  2566. canSave = "1";
  2567. isDecoy = "0";
  2568. Visible = "1";
  2569. tooltipProfile = "ToolsGuiToolTipProfile";
  2570. hovertime = "1000";
  2571. new GuiContainer(){ // enable/disable
  2572. profile="ToolsGuiTransparentProfile";
  2573. isContainer = "1";
  2574. position = "0 0";
  2575. Extent = "300 24";
  2576. HorizSizing = "width";
  2577. new GuiCheckBoxCtrl() {
  2578. canSaveDynamicFields = "0";
  2579. internalName = "accuCheckbox";
  2580. Enabled = "1";
  2581. isContainer = "0";
  2582. Profile = "ToolsGuiCheckBoxProfile";
  2583. HorizSizing = "right";
  2584. VertSizing = "bottom";
  2585. position = "8 7";
  2586. Extent = "180 16";
  2587. MinExtent = "8 2";
  2588. canSave = "1";
  2589. Visible = "1";
  2590. Command = "MaterialEditorGui.updateAccuCheckbox($ThisControl.getValue());";
  2591. tooltipprofile = "ToolsGuiToolTipProfile";
  2592. ToolTip = "Enables the use of Pixel Specular for this layer.";
  2593. tooltipprofile = "ToolsGuiToolTipProfile";
  2594. hovertime = "1000";
  2595. text = " Enable Pixel Specular";
  2596. groupNum = "-1";
  2597. buttonType = "ToggleButton";
  2598. useMouseEvents = "0";
  2599. useInactiveState = "0";
  2600. };
  2601. };
  2602. new GuiContainer(){ // scale
  2603. profile="ToolsGuiTransparentProfile";
  2604. isContainer = "1";
  2605. position = "0 0";
  2606. Extent = "300 24";
  2607. HorizSizing = "width";
  2608. new GuiTextCtrl() {
  2609. canSaveDynamicFields = "0";
  2610. Enabled = "1";
  2611. isContainer = "0";
  2612. Profile = "ToolsGuiTextRightProfile";
  2613. HorizSizing = "right";
  2614. VertSizing = "bottom";
  2615. position = "0 3";
  2616. Extent = "100 16";
  2617. MinExtent = "8 2";
  2618. canSave = "1";
  2619. Visible = "1";
  2620. hovertime = "1000";
  2621. Margin = "0 0 0 0";
  2622. Padding = "0 0 0 0";
  2623. AnchorTop = "1";
  2624. AnchorBottom = "0";
  2625. AnchorLeft = "1";
  2626. AnchorRight = "0";
  2627. text = "Scale";
  2628. maxLength = "1024";
  2629. };
  2630. new GuiControl() {
  2631. class = "AggregateControl";
  2632. position = "120 3";
  2633. Extent = "100 20";
  2634. HorizSizing = "width";
  2635. new GuiSliderCtrl() {
  2636. canSaveDynamicFields = "0";
  2637. internalName = "accuScaleSlider";
  2638. Enabled = "1";
  2639. isContainer = "0";
  2640. Profile = "GuiSliderProfile";
  2641. HorizSizing = "width";
  2642. VertSizing = "bottom";
  2643. position = "0 2";
  2644. Extent = "10 14";
  2645. MinExtent = "8 2";
  2646. canSave = "1";
  2647. Visible = "1";
  2648. Command = "MaterialEditorGui.updateActiveMaterial(\"accuScale[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
  2649. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuScale[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
  2650. tooltipprofile = "GuiDefaultProfile";
  2651. ToolTip = "Sets the scale of the accu map.";
  2652. hovertime = "1000";
  2653. range = "0.03125 32";
  2654. ticks = "0";
  2655. value = "1";
  2656. };
  2657. new GuiTextEditCtrl() {
  2658. canSaveDynamicFields = "0";
  2659. internalName = "accuScaleTextEdit";
  2660. Enabled = "1";
  2661. isContainer = "0";
  2662. Profile = "ToolsGuiTextEditProfile";
  2663. HorizSizing = "left";
  2664. VertSizing = "bottom";
  2665. position = "24 0";
  2666. Extent = "30 18";
  2667. MinExtent = "8 2";
  2668. canSave = "1";
  2669. Visible = "1";
  2670. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuScale[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  2671. hovertime = "1000";
  2672. AnchorTop = "1";
  2673. AnchorBottom = "0";
  2674. AnchorLeft = "1";
  2675. AnchorRight = "0";
  2676. text = "1";
  2677. maxLength = "3";
  2678. };
  2679. };
  2680. };
  2681. new GuiContainer(){ // direction
  2682. profile="ToolsGuiTransparentProfile";
  2683. isContainer = "1";
  2684. position = "0 0";
  2685. Extent = "300 24";
  2686. HorizSizing = "width";
  2687. new GuiTextCtrl() {
  2688. canSaveDynamicFields = "0";
  2689. Enabled = "1";
  2690. isContainer = "0";
  2691. Profile = "ToolsGuiTextRightProfile";
  2692. HorizSizing = "right";
  2693. VertSizing = "bottom";
  2694. position = "0 3";
  2695. Extent = "100 16";
  2696. MinExtent = "8 2";
  2697. canSave = "1";
  2698. Visible = "1";
  2699. hovertime = "1000";
  2700. Margin = "0 0 0 0";
  2701. Padding = "0 0 0 0";
  2702. AnchorTop = "1";
  2703. AnchorBottom = "0";
  2704. AnchorLeft = "1";
  2705. AnchorRight = "0";
  2706. text = "Direction";
  2707. maxLength = "1024";
  2708. };
  2709. new GuiControl() {
  2710. class = "AggregateControl";
  2711. position = "120 3";
  2712. Extent = "100 20";
  2713. HorizSizing = "width";
  2714. new GuiSliderCtrl() {
  2715. canSaveDynamicFields = "0";
  2716. internalName = "accuDirectionSlider";
  2717. Enabled = "1";
  2718. isContainer = "0";
  2719. Profile = "GuiSliderProfile";
  2720. HorizSizing = "width";
  2721. VertSizing = "bottom";
  2722. position = "0 2";
  2723. Extent = "10 14";
  2724. MinExtent = "8 2";
  2725. canSave = "1";
  2726. Visible = "1";
  2727. Command = "MaterialEditorGui.updateActiveMaterial(\"accuDirection[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
  2728. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuDirection[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
  2729. tooltipprofile = "GuiDefaultProfile";
  2730. ToolTip = "Sets the direction of the accu map.";
  2731. hovertime = "1000";
  2732. range = "-1 1";
  2733. ticks = "0";
  2734. value = "-1";
  2735. };
  2736. new GuiTextEditCtrl() {
  2737. canSaveDynamicFields = "0";
  2738. internalName = "accuDirectionTextEdit";
  2739. Enabled = "1";
  2740. isContainer = "0";
  2741. Profile = "ToolsGuiTextEditProfile";
  2742. HorizSizing = "left";
  2743. VertSizing = "bottom";
  2744. position = "24 0";
  2745. Extent = "30 18";
  2746. MinExtent = "8 2";
  2747. canSave = "1";
  2748. Visible = "1";
  2749. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuDirection[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  2750. hovertime = "1000";
  2751. AnchorTop = "1";
  2752. AnchorBottom = "0";
  2753. AnchorLeft = "1";
  2754. AnchorRight = "0";
  2755. text = "-1";
  2756. maxLength = "3";
  2757. };
  2758. };
  2759. };
  2760. new GuiContainer(){ // strength
  2761. profile="ToolsGuiTransparentProfile";
  2762. isContainer = "1";
  2763. position = "0 0";
  2764. Extent = "300 24";
  2765. HorizSizing = "width";
  2766. new GuiTextCtrl() {
  2767. canSaveDynamicFields = "0";
  2768. Enabled = "1";
  2769. isContainer = "0";
  2770. Profile = "ToolsGuiTextRightProfile";
  2771. HorizSizing = "right";
  2772. VertSizing = "bottom";
  2773. position = "0 3";
  2774. Extent = "100 16";
  2775. MinExtent = "8 2";
  2776. canSave = "1";
  2777. Visible = "1";
  2778. hovertime = "1000";
  2779. Margin = "0 0 0 0";
  2780. Padding = "0 0 0 0";
  2781. AnchorTop = "1";
  2782. AnchorBottom = "0";
  2783. AnchorLeft = "1";
  2784. AnchorRight = "0";
  2785. text = "Strength";
  2786. maxLength = "1024";
  2787. };
  2788. new GuiControl() {
  2789. class = "AggregateControl";
  2790. position = "120 3";
  2791. Extent = "100 20";
  2792. HorizSizing = "width";
  2793. new GuiSliderCtrl() {
  2794. canSaveDynamicFields = "0";
  2795. internalName = "accuStrengthSlider";
  2796. Enabled = "1";
  2797. isContainer = "0";
  2798. Profile = "GuiSliderProfile";
  2799. HorizSizing = "width";
  2800. VertSizing = "bottom";
  2801. position = "0 2";
  2802. Extent = "10 14";
  2803. MinExtent = "8 2";
  2804. canSave = "1";
  2805. Visible = "1";
  2806. Command = "MaterialEditorGui.updateActiveMaterial(\"accuStrength[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
  2807. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuStrength[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
  2808. tooltipprofile = "GuiDefaultProfile";
  2809. ToolTip = "Sets the strength of the accu map.";
  2810. hovertime = "1000";
  2811. range = "0 1";
  2812. ticks = "0";
  2813. value = "0.6";
  2814. };
  2815. new GuiTextEditCtrl() {
  2816. canSaveDynamicFields = "0";
  2817. internalName = "accuStrengthTextEdit";
  2818. Enabled = "1";
  2819. isContainer = "0";
  2820. Profile = "ToolsGuiTextEditProfile";
  2821. HorizSizing = "left";
  2822. VertSizing = "bottom";
  2823. position = "24 0";
  2824. Extent = "30 18";
  2825. MinExtent = "8 2";
  2826. canSave = "1";
  2827. Visible = "1";
  2828. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuStrength[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  2829. hovertime = "1000";
  2830. AnchorTop = "1";
  2831. AnchorBottom = "0";
  2832. AnchorLeft = "1";
  2833. AnchorRight = "0";
  2834. text = "0.6";
  2835. maxLength = "3";
  2836. };
  2837. };
  2838. };
  2839. new GuiContainer(){ // coverage
  2840. profile="ToolsGuiTransparentProfile";
  2841. isContainer = "1";
  2842. position = "0 0";
  2843. Extent = "300 24";
  2844. HorizSizing = "width";
  2845. new GuiTextCtrl() {
  2846. canSaveDynamicFields = "0";
  2847. Enabled = "1";
  2848. isContainer = "0";
  2849. Profile = "ToolsGuiTextRightProfile";
  2850. HorizSizing = "right";
  2851. VertSizing = "bottom";
  2852. position = "0 3";
  2853. Extent = "100 16";
  2854. MinExtent = "8 2";
  2855. canSave = "1";
  2856. Visible = "1";
  2857. hovertime = "1000";
  2858. Margin = "0 0 0 0";
  2859. Padding = "0 0 0 0";
  2860. AnchorTop = "1";
  2861. AnchorBottom = "0";
  2862. AnchorLeft = "1";
  2863. AnchorRight = "0";
  2864. text = "Coverage";
  2865. maxLength = "1024";
  2866. };
  2867. new GuiControl() {
  2868. class = "AggregateControl";
  2869. position = "120 3";
  2870. Extent = "100 20";
  2871. HorizSizing = "width";
  2872. new GuiSliderCtrl() {
  2873. canSaveDynamicFields = "0";
  2874. internalName = "accuCoverageSlider";
  2875. Enabled = "1";
  2876. isContainer = "0";
  2877. Profile = "GuiSliderProfile";
  2878. HorizSizing = "width";
  2879. VertSizing = "bottom";
  2880. position = "0 2";
  2881. Extent = "10 14";
  2882. MinExtent = "8 2";
  2883. canSave = "1";
  2884. Visible = "1";
  2885. Command = "MaterialEditorGui.updateActiveMaterial(\"accuCoverage[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
  2886. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuCoverage[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
  2887. tooltipprofile = "GuiDefaultProfile";
  2888. ToolTip = "Sets the coverage of the accu map.";
  2889. hovertime = "1000";
  2890. range = "0 2";
  2891. ticks = "0";
  2892. value = "1";
  2893. };
  2894. new GuiTextEditCtrl() {
  2895. canSaveDynamicFields = "0";
  2896. internalName = "accuCoverageTextEdit";
  2897. Enabled = "1";
  2898. isContainer = "0";
  2899. Profile = "ToolsGuiTextEditProfile";
  2900. HorizSizing = "left";
  2901. VertSizing = "bottom";
  2902. position = "24 0";
  2903. Extent = "30 18";
  2904. MinExtent = "8 2";
  2905. canSave = "1";
  2906. Visible = "1";
  2907. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuCoverage[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  2908. hovertime = "1000";
  2909. AnchorTop = "1";
  2910. AnchorBottom = "0";
  2911. AnchorLeft = "1";
  2912. AnchorRight = "0";
  2913. text = "1";
  2914. maxLength = "3";
  2915. };
  2916. };
  2917. };
  2918. new GuiContainer(){ // specular
  2919. profile="ToolsGuiTransparentProfile";
  2920. isContainer = "1";
  2921. position = "0 0";
  2922. Extent = "300 24";
  2923. HorizSizing = "width";
  2924. new GuiTextCtrl() {
  2925. canSaveDynamicFields = "0";
  2926. Enabled = "1";
  2927. isContainer = "0";
  2928. Profile = "ToolsGuiTextRightProfile";
  2929. HorizSizing = "right";
  2930. VertSizing = "bottom";
  2931. position = "0 3";
  2932. Extent = "100 16";
  2933. MinExtent = "8 2";
  2934. canSave = "1";
  2935. Visible = "1";
  2936. hovertime = "1000";
  2937. Margin = "0 0 0 0";
  2938. Padding = "0 0 0 0";
  2939. AnchorTop = "1";
  2940. AnchorBottom = "0";
  2941. AnchorLeft = "1";
  2942. AnchorRight = "0";
  2943. text = "Specular scale";
  2944. maxLength = "1024";
  2945. };
  2946. new GuiControl() {
  2947. class = "AggregateControl";
  2948. position = "120 3";
  2949. Extent = "100 20";
  2950. HorizSizing = "width";
  2951. new GuiSliderCtrl() {
  2952. canSaveDynamicFields = "0";
  2953. internalName = "accuSpecularSlider";
  2954. Enabled = "1";
  2955. isContainer = "0";
  2956. Profile = "GuiSliderProfile";
  2957. HorizSizing = "width";
  2958. VertSizing = "bottom";
  2959. position = "0 2";
  2960. Extent = "10 14";
  2961. MinExtent = "8 2";
  2962. canSave = "1";
  2963. Visible = "1";
  2964. Command = "MaterialEditorGui.updateActiveMaterial(\"accuSpecular[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, true);";
  2965. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuSpecular[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue(), true, false);";
  2966. tooltipprofile = "GuiDefaultProfile";
  2967. ToolTip = "Sets the specular scale over the accu map.";
  2968. hovertime = "1000";
  2969. range = "0 2";
  2970. ticks = "0";
  2971. value = "1";
  2972. };
  2973. new GuiTextEditCtrl() {
  2974. canSaveDynamicFields = "0";
  2975. internalName = "accuSpecularTextEdit";
  2976. Enabled = "1";
  2977. isContainer = "0";
  2978. Profile = "ToolsGuiTextEditProfile";
  2979. HorizSizing = "left";
  2980. VertSizing = "bottom";
  2981. position = "24 0";
  2982. Extent = "30 18";
  2983. MinExtent = "8 2";
  2984. canSave = "1";
  2985. Visible = "1";
  2986. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"accuSpecular[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  2987. hovertime = "1000";
  2988. AnchorTop = "1";
  2989. AnchorBottom = "0";
  2990. AnchorLeft = "1";
  2991. AnchorRight = "0";
  2992. text = "1";
  2993. maxLength = "3";
  2994. };
  2995. };
  2996. };
  2997. new GuiContainer(){ // empty space
  2998. profile="ToolsGuiTransparentProfile";
  2999. isContainer = "1";
  3000. position = "0 0";
  3001. Extent = "300 10";
  3002. HorizSizing = "width";
  3003. };
  3004. };
  3005. };
  3006. new GuiRolloutCtrl(lightingPropertiesRollout) {
  3007. class = "BehaviorQuickEditRollout";
  3008. superclass = LBQuickEditRollout;
  3009. Profile = "GuiRolloutProfile";
  3010. HorizSizing = "width";
  3011. VertSizing = "bottom";
  3012. Position = "0 0";
  3013. Extent = "300 0";
  3014. Caption = " Lighting Properties";
  3015. Expanded = false;
  3016. Margin = "-1 0 0 0";
  3017. DragSizable = false;
  3018. container = true;
  3019. new GuiStackControl() {
  3020. StackingType = "Vertical";
  3021. HorizStacking = "Left to Right";
  3022. VertStacking = "Top to Bottom";
  3023. Padding = "0";
  3024. canSaveDynamicFields = "0";
  3025. Enabled = "1";
  3026. isContainer = "1";
  3027. Profile = "ToolsGuiDefaultProfile";
  3028. HorizSizing = "width";
  3029. VertSizing = "bottom";
  3030. Position = "1 3";
  3031. Extent = "300 16";
  3032. MinExtent = "16 16";
  3033. canSave = "1";
  3034. isDecoy = "0";
  3035. Visible = "1";
  3036. tooltipprofile = "ToolsGuiToolTipProfile";
  3037. hovertime = "1000";
  3038. new GuiContainer(){ // glow emissive
  3039. profile = "ToolsGuiTransparentProfile";
  3040. isContainer = "1";
  3041. position = "0 0";
  3042. Extent = "300 40";
  3043. HorizSizing = "width";
  3044. new GuiCheckBoxCtrl() {
  3045. canSaveDynamicFields = "0";
  3046. internalName = "glowCheckbox";
  3047. Enabled = "1";
  3048. isContainer = "0";
  3049. Profile = "ToolsGuiCheckBoxProfile";
  3050. HorizSizing = "right";
  3051. VertSizing = "bottom";
  3052. position = "130 24";
  3053. Extent = "70 20";
  3054. MinExtent = "8 2";
  3055. canSave = "1";
  3056. Visible = "1";
  3057. Command = "MaterialEditorGui.updateActiveMaterial(\"glow[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  3058. tooltipprofile = "ToolsGuiToolTipProfile";
  3059. ToolTip = "Determines if this layer will Glow or not.";
  3060. tooltipprofile = "ToolsGuiToolTipProfile";
  3061. hovertime = "1000";
  3062. text = " Glow";
  3063. groupNum = "-1";
  3064. buttonType = "ToggleButton";
  3065. useMouseEvents = "0";
  3066. useInactiveState = "0";
  3067. };
  3068. new GuiCheckBoxCtrl() {
  3069. canSaveDynamicFields = "0";
  3070. internalName = "receiveShadowsCheckbox";
  3071. Enabled = "1";
  3072. isContainer = "0";
  3073. Profile = "ToolsGuiCheckBoxProfile";
  3074. HorizSizing = "right";
  3075. VertSizing = "bottom";
  3076. position = "12 4";
  3077. Extent = "120 20";
  3078. MinExtent = "8 2";
  3079. canSave = "1";
  3080. Visible = "1";
  3081. Command = "MaterialEditorGui.updateActiveMaterial(\"receiveShadows[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue());";
  3082. ToolTip = "Do we recieve shadows?";
  3083. tooltipprofile = "ToolsGuiToolTipProfile";
  3084. hovertime = "1000";
  3085. text = " Receive Shadows";
  3086. groupNum = "-1";
  3087. buttonType = "ToggleButton";
  3088. useMouseEvents = "0";
  3089. useInactiveState = "0";
  3090. };
  3091. new GuiCheckBoxCtrl() {
  3092. canSaveDynamicFields = "0";
  3093. internalName = "ignoreLightingCheckbox";
  3094. Enabled = "1";
  3095. isContainer = "0";
  3096. Profile = "ToolsGuiCheckBoxProfile";
  3097. HorizSizing = "right";
  3098. VertSizing = "bottom";
  3099. position = "130 4";
  3100. Extent = "150 16";
  3101. MinExtent = "8 2";
  3102. canSave = "1";
  3103. Visible = "1";
  3104. Command = "MaterialEditorGui.updateActiveMaterial(\"ignoreLighting[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue());";
  3105. tooltipprofile = "ToolsGuiDefaultProfile";
  3106. ToolTip = "Are we at all influenced by light?";
  3107. hovertime = "1000";
  3108. text = "Ignore Lighting";
  3109. groupNum = "-1";
  3110. buttonType = "ToggleButton";
  3111. useMouseEvents = "0";
  3112. useInactiveState = "0";
  3113. };
  3114. };
  3115. new GuiContainer(){ // parallax
  3116. profile = "ToolsGuiTransparentProfile";
  3117. isContainer = "1";
  3118. position = "0 20";
  3119. Extent = "300 24";
  3120. HorizSizing = "width";
  3121. new GuiTextCtrl() {
  3122. canSaveDynamicFields = "0";
  3123. Enabled = "1";
  3124. isContainer = "0";
  3125. Profile = "ToolsGuiTextRightProfile";
  3126. HorizSizing = "right";
  3127. VertSizing = "bottom";
  3128. position = "0 3";
  3129. Extent = "100 16";
  3130. MinExtent = "8 2";
  3131. canSave = "1";
  3132. Visible = "1";
  3133. hovertime = "1000";
  3134. Margin = "0 0 0 0";
  3135. Padding = "0 0 0 0";
  3136. AnchorTop = "1";
  3137. AnchorBottom = "0";
  3138. AnchorLeft = "1";
  3139. AnchorRight = "0";
  3140. text = "Parallax";
  3141. maxLength = "1024";
  3142. };
  3143. new GuiControl() {
  3144. class = "AggregateControl";
  3145. position = "120 3";
  3146. Extent = "180 20";
  3147. HorizSizing = "width";
  3148. new GuiSliderCtrl() {
  3149. canSaveDynamicFields = "0";
  3150. internalName = "parallaxSlider";
  3151. Enabled = "1";
  3152. isContainer = "0";
  3153. Profile = "ToolsGuiSliderProfile";
  3154. HorizSizing = "width";
  3155. VertSizing = "bottom";
  3156. position = "0 2";
  3157. Extent = "10 14";
  3158. MinExtent = "8 2";
  3159. canSave = "1";
  3160. Visible = "1";
  3161. Command = "MaterialEditorGui.updateActiveMaterial(\"parallaxScale[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue(), true, true);";
  3162. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateActiveMaterial(\"parallaxScale[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue(), true, false);";
  3163. tooltipprofile = "ToolsGuiToolTipProfile";
  3164. ToolTip = "Parallax Scale";
  3165. hovertime = "1000";
  3166. range = "0 1";
  3167. ticks = "0";
  3168. value = "0";
  3169. };
  3170. new GuiTextEditCtrl() {
  3171. canSaveDynamicFields = "0";
  3172. internalName = "parallaxTextEdit";
  3173. Enabled = "1";
  3174. isContainer = "0";
  3175. Profile = "ToolsGuiTextEditProfile";
  3176. HorizSizing = "left";
  3177. VertSizing = "bottom";
  3178. position = "24 0";
  3179. Extent = "30 20";
  3180. MinExtent = "8 2";
  3181. canSave = "1";
  3182. Visible = "1";
  3183. Command = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateActiveMaterial(\"parallaxScale[\" @ MaterialEditorGui.currentLayer @ \"]\",$ThisControl.getValue());";
  3184. hovertime = "1000";
  3185. AnchorTop = "1";
  3186. AnchorBottom = "0";
  3187. AnchorLeft = "1";
  3188. AnchorRight = "0";
  3189. text = "0";
  3190. maxLength = "3";
  3191. };
  3192. };
  3193. };
  3194. new GuiContainer(){
  3195. profile = "ToolsGuiTransparentProfile";
  3196. isContainer = "1";
  3197. position = "0 0";
  3198. Extent = "300 84";
  3199. HorizSizing = "width";
  3200. new GuiCheckBoxCtrl() {
  3201. canSaveDynamicFields = "0";
  3202. internalName = "useAnisoCheckbox";
  3203. Enabled = "1";
  3204. isContainer = "0";
  3205. Profile = "ToolsGuiCheckBoxProfile";
  3206. HorizSizing = "right";
  3207. VertSizing = "bottom";
  3208. position = "12 8";
  3209. Extent = "130 20";
  3210. MinExtent = "8 2";
  3211. canSave = "1";
  3212. Visible = "1";
  3213. Command = "MaterialEditorGui.updateActiveMaterial(\"useAnisotropic[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  3214. tooltipprofile = "ToolsGuiToolTipProfile";
  3215. ToolTip = "Enables the use of anisotropic filtering for this layer.";
  3216. hovertime = "1000";
  3217. text = " Anisotropic filtering";
  3218. groupNum = "-1";
  3219. buttonType = "ToggleButton";
  3220. useMouseEvents = "0";
  3221. useInactiveState = "0";
  3222. };
  3223. new GuiCheckBoxCtrl() {
  3224. canSaveDynamicFields = "0";
  3225. internalName = "vertLitCheckbox";
  3226. Enabled = "1";
  3227. isContainer = "0";
  3228. Profile = "ToolsGuiCheckBoxProfile";
  3229. HorizSizing = "right";
  3230. VertSizing = "bottom";
  3231. position = "12 31";
  3232. Extent = "102 20";
  3233. MinExtent = "8 2";
  3234. canSave = "1";
  3235. Visible = "1";
  3236. Command = "MaterialEditorGui.updateActiveMaterial(\"vertLit[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  3237. tooltipprofile = "ToolsGuiToolTipProfile";
  3238. ToolTip = "Enables the use of vertex lighting for this layer.";
  3239. hovertime = "1000";
  3240. text = " Vertex lit";
  3241. groupNum = "-1";
  3242. buttonType = "ToggleButton";
  3243. useMouseEvents = "0";
  3244. useInactiveState = "0";
  3245. };
  3246. new GuiCheckBoxCtrl() {
  3247. canSaveDynamicFields = "0";
  3248. internalName = "vertLitCheckbox";
  3249. Enabled = "1";
  3250. isContainer = "0";
  3251. Profile = "ToolsGuiCheckBoxProfile";
  3252. HorizSizing = "right";
  3253. VertSizing = "bottom";
  3254. position = "120 31";
  3255. Extent = "120 20";
  3256. MinExtent = "8 2";
  3257. canSave = "1";
  3258. Visible = "1";
  3259. Command = "MaterialEditorGui.updateActiveMaterial(\"vertColor[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  3260. tooltipprofile = "ToolsGuiToolTipProfile";
  3261. ToolTip = "Multiply vertex colors with diffuse colors for this layer.";
  3262. hovertime = "1000";
  3263. text = " Vertex colors";
  3264. groupNum = "-1";
  3265. buttonType = "ToggleButton";
  3266. useMouseEvents = "0";
  3267. useInactiveState = "0";
  3268. };
  3269. new GuiCheckBoxCtrl() {
  3270. canSaveDynamicFields = "0";
  3271. internalName = "subSurfaceCheckbox";
  3272. Enabled = "1";
  3273. isContainer = "0";
  3274. Profile = "ToolsGuiCheckBoxProfile";
  3275. HorizSizing = "right";
  3276. VertSizing = "bottom";
  3277. position = "12 56";
  3278. Extent = "95 20";
  3279. MinExtent = "8 2";
  3280. canSave = "1";
  3281. Visible = "1";
  3282. Command = "MaterialEditorGui.updateActiveMaterial(\"subSurface[\" @ MaterialEditorGui.currentLayer @ \"]\", $ThisControl.getValue());";
  3283. tooltipprofile = "ToolsGuiToolTipProfile";
  3284. ToolTip = "Enables the use of subsurface scattering for this layer.";
  3285. hovertime = "1000";
  3286. text = " Sub Surface";
  3287. groupNum = "-1";
  3288. buttonType = "ToggleButton";
  3289. useMouseEvents = "0";
  3290. useInactiveState = "0";
  3291. };
  3292. };
  3293. };
  3294. };
  3295. new GuiRolloutCtrl(materialAnimationPropertiesRollout) {
  3296. class = "BehaviorQuickEditRollout";
  3297. superclass = LBQuickEditRollout;
  3298. Profile = "GuiRolloutProfile";
  3299. HorizSizing = "width";
  3300. VertSizing = "bottom";
  3301. Position = "0 0";
  3302. Extent = "300 0";
  3303. Caption = " Animation Properties";
  3304. Expanded = false;
  3305. Margin = "-1 0 0 0";
  3306. DragSizable = false;
  3307. container = true;
  3308. new GuiStackControl() {
  3309. StackingType = "Vertical";
  3310. HorizStacking = "Left to Right";
  3311. VertStacking = "Top to Bottom";
  3312. Padding = "0";
  3313. canSaveDynamicFields = "0";
  3314. Enabled = "1";
  3315. isContainer = "1";
  3316. Profile = "ToolsGuiDefaultProfile";
  3317. HorizSizing = "width";
  3318. VertSizing = "bottom";
  3319. Position = "1 3";
  3320. Extent = "300 16";
  3321. MinExtent = "16 16";
  3322. canSave = "1";
  3323. isDecoy = "0";
  3324. Visible = "1";
  3325. tooltipprofile = "ToolsGuiToolTipProfile";
  3326. hovertime = "1000";
  3327. new GuiContainer(){ // Rotation Animation Properties
  3328. profile="inspectorStyleRolloutInnerProfile";
  3329. isContainer = "1";
  3330. position = "-1 120";
  3331. Extent = "300 100";
  3332. HorizSizing = "width";
  3333. new GuiCheckboxCtrl() {
  3334. canSaveDynamicFields = "0";
  3335. internalName = "RotationAnimation";
  3336. Enabled = "1";
  3337. isContainer = "0";
  3338. Profile = "ToolsGuiInspectorCheckBoxTitleProfile";
  3339. HorizSizing = "right";
  3340. VertSizing = "bottom";
  3341. position = "4 3";
  3342. Extent = "200 18";
  3343. MinExtent = "8 2";
  3344. canSave = "1";
  3345. Visible = "1";
  3346. Command = "MaterialEditorGui.updateAnimationFlags();";
  3347. tooltipprofile = "ToolsGuiToolTipProfile";
  3348. hovertime = "1000";
  3349. Margin = "0 0 0 0";
  3350. Padding = "0 0 0 0";
  3351. AnchorTop = "1";
  3352. AnchorBottom = "0";
  3353. AnchorLeft = "1";
  3354. AnchorRight = "0";
  3355. text = " Rotation Animation";
  3356. maxLength = "1024";
  3357. };
  3358. new GuiControl(RotAnimAggCtrl){
  3359. class = "AggregateControl";
  3360. position = "0 29";
  3361. Extent = "290 20";
  3362. HorizSizing = "width";
  3363. new GuiTextCtrl(){ // u
  3364. profile = "ToolsGuiTextProfile";
  3365. HorizSizing = "right";
  3366. VertSizing = "bottom";
  3367. position = "11 1";
  3368. Extent = "12 16";
  3369. text = "U";
  3370. };
  3371. new GuiSliderCtrl() { // u
  3372. Profile = "ToolsGuiSliderProfile";
  3373. internalName = "RotationSliderU";
  3374. HorizSizing = "width";
  3375. VertSizing = "bottom";
  3376. position = "25 2";
  3377. Extent = "68 15";
  3378. Command = "MaterialEditorGui.updateRotationOffset(true, true);";
  3379. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationOffset(true, false);";
  3380. tooltipprofile = "ToolsGuiToolTipProfile";
  3381. ToolTip = "Change U Scroll Direction";
  3382. hovertime = "1000";
  3383. range = "-1 0";
  3384. ticks = "1";
  3385. value = "-0.5";
  3386. };
  3387. new GuiTextEditCtrl(){ // u
  3388. internalName = "RotationTextEditU";
  3389. HorizSizing = "left";
  3390. VertSizing = "bottom";
  3391. position = "98 0";
  3392. Extent = "34 18";
  3393. text = "0";
  3394. Command = "$ThisControl.getParent().updateFromChild($ThisControl);";
  3395. Profile = "ToolsGuiTextEditProfile";
  3396. };
  3397. };
  3398. new GuiControl(ScrollAnimAggCtrl) {
  3399. class = "AggregateControl";
  3400. position = "0 50";
  3401. Extent = "290 20";
  3402. HorizSizing = "width";
  3403. new GuiTextCtrl(){ // v
  3404. profile = "ToolsGuiTextProfile";
  3405. HorizSizing = "right";
  3406. VertSizing = "bottom";
  3407. position = "11 1";
  3408. Extent = "12 16";
  3409. text = "V";
  3410. };
  3411. new GuiSliderCtrl() { // v
  3412. Profile = "ToolsGuiSliderProfile";
  3413. internalName = "RotationSliderV";
  3414. HorizSizing = "width";
  3415. VertSizing = "bottom";
  3416. position = "25 2";
  3417. Extent = "68 15";
  3418. Command = "MaterialEditorGui.updateRotationOffset(true, true);";
  3419. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationOffset(true, false);";
  3420. tooltipprofile = "ToolsGuiToolTipProfile";
  3421. ToolTip = "Change V Scroll Direction";
  3422. hovertime = "1000";
  3423. range = "-1 0";
  3424. ticks = "1";
  3425. value = "-0.5";
  3426. };
  3427. new GuiTextEditCtrl(){ // v
  3428. internalName = "RotationTextEditV";
  3429. HorizSizing = "left";
  3430. VertSizing = "bottom";
  3431. position = "98 0";
  3432. Extent = "34 18";
  3433. text = "0";
  3434. Profile = "ToolsGuiTextEditProfile";
  3435. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationOffset();";
  3436. };
  3437. };
  3438. new GuiTextCtrl(){ // Pivot Point
  3439. HorizSizing = "left";
  3440. VertSizing = "bottom";
  3441. position = "98 12";
  3442. Extent = "34 16";
  3443. text = "Pivot";
  3444. profile = "ToolsGuiTextProfile";
  3445. };
  3446. new GuiBitmapCtrl(){
  3447. HorizSizing = "left";
  3448. VertSizing = "bottom";
  3449. position = "136 20";
  3450. Extent = "48 48";
  3451. isContainer = true;
  3452. bitmapAsset="";
  3453. new GuiBitmapCtrl(){
  3454. HorizSizing = "right";
  3455. VertSizing = "bottom";
  3456. position = "0 0";
  3457. Extent = "48 48";
  3458. bitmapAsset="ToolsModule:cubemapBtnBorder_n_image";
  3459. };
  3460. new GuiBitmapCtrl(){ //horizontal bar
  3461. internalName = "RotationCrosshair";
  3462. HorizSizing = "right";
  3463. VertSizing = "bottom";
  3464. position = "20 20";
  3465. Extent = "7 7";
  3466. MinExtent = "0 0";
  3467. bitmapAsset="ToolsModule:crosshair_blue_image";
  3468. };
  3469. };
  3470. new GuiControl() {
  3471. class = "AggregateControl";
  3472. position = "0 75";
  3473. Extent = "300 35";
  3474. HorizSizing = "width";
  3475. new GuiTextCtrl(){ // Speed
  3476. profile = "ToolsGuiTextRightProfile";
  3477. HorizSizing = "right";
  3478. VertSizing = "bottom";
  3479. position = "11 0";
  3480. Extent = "100 16";
  3481. text = "Speed";
  3482. };
  3483. new GuiSliderCtrl() {
  3484. canSaveDynamicFields = "0";
  3485. internalName = "RotationSpeedSlider";
  3486. Enabled = "1";
  3487. isContainer = "0";
  3488. Profile = "ToolsGuiSliderProfile";
  3489. HorizSizing = "width";
  3490. VertSizing = "bottom";
  3491. position = "120 3";
  3492. Extent = "10 16";
  3493. MinExtent = "8 2";
  3494. canSave = "1";
  3495. Visible = "1";
  3496. Command = "MaterialEditorGui.updateRotationSpeed(true, true);";
  3497. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationSpeed(true, false);";
  3498. tooltipprofile = "ToolsGuiToolTipProfile";
  3499. ToolTip = "Scrolling Speed";
  3500. hovertime = "1000";
  3501. range = "-10 10";
  3502. ticks = "1";
  3503. value = "0";
  3504. };
  3505. new GuiTextEditCtrl() {
  3506. canSaveDynamicFields = "0";
  3507. internalName = "RotationSpeedTextEdit";
  3508. Enabled = "1";
  3509. isContainer = "0";
  3510. Profile = "ToolsGuiTextEditProfile";
  3511. HorizSizing = "left";
  3512. VertSizing = "bottom";
  3513. position = "140 1";
  3514. Extent = "34 18";
  3515. MinExtent = "8 2";
  3516. canSave = "1";
  3517. Visible = "1";
  3518. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateRotationSpeed();";
  3519. hovertime = "1000";
  3520. Margin = "0 0 0 0";
  3521. Padding = "0 0 0 0";
  3522. AnchorTop = "1";
  3523. AnchorBottom = "0";
  3524. AnchorLeft = "1";
  3525. AnchorRight = "0";
  3526. text = "0";
  3527. maxLength = "1024";
  3528. historySize = "0";
  3529. password = "0";
  3530. tabComplete = "0";
  3531. sinkAllKeyEvents = "0";
  3532. password = "0";
  3533. passwordMask = "*";
  3534. };
  3535. new GuiTextCtrl(){ // space
  3536. profile = "ToolsGuiTextRightProfile";
  3537. HorizSizing = "right";
  3538. VertSizing = "bottom";
  3539. position = "0 20";
  3540. Extent = "300 20";
  3541. text = " ";
  3542. };
  3543. };
  3544. };
  3545. new GuiContainer(){ // Scroll Animation Properties
  3546. profile="inspectorStyleRolloutInnerProfile";
  3547. isContainer = "1";
  3548. position = "-1 240";
  3549. Extent = "300 105";
  3550. HorizSizing = "width";
  3551. new GuiBitmapCtrl(){
  3552. position = "0 5";
  3553. extent ="300 2";
  3554. HorizSizing = "width";
  3555. bitmapAsset ="ToolsModule:separator_v_image";
  3556. };
  3557. new GuiCheckboxCtrl() {
  3558. canSaveDynamicFields = "0";
  3559. internalName = "ScrollAnimation";
  3560. Enabled = "1";
  3561. isContainer = "0";
  3562. Profile = "ToolsGuiInspectorCheckBoxTitleProfile";
  3563. HorizSizing = "right";
  3564. VertSizing = "bottom";
  3565. position = "4 10";
  3566. Extent = "200 18";
  3567. MinExtent = "8 2";
  3568. canSave = "1";
  3569. Visible = "1";
  3570. tooltipprofile = "ToolsGuiToolTipProfile";
  3571. hovertime = "1000";
  3572. Margin = "0 0 0 0";
  3573. Padding = "0 0 0 0";
  3574. AnchorTop = "1";
  3575. AnchorBottom = "0";
  3576. AnchorLeft = "1";
  3577. AnchorRight = "0";
  3578. Command = "MaterialEditorGui.updateAnimationFlags();";
  3579. text = " Scroll Animation";
  3580. maxLength = "1024";
  3581. };
  3582. new GuiControl(){
  3583. class = "AggregateControl";
  3584. position = "0 29";
  3585. Extent = "290 20";
  3586. HorizSizing = "width";
  3587. new GuiTextCtrl(){ // u
  3588. profile = "ToolsGuiTextProfile";
  3589. HorizSizing = "right";
  3590. VertSizing = "bottom";
  3591. position = "11 1";
  3592. Extent = "12 16";
  3593. text = "U";
  3594. };
  3595. new GuiSliderCtrl() { // u
  3596. Profile = "ToolsGuiSliderProfile";
  3597. internalName = "ScrollSliderU";
  3598. HorizSizing = "width";
  3599. VertSizing = "bottom";
  3600. position = "25 2";
  3601. Extent = "68 15";
  3602. Command = "MaterialEditorGui.updateScrollOffset(true, true);";
  3603. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollOffset(true, false);";
  3604. tooltipprofile = "ToolsGuiToolTipProfile";
  3605. ToolTip = "Change U Scroll Direction";
  3606. hovertime = "1000";
  3607. range = "-1 1";
  3608. ticks = "1";
  3609. value = "0";
  3610. };
  3611. new GuiTextEditCtrl(){ // u
  3612. internalName = "ScrollTextEditU";
  3613. HorizSizing = "left";
  3614. VertSizing = "bottom";
  3615. position = "98 0";
  3616. Extent = "34 18";
  3617. text = "0";
  3618. Profile = "ToolsGuiTextEditProfile";
  3619. Command = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollOffset();";
  3620. };
  3621. };
  3622. new GuiControl() {
  3623. class = "AggregateControl";
  3624. position = "0 50";
  3625. Extent = "290 20";
  3626. HorizSizing = "width";
  3627. new GuiTextCtrl(){ // v
  3628. profile = "ToolsGuiTextProfile";
  3629. HorizSizing = "right";
  3630. VertSizing = "bottom";
  3631. position = "11 1";
  3632. Extent = "12 16";
  3633. text = "V";
  3634. };
  3635. new GuiSliderCtrl() { // v
  3636. Profile = "ToolsGuiSliderProfile";
  3637. internalName = "ScrollSliderV";
  3638. HorizSizing = "width";
  3639. VertSizing = "bottom";
  3640. position = "25 2";
  3641. Extent = "68 15";
  3642. Command = "MaterialEditorGui.updateScrollOffset(true, true);";
  3643. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollOffset(true, false);";
  3644. tooltipprofile = "ToolsGuiToolTipProfile";
  3645. ToolTip = "Change V Scroll Direction";
  3646. hovertime = "1000";
  3647. range = "-1 1";
  3648. ticks = "1";
  3649. value = "0";
  3650. };
  3651. new GuiTextEditCtrl(){ // v
  3652. internalName = "ScrollTextEditV";
  3653. HorizSizing = "left";
  3654. VertSizing = "bottom";
  3655. position = "98 0";
  3656. Extent = "34 18";
  3657. text = "0";
  3658. Profile = "ToolsGuiTextEditProfile";
  3659. Command = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollOffset();";
  3660. };
  3661. };
  3662. new GuiTextCtrl(){ // Direction Offset
  3663. HorizSizing = "left";
  3664. VertSizing = "bottom";
  3665. position = "98 12";
  3666. Extent = "34 16";
  3667. text = "Offset";
  3668. profile = "ToolsGuiTextProfile";
  3669. };
  3670. new GuiBitmapCtrl(){
  3671. HorizSizing = "left";
  3672. VertSizing = "bottom";
  3673. position = "136 20";
  3674. Extent = "48 48";
  3675. isContainer = true;
  3676. bitmapAsset="";
  3677. new GuiBitmapCtrl(){
  3678. HorizSizing = "right";
  3679. VertSizing = "bottom";
  3680. position = "0 0";
  3681. Extent = "48 48";
  3682. bitmapAsset="ToolsModule:cubemapBtnBorder_n_image";
  3683. };
  3684. new GuiBitmapCtrl(){ //vertical bar
  3685. HorizSizing = "right";
  3686. VertSizing = "bottom";
  3687. position = "20 20";
  3688. Extent = "7 7";
  3689. MinExtent = "7 7";
  3690. bitmapAsset="ToolsModule:crosshair_image";
  3691. };
  3692. new GuiBitmapCtrl(){ //horizontal bar
  3693. internalName = "ScrollCrosshair";
  3694. HorizSizing = "right";
  3695. VertSizing = "bottom";
  3696. position = "20 20";
  3697. Extent = "7 7";
  3698. MinExtent = "0 0";
  3699. bitmapAsset="ToolsModule:crosshair_blue_image";
  3700. };
  3701. };
  3702. new GuiControl() {
  3703. class = "AggregateControl";
  3704. position = "0 75";
  3705. Extent = "300 35";
  3706. HorizSizing = "width";
  3707. new GuiTextCtrl(){ // Speed
  3708. profile = "ToolsGuiTextRightProfile";
  3709. HorizSizing = "right";
  3710. VertSizing = "bottom";
  3711. position = "11 0";
  3712. Extent = "100 16";
  3713. text = "Speed";
  3714. };
  3715. new GuiSliderCtrl() {
  3716. canSaveDynamicFields = "0";
  3717. internalName = "ScrollSpeedSlider";
  3718. Enabled = "1";
  3719. isContainer = "0";
  3720. Profile = "ToolsGuiSliderProfile";
  3721. HorizSizing = "width";
  3722. VertSizing = "bottom";
  3723. position = "120 3";
  3724. Extent = "10 16";
  3725. MinExtent = "8 2";
  3726. canSave = "1";
  3727. Visible = "1";
  3728. Command = "MaterialEditorGui.updateScrollSpeed(true, true);";
  3729. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollSpeed(true, false);";
  3730. tooltipprofile = "ToolsGuiToolTipProfile";
  3731. ToolTip = "Scrolling Speed";
  3732. hovertime = "1000";
  3733. range = "0 10";
  3734. ticks = "0";
  3735. value = "0";
  3736. };
  3737. new GuiTextEditCtrl() {
  3738. canSaveDynamicFields = "0";
  3739. internalName = "ScrollSpeedTextEdit";
  3740. Enabled = "1";
  3741. isContainer = "0";
  3742. Profile = "ToolsGuiTextEditProfile";
  3743. HorizSizing = "left";
  3744. VertSizing = "bottom";
  3745. position = "140 1";
  3746. Extent = "34 18";
  3747. MinExtent = "8 2";
  3748. canSave = "1";
  3749. Visible = "1";
  3750. Command = "$ThisControl.getParent().updateFromChild($ThisControl);MaterialEditorGui.updateScrollSpeed();";
  3751. hovertime = "1000";
  3752. Margin = "0 0 0 0";
  3753. Padding = "0 0 0 0";
  3754. AnchorTop = "1";
  3755. AnchorBottom = "0";
  3756. AnchorLeft = "1";
  3757. AnchorRight = "0";
  3758. text = "0";
  3759. maxLength = "1024";
  3760. historySize = "0";
  3761. password = "0";
  3762. tabComplete = "0";
  3763. sinkAllKeyEvents = "0";
  3764. password = "0";
  3765. passwordMask = "*";
  3766. };
  3767. new GuiTextCtrl(){ // space
  3768. profile = "ToolsGuiTextRightProfile";
  3769. HorizSizing = "right";
  3770. VertSizing = "bottom";
  3771. position = "0 20";
  3772. Extent = "300 20";
  3773. text = " ";
  3774. };
  3775. };
  3776. };
  3777. new GuiContainer(){ // Wave Animation Properties
  3778. profile="inspectorStyleRolloutInnerProfile";
  3779. isContainer = "1";
  3780. position = "-1 360";
  3781. Extent = "300 85";
  3782. HorizSizing = "width";
  3783. new GuiBitmapCtrl(){
  3784. position = "0 0";
  3785. extent ="300 2";
  3786. HorizSizing = "width";
  3787. bitmapAsset ="ToolsModule:separator_v_image";
  3788. };
  3789. new GuiCheckboxCtrl() {
  3790. Profile = "ToolsGuiInspectorCheckBoxTitleProfile";
  3791. internalName = "WaveAnimation";
  3792. HorizSizing = "right";
  3793. VertSizing = "bottom";
  3794. position = "4 5";
  3795. Extent = "200 16";
  3796. MinExtent = "8 2";
  3797. text = " Wave Animation";
  3798. Command = "MaterialEditorGui.updateAnimationFlags();";
  3799. groupNum = "-1";
  3800. tooltipprofile = "ToolsGuiToolTipProfile";
  3801. };
  3802. new GuiCheckboxCtrl() {
  3803. Profile = "ToolsGuiCheckBoxProfile";
  3804. internalName = "ScaleAnimation";
  3805. HorizSizing = "right";
  3806. VertSizing = "bottom";
  3807. position = "200 24";
  3808. Extent = "45 16";
  3809. MinExtent = "8 2";
  3810. text = " Scale";
  3811. Command = "MaterialEditorGui.updateAnimationFlags();";
  3812. groupNum = "-1";
  3813. tooltipprofile = "ToolsGuiToolTipProfile";
  3814. };
  3815. new GuiTextCtrl() {
  3816. profile = "ToolsGuiTextRightProfile";
  3817. HorizSizing = "right";
  3818. VertSizing = "bottom";
  3819. position = "1 22";
  3820. Extent = "100 16";
  3821. text = " Wave Type";
  3822. };
  3823. new GuiContainer(){ // Wave Radio Button container
  3824. profile = "ToolsGuiDefaultProfile";
  3825. internalName = "WaveButtonContainer";
  3826. position = "120 24";
  3827. Extent = "49 13";
  3828. isContainer = "1";
  3829. new GuiBitmapButtonCtrl(){
  3830. profile = "ToolsGuiDefaultProfile";
  3831. buttonType = "RadioButton";
  3832. position = "1 0";
  3833. Extent = "13 13";
  3834. bitmapAsset = "ToolsModule:wav_sine_n_image";
  3835. command = "MaterialEditorGui.updateWaveType();";
  3836. tooltip="Sine Wave";
  3837. hovertime = "1000";
  3838. groupNum = "0";
  3839. waveType = "Sin";
  3840. tooltipprofile = "ToolsGuiToolTipProfile";
  3841. };
  3842. new GuiBitmapButtonCtrl(){
  3843. profile = "ToolsGuiDefaultProfile";
  3844. buttonType = "RadioButton";
  3845. position = "17 0";
  3846. Extent = "13 13";
  3847. bitmapAsset = "ToolsModule:wav_triangle_n_image";
  3848. command = "MaterialEditorGui.updateWaveType();";
  3849. tooltip="Triangle Wave";
  3850. hovertime = "1000";
  3851. groupNum = "0";
  3852. waveType = "Triangle";
  3853. tooltipprofile = "ToolsGuiToolTipProfile";
  3854. };
  3855. new GuiBitmapButtonCtrl(){
  3856. profile = "ToolsGuiDefaultProfile";
  3857. buttonType = "RadioButton";
  3858. position = "33 0";
  3859. Extent = "13 13";
  3860. bitmapAsset = "ToolsModule:wav_square_n_image";
  3861. command = "MaterialEditorGui.updateWaveType();";
  3862. tooltip="Square Wave";
  3863. hovertime = "1000";
  3864. groupNum = "0";
  3865. waveType = "Square";
  3866. tooltipprofile = "ToolsGuiToolTipProfile";
  3867. };
  3868. };
  3869. new GuiControl() {
  3870. class = "AggregateControl";
  3871. position = "0 61";
  3872. Extent = "300 20";
  3873. HorizSizing = "width";
  3874. new GuiTextCtrl() {
  3875. profile = "ToolsGuiTextRightProfile";
  3876. HorizSizing = "right";
  3877. VertSizing = "bottom";
  3878. position = "1 2";
  3879. Extent = "100 16";
  3880. text = "Frequency";
  3881. };
  3882. new GuiTextEditCtrl() { // frequence
  3883. canSaveDynamicFields = "0";
  3884. internalName = "WaveTextEditFreq";
  3885. Enabled = "1";
  3886. isContainer = "0";
  3887. Profile = "ToolsGuiTextEditProfile";
  3888. HorizSizing = "left";
  3889. VertSizing = "bottom";
  3890. position = "140 1";
  3891. Extent = "34 18";
  3892. MinExtent = "8 2";
  3893. canSave = "1";
  3894. Visible = "1";
  3895. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateWaveFreq();";
  3896. hovertime = "1000";
  3897. Margin = "0 0 0 0";
  3898. Padding = "0 0 0 0";
  3899. AnchorTop = "1";
  3900. AnchorBottom = "0";
  3901. AnchorLeft = "1";
  3902. AnchorRight = "0";
  3903. text = "0";
  3904. maxLength = "1024";
  3905. historySize = "0";
  3906. password = "0";
  3907. tabComplete = "0";
  3908. sinkAllKeyEvents = "0";
  3909. password = "0";
  3910. passwordMask = "*";
  3911. };
  3912. new GuiSliderCtrl() { // freqency
  3913. canSaveDynamicFields = "0";
  3914. internalName = "WaveSliderFreq";
  3915. Enabled = "1";
  3916. isContainer = "0";
  3917. Profile = "ToolsGuiSliderProfile";
  3918. HorizSizing = "width";
  3919. VertSizing = "bottom";
  3920. position = "120 4";
  3921. Extent = "10 16";
  3922. MinExtent = "8 2";
  3923. canSave = "1";
  3924. Visible = "1";
  3925. Command = "MaterialEditorGui.updateWaveFreq(true, true);";
  3926. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateWaveFreq(true, false);";
  3927. tooltipprofile = "ToolsGuiToolTipProfile";
  3928. ToolTip = "Changes Wave Frequency";
  3929. hovertime = "1000";
  3930. range = "0 10";
  3931. ticks = "9";
  3932. value = "0";
  3933. };
  3934. };
  3935. new GuiControl() {
  3936. class = "AggregateControl";
  3937. position = "0 40";
  3938. Extent = "300 20";
  3939. HorizSizing = "width";
  3940. new GuiTextCtrl() {
  3941. profile = "ToolsGuiTextRightProfile";
  3942. HorizSizing = "right";
  3943. VertSizing = "bottom";
  3944. position = "1 2";
  3945. Extent = "100 16";
  3946. text = "Amplitude";
  3947. };
  3948. new GuiTextEditCtrl() { // amplitude
  3949. Profile = "ToolsGuiTextEditProfile";
  3950. internalName = "WaveTextEditAmp";
  3951. HorizSizing = "left";
  3952. VertSizing = "bottom";
  3953. position = "140 1";
  3954. Extent = "34 18";
  3955. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateWaveAmp();";
  3956. hovertime = "1000";
  3957. text = "0";
  3958. };
  3959. new GuiSliderCtrl() { // amplitude
  3960. canSaveDynamicFields = "0";
  3961. internalName = "WaveSliderAmp";
  3962. Enabled = "1";
  3963. isContainer = "0";
  3964. Profile = "ToolsGuiSliderProfile";
  3965. HorizSizing = "width";
  3966. VertSizing = "bottom";
  3967. position = "120 4";
  3968. Extent = "10 16";
  3969. MinExtent = "8 2";
  3970. canSave = "1";
  3971. Visible = "1";
  3972. Command = "MaterialEditorGui.updateWaveAmp(true, true);";
  3973. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateWaveAmp(true, false);";
  3974. tooltipprofile = "ToolsGuiToolTipProfile";
  3975. ToolTip = "Changes Wave Amplitude";
  3976. hovertime = "1000";
  3977. range = "0 1";
  3978. ticks = "1";
  3979. value = "0";
  3980. };
  3981. };
  3982. };
  3983. new GuiContainer(){ // image Sequence Animation Properties
  3984. profile="inspectorStyleRolloutInnerProfile";
  3985. isContainer = "1";
  3986. position = "-1 480";
  3987. Extent = "300 80";
  3988. HorizSizing = "width";
  3989. new GuiBitmapCtrl(){
  3990. position = "0 5";
  3991. extent ="300 2";
  3992. HorizSizing = "width";
  3993. bitmapAsset ="ToolsModule:separator_v_image";
  3994. };
  3995. new GuiCheckboxCtrl() {
  3996. Profile = "ToolsGuiInspectorCheckBoxTitleProfile";
  3997. internalName = "SequenceAnimation";
  3998. HorizSizing = "right";
  3999. VertSizing = "bottom";
  4000. position = "4 10";
  4001. Extent = "200 16";
  4002. MinExtent = "8 2";
  4003. text = " Image Sequence";
  4004. Command = "MaterialEditorGui.updateAnimationFlags();";
  4005. groupNum = "-1";
  4006. };
  4007. new GuiControl() {
  4008. class = "AggregateControl";
  4009. position = "0 28";
  4010. Extent = "300 20";
  4011. HorizSizing = "width";
  4012. new GuiTextCtrl() {
  4013. profile = "ToolsGuiTextRightProfile";
  4014. HorizSizing = "right";
  4015. VertSizing = "bottom";
  4016. position = "1 2";
  4017. Extent = "100 16";
  4018. text = "Frames / Sec";
  4019. };
  4020. new GuiTextEditCtrl() {
  4021. canSaveDynamicFields = "0";
  4022. internalName = "SequenceTextEditFPS";
  4023. Enabled = "1";
  4024. isContainer = "0";
  4025. Profile = "ToolsGuiTextEditProfile";
  4026. HorizSizing = "left";
  4027. VertSizing = "bottom";
  4028. position = "140 1";
  4029. Extent = "34 18";
  4030. MinExtent = "8 2";
  4031. canSave = "1";
  4032. Visible = "1";
  4033. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateSequenceFPS();";
  4034. hovertime = "1000";
  4035. Margin = "0 0 0 0";
  4036. Padding = "0 0 0 0";
  4037. AnchorTop = "1";
  4038. AnchorBottom = "0";
  4039. AnchorLeft = "1";
  4040. AnchorRight = "0";
  4041. text = "0";
  4042. maxLength = "1024";
  4043. };
  4044. new GuiSliderCtrl() {
  4045. canSaveDynamicFields = "0";
  4046. internalName = "SequenceSliderFPS";
  4047. Enabled = "1";
  4048. isContainer = "0";
  4049. Profile = "ToolsGuiSliderProfile";
  4050. HorizSizing = "width";
  4051. VertSizing = "bottom";
  4052. position = "120 4";
  4053. Extent = "10 16";
  4054. MinExtent = "8 2";
  4055. canSave = "1";
  4056. Visible = "1";
  4057. Command = "MaterialEditorGui.updateSequenceFPS(true, true);";
  4058. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateSequenceFPS(true, false);";
  4059. tooltipprofile = "ToolsGuiToolTipProfile";
  4060. ToolTip = "How many frames to display per second.";
  4061. hovertime = "1000";
  4062. range = "0 30";
  4063. ticks = "5";
  4064. value = "0";
  4065. };
  4066. };
  4067. new GuiControl() {
  4068. class = "AggregateControl";
  4069. position = "0 49";
  4070. Extent = "300 20";
  4071. HorizSizing = "width";
  4072. new GuiTextCtrl() {
  4073. profile = "ToolsGuiTextRightProfile";
  4074. HorizSizing = "right";
  4075. VertSizing = "bottom";
  4076. position = "1 2";
  4077. Extent = "100 16";
  4078. text = "Frames";
  4079. };
  4080. new GuiTextEditCtrl() { // size
  4081. Profile = "ToolsGuiTextEditProfile";
  4082. internalName = "SequenceTextEditSSS";
  4083. HorizSizing = "left";
  4084. VertSizing = "bottom";
  4085. position = "140 1";
  4086. Extent = "34 18";
  4087. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateSequenceSSS();";
  4088. hovertime = "1000";
  4089. text = "0";
  4090. };
  4091. new GuiSliderCtrl() { //size
  4092. canSaveDynamicFields = "0";
  4093. internalName = "SequenceSliderSSS";
  4094. Enabled = "1";
  4095. isContainer = "0";
  4096. Profile = "ToolsGuiSliderProfile";
  4097. HorizSizing = "width";
  4098. VertSizing = "bottom";
  4099. position = "120 4";
  4100. Extent = "10 16";
  4101. MinExtent = "8 2";
  4102. canSave = "1";
  4103. Visible = "1";
  4104. Command = "MaterialEditorGui.updateSequenceSSS(true, true);";
  4105. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateSequenceSSS(true, false);";
  4106. tooltipprofile = "ToolsGuiToolTipProfile";
  4107. ToolTip = "How many frames in the sequence.";
  4108. hovertime = "1000";
  4109. range = "0 100";
  4110. ticks = "9";
  4111. value = "0";
  4112. };
  4113. };
  4114. };
  4115. };
  4116. };
  4117. new GuiRolloutCtrl(materialAdvancedPropertiesRollout) { // Advanced Properties Group
  4118. class = "BehaviorQuickEditRollout";
  4119. superclass = LBQuickEditRollout;
  4120. Profile = "GuiRolloutProfile";
  4121. HorizSizing = "width";
  4122. VertSizing = "bottom";
  4123. Position = "0 0";
  4124. Extent = "202 0";
  4125. Caption = " Advanced (all layers)";
  4126. Expanded = false;
  4127. Margin = "4 4 4 0";
  4128. DragSizable = false;
  4129. container = true;
  4130. new GuiStackControl() {
  4131. StackingType = "Vertical";
  4132. HorizStacking = "Left to Right";
  4133. VertStacking = "Top to Bottom";
  4134. Padding = "0";
  4135. canSaveDynamicFields = "0";
  4136. Enabled = "1";
  4137. isContainer = "1";
  4138. Profile = "ToolsGuiDefaultProfile";
  4139. HorizSizing = "width";
  4140. VertSizing = "bottom";
  4141. Position = "1 3";
  4142. Extent = "202 16";
  4143. new GuiContainer(){ // Transparentcy Properties
  4144. Profile = "ToolsGuiDefaultProfile";
  4145. isContainer = "1";
  4146. HorizSizing = "width";
  4147. VertSizing = "bottom";
  4148. Position = "0 0";
  4149. Extent = "210 89";
  4150. new GuiPopUpMenuCtrl() {
  4151. internalName = "blendingTypePopUp";
  4152. canSaveDynamicFields = "0";
  4153. Enabled = "1";
  4154. isContainer = "0";
  4155. Profile = "ToolsGuiPopUpMenuProfile";
  4156. HorizSizing = "width";
  4157. VertSizing = "bottom";
  4158. position = "3 2";
  4159. Extent = "83 18";
  4160. MinExtent = "8 2";
  4161. canSave = "1";
  4162. Visible = "1";
  4163. Command = "MaterialEditorGui.updateActiveMaterial(\"translucentBlendOp\",$ThisControl.getValue());";
  4164. tooltipprofile = "ToolsGuiToolTipProfile";
  4165. ToolTip = "Determines the type of blending to be applied on the transparent object.";
  4166. hovertime = "1000";
  4167. Margin = "0 0 0 0";
  4168. Padding = "0 0 0 0";
  4169. AnchorTop = "1";
  4170. AnchorBottom = "0";
  4171. AnchorLeft = "1";
  4172. AnchorRight = "0";
  4173. text = "LerpAlpha";
  4174. maxLength = "1024";
  4175. maxPopupHeight = "200";
  4176. sbUsesNAColor = "0";
  4177. reverseTextList = "0";
  4178. bitmapBounds = "16 16";
  4179. };
  4180. new GuiCheckBoxCtrl() {
  4181. canSaveDynamicFields = "0";
  4182. internalName = "alphaTestCheckBox";
  4183. Enabled = "1";
  4184. isContainer = "0";
  4185. Profile = "ToolsGuiCheckBoxProfile";
  4186. HorizSizing = "right";
  4187. VertSizing = "bottom";
  4188. position = "3 39";
  4189. Extent = "106 16";
  4190. MinExtent = "8 2";
  4191. canSave = "1";
  4192. Visible = "1";
  4193. Command = "MaterialEditorGui.updateActiveMaterial(\"alphaTest\",$ThisControl.getValue());";
  4194. tooltipprofile = "ToolsGuiToolTipProfile";
  4195. ToolTip = "When enabled, caused pixels under a specific alpha threshold to get discarded rather than be computed. Only valid for transparent objects.";
  4196. hovertime = "1000";
  4197. text = "Alpha Threshold";
  4198. groupNum = "-1";
  4199. buttonType = "ToggleButton";
  4200. useMouseEvents = "0";
  4201. useInactiveState = "0";
  4202. };
  4203. new GuiControl() {
  4204. class = "AggregateControl";
  4205. HorizSizing = "width";
  4206. position = "115 39";
  4207. Extent = "175 20";
  4208. new GuiSliderCtrl() {
  4209. canSaveDynamicFields = "0";
  4210. internalName = "alphaRefSlider";
  4211. Enabled = "1";
  4212. isContainer = "0";
  4213. Profile = "ToolsGuiSliderProfile";
  4214. HorizSizing = "width";
  4215. VertSizing = "bottom";
  4216. position = "0 3";
  4217. Extent = "45 14";
  4218. MinExtent = "8 2";
  4219. canSave = "1";
  4220. Visible = "1";
  4221. Command = "MaterialEditorGui.updateActiveMaterial(\"alphaRef\",$ThisControl.getValue(), true, true );";
  4222. AltCommand = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"alphaRef\",$ThisControl.getValue(), true, false );";
  4223. tooltipprofile = "ToolsGuiToolTipProfile";
  4224. ToolTip = "Sets the minimum transparency value that a pixel must have to be calculated. Anything below this value will simply not be rendered at all.";
  4225. hovertime = "1000";
  4226. range = "0 255";
  4227. ticks = "0";
  4228. value = "0";
  4229. };
  4230. new GuiTextEditCtrl() {
  4231. canSaveDynamicFields = "0";
  4232. internalName = "alphaRefTextEdit";
  4233. Enabled = "1";
  4234. isContainer = "0";
  4235. Profile = "ToolsGuiTextEditProfile";
  4236. HorizSizing = "left";
  4237. VertSizing = "bottom";
  4238. position = "49 0";
  4239. Extent = "27 18";
  4240. MinExtent = "8 2";
  4241. canSave = "1";
  4242. Visible = "1";
  4243. Command = "$ThisControl.getParent().updateFromChild($ThisControl); MaterialEditorGui.updateActiveMaterial(\"alphaRef\",$ThisControl.getValue());";
  4244. hovertime = "1000";
  4245. Margin = "0 0 0 0";
  4246. Padding = "0 0 0 0";
  4247. AnchorTop = "1";
  4248. AnchorBottom = "0";
  4249. AnchorLeft = "1";
  4250. AnchorRight = "0";
  4251. text = "100";
  4252. maxLength = "1024";
  4253. };
  4254. };
  4255. new GuiCheckBoxCtrl() {
  4256. canSaveDynamicFields = "0";
  4257. internalName = "transZWriteCheckBox";
  4258. Enabled = "1";
  4259. isContainer = "0";
  4260. Profile = "ToolsGuiCheckBoxProfile";
  4261. HorizSizing = "right";
  4262. VertSizing = "bottom";
  4263. position = "3 23";
  4264. Extent = "130 16";
  4265. MinExtent = "8 2";
  4266. canSave = "1";
  4267. Visible = "1";
  4268. Command = "MaterialEditorGui.updateActiveMaterial(\"translucentZWrite\",$ThisControl.getValue());";
  4269. tooltipprofile = "ToolsGuiToolTipProfile";
  4270. ToolTip = "Can be used to help force a proper Z-Ordering when Z-Ordering issues occur. Only valid for materials with Transparency.";
  4271. hovertime = "1000";
  4272. text = "Transparent Z-Write";
  4273. groupNum = "-1";
  4274. buttonType = "ToggleButton";
  4275. useMouseEvents = "0";
  4276. useInactiveState = "0";
  4277. };
  4278. new GuiCheckBoxCtrl() {
  4279. canSaveDynamicFields = "0";
  4280. internalName = "translucentCheckbox";
  4281. Enabled = "1";
  4282. isContainer = "0";
  4283. Profile = "ToolsGuiCheckBoxProfile";
  4284. HorizSizing = "left";
  4285. VertSizing = "bottom";
  4286. position = "89 3";
  4287. Extent = "107 16";
  4288. MinExtent = "8 2";
  4289. canSave = "1";
  4290. Visible = "1";
  4291. Command = "MaterialEditorGui.updateActiveMaterial(\"translucent\",$ThisControl.getValue());";
  4292. tooltipprofile = "ToolsGuiToolTipProfile";
  4293. ToolTip = "Sets material to use transparent blending modes.";
  4294. hovertime = "1000";
  4295. text = " Transparency";
  4296. groupNum = "-1";
  4297. buttonType = "ToggleButton";
  4298. useMouseEvents = "0";
  4299. useInactiveState = "0";
  4300. };
  4301. new GuiCheckBoxCtrl() {
  4302. canSaveDynamicFields = "0";
  4303. internalName = "castShadows";
  4304. Enabled = "1";
  4305. isContainer = "0";
  4306. Profile = "ToolsGuiCheckBoxProfile";
  4307. HorizSizing = "right";
  4308. VertSizing = "bottom";
  4309. position = "3 55";
  4310. Extent = "112 16";
  4311. MinExtent = "8 2";
  4312. canSave = "1";
  4313. Visible = "1";
  4314. Command = "MaterialEditorGui.updateActiveMaterial(\"castShadows\", $ThisControl.getValue());";
  4315. tooltipprofile = "ToolsGuiToolTipProfile";
  4316. ToolTip = "Object casts shadows.";
  4317. hovertime = "1000";
  4318. text = "Cast Shadows";
  4319. groupNum = "-1";
  4320. buttonType = "ToggleButton";
  4321. useMouseEvents = "0";
  4322. useInactiveState = "0";
  4323. };
  4324. new GuiCheckBoxCtrl() {
  4325. canSaveDynamicFields = "0";
  4326. internalName = "castDynamicShadows";
  4327. Enabled = "1";
  4328. isContainer = "0";
  4329. Profile = "ToolsGuiCheckBoxProfile";
  4330. HorizSizing = "right";
  4331. VertSizing = "bottom";
  4332. position = "3 70";
  4333. Extent = "115 16";
  4334. MinExtent = "8 2";
  4335. canSave = "1";
  4336. Visible = "1";
  4337. Command = "MaterialEditorGui.updateActiveMaterial(\"castDynamicShadows\", $ThisControl.getValue());";
  4338. tooltipprofile = "ToolsGuiToolTipProfile";
  4339. ToolTip = "Object casts dynamic shadows.";
  4340. hovertime = "1000";
  4341. text = "Dynamic Shadows";
  4342. groupNum = "-1";
  4343. buttonType = "ToggleButton";
  4344. useMouseEvents = "0";
  4345. useInactiveState = "0";
  4346. };
  4347. new GuiCheckBoxCtrl() {
  4348. canSaveDynamicFields = "0";
  4349. internalName = "doubleSidedCheckBox";
  4350. Enabled = "1";
  4351. isContainer = "0";
  4352. Profile = "ToolsGuiCheckBoxProfile";
  4353. HorizSizing = "right";
  4354. VertSizing = "bottom";
  4355. position = "105 55";
  4356. Extent = "90 16";
  4357. MinExtent = "8 2";
  4358. canSave = "1";
  4359. Visible = "1";
  4360. Command = "MaterialEditorGui.updateActiveMaterial(\"doubleSided\",$ThisControl.getValue());";
  4361. tooltipprofile = "ToolsGuiToolTipProfile";
  4362. ToolTip = "Determines if this material will be rendered from both sides of the polygon, or just the \'front facing\' side. ";
  4363. hovertime = "1000";
  4364. text = "Double Sided";
  4365. groupNum = "-1";
  4366. buttonType = "ToggleButton";
  4367. useMouseEvents = "0";
  4368. useInactiveState = "0";
  4369. };
  4370. };
  4371. new GuiContainer(){ // Reflection Properties
  4372. Profile = "ToolsGuiDefaultProfile";
  4373. isContainer = "1";
  4374. HorizSizing = "width";
  4375. VertSizing = "bottom";
  4376. Position = "0 95";
  4377. Extent = "212 25";
  4378. visible = "0";
  4379. new GuiBitmapCtrl(){
  4380. position="2 2";
  4381. extent ="192 2";
  4382. HorizSizing = "width";
  4383. bitmapAsset ="ToolsModule:separator_v_image";
  4384. };
  4385. // Reflection Properties Text
  4386. new GuiTextCtrl(matEd_reflectionPropertiesText) {
  4387. canSaveDynamicFields = "0";
  4388. Enabled = "1";
  4389. isContainer = "0";
  4390. Profile = "ToolsGuiDefaultProfile";
  4391. HorizSizing = "left";
  4392. VertSizing = "bottom";
  4393. position = "91 6";
  4394. Extent = "80 18";
  4395. MinExtent = "8 2";
  4396. canSave = "1";
  4397. Visible = "1";
  4398. hovertime = "1000";
  4399. Margin = "0 0 0 0";
  4400. Padding = "0 0 0 0";
  4401. AnchorTop = "1";
  4402. AnchorBottom = "0";
  4403. AnchorLeft = "1";
  4404. AnchorRight = "0";
  4405. text = "Reflection";
  4406. maxLength = "1024";
  4407. };
  4408. new GuiPopUpMenuCtrl() {
  4409. canSaveDynamicFields = "0";
  4410. internalName = "reflectionTypePopUp";
  4411. Enabled = "1";
  4412. isContainer = "0";
  4413. Profile = "ToolsGuiPopUpMenuProfile";
  4414. HorizSizing = "width";
  4415. VertSizing = "bottom";
  4416. position = "3 6";
  4417. Extent = "75 18";
  4418. MinExtent = "8 2";
  4419. canSave = "1";
  4420. Visible = "1";
  4421. Command = "MaterialEditorGui.updateReflectionType($ThisControl.getText());";
  4422. ToolTip = "Determines the type of blending to be applied on the transparent object.";
  4423. hovertime = "1000";
  4424. Margin = "0 0 0 0";
  4425. Padding = "0 0 0 0";
  4426. AnchorTop = "1";
  4427. AnchorBottom = "0";
  4428. AnchorLeft = "1";
  4429. AnchorRight = "0";
  4430. text = "None";
  4431. maxLength = "1024";
  4432. maxPopupHeight = "200";
  4433. sbUsesNAColor = "0";
  4434. reverseTextList = "0";
  4435. bitmapBounds = "16 16";
  4436. };
  4437. new GuiButtonCtrl(matEd_cubemapEditBtn){
  4438. internalName = "matEd_cubemapEditBtn";
  4439. profile ="ToolsGuiButtonProfile";
  4440. HorizSizing = "left";
  4441. VertSizing = "bottom";
  4442. position = "143 6 28";
  4443. Extent = "33 18";
  4444. Command = "MaterialEditorGui.showCubemapEditor();";
  4445. text = "Edit";
  4446. };
  4447. };
  4448. new GuiContainer(){ // Behavior Properties
  4449. Profile = "ToolsGuiDefaultProfile";
  4450. isContainer = "1";
  4451. HorizSizing = "width";
  4452. VertSizing = "bottom";
  4453. Position = "0 122";
  4454. Extent = "212 100";
  4455. new GuiBitmapCtrl(){
  4456. position="2 2";
  4457. extent ="192 2";
  4458. HorizSizing = "width";
  4459. bitmapAsset ="ToolsModule:separator_v_image";
  4460. };
  4461. new GuiTextCtrl() {
  4462. text = "Effect Colors[0:1]";
  4463. position = "1 6";
  4464. extent = "100 15";
  4465. profile = "ToolsGuiDefaultProfile";
  4466. };
  4467. new GuiSwatchButtonCtrl() {
  4468. color = "1 1 1 1";
  4469. groupNum = "-1";
  4470. buttonType = "PushButton";
  4471. useMouseEvents = "0";
  4472. position = "100 6";
  4473. extent = "16 16";
  4474. minExtent = "8 2";
  4475. horizSizing = "right";
  4476. vertSizing = "bottom";
  4477. profile = "GuiInspectorSwatchButtonProfile";
  4478. visible = "1";
  4479. active = "1";
  4480. command = "getColorF(materialEd_PreviewMaterial.effectColor[0], \"MaterialEditorGui.updateEffectColor0\");";
  4481. tooltipProfile = "ToolsGuiToolTipProfile";
  4482. hovertime = "1000";
  4483. isContainer = "0";
  4484. internalName = "effectColor0Swatch";
  4485. };
  4486. new GuiSwatchButtonCtrl() {
  4487. color = "1 1 1 1";
  4488. groupNum = "-1";
  4489. buttonType = "PushButton";
  4490. useMouseEvents = "0";
  4491. position = "120 6";
  4492. extent = "16 16";
  4493. minExtent = "8 2";
  4494. horizSizing = "right";
  4495. vertSizing = "bottom";
  4496. profile = "GuiInspectorSwatchButtonProfile";
  4497. visible = "1";
  4498. active = "1";
  4499. command = "getColorF(materialEd_PreviewMaterial.effectColor[1], \"MaterialEditorGui.updateEffectColor1\");";
  4500. tooltipProfile = "ToolsGuiToolTipProfile";
  4501. hovertime = "1000";
  4502. isContainer = "0";
  4503. internalName = "effectColor1Swatch";
  4504. };
  4505. new GuiCheckBoxCtrl() {
  4506. text = "Show Footprints";
  4507. groupNum = "-1";
  4508. buttonType = "ToggleButton";
  4509. useMouseEvents = "0";
  4510. position = "1 24";
  4511. extent = "115 16";
  4512. minExtent = "8 2";
  4513. horizSizing = "right";
  4514. vertSizing = "bottom";
  4515. profile = "ToolsGuiCheckBoxProfile";
  4516. visible = "1";
  4517. active = "1";
  4518. Command = "MaterialEditorGui.updateActiveMaterial(\"showFootprints\", $ThisControl.getValue());";
  4519. tooltipprofile = "ToolsGuiToolTipProfile";
  4520. tooltip = "Enables Player footprints on surfaces that use this Material.";
  4521. hovertime = "1000";
  4522. isContainer = "0";
  4523. internalName = "showFootprintsCheckbox";
  4524. };
  4525. new GuiCheckBoxCtrl() {
  4526. text = "Show Dust";
  4527. groupNum = "-1";
  4528. buttonType = "ToggleButton";
  4529. useMouseEvents = "0";
  4530. position = "120 24";
  4531. extent = "80 16";
  4532. minExtent = "8 2";
  4533. horizSizing = "right";
  4534. vertSizing = "bottom";
  4535. profile = "ToolsGuiCheckBoxProfile";
  4536. visible = "1";
  4537. active = "1";
  4538. Command = "MaterialEditorGui.updateActiveMaterial(\"showDust\", $ThisControl.getValue());";
  4539. tooltipprofile = "ToolsGuiToolTipProfile";
  4540. tooltip = "Enables dust particles on surfaces that use this Material.";
  4541. hovertime = "1000";
  4542. isContainer = "0";
  4543. internalName = "showDustCheckbox";
  4544. };
  4545. new GuiTextCtrl() {
  4546. text = "Footstep sound";
  4547. position = "1 43";
  4548. extent = "100 15";
  4549. profile = "ToolsGuiDefaultProfile";
  4550. };
  4551. new GuiPopUpMenuCtrl() {
  4552. maxPopupHeight = "200";
  4553. sbUsesNAColor = "0";
  4554. reverseTextList = "0";
  4555. bitmapBounds = "16 16";
  4556. text = "None";
  4557. maxLength = "1024";
  4558. margin = "0 0 0 0";
  4559. padding = "0 0 0 0";
  4560. anchorTop = "1";
  4561. anchorBottom = "0";
  4562. anchorLeft = "1";
  4563. anchorRight = "0";
  4564. position = "100 42";
  4565. extent = "85 18";
  4566. minExtent = "8 2";
  4567. horizSizing = "width";
  4568. vertSizing = "bottom";
  4569. profile = "ToolsGuiPopUpMenuProfile";
  4570. visible = "1";
  4571. active = "1";
  4572. command = "MaterialEditorGui.updateBehaviorSound(\"Footstep\", $ThisControl.getText());";
  4573. tooltipProfile = "ToolsGuiToolTipProfile";
  4574. tooltip = "Determines the footstep sound to use when the Player walks on this Material.";
  4575. hovertime = "1000";
  4576. isContainer = "0";
  4577. internalName = "footstepSoundPopUp";
  4578. };
  4579. new GuiTextCtrl() {
  4580. text = "Impact sound";
  4581. position = "1 63";
  4582. extent = "100 15";
  4583. profile = "ToolsGuiDefaultProfile";
  4584. };
  4585. new GuiPopUpMenuCtrl() {
  4586. maxPopupHeight = "200";
  4587. sbUsesNAColor = "0";
  4588. reverseTextList = "0";
  4589. bitmapBounds = "16 16";
  4590. text = "None";
  4591. maxLength = "1024";
  4592. margin = "0 0 0 0";
  4593. padding = "0 0 0 0";
  4594. anchorTop = "1";
  4595. anchorBottom = "0";
  4596. anchorLeft = "1";
  4597. anchorRight = "0";
  4598. position = "100 62";
  4599. extent = "85 18";
  4600. minExtent = "8 2";
  4601. horizSizing = "width";
  4602. vertSizing = "bottom";
  4603. profile = "ToolsGuiPopUpMenuProfile";
  4604. visible = "1";
  4605. active = "1";
  4606. command = "MaterialEditorGui.updateBehaviorSound(\"Impact\", $ThisControl.getText());";
  4607. tooltipProfile = "ToolsGuiToolTipProfile";
  4608. tooltip = "Determines the impact sound to use when an object collides with this Material.";
  4609. hovertime = "1000";
  4610. isContainer = "0";
  4611. internalName = "impactSoundPopUp";
  4612. };
  4613. new GuiBitmapCtrl(){
  4614. position="2 90";
  4615. extent ="192 2";
  4616. HorizSizing = "width";
  4617. bitmapAsset ="ToolsModule:separator_v_image";
  4618. };
  4619. };
  4620. };
  4621. };
  4622. };
  4623. };
  4624. new GuiBitmapButtonCtrl(MatEd_phoBreadcrumb) { //Go back to previous editor
  4625. canSaveDynamicFields = "0";
  4626. Enabled = "1";
  4627. isContainer = "0";
  4628. HorizSizing = "right";
  4629. VertSizing = "bottom";
  4630. position = "-1 0";
  4631. Extent = "20 19";
  4632. MinExtent = "8 2";
  4633. canSave = "1";
  4634. Visible = "0";
  4635. //Command = "materialSelector.showDialog(\"MaterialEditorGui.switchMaterial\");";
  4636. hovertime = "1000";
  4637. bitmapAsset = "ToolsModule:folderUp_image";
  4638. tooltip = "Go back to previous editor";
  4639. tooltipprofile = "ToolsGuiToolTipProfile";
  4640. groupNum = "-1";
  4641. buttonType = "PushButton";
  4642. useMouseEvents = "0";
  4643. };
  4644. new GuiBitmapButtonCtrl(MatEd_editMaterial) { //Select and Edit an Existing Material
  4645. canSaveDynamicFields = "0";
  4646. Enabled = "1";
  4647. isContainer = "0";
  4648. HorizSizing = "left";
  4649. VertSizing = "bottom";
  4650. position = "66 1";
  4651. Extent = "16 16";
  4652. MinExtent = "8 2";
  4653. canSave = "1";
  4654. Visible = "1";
  4655. Command = "AssetBrowser.showDialog(\"MaterialAsset\", \"MaterialEditorGui.selectMaterialAsset\");";
  4656. hovertime = "1000";
  4657. bitmapAsset = "ToolsModule:open_file_n_image";
  4658. tooltip = "Open Existing Material";
  4659. tooltipprofile = "ToolsGuiToolTipProfile";
  4660. groupNum = "-1";
  4661. buttonType = "PushButton";
  4662. useMouseEvents = "0";
  4663. };
  4664. // New Button
  4665. new GuiBitmapButtonCtrl() {
  4666. canSaveDynamicFields = "0";
  4667. Enabled = "1";
  4668. isContainer = "0";
  4669. Profile = "ToolsGuiDefaultProfile";
  4670. HorizSizing = "left";
  4671. VertSizing = "bottom";
  4672. position = "86 1";
  4673. Extent = "16 16";
  4674. MinExtent = "8 2";
  4675. canSave = "1";
  4676. Visible = "1";
  4677. Command = "MaterialEditorGui.createNewMaterial();";
  4678. hovertime = "1000";
  4679. groupNum = "-1";
  4680. text ="";
  4681. tooltip = "Create New Material";
  4682. tooltipprofile = "ToolsGuiToolTipProfile";
  4683. buttonType = "PushButton";
  4684. useMouseEvents = "0";
  4685. bitmap = "ToolsModule:new_n_image";
  4686. };
  4687. // Save Button
  4688. new GuiBitmapButtonCtrl() {
  4689. canSaveDynamicFields = "0";
  4690. Enabled = "1";
  4691. isContainer = "0";
  4692. Profile = "ToolsGuiDefaultProfile";
  4693. HorizSizing = "left";
  4694. VertSizing = "bottom";
  4695. position = "106 1";
  4696. Extent = "16 16";
  4697. MinExtent = "8 2";
  4698. canSave = "1";
  4699. Visible = "1";
  4700. Command = "MaterialEditorGui.save();";
  4701. hovertime = "1000";
  4702. groupNum = "-1";
  4703. text ="";
  4704. tooltip = "Save Material (ALT S)";
  4705. tooltipprofile = "ToolsGuiToolTipProfile";
  4706. buttonType = "PushButton";
  4707. useMouseEvents = "0";
  4708. bitmapAsset = "ToolsModule:save_icon_n_image";
  4709. };
  4710. new GuiBitmapButtonCtrl() {
  4711. canSaveDynamicFields = "0";
  4712. Enabled = "1";
  4713. isContainer = "0";
  4714. Profile = "ToolsGuiDefaultProfile";
  4715. HorizSizing = "left";
  4716. VertSizing = "bottom";
  4717. position = "126 1";
  4718. Extent = "16 16";
  4719. MinExtent = "8 2";
  4720. canSave = "1";
  4721. Visible = "1";
  4722. Command = "MaterialEditorGui.lookupMaterialInstances();";
  4723. hovertime = "1000";
  4724. groupNum = "-1";
  4725. text ="";
  4726. tooltip = "Lookup Material Instances";
  4727. tooltipprofile = "ToolsGuiToolTipProfile";
  4728. buttonType = "PushButton";
  4729. useMouseEvents = "0";
  4730. bitmapAsset = "ToolsModule:visible_n_image";
  4731. };
  4732. new GuiBitmapCtrl(){
  4733. position = "147 1";
  4734. Extent = "2 16";
  4735. minExtent = "2 16";
  4736. HorizSizing = "left";
  4737. VertSizing = "bottom";
  4738. bitmapAsset = "ToolsModule:separator_h_image";
  4739. };
  4740. // Revert Material
  4741. new GuiBitmapButtonCtrl() {
  4742. canSaveDynamicFields = "0";
  4743. Enabled = "1";
  4744. isContainer = "0";
  4745. Profile = "ToolsGuiButtonProfile";
  4746. HorizSizing = "left";
  4747. VertSizing = "bottom";
  4748. position = "151 1";
  4749. Extent = "17 17";
  4750. MinExtent = "8 2";
  4751. canSave = "1";
  4752. Visible = "1";
  4753. Command = "MaterialEditorGui.refreshMaterial();";
  4754. hovertime = "1000";
  4755. tooltip = "Revert Material to Saved";
  4756. tooltipprofile = "ToolsGuiToolTipProfile";
  4757. text = "";
  4758. bitmapAsset = "ToolsModule:reset_icon_n_image";
  4759. groupNum = "-1";
  4760. buttonType = "PushButton";
  4761. useMouseEvents = "0";
  4762. };
  4763. // Clear Material
  4764. new GuiBitmapButtonCtrl() {
  4765. canSaveDynamicFields = "0";
  4766. Enabled = "1";
  4767. isContainer = "0";
  4768. Profile = "ToolsGuiButtonProfile";
  4769. HorizSizing = "left";
  4770. VertSizing = "bottom";
  4771. position = "168 1";
  4772. Extent = "17 17";
  4773. MinExtent = "8 2";
  4774. canSave = "1";
  4775. Visible = "1";
  4776. Command = "MaterialEditorGui.clearMaterial();";
  4777. hovertime = "1000";
  4778. tooltip = "Clear All Material Properties";
  4779. tooltipprofile = "ToolsGuiToolTipProfile";
  4780. text = "";
  4781. bitmapAsset = "ToolsModule:clear_icon_n_image";
  4782. groupNum = "-1";
  4783. buttonType = "PushButton";
  4784. useMouseEvents = "0";
  4785. };
  4786. // Delete Material
  4787. new GuiBitmapButtonCtrl() {
  4788. canSaveDynamicFields = "0";
  4789. Enabled = "1";
  4790. isContainer = "0";
  4791. Profile = "ToolsGuiButtonProfile";
  4792. HorizSizing = "left";
  4793. VertSizing = "bottom";
  4794. position = "185 1";
  4795. Extent = "17 17";
  4796. MinExtent = "8 2";
  4797. canSave = "1";
  4798. Visible = "1";
  4799. Command = "";
  4800. hovertime = "1000";
  4801. tooltip = "Delete Material from File";
  4802. tooltipprofile = "ToolsGuiToolTipProfile";
  4803. text = "";
  4804. bitmapAsset = "ToolsModule:delete_n_image";
  4805. groupNum = "-1";
  4806. buttonType = "PushButton";
  4807. useMouseEvents = "0";
  4808. Command = "MaterialEditorGui.deleteMaterial();";
  4809. };
  4810. };
  4811. };
  4812. };
  4813. // Here are all of the other gui elements that were included in the original gui============================================
  4814. // EDIT: Instead of showing the faded bitmap, were going to just go ahead and push the controls; that way they are sitting
  4815. // on top of the editor gui, while being nonmodal
  4816. new GuiControl(matEdNonModalGroup, EditorGuiGroup) {
  4817. canSaveDynamicFields = "0";
  4818. Profile = "ToolsGuiOverlayProfile";
  4819. Enabled = "1";
  4820. isContainer = "1";
  4821. HorizSizing = "right";
  4822. VertSizing = "bottom";
  4823. Position = "0 0";
  4824. Extent = "1024 768";
  4825. MinExtent = "8 2";
  4826. canSave = "1";
  4827. Visible = "1";
  4828. hovertime = "1000";
  4829. new GuiWindowCtrl(matEdSaveDialog) {
  4830. canSaveDynamicFields = "0";
  4831. Enabled = "1";
  4832. isContainer = "1";
  4833. Profile = "ToolsGuiWindowProfile";
  4834. HorizSizing = "center";
  4835. VertSizing = "center";
  4836. position = "197 221";
  4837. Extent = "336 104";
  4838. MinExtent = "8 2";
  4839. canSave = "1";
  4840. Visible = "0";
  4841. hovertime = "1000";
  4842. Margin = "0 0 0 0";
  4843. Padding = "0 0 0 0";
  4844. AnchorTop = "1";
  4845. AnchorBottom = "0";
  4846. AnchorLeft = "1";
  4847. AnchorRight = "0";
  4848. resizeWidth = "0";
  4849. resizeHeight = "0";
  4850. canMove = "0";
  4851. canClose = "0";
  4852. canMinimize = "0";
  4853. canMaximize = "0";
  4854. minSize = "50 50";
  4855. EdgeSnap = "1";
  4856. text = "Material Not Saved!";
  4857. new GuiButtonCtrl(matEd_notSavedWindow_Save) {
  4858. canSaveDynamicFields = "0";
  4859. Enabled = "1";
  4860. isContainer = "0";
  4861. Profile = "ToolsGuiButtonProfile";
  4862. HorizSizing = "right";
  4863. VertSizing = "bottom";
  4864. position = "8 69";
  4865. Extent = "121 24";
  4866. MinExtent = "8 2";
  4867. canSave = "1";
  4868. Visible = "1";
  4869. Command = "matEdSaveDialog.dialogSave();";
  4870. hovertime = "1000";
  4871. text = "Save";
  4872. groupNum = "-1";
  4873. buttonType = "PushButton";
  4874. useMouseEvents = "0";
  4875. };
  4876. new GuiTextCtrl(matEd_materialNotSavedText) {
  4877. canSaveDynamicFields = "0";
  4878. Enabled = "1";
  4879. isContainer = "0";
  4880. Profile = "ToolsGuiTextCenterProfile";
  4881. HorizSizing = "right";
  4882. VertSizing = "bottom";
  4883. position = "7 35";
  4884. Extent = "318 18";
  4885. MinExtent = "8 2";
  4886. canSave = "1";
  4887. Visible = "1";
  4888. hovertime = "1000";
  4889. Margin = "0 0 0 0";
  4890. Padding = "0 0 0 0";
  4891. AnchorTop = "1";
  4892. AnchorBottom = "0";
  4893. AnchorLeft = "1";
  4894. AnchorRight = "0";
  4895. text = "This material has unsaved changes. Do you wish to save?";
  4896. maxLength = "1024";
  4897. };
  4898. new GuiButtonCtrl(matEd_notSavedWindow_DontSave) {
  4899. canSaveDynamicFields = "0";
  4900. Enabled = "1";
  4901. isContainer = "0";
  4902. Profile = "ToolsGuiButtonProfile";
  4903. HorizSizing = "right";
  4904. VertSizing = "bottom";
  4905. position = "157 69";
  4906. Extent = "80 24";
  4907. MinExtent = "8 2";
  4908. canSave = "1";
  4909. Visible = "1";
  4910. Command = "matEdSaveDialog.dialogDontSave();";
  4911. hovertime = "1000";
  4912. text = "Don\'t Save";
  4913. groupNum = "-1";
  4914. buttonType = "PushButton";
  4915. useMouseEvents = "0";
  4916. };
  4917. new GuiButtonCtrl(matEd_notSavedWindow_Cancel) {
  4918. canSaveDynamicFields = "0";
  4919. Enabled = "1";
  4920. isContainer = "0";
  4921. Profile = "ToolsGuiButtonProfile";
  4922. HorizSizing = "right";
  4923. VertSizing = "bottom";
  4924. position = "245 69";
  4925. Extent = "80 24";
  4926. MinExtent = "8 2";
  4927. canSave = "1";
  4928. Visible = "1";
  4929. Command = "matEdSaveDialog.dialogCancel();";
  4930. hovertime = "1000";
  4931. text = "Cancel";
  4932. groupNum = "-1";
  4933. buttonType = "PushButton";
  4934. useMouseEvents = "0";
  4935. };
  4936. };
  4937. new GuiWindowCtrl(matEd_changeCategoryDialog) {
  4938. canSaveDynamicFields = "0";
  4939. Enabled = "1";
  4940. isContainer = "1";
  4941. Profile = "ToolsGuiWindowProfile";
  4942. HorizSizing = "right";
  4943. VertSizing = "bottom";
  4944. position = "288 144";
  4945. Extent = "248 133";
  4946. MinExtent = "8 2";
  4947. canSave = "1";
  4948. Visible = "0";
  4949. hovertime = "1000";
  4950. Margin = "0 0 0 0";
  4951. Padding = "0 0 0 0";
  4952. AnchorTop = "1";
  4953. AnchorBottom = "0";
  4954. AnchorLeft = "1";
  4955. AnchorRight = "0";
  4956. resizeWidth = "0";
  4957. resizeHeight = "0";
  4958. canMove = "0";
  4959. canClose = "0";
  4960. canMinimize = "0";
  4961. canMaximize = "0";
  4962. minSize = "50 50";
  4963. EdgeSnap = "1";
  4964. text = "Change Material Category";
  4965. new GuiPopUpMenuCtrl(matEd_changeCategory_categoryList) {
  4966. canSaveDynamicFields = "0";
  4967. Enabled = "1";
  4968. isContainer = "0";
  4969. Profile = "ToolsGuiPopUpMenuProfile";
  4970. HorizSizing = "right";
  4971. VertSizing = "bottom";
  4972. position = "10 32";
  4973. Extent = "183 18";
  4974. MinExtent = "8 2";
  4975. canSave = "1";
  4976. Visible = "1";
  4977. hovertime = "1000";
  4978. Margin = "0 0 0 0";
  4979. Padding = "0 0 0 0";
  4980. AnchorTop = "1";
  4981. AnchorBottom = "0";
  4982. AnchorLeft = "1";
  4983. AnchorRight = "0";
  4984. maxLength = "1024";
  4985. maxPopupHeight = "200";
  4986. sbUsesNAColor = "0";
  4987. reverseTextList = "0";
  4988. bitmapBounds = "16 16";
  4989. };
  4990. new GuiButtonCtrl(matEd_changeCategory_okayBtn) {
  4991. canSaveDynamicFields = "0";
  4992. Enabled = "1";
  4993. isContainer = "0";
  4994. Profile = "ToolsGuiButtonProfile";
  4995. HorizSizing = "right";
  4996. VertSizing = "bottom";
  4997. position = "10 97";
  4998. Extent = "137 24";
  4999. MinExtent = "8 2";
  5000. canSave = "1";
  5001. Visible = "1";
  5002. Command = "MaterialEditorGui.okayChangeCategoryDialog();";
  5003. hovertime = "1000";
  5004. text = "Update Category";
  5005. groupNum = "-1";
  5006. buttonType = "PushButton";
  5007. useMouseEvents = "0";
  5008. };
  5009. new GuiButtonCtrl(matEd_changeCategory_cancelBtn) {
  5010. canSaveDynamicFields = "0";
  5011. Enabled = "1";
  5012. isContainer = "0";
  5013. Profile = "ToolsGuiButtonProfile";
  5014. HorizSizing = "right";
  5015. VertSizing = "bottom";
  5016. position = "159 97";
  5017. Extent = "80 24";
  5018. MinExtent = "8 2";
  5019. canSave = "1";
  5020. Visible = "1";
  5021. Command = "MaterialEditorGui.cancelChangeCategoryDialog();";
  5022. hovertime = "1000";
  5023. text = "Cancel";
  5024. groupNum = "-1";
  5025. buttonType = "PushButton";
  5026. useMouseEvents = "0";
  5027. };
  5028. new GuiButtonCtrl(matEd_changeCategory_addCatBtn) {
  5029. canSaveDynamicFields = "0";
  5030. Enabled = "1";
  5031. isContainer = "0";
  5032. Profile = "ToolsGuiButtonProfile";
  5033. HorizSizing = "right";
  5034. VertSizing = "bottom";
  5035. position = "200 60";
  5036. Extent = "39 18";
  5037. MinExtent = "8 2";
  5038. canSave = "1";
  5039. Visible = "1";
  5040. Command = "MaterialEditorGui.addCategory();";
  5041. hovertime = "1000";
  5042. text = "New";
  5043. groupNum = "-1";
  5044. buttonType = "PushButton";
  5045. useMouseEvents = "0";
  5046. };
  5047. new GuiTextEditCtrl(matEd_changeCategory_catNameEntry) {
  5048. canSaveDynamicFields = "0";
  5049. Enabled = "1";
  5050. isContainer = "0";
  5051. Profile = "ToolsGuiTextEditProfile";
  5052. HorizSizing = "right";
  5053. VertSizing = "bottom";
  5054. position = "10 60";
  5055. Extent = "183 18";
  5056. MinExtent = "8 2";
  5057. canSave = "1";
  5058. Visible = "1";
  5059. hovertime = "1000";
  5060. Margin = "0 0 0 0";
  5061. Padding = "0 0 0 0";
  5062. AnchorTop = "1";
  5063. AnchorBottom = "0";
  5064. AnchorLeft = "1";
  5065. AnchorRight = "0";
  5066. maxLength = "1024";
  5067. historySize = "0";
  5068. password = "0";
  5069. tabComplete = "0";
  5070. sinkAllKeyEvents = "0";
  5071. password = "0";
  5072. passwordMask = "*";
  5073. };
  5074. new GuiWindowCtrl(matEd_changeCategory_ErrorDialog) {
  5075. canSaveDynamicFields = "0";
  5076. Enabled = "1";
  5077. isContainer = "1";
  5078. Profile = "ToolsGuiWindowProfile";
  5079. HorizSizing = "right";
  5080. VertSizing = "bottom";
  5081. position = "8 18";
  5082. Extent = "232 113";
  5083. MinExtent = "8 2";
  5084. canSave = "1";
  5085. Visible = "0";
  5086. hovertime = "1000";
  5087. Margin = "0 0 0 0";
  5088. Padding = "0 0 0 0";
  5089. AnchorTop = "1";
  5090. AnchorBottom = "0";
  5091. AnchorLeft = "1";
  5092. AnchorRight = "0";
  5093. resizeWidth = "0";
  5094. resizeHeight = "0";
  5095. canMove = "0";
  5096. canClose = "0";
  5097. canMinimize = "0";
  5098. canMaximize = "0";
  5099. minSize = "50 50";
  5100. EdgeSnap = "1";
  5101. text = "Category Change Error";
  5102. new GuiButtonCtrl(matEd_changeCategory_Error_Button) {
  5103. canSaveDynamicFields = "0";
  5104. Enabled = "1";
  5105. isContainer = "0";
  5106. Profile = "ToolsGuiButtonProfile";
  5107. HorizSizing = "right";
  5108. VertSizing = "bottom";
  5109. position = "72 81";
  5110. Extent = "80 24";
  5111. MinExtent = "8 2";
  5112. canSave = "1";
  5113. Visible = "1";
  5114. Command = "MaterialEditorGui.okChangeCategoryErrorDialog();";
  5115. hovertime = "1000";
  5116. text = "Ok";
  5117. groupNum = "-1";
  5118. buttonType = "PushButton";
  5119. useMouseEvents = "0";
  5120. };
  5121. new GuiTextCtrl(matEd_changeCategory_error_Text) {
  5122. canSaveDynamicFields = "0";
  5123. Enabled = "1";
  5124. isContainer = "0";
  5125. Profile = "ToolsGuiTextCenterProfile";
  5126. HorizSizing = "right";
  5127. VertSizing = "bottom";
  5128. position = "8 31";
  5129. Extent = "215 40";
  5130. MinExtent = "8 2";
  5131. canSave = "1";
  5132. Visible = "1";
  5133. hovertime = "1000";
  5134. Margin = "0 0 0 0";
  5135. Padding = "0 0 0 0";
  5136. AnchorTop = "1";
  5137. AnchorBottom = "0";
  5138. AnchorLeft = "1";
  5139. AnchorRight = "0";
  5140. text = "Text goes here!";
  5141. maxLength = "1024";
  5142. };
  5143. };
  5144. };
  5145. };
  5146. //--- OBJECT WRITE END ---