| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859 |
- // Let's check if the ShapeEdAdvancedWindow can be stacked in the side panel
- if (getWord($pref::Video::mode, 1) > 899 && isObject(ShapeEdSelectWindow) && isObject(ShapeEdPropWindow))
- {
- $ShapeEdAdvancedWindowPos = getWord($pref::Video::mode, 0) - 360 SPC getWord(ShapeEdSelectWindow.extent, 1) + getWord(ShapeEdPropWindow.extent, 1) + getWord(EditorGuiToolbar.extent, 1) + 12;
- }
- else
- {
- $ShapeEdAdvancedWindowPos = getWord($pref::Video::mode, 0) - 720 SPC getWord(EditorGuiToolbar.extent, 1) + 6;
- }
- //--- OBJECT WRITE BEGIN ---
- $guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow, EditorGuiGroup) {
- text = ":: Shape Editor - Advanced Properties";
- resizeWidth = "0";
- resizeHeight = "0";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- closeCommand = "ShapeEditorToolbar-->showAdvanced.performClick();";
- EdgeSnap = "1";
- Margin = "4 4 4 4";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- Position = $ShapeEdAdvancedWindowPos;
- extent = "360 300";
- MinExtent = "300 300";
- HorizSizing = "windowRelative";
- VertSizing = "windowRelative";
- Profile = "ToolsGuiWindowProfile";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- minSize = "50 50";
-
- new GuiTabBookCtrl() {
- TabPosition = "Top";
- TabMargin = "6";
- MinTabWidth = "32";
- docking = "client";
- Margin = "3 1 3 3";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "4 24";
- extent = "220 243";
- MinExtent = "8 -500";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiTabBookProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "tabBook";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiTabPageCtrl() {
- text = "Details";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- Position = "0 19";
- extent = "220 224";
- MinExtent = "0 -500";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiTabPageProfile";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiContainer() {
- docking = "client";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "0 0";
- extent = "202 224";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiContainer() {
- position = "0 0";
- extent = "202 157";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "inspectorStyleRolloutDarkProfile";
- new GuiTextCtrl() {
- text = "Levels:";
- position = "4 1";
- Extent = "272 16";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiCheckBoxCtrl() {
- useInactiveState = "0";
- text = "Levels";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "5 22";
- Extent = "49 13";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiCheckBoxProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.fixedDetail";
- Command = "ShapeEdAdvancedWindow-->detailSlider.setActive($ThisControl.getValue()); ShapeEdAdvancedWindow-->levelsInactive.setVisible( !$ThisControl.getValue() );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Allow the slider to select the current detail level";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0 0";
- ticks = "1";
- snap = "1";
- value = "0";
- position = "57 22";
- Extent = "118 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.currentDL";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Drag the slider to change the current detail level";
- hovertime = "1000";
- isContainer = "0";
- internalName = "detailSlider";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapCtrl(){
- bitmapAsset = "ToolsModule:inactive_overlay_image";
- position = "57 19";
- Extent = "290 20";
- tooltip = "Levels needs to be selected to enable the detail level slider";
- hovertime = "500";
- isContainer = true;
- internalName = "levelsInactive";
- };
- new GuiTextCtrl() {
- text = "0";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "182 20";
- Extent = "15 16";
- MinExtent = "8 2";
- HorizSizing = "left";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.currentDL";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Index of the current detail level";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Polys";
- position = "37 40";
- extent = "26 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "0";
- position = "77 40";
- Extent = "40 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.detailPolys";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Number of polygons in the current detail level";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Size";
- position = "127 40";
- extent = "24 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- position = "160 39";
- extent = "35 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.detailSize";
- AltCommand = "ShapeEdAdvancedWindow.onEditDetailSize();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Edit this value to change the size of the current detail";
- hovertime = "1000";
- internalName = "detailSize";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Pixels";
- position = "35 60";
- extent = "28 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "0";
- position = "77 60";
- Extent = "40 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.pixelSize";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Current size (in pixels) of the shape";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Distance";
- position = "109 60";
- Extent = "42 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "";
- position = "160 60";
- extent = "38 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.orbitDist";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Current distance from the shape to the camera";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Materials";
- position = "20 80";
- extent = "43 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "";
- position = "77 80";
- extent = "40 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.numMaterials";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Number of materials used by all meshes at this detail level";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Bones";
- position = "120 80";
- extent = "31 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "5";
- position = "160 80";
- extent = "38 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.numBones";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Number of bones at this detail level (skins only)";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Primitives";
- position = "19 100";
- extent = "44 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "";
- position = "77 100";
- extent = "40 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.numDrawCalls";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Total number of mesh primitives (triangle lists) at this detail level";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Weights";
- position = "109 100";
- Extent = "42 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "5";
- position = "160 100";
- extent = "38 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.numWeights";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Number of vertex weights at this detail level (skins only)";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextProfile";
- text = "Col Meshes";
- position = "7 120";
- extent = "56 16";
- horizSizing = "right";
- vertSizing = "bottom";
- };
- new GuiTextCtrl() {
- text = "";
- position = "74 120";
- extent = "40 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Variable = "ShapeEdShapeView.colMeshes";
- };
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextProfile";
- text = "Col Polys";
- position = "108 120";
- extent = "43 16";
- horizSizing = "right";
- vertSizing = "bottom";
- };
- new GuiTextCtrl() {
- text = "";
- position = "160 120";
- extent = "38 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Variable = "ShapeEdShapeView.colPolys";
- };
- };
- new GuiContainer() {
- position = "0 138";
- Extent = "202 90";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "inspectorStyleRolloutDarkProfile";
- isContainer = "1";
- new GuiTextCtrl() { // Header
- text = "Imposters:";
- position = "5 1";
- Extent = "192 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiCheckBoxCtrl() {
- useInactiveState = "0";
- text = "Use Imposters";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "72 2";
- Extent = "83 13";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiCheckBoxProfile";
- Visible = "1";
- Command = "ShapeEdDetails.onToggleImposter( $ThisControl.getValue() );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Controls whether this shape uses an imposter detail level";
- hovertime = "1000";
- isContainer = "0";
- internalName = "bbUseImposters";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Detail Level";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "6 23";
- Extent = "57 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- position = "68 22";
- Extent = "36 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- AltCommand = "ShapeEdDetails.onEditImposter();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Specifies the detail level used to generate the imposters";
- hovertime = "1000";
- internalName = "bbDetailLevel";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Dimension";
- position = "6 43";
- Extent = "57 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- position = "72 43";
- Extent = "36 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- AltCommand = "ShapeEdDetails.onEditImposter();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Specifies the dimension (width/height) of the imposters in pixels";
- hovertime = "1000";
- internalName = "bbDimension";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "X Steps";
- position = "6 65";
- Extent = "57 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- position = "68 64";
- Extent = "36 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- AltCommand = "ShapeEdDetails.onEditImposter();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Number of steps in the horizontal axis";
- hovertime = "1000";
- internalName = "bbEquatorSteps";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl() {
- useInactiveState = "0";
- text = "Include Poles";
- groupNum = "-1";
- buttonType = "ToggleButton";
- position = "113 24";
- Extent = "83 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiCheckBoxProfile";
- Visible = "1";
- Command = "ShapeEdDetails.onEditImposter();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Specifies whether to include the poles (top and bottom) of the shape";
- hovertime = "1000";
- internalName = "bbIncludePoles";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Y Steps";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "116 44";
- Extent = "41 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- Tooltip = "Number of steps in the vertical axis";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- position = "161 43";
- Extent = "36 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- AltCommand = "ShapeEdDetails.onEditImposter();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- internalName = "bbPolarSteps";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Y Angle";
- position = "116 65";
- Extent = "41 16";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- tooltip = "Polar Angle - Y axis";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- position = "161 64";
- Extent = "36 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- AltCommand = "ShapeEdDetails.onEditImposter();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- internalName = "bbPolarAngle";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapCtrl(){
- bitmapAsset = "ToolsModule:inactive_overlay_image";
- position = "4 18";
- Extent = "193 68";
- tooltip = "Imposters must be enabled, and an imposter detail level selected to edit these properties";
- hovertime = "500";
- isContainer = "1";
- internalName = "imposterInactive";
- };
- };
- };
- };
- new GuiTabPageCtrl() {
- text = "Mounting";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- Position = "0 19";
- extent = "220 224";
- MinExtent = "0 -500";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiTabPageProfile";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- isContainer = "1";
-
- new GuiControl(){
- docking = "client";
- Margin = "0 0 0 0";
- Profile = "ToolsGuiScrollProfile";
- position = "0 0";
- extent = "294 224";
-
- };
- new GuiContainer(ShapeEdMountWindow) {
- docking = "none";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- isContainer = "1";
- position = "0 0";
- extent = "220 224";
- MinExtent = "8 8";
- HorizSizing = "width";
- vertSizing = "height";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiCheckBoxCtrl() {
- useInactiveState = "0";
- text = " Render mounted shapes";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "2 2";
- extent = "200 13";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiCheckBoxProfile";
- Visible = "1";
- Variable = "ShapeEdShapeView.renderMounts";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Controls whether mounted shapes will be rendered in the 3D view";
- hovertime = "1000";
- isContainer = "0";
- internalName = "renderMounts";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
-
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- lockHorizScroll = "true";
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "0";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "0 17";
- extent = "202 124";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiShapeEdScrollProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- canSave = "1";
- isContainer = "1";
- new GuiContainer() {
- position = "0 0";
- extent = "200 121";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "inspectorStyleRolloutListProfile";
- };
- new GuiTextListCtrl() {
- columns = "-1 0 110 152";
- fitParentWidth = "1";
- clipColumnText = "1";
- Position = "1 1";
- Extent = "200 11";
- MinExtent = "8 11";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiShapeEdTextListProfile";
- Visible = "1";
- Command = "ShapeEdMountWindow.update_onMountSelectionChanged();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- internalName = "mountList";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer() {
- position = "0 140";
- extent = "202 85";
- HorizSizing = "width";
- VertSizing = "top";
- Profile = "inspectorStyleRolloutDarkProfile";
-
- new GuiTextCtrl() {
- text = "Mount Item";
- position = "5 1";
- extent = "134 16";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:delete_n_image";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "182 1";
- Extent = "16 16";
- MinExtent = "8 2";
- HorizSizing = "left";
- VertSizing = "bottom";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- Command = "ShapeEdMountWindow.unmountShape();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Delete the selected mount item";
- canSaveDynamicFields = "0";
- canSave = "1";
- isContainer = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:new_n_image";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "168 1";
- Extent = "16 16";
- MinExtent = "8 2";
- HorizSizing = "left";
- VertSizing = "bottom";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- Command = "ShapeEdMountWindow.mountShape(-1);";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Mounts a new shape to the current model";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- /*new GuiButtonCtrl() {
- text = "Unmount All";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "109 97";
- extent = "78 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- vertSizing = "top";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEdMountWindow.unmountAll();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Unmount all shapes";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };*/
- new GuiTextCtrl() {
- text = "Shape";
- position = "5 21";
- extent = "33 16";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiPopUpMenuCtrl(ShapeEdMountShapeMenu) {
- position = "42 20";
- extent = "156 18";
- HorizSizing = "width";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- ToolTip = "Select the model to mount";
- };
- new GuiTextCtrl() {
- text = "Node";
- position = "5 42";
- extent = "33 16";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiPopUpMenuCtrl() {
- position = "42 41";
- extent = "62 18";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- Command = "ShapeEdMountWindow.updateSelectedMount();";
- ToolTip = "Select the node on which to mount the model";
- internalName = "mountNode";
- };
- new GuiTextCtrl() {
- text = "Type";
- position = "110 42";
- extent = "24 16";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiPopUpMenuCtrl() {
- position = "138 41";
- extent = "60 18";
- horizSizing = "left";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- Command = "ShapeEdMountWindow.updateSelectedMount();";
- ToolTip = "Select the type of mounting to use";
- internalName = "mountType";
- };
- new GuiPopUpMenuCtrl() {
- position = "5 62";
- extent = "99 18";
- HorizSizing = "width";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- Command = "ShapeEdMountWindow.setMountThreadSequence();";
- ToolTip = "Select the sequence to play on the mounted model";
- internalName = "mountSeq";
- };
- new GuiSliderCtrl(ShapeEdMountSeqSlider) {
- range = "0 1";
- ticks = "0";
- snap = "0";
- value = "0";
- position = "109 64";
- extent = "68 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "top";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Drag the slider to scrub through the sequence keyframes";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:playfwd_btn_n_image";
- groupNum = "0";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "180 62";
- Extent = "18 18";
- MinExtent = "8 2";
- HorizSizing = "left";
- vertSizing = "top";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEdMountWindow.toggleMountThreadPlayback();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Play forwards";
- hovertime = "1000";
- isContainer = "0";
- internalName = "mountPlayBtn";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- };
- new GuiTabPageCtrl() {
- text = "Threads";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- Position = "0 19";
- extent = "220 224";
- MinExtent = "0 -500";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiTabPageProfile";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiContainer(ShapeEdThreadWindow) {
- docking = "client";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "0 0";
- extent = "202 224";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiContainer() {
- position = "0 0";
- extent = "203 141";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "inspectorStyleRolloutDarkProfile";
-
- new GuiTextCtrl() {
- text = "Thread";
- position = "4 1";
- extent = "41 16";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- lockHorizScroll = "true";
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "0";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "0 17";
- extent = "47 124";
- MinExtent = "8 8";
- HorizSizing = "right";
- VertSizing = "height";
- Profile = "ToolsGuiShapeEdScrollProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiTextListCtrl(ShapeEdThreadList) {
- fitParentWidth = "1";
- clipColumnText = "1";
- position = "1 1";
- extent = "45 11";
- MinExtent = "8 11";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiShapeEdTextListProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextCtrl() {
- text = "Sequence";
- position = "52 1";
- extent = "53 16";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "dynamic";
- lockHorizScroll = "true";
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "0";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "46 17";
- extent = "202 124";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiShapeEdScrollProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiTextListCtrl() {
- fitParentWidth = "1";
- clipColumnText = "1";
- Position = "1 1";
- extent = "202 11";
- MinExtent = "8 11";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiShapeEdTextListProfile";
- Visible = "1";
- Command = "ShapeEdSequenceList.setSelectedById( $ThisControl.getSelectedId() );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- internalName = "seqList";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:delete_n_image";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "184 1";
- Extent = "16 16";
- MinExtent = "8 2";
- HorizSizing = "left";
- VertSizing = "bottom";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- Command = "ShapeEdThreadWindow.onRemoveThread();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Delete the selected thread";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:new_n_image";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "171 1";
- Extent = "16 16";
- MinExtent = "8 2";
- HorizSizing = "left";
- VertSizing = "bottom";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- Command = "ShapeEdThreadWindow.onAddThread();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Add a new thread";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiSliderCtrl(ShapeEdThreadSlider) {
- range = "0 0";
- ticks = "0";
- snap = "0";
- value = "0";
- position = "29 146";
- extent = "133 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "top";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Drag the slider to scrub through the sequence keyframes";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:playbkwd_btn_n_image";
- groupNum = "0";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- position = "6 144";
- extent = "18 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- vertSizing = "top";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEdAnimWindow-->playBkwdBtn.performClick();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Play backwards";
- hovertime = "1000";
- isContainer = "0";
- internalName = "playBkwdBtn";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:pause_btn_n_image";
- groupNum = "0";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- position = "166 144";
- Extent = "18 18";
- MinExtent = "8 2";
- HorizSizing = "left";
- vertSizing = "top";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEdAnimWindow-->pauseBtn.performClick();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Toggle Pause (SPACE)";
- hovertime = "1000";
- isContainer = "0";
- internalName = "pauseBtn";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:playfwd_btn_n_image";
- groupNum = "0";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- position = "184 144";
- Extent = "18 18";
- MinExtent = "8 2";
- HorizSizing = "left";
- vertSizing = "top";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEdAnimWindow-->playFwdBtn.performClick();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Play forwards";
- hovertime = "1000";
- isContainer = "0";
- internalName = "playFwdBtn";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl() {
- useInactiveState = "0";
- text = " Transition lasts";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "3 167";
- extent = "88 13";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "top";
- Profile = "ToolsGuiCheckBoxProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Controls whether the thread will smoothly transition when a new sequence is selected";
- hovertime = "1000";
- isContainer = "0";
- internalName = "useTransitions";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- position = "98 164";
- extent = "49 18";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "top";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Number of seconds over which to transition to the new sequence";
- hovertime = "1000";
- internalName = "transitionTime";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "seconds";
- position = "153 165";
- extent = "44 16";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "top";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiTextCtrl() {
- text = "Transition to";
- position = "4 186";
- extent = "62 16";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "top";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiPopUpMenuCtrl() {
- position = "68 185";
- extent = "133 18";
- HorizSizing = "width";
- vertSizing = "top";
- Profile = "ToolsGuiPopUpMenuProfile";
- ToolTip = "Select the start position of the new sequence";
- internalName = "transitionTo";
- };
- new GuiTextCtrl() {
- text = "Target anim";
- position = "4 207";
- extent = "58 16";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "top";
- Profile = "ToolsGuiTextProfile";
- };
- new GuiPopUpMenuCtrl() {
- position = "68 206";
- extent = "133 18";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "top";
- Profile = "ToolsGuiPopUpMenuProfile";
- ToolTip = "Select the initial play state of the new sequence";
- internalName = "transitionTarget";
- };
- };
- };
- new GuiTabPageCtrl() {
- text = "Collision";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- Position = "0 19";
- extent = "220 224";
- MinExtent = "0 -500";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiTabPageProfile";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiContainer(ShapeEdColWindow) {
- docking = "client";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "0 0";
- extent = "202 225";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Fit Type";
- position = "5 5";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiPopUpMenuCtrl() {
- position = "85 4";
- extent = "170 18";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- Command = "ShapeEdColWindow.editCollision();";
- ToolTip = "Select the method used to auto-generate the collision geometry";
- internalName = "colType";
- };
- new GuiTextCtrl() {
- text = "Fit Target";
- position = "5 25";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiPopUpMenuCtrl() {
- position = "85 24";
- extent = "170 18";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- Command = "ShapeEdColWindow.editCollision();";
- ToolTip = "Select the object to fit collision geometry to";
- internalName = "colTarget";
- };
- new GuiTextCtrl() {
- text = "Max Depth";
- position = "5 47";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiSliderCtrl() {
- range = "0 8";
- ticks = "4";
- snap = "0";
- value = "4";
- position = "80 48";
- extent = "90 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- AltCommand = "ShapeEdColWindow-->hullDepthText.setText( mFloor($ThisControl.getValue()) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Maximum hull split depth";
- hovertime = "1000";
- isContainer = "0";
- internalName = "hullDepth";
- };
- new GuiTextCtrl() {
- text = "4";
- position = "320 47";
- extent = "25 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- internalName = "hullDepthText";
- };
- new GuiTextCtrl() {
- text = "Merge %";
- position = "5 68";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiSliderCtrl() {
- range = "0 60";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "80 69";
- extent = "90 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- AltCommand = "ShapeEdColWindow-->hullMergeText.setText( mFloor($ThisControl.getValue()) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Hull volume merge threshold";
- hovertime = "1000";
- isContainer = "0";
- internalName = "hullMergeThreshold";
- };
- new GuiTextCtrl() {
- text = "30";
- position = "320 68";
- extent = "25 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- internalName = "hullMergeText";
- };
- new GuiTextCtrl() {
- text = "Concavity %";
- position = "5 89";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiSliderCtrl() {
- range = "0 60";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "80 90";
- extent = "90 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- AltCommand = "ShapeEdColWindow-->hullConcaveText.setText( mFloor($ThisControl.getValue()) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Hull concavity threshold";
- hovertime = "1000";
- isContainer = "0";
- internalName = "hullConcaveThreshold";
- };
- new GuiTextCtrl() {
- text = "30";
- position = "320 89";
- extent = "25 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- internalName = "hullConcaveText";
- };
- new GuiTextCtrl() {
- text = "Max Verts";
- position = "5 110";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiSliderCtrl() {
- range = "8 64";
- ticks = "4";
- snap = "0";
- value = "32";
- position = "80 111";
- extent = "90 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- AltCommand = "ShapeEdColWindow-->hullMaxVertsText.setText( mFloor($ThisControl.getValue()) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Maximum number of verts in a convex hull";
- hovertime = "1000";
- isContainer = "0";
- internalName = "hullMaxVerts";
- };
- new GuiTextCtrl() {
- text = "32";
- position = "320 110";
- extent = "25 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- internalName = "hullMaxVertsText";
- };
- new GuiTextCtrl() {
- text = "Box %";
- position = "5 131";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiSliderCtrl() {
- range = "0 100";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "80 132";
- extent = "90 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- AltCommand = "ShapeEdColWindow-->hullMaxBoxErrorText.setText( mFloor($ThisControl.getValue()) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Maximum box volume error %";
- hovertime = "1000";
- isContainer = "0";
- internalName = "hullMaxBoxError";
- };
- new GuiTextCtrl() {
- text = "30";
- position = "320 131";
- extent = "25 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- internalName = "hullMaxBoxErrorText";
- };
- new GuiTextCtrl() {
- text = "Sphere %";
- position = "5 152";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiSliderCtrl() {
- range = "0 100";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "80 153";
- extent = "90 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- AltCommand = "ShapeEdColWindow-->hullMaxSphereErrorText.setText( mFloor($ThisControl.getValue()) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Maximum sphere volume error %";
- hovertime = "1000";
- isContainer = "0";
- internalName = "hullMaxSphereError";
- };
- new GuiTextCtrl() {
- text = "30";
- position = "320 152";
- extent = "25 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- internalName = "hullMaxSphereErrorText";
- };
- new GuiTextCtrl() {
- text = "Capsule %";
- position = "5 173";
- extent = "70 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- };
- new GuiSliderCtrl() {
- range = "0 100";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "80 174";
- extent = "90 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderBoxProfile";
- Visible = "1";
- AltCommand = "ShapeEdColWindow-->hullMaxCapsuleErrorText.setText( mFloor($ThisControl.getValue()) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Maximum capsule volume error %";
- hovertime = "1000";
- isContainer = "0";
- internalName = "hullMaxCapsuleError";
- };
- new GuiTextCtrl() {
- text = "30";
- position = "320 173";
- extent = "25 16";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiTextRightProfile";
- internalName = "hullMaxCapsuleErrorText";
- };
- new GuiButtonCtrl() {
- text = "Update Hulls";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "7 200";
- extent = "100 20";
- MinExtent = "8 2";
- HorizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEdColWindow.editCollision();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Update the convex hull(s)";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Revert Changes";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "115 200";
- extent = "100 20";
- MinExtent = "8 2";
- HorizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEdColWindow.update_onCollisionChanged();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Revert changes to settings";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapCtrl() {
- bitmapAsset = "ToolsModule:inactive_overlay_image";
- position = "0 47";
- extent = "199 178";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiDefaultProfile";
- visible = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- internalName = "hullInactive";
- };
- };
- };
- };
- };
- //--- OBJECT WRITE END ---
- new GuiControl(ShapeEdWaitGui,EditorGuiGroup) {
- isContainer = "1";
- Profile = "ToolsGuiOverlayProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "0 0";
- Extent = "800 600";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "1";
- new GuiControl() {
- isContainer = "1";
- Profile = "editorMenu_wBorderProfile";
- HorizSizing = "center";
- VertSizing = "center";
- position = "277 271";
- Extent = "245 57";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- internalName = "Dialog";
- canSaveDynamicFields = "0";
- new GuiTextCtrl() {
- text = "";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextBoldCenterProfile";
- HorizSizing = "width";
- VertSizing = "center";
- position = "5 19";
- Extent = "236 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- internalName = "message";
- };
- };
- };
- function ShapeEdWaitGui::show(%this, %text)
- {
- %this-->message.setText( %text );
- Canvas.pushDialog( %this );
- Canvas.repaint();
- }
- function ShapeEdWaitGui::hide(%this)
- {
- Canvas.popDialog( %this );
- }
- function ShapeEdWaitGui::onWake(%this)
- {
- %res = %this.getExtent();
- %resX = getWord( %res, 0 );
- %resY = getWord( %res, 1 );
-
- %dialog = %this-->Dialog;
- %dialogExtent = %dialog.getExtent();
- %dialogWidth = getWord( %dialogExtent, 0 );
- %dialogHeight = getWord( %dialogExtent, 1 );
- %dialogPostion = %dialog.getPosition();
-
- %posX = ( %resX / 2 ) - ( %dialogWidth / 2 );
- %posY = ( %resY / 2 ) - ( %dialogHeight / 2 );
- %dialog.setPosition( %posX, %posY );
- }
|