| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849 |
- //--- OBJECT WRITE BEGIN ---
- %guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow, EditorGuiGroup) {
- text = "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 = getWord($pref::Video::mode, 0) - 209 - 209 SPC getWord(EditorGuiToolbar.extent, 1) - 1;
- extent = "210 272";
- MinExtent = "210 253";
- 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 = "202 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 = "202 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 = "192 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 = "ToolsGuiSliderProfile";
- 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(){
- bitmap = "tools/gui/images/inactive-overlay";
- position = "57 19";
- Extent = "122 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 = "67 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 = "67 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 = "67 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 = "67 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 = "67 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 87";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "inspectorStyleRolloutDarkProfile";
- isContainer = "1";
- new GuiTextCtrl() { // Header
- text = "Imposters";
- position = "4 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 = "113 2";
- Extent = "83 13";
- MinExtent = "8 2";
- HorizSizing = "left";
- 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 = "68 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(){
- bitmap = "tools/gui/images/inactive-overlay";
- position = "4 18";
- Extent = "193 64";
- 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 = "202 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 = "202 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 = "202 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 = "139 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 = "GuiShapeEdScrollProfile";
- 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 = "GuiShapeEdTextListProfile";
- 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() {
- bitmap = "tools/gui/images/delete";
- 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() {
- bitmap = "tools/gui/images/new";
- 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 = "ToolsGuiSliderProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Drag the slider to scrub through the sequence keyframes";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmap = "tools/shapeEditor/images/playfwd_btn";
- 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 = "202 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 = "GuiShapeEdScrollProfile";
- 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 = "GuiShapeEdTextListProfile";
- 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 = "157 124";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "GuiShapeEdScrollProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiTextListCtrl() {
- fitParentWidth = "1";
- clipColumnText = "1";
- Position = "1 1";
- extent = "155 11";
- MinExtent = "8 11";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "GuiShapeEdTextListProfile";
- Visible = "1";
- Command = "ShapeEdSequenceList.setSelectedById( $ThisControl.getSelectedId() );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- internalName = "seqList";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiBitmapButtonCtrl() {
- bitmap = "tools/gui/images/delete";
- 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() {
- bitmap = "tools/gui/images/new";
- 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 = "ToolsGuiSliderProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Drag the slider to scrub through the sequence keyframes";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmap = "tools/shapeEditor/images/playbkwd_btn";
- 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() {
- bitmap = "tools/shapeEditor/images/pause_btn";
- 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() {
- bitmap = "tools/shapeEditor/images/playfwd_btn";
- 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 = "202 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() {
- Profile = "ToolsGuiTextProfile";
- text = "Fit Type";
- position = "5 5";
- extent = "41 16";
- horizSizing = "right";
- vertSizing = "bottom";
- };
- new GuiPopUpMenuCtrl() {
- position = "70 4";
- extent = "108 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() {
- Profile = "ToolsGuiTextProfile";
- text = "Fit Target";
- position = "5 25";
- extent = "45 16";
- horizSizing = "right";
- vertSizing = "bottom";
- };
- new GuiPopUpMenuCtrl() {
- position = "70 24";
- extent = "108 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 = "53 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- };
- new GuiSliderCtrl() {
- range = "0 8";
- ticks = "4";
- snap = "0";
- value = "4";
- position = "70 48";
- extent = "104 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderProfile";
- 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 = "181 47";
- extent = "18 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- internalName = "hullDepthText";
- };
- new GuiTextCtrl() {
- text = "Merge %";
- position = "5 68";
- extent = "53 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- };
- new GuiSliderCtrl() {
- range = "0 60";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "70 69";
- extent = "104 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderProfile";
- 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 = "179 68";
- extent = "18 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- internalName = "hullMergeText";
- };
- new GuiTextCtrl() {
- text = "Concavity %";
- position = "5 89";
- extent = "59 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- };
- new GuiSliderCtrl() {
- range = "0 60";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "70 90";
- extent = "104 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderProfile";
- 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 = "179 89";
- extent = "18 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- internalName = "hullConcaveText";
- };
- new GuiTextCtrl() {
- text = "Max Verts";
- position = "5 110";
- extent = "53 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- };
- new GuiSliderCtrl() {
- range = "8 64";
- ticks = "4";
- snap = "0";
- value = "32";
- position = "70 111";
- extent = "104 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderProfile";
- 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 = "179 110";
- extent = "18 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- internalName = "hullMaxVertsText";
- };
- new GuiTextCtrl() {
- text = "Box %";
- position = "5 131";
- extent = "53 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- };
- new GuiSliderCtrl() {
- range = "0 100";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "70 132";
- extent = "104 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderProfile";
- 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 = "179 131";
- extent = "18 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- internalName = "hullMaxBoxErrorText";
- };
- new GuiTextCtrl() {
- text = "Sphere %";
- position = "5 152";
- extent = "53 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- };
- new GuiSliderCtrl() {
- range = "0 100";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "70 153";
- extent = "104 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderProfile";
- 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 = "179 152";
- extent = "18 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- internalName = "hullMaxSphereErrorText";
- };
- new GuiTextCtrl() {
- text = "Capsule %";
- position = "5 173";
- extent = "53 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- };
- new GuiSliderCtrl() {
- range = "0 100";
- ticks = "4";
- snap = "0";
- value = "30";
- position = "70 174";
- extent = "104 14";
- MinExtent = "8 2";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "ToolsGuiSliderProfile";
- 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 = "179 173";
- extent = "18 16";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiTextProfile";
- internalName = "hullMaxCapsuleErrorText";
- };
- new GuiButtonCtrl() {
- text = "Update Hulls";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "7 200";
- extent = "88 18";
- 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 = "105 200";
- extent = "88 18";
- 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() {
- bitmap = "tools/gui/images/inactive-overlay";
- position = "0 47";
- extent = "199 175";
- 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 );
- }
|