NavEditorGui.gui 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiNavEditorCtrl(NavEditorGui, EditorGuiGroup) {
  3. canSaveDynamicFields = "0";
  4. Enabled = "1";
  5. isContainer = "1";
  6. Profile = "NavEditorProfile";
  7. HorizSizing = "width";
  8. VertSizing = "height";
  9. Position = "0 0";
  10. Extent = "800 600";
  11. MinExtent = "8 8";
  12. canSave = "1";
  13. Visible = "1";
  14. tooltipprofile = "GuiToolTipProfile";
  15. hovertime = "1000";
  16. Docking = "None";
  17. Margin = "0 0 0 0";
  18. Padding = "0 0 0 0";
  19. AnchorTop = "0";
  20. AnchorBottom = "0";
  21. AnchorLeft = "0";
  22. AnchorRight = "0";
  23. cameraZRot = "0";
  24. forceFOV = "0";
  25. renderMissionArea = "0";
  26. missionAreaFillColor = "255 0 0 20";
  27. missionAreaFrameColor = "255 0 0 128";
  28. allowBorderMove = "0";
  29. borderMovePixelSize = "20";
  30. borderMoveSpeed = "0.1";
  31. consoleFrameColor = "255 0 0 255";
  32. consoleFillColor = "0 0 0 0";
  33. consoleSphereLevel = "1";
  34. consoleCircleSegments = "32";
  35. consoleLineWidth = "1";
  36. GizmoProfile = "GlobalGizmoProfile";
  37. new GuiWindowCollapseCtrl(NavEditorTreeWindow) {
  38. internalName = "";
  39. canSaveDynamicFields = "0";
  40. Enabled = "1";
  41. isContainer = "1";
  42. Profile = "GuiWindowProfile";
  43. HorizSizing = "windowRelative";
  44. VertSizing = "windowRelative";
  45. Position = getWord($pref::Video::mode, 0) - 209
  46. SPC getWord(EditorGuiToolbar.extent, 1) - 1;
  47. Extent = "210 167";
  48. MinExtent = "210 100";
  49. canSave = "1";
  50. isDecoy = "0";
  51. Visible = "1";
  52. tooltipprofile = "GuiToolTipProfile";
  53. hovertime = "1000";
  54. Margin = "0 0 0 0";
  55. Padding = "0 0 0 0";
  56. AnchorTop = "1";
  57. AnchorBottom = "0";
  58. AnchorLeft = "1";
  59. AnchorRight = "0";
  60. resizeWidth = "1";
  61. resizeHeight = "1";
  62. canMove = "1";
  63. canClose = "0";
  64. canMinimize = "0";
  65. canMaximize = "0";
  66. minSize = "50 50";
  67. EdgeSnap = "1";
  68. text = "Navigation";
  69. new GuiButtonCtrl() {
  70. Profile = "GuiButtonProfile";
  71. buttonType = "PushButton";
  72. HorizSizing = "right";
  73. VertSizing = "bottom";
  74. position = "115 2";
  75. extent = "90 18";
  76. text = "New NavMesh";
  77. command = "Canvas.pushDialog(CreateNewNavMeshDlg);";
  78. };
  79. new GuiContainer(){
  80. profile = GuiDefaultProfile;
  81. Position = "5 25";
  82. Extent = "200 120";
  83. Docking = "Client";
  84. Margin = "3 1 3 3 ";
  85. HorizSizing = "width";
  86. VertSizing = "height";
  87. isContainer = "1";
  88. new GuiScrollCtrl() {
  89. canSaveDynamicFields = "0";
  90. Enabled = "1";
  91. isContainer = "1";
  92. Profile = "GuiEditorScrollProfile";
  93. HorizSizing = "width";
  94. VertSizing = "height";
  95. Position = "0 0";
  96. Extent = "200 118";
  97. MinExtent = "8 8";
  98. canSave = "1";
  99. isDecoy = "0";
  100. Visible = "1";
  101. tooltipprofile = "GuiToolTipProfile";
  102. hovertime = "1000";
  103. Docking = "Client";
  104. Margin = "0 0 0 0";
  105. Padding = "0 0 0 0";
  106. AnchorTop = "1";
  107. AnchorBottom = "0";
  108. AnchorLeft = "1";
  109. AnchorRight = "0";
  110. willFirstRespond = "1";
  111. hScrollBar = "alwaysOff";
  112. vScrollBar = "dynamic";
  113. lockHorizScroll = "true";
  114. lockVertScroll = "false";
  115. constantThumbHeight = "0";
  116. childMargin = "0 0";
  117. mouseWheelScrollSpeed = "-1";
  118. new GuiTreeViewCtrl(NavTreeView) {
  119. canSaveDynamicFields = "0";
  120. Enabled = "1";
  121. isContainer = "1";
  122. Profile = "ToolsGuiTreeViewProfile";
  123. HorizSizing = "right";
  124. VertSizing = "bottom";
  125. Position = "1 1";
  126. Extent = "193 21";
  127. MinExtent = "8 8";
  128. canSave = "1";
  129. Visible = "1";
  130. hovertime = "1000";
  131. tabSize = "16";
  132. textOffset = "2";
  133. fullRowSelect = "0";
  134. itemHeight = "21";
  135. destroyTreeOnSleep = "1";
  136. MouseDragging = "0";
  137. MultipleSelections = "0";
  138. DeleteObjectAllowed = "1";
  139. DragToItemAllowed = "0";
  140. showRoot = "0";
  141. internalNamesOnly = "0";
  142. };
  143. };
  144. };
  145. };
  146. new GuiWindowCollapseCtrl(NavEditorOptionsWindow) {
  147. internalName = "Window";
  148. canSaveDynamicFields = "0";
  149. Enabled = "1";
  150. isContainer = "1";
  151. Profile = "GuiWindowProfile";
  152. HorizSizing = "windowRelative";
  153. VertSizing = "windowRelative";
  154. Position = getWord($pref::Video::mode, 0) - 209
  155. SPC getWord(EditorGuiToolbar.extent, 1) + getWord(NavEditorTreeWindow.extent, 1) - 2;
  156. Extent = "210 530";
  157. MinExtent = "210 300";
  158. canSave = "1";
  159. Visible = "1";
  160. tooltipprofile = "GuiToolTipProfile";
  161. hovertime = "1000";
  162. Margin = "0 0 0 0";
  163. Padding = "0 0 0 0";
  164. AnchorTop = "0";
  165. AnchorBottom = "0";
  166. AnchorLeft = "0";
  167. AnchorRight = "0";
  168. resizeWidth = "1";
  169. resizeHeight = "1";
  170. canMove = "1";
  171. canClose = "0";
  172. canMinimize = "0";
  173. canMaximize = "0";
  174. minSize = "50 50";
  175. EdgeSnap = "1";
  176. text = "Properties";
  177. new GuiContainer(){ //Actions
  178. isContainer = "1";
  179. Profile = "inspectorStyleRolloutDarkProfile";
  180. HorizSizing = "width";
  181. VertSizing = "bottom";
  182. Position = "4 24";
  183. Extent = "202 85";
  184. Docking = "Top";
  185. Margin = "3 3 3 3";
  186. internalName = "ActionsBox";
  187. new GuiTextCtrl(){
  188. Profile = "GuiDefaultProfile";
  189. HorizSizing = "right";
  190. VertSizing = "bottom";
  191. Position = "5 0";
  192. Extent = "86 18";
  193. text = "Actions";
  194. };
  195. new GuiStackControl()
  196. {
  197. internalName = "SelectActions";
  198. position = "7 21";
  199. extent = "190 64";
  200. new GuiButtonCtrl() {
  201. Profile = "GuiButtonProfile";
  202. buttonType = "PushButton";
  203. HorizSizing = "right";
  204. VertSizing = "bottom";
  205. Extent = "182 18";
  206. text = "Build NavMesh";
  207. command = "NavEditorGui.buildSelectedMeshes();";
  208. };
  209. new GuiControl() {
  210. profile = "GuiDefaultProfile";
  211. Extent = "182 20";
  212. position = "0 20";
  213. new GuiCheckboxCtrl() {
  214. internalName = "BackgroundBuildButton";
  215. text = "Background";
  216. groupNum = "-1";
  217. buttonType = "ToggleButton";
  218. useMouseEvents = "0";
  219. extent = "75 20";
  220. minExtent = "8 2";
  221. profile = "GuiCheckBoxProfile";
  222. visible = "1";
  223. active = "1";
  224. variable = "NavEditorGui.backgroundBuild";
  225. tooltipProfile = "GuiToolTipProfile";
  226. hovertime = "1000";
  227. isContainer = "0";
  228. canSave = "1";
  229. canSaveDynamicFields = "0";
  230. };
  231. new GuiCheckboxCtrl() {
  232. position = "75 0";
  233. internalName = "SaveIntermediatesButton";
  234. text = "Keep intermediates";
  235. groupNum = "-1";
  236. buttonType = "ToggleButton";
  237. useMouseEvents = "0";
  238. extent = "105 20";
  239. profile = "GuiCheckBoxProfile";
  240. visible = "1";
  241. active = "1";
  242. variable = "NavEditorGui.saveIntermediates";
  243. tooltipProfile = "GuiToolTipProfile";
  244. hovertime = "1000";
  245. isContainer = "0";
  246. canSave = "1";
  247. canSaveDynamicFields = "0";
  248. };
  249. };
  250. new GuiCheckboxCtrl() {
  251. internalName = "BuildSoundButton";
  252. text = "Play sound when done";
  253. groupNum = "-1";
  254. buttonType = "ToggleButton";
  255. useMouseEvents = "0";
  256. extent = "150 20";
  257. minExtent = "8 2";
  258. profile = "GuiCheckBoxProfile";
  259. visible = "1";
  260. active = "1";
  261. variable = "NavEditorGui.playSoundWhenDone";
  262. tooltipProfile = "GuiToolTipProfile";
  263. hovertime = "1000";
  264. isContainer = "0";
  265. canSave = "1";
  266. canSaveDynamicFields = "0";
  267. };
  268. };
  269. new GuiStackControl()
  270. {
  271. internalName = "LinkActions";
  272. position = "7 21";
  273. extent = "190 64";
  274. new GuiButtonCtrl() {
  275. Profile = "GuiButtonProfile";
  276. buttonType = "PushButton";
  277. HorizSizing = "right";
  278. VertSizing = "bottom";
  279. Extent = "182 18";
  280. text = "Rebuild links";
  281. command = "NavEditorGui.buildLinks();";
  282. };
  283. };
  284. new GuiStackControl()
  285. {
  286. internalName = "CoverActions";
  287. position = "7 21";
  288. extent = "190 64";
  289. new GuiButtonCtrl() {
  290. Profile = "GuiButtonProfile";
  291. buttonType = "PushButton";
  292. HorizSizing = "right";
  293. VertSizing = "bottom";
  294. Extent = "182 18";
  295. text = "Create Cover";
  296. command = "NavEditorGui.createCoverPoints();";
  297. };
  298. new GuiButtonCtrl() {
  299. Profile = "GuiButtonProfile";
  300. buttonType = "PushButton";
  301. HorizSizing = "right";
  302. VertSizing = "bottom";
  303. Extent = "182 18";
  304. text = "Delete Cover";
  305. command = "NavEditorGui.deleteCoverPoints();";
  306. };
  307. };
  308. new GuiStackControl()
  309. {
  310. internalName = "TileActions";
  311. position = "7 21";
  312. extent = "190 64";
  313. new GuiButtonCtrl() {
  314. Profile = "GuiButtonProfile";
  315. buttonType = "PushButton";
  316. HorizSizing = "right";
  317. VertSizing = "bottom";
  318. Extent = "182 18";
  319. text = "Rebuild tile";
  320. command = "NavEditorGui.buildTile();";
  321. };
  322. };
  323. new GuiStackControl()
  324. {
  325. internalName = "TestActions";
  326. position = "7 21";
  327. extent = "190 64";
  328. new GuiButtonCtrl() {
  329. Profile = "GuiButtonProfile";
  330. buttonType = "PushButton";
  331. HorizSizing = "right";
  332. VertSizing = "bottom";
  333. Extent = "180 18";
  334. text = "Spawn";
  335. command = "NavEditorGui.spawnPlayer();";
  336. };
  337. new GuiControl() {
  338. profile = "GuiDefaultProfile";
  339. Extent = "190 18";
  340. new GuiButtonCtrl() {
  341. Profile = "GuiButtonProfile";
  342. buttonType = "PushButton";
  343. HorizSizing = "right";
  344. VertSizing = "bottom";
  345. Extent = "90 18";
  346. text = "Delete";
  347. command = "NavEditorGui.getPlayer().delete();";
  348. };
  349. new GuiButtonCtrl() {
  350. position = "100 0";
  351. Profile = "GuiButtonProfile";
  352. buttonType = "PushButton";
  353. HorizSizing = "right";
  354. VertSizing = "bottom";
  355. Extent = "90 18";
  356. text = "Find cover";
  357. command = "NavEditorGui.findCover();";
  358. };
  359. };
  360. new GuiControl() {
  361. profile = "GuiDefaultProfile";
  362. Extent = "190 18";
  363. new GuiButtonCtrl() {
  364. Profile = "GuiButtonProfile";
  365. buttonType = "PushButton";
  366. HorizSizing = "right";
  367. VertSizing = "bottom";
  368. Extent = "90 18";
  369. text = "Follow";
  370. command = "NavEditorGui.followObject();";
  371. };
  372. new GuiButtonCtrl() {
  373. position = "100 0";
  374. Profile = "GuiButtonProfile";
  375. buttonType = "PushButton";
  376. HorizSizing = "right";
  377. VertSizing = "bottom";
  378. Extent = "90 18";
  379. text = "Stop";
  380. command = "NavEditorGui.getPlayer().stop();";
  381. };
  382. };
  383. };
  384. };
  385. new GuiContainer(){
  386. isContainer = "1";
  387. Profile = "inspectorStyleRolloutDarkProfile";
  388. HorizSizing = "width";
  389. VertSizing = "bottom";
  390. Position = "4 112";
  391. Extent = "202 31";
  392. Docking = "Top";
  393. Margin = "0 0 3 3";
  394. new GuiTextCtrl(){
  395. Profile = "GuiDefaultProfile";
  396. HorizSizing = "right";
  397. VertSizing = "bottom";
  398. Position = "5 0";
  399. Extent = "121 18";
  400. text = "Properties";
  401. };
  402. };
  403. new GuiScrollCtrl() {
  404. canSaveDynamicFields = "0";
  405. Enabled = "1";
  406. isContainer = "1";
  407. Profile = "GuiEditorScrollProfile";
  408. HorizSizing = "width";
  409. VertSizing = "height";
  410. Position = "4 129";
  411. Extent = "202 357";
  412. MinExtent = "8 2";
  413. canSave = "1";
  414. Visible = "1";
  415. tooltipprofile = "GuiToolTipProfile";
  416. hovertime = "1000";
  417. Docking = "Client";
  418. Margin = "-14 41 3 3";
  419. Padding = "0 0 0 0";
  420. AnchorTop = "0";
  421. AnchorBottom = "0";
  422. AnchorLeft = "0";
  423. AnchorRight = "0";
  424. willFirstRespond = "1";
  425. hScrollBar = "alwaysOff";
  426. vScrollBar = "dynamic";
  427. lockHorizScroll = "true";
  428. lockVertScroll = "false";
  429. constantThumbHeight = "0";
  430. childMargin = "0 0";
  431. internalName = "PropertiesBox";
  432. new GuiInspector(NavInspector) {
  433. StackingType = "Vertical";
  434. HorizStacking = "Left to Right";
  435. VertStacking = "Top to Bottom";
  436. Padding = "1";
  437. name = "NavInspector";
  438. canSaveDynamicFields = "0";
  439. Enabled = "1";
  440. isContainer = "1";
  441. Profile = "GuiTransparentProfile";
  442. HorizSizing = "width";
  443. VertSizing = "height";
  444. Position = "1 1";
  445. Extent = "178 16";
  446. MinExtent = "16 16";
  447. canSave = "1";
  448. Visible = "1";
  449. tooltipprofile = "GuiToolTipProfile";
  450. hovertime = "1000";
  451. dividerMargin = "5";
  452. };
  453. new GuiStackControl() {
  454. internalName = "LinkProperties";
  455. position = "7 21";
  456. extent = "186 64";
  457. padding = "2 2 2 2";
  458. new GuiCheckBoxCtrl() {
  459. internalName = "LinkWalkFlag";
  460. class = "NavMeshLinkFlagButton";
  461. text = " Walk";
  462. buttonType = "ToggleButton";
  463. useMouseEvents = "0";
  464. extent = "159 15";
  465. minExtent = "8 2";
  466. horizSizing = "right";
  467. vertSizing = "bottom";
  468. profile = "GuiCheckBoxProfile";
  469. visible = "1";
  470. active = "0";
  471. tooltipProfile = "GuiToolTipProfile";
  472. toolTip = "This link is just ordinary flat ground.";
  473. hovertime = "1000";
  474. isContainer = "0";
  475. canSave = "1";
  476. canSaveDynamicFields = "0";
  477. };
  478. new GuiCheckBoxCtrl() {
  479. internalName = "LinkJumpFlag";
  480. class = "NavMeshLinkFlagButton";
  481. text = " Jump";
  482. buttonType = "ToggleButton";
  483. useMouseEvents = "0";
  484. extent = "159 15";
  485. minExtent = "8 2";
  486. horizSizing = "right";
  487. vertSizing = "bottom";
  488. profile = "GuiCheckBoxProfile";
  489. visible = "1";
  490. active = "0";
  491. tooltipProfile = "GuiToolTipProfile";
  492. toolTip = "Does this link require a jump?";
  493. hovertime = "1000";
  494. isContainer = "0";
  495. canSave = "1";
  496. canSaveDynamicFields = "0";
  497. };
  498. new GuiCheckBoxCtrl() {
  499. internalName = "LinkDropFlag";
  500. class = "NavMeshLinkFlagButton";
  501. text = " Drop";
  502. buttonType = "ToggleButton";
  503. useMouseEvents = "0";
  504. extent = "159 15";
  505. minExtent = "8 2";
  506. horizSizing = "right";
  507. vertSizing = "bottom";
  508. profile = "GuiCheckBoxProfile";
  509. visible = "1";
  510. active = "0";
  511. tooltipProfile = "GuiToolTipProfile";
  512. toolTip = "Does this link involve a significant drop?";
  513. hovertime = "1000";
  514. isContainer = "0";
  515. canSave = "1";
  516. canSaveDynamicFields = "0";
  517. };
  518. new GuiCheckBoxCtrl() {
  519. internalName = "LinkLedgeFlag";
  520. class = "NavMeshLinkFlagButton";
  521. text = " Ledge";
  522. buttonType = "ToggleButton";
  523. useMouseEvents = "0";
  524. extent = "159 15";
  525. minExtent = "8 2";
  526. horizSizing = "right";
  527. vertSizing = "bottom";
  528. profile = "GuiCheckBoxProfile";
  529. visible = "1";
  530. active = "0";
  531. tooltipProfile = "GuiToolTipProfile";
  532. toolTip = "Should the character jump at the next ledge?";
  533. hovertime = "1000";
  534. isContainer = "0";
  535. canSave = "1";
  536. canSaveDynamicFields = "0";
  537. };
  538. new GuiCheckBoxCtrl() {
  539. internalName = "LinkClimbFlag";
  540. class = "NavMeshLinkFlagButton";
  541. text = " Climb";
  542. buttonType = "ToggleButton";
  543. useMouseEvents = "0";
  544. extent = "159 15";
  545. minExtent = "8 2";
  546. horizSizing = "right";
  547. vertSizing = "bottom";
  548. profile = "GuiCheckBoxProfile";
  549. visible = "1";
  550. active = "0";
  551. tooltipProfile = "GuiToolTipProfile";
  552. toolTip = "Does this link involve climbing?";
  553. hovertime = "1000";
  554. isContainer = "0";
  555. canSave = "1";
  556. canSaveDynamicFields = "0";
  557. };
  558. new GuiCheckBoxCtrl() {
  559. internalName = "LinkTeleportFlag";
  560. class = "NavMeshLinkFlagButton";
  561. text = " Teleport";
  562. buttonType = "ToggleButton";
  563. useMouseEvents = "0";
  564. extent = "159 15";
  565. minExtent = "8 2";
  566. horizSizing = "right";
  567. vertSizing = "bottom";
  568. profile = "GuiCheckBoxProfile";
  569. visible = "1";
  570. active = "0";
  571. tooltipProfile = "GuiToolTipProfile";
  572. toolTip = "Is this link a teleporter?";
  573. hovertime = "1000";
  574. isContainer = "0";
  575. canSave = "1";
  576. canSaveDynamicFields = "0";
  577. };
  578. };
  579. new GuiStackControl() {
  580. internalName = "TileProperties";
  581. position = "7 21";
  582. extent = "186 64";
  583. padding = "2 2 2 2";
  584. new GuiCheckBoxCtrl() {
  585. text = " Display input geometry";
  586. buttonType = "ToggleButton";
  587. useMouseEvents = "0";
  588. extent = "159 15";
  589. minExtent = "8 2";
  590. horizSizing = "right";
  591. vertSizing = "bottom";
  592. profile = "GuiCheckBoxProfile";
  593. visible = "1";
  594. active = "1";
  595. tooltipProfile = "GuiToolTipProfile";
  596. hovertime = "1000";
  597. isContainer = "0";
  598. canSave = "1";
  599. canSaveDynamicFields = "0";
  600. variable = "$Nav::Editor::renderInput";
  601. };
  602. new GuiCheckBoxCtrl() {
  603. text = " Display voxels";
  604. buttonType = "ToggleButton";
  605. useMouseEvents = "0";
  606. extent = "159 15";
  607. minExtent = "8 2";
  608. horizSizing = "right";
  609. vertSizing = "bottom";
  610. profile = "GuiCheckBoxProfile";
  611. visible = "1";
  612. active = "1";
  613. tooltipProfile = "GuiToolTipProfile";
  614. hovertime = "1000";
  615. isContainer = "0";
  616. canSave = "1";
  617. canSaveDynamicFields = "0";
  618. variable = "$Nav::Editor::renderVoxels";
  619. };
  620. };
  621. new GuiStackControl() {
  622. internalName = "TestProperties";
  623. position = "7 21";
  624. extent = "186 64";
  625. padding = "2 2 2 2";
  626. new GuiTextCtrl() {
  627. text = "Cover";
  628. profile = "GuiTextProfile";
  629. extent = "180 20";
  630. minExtent = "8 2";
  631. visible = "1";
  632. };
  633. new GuiTextEditCtrl() {
  634. internalName = "CoverRadius";
  635. text = "10";
  636. profile = "GuiTextEditProfile";
  637. extent = "40 20";
  638. minExtent = "8 2";
  639. visible = "1";
  640. tooltipProfile = "GuiToolTipProfile";
  641. toolTip = "Radius for cover-finding.";
  642. };
  643. new GuiTextEditCtrl() {
  644. internalName = "CoverPosition";
  645. text = "LocalClientConnection.getControlObject().getPosition();";
  646. profile = "GuiTextEditProfile";
  647. extent = "140 20";
  648. minExtent = "8 2";
  649. visible = "1";
  650. tooltipProfile = "GuiToolTipProfile";
  651. toolTip = "Position to find cover from.";
  652. };
  653. new GuiTextCtrl() {
  654. text = "Follow";
  655. profile = "GuiTextProfile";
  656. extent = "180 20";
  657. minExtent = "8 2";
  658. visible = "1";
  659. };
  660. new GuiTextEditCtrl() {
  661. internalName = "FollowRadius";
  662. text = "1";
  663. profile = "GuiTextEditProfile";
  664. extent = "40 20";
  665. minExtent = "8 2";
  666. visible = "1";
  667. tooltipProfile = "GuiToolTipProfile";
  668. toolTip = "Radius for following.";
  669. };
  670. new GuiTextEditCtrl() {
  671. internalName = "FollowObject";
  672. text = "LocalClientConnection.player";
  673. profile = "GuiTextEditProfile";
  674. extent = "140 20";
  675. minExtent = "8 2";
  676. visible = "1";
  677. tooltipProfile = "GuiToolTipProfile";
  678. toolTip = "Object to follow.";
  679. };
  680. new GuiTextCtrl() {
  681. text = "Movement";
  682. profile = "GuiTextProfile";
  683. extent = "180 20";
  684. minExtent = "8 2";
  685. visible = "1";
  686. };
  687. new GuiCheckBoxCtrl() {
  688. internalName = "LinkWalkFlag";
  689. class = "NavMeshTestFlagButton";
  690. text = " Walk";
  691. buttonType = "ToggleButton";
  692. useMouseEvents = "0";
  693. extent = "159 15";
  694. minExtent = "8 2";
  695. horizSizing = "right";
  696. vertSizing = "bottom";
  697. profile = "GuiCheckBoxProfile";
  698. visible = "1";
  699. active = "0";
  700. tooltipProfile = "GuiToolTipProfile";
  701. toolTip = "Can this character walk on ground?";
  702. hovertime = "1000";
  703. isContainer = "0";
  704. canSave = "1";
  705. canSaveDynamicFields = "0";
  706. };
  707. new GuiCheckBoxCtrl() {
  708. internalName = "LinkJumpFlag";
  709. class = "NavMeshTestFlagButton";
  710. text = " Jump";
  711. buttonType = "ToggleButton";
  712. useMouseEvents = "0";
  713. extent = "159 15";
  714. minExtent = "8 2";
  715. horizSizing = "right";
  716. vertSizing = "bottom";
  717. profile = "GuiCheckBoxProfile";
  718. visible = "1";
  719. active = "0";
  720. tooltipProfile = "GuiToolTipProfile";
  721. toolTip = "Can this character jump?";
  722. hovertime = "1000";
  723. isContainer = "0";
  724. canSave = "1";
  725. canSaveDynamicFields = "0";
  726. };
  727. new GuiCheckBoxCtrl() {
  728. internalName = "LinkDropFlag";
  729. class = "NavMeshTestFlagButton";
  730. text = " Drop";
  731. buttonType = "ToggleButton";
  732. useMouseEvents = "0";
  733. extent = "159 15";
  734. minExtent = "8 2";
  735. horizSizing = "right";
  736. vertSizing = "bottom";
  737. profile = "GuiCheckBoxProfile";
  738. visible = "1";
  739. active = "0";
  740. tooltipProfile = "GuiToolTipProfile";
  741. toolTip = "Can this character drop over edges?";
  742. hovertime = "1000";
  743. isContainer = "0";
  744. canSave = "1";
  745. canSaveDynamicFields = "0";
  746. };
  747. new GuiCheckBoxCtrl() {
  748. internalName = "LinkLedgeFlag";
  749. class = "NavMeshTestFlagButton";
  750. text = " Ledge";
  751. buttonType = "ToggleButton";
  752. useMouseEvents = "0";
  753. extent = "159 15";
  754. minExtent = "8 2";
  755. horizSizing = "right";
  756. vertSizing = "bottom";
  757. profile = "GuiCheckBoxProfile";
  758. visible = "1";
  759. active = "0";
  760. tooltipProfile = "GuiToolTipProfile";
  761. toolTip = "Can this character jump from ledges?";
  762. hovertime = "1000";
  763. isContainer = "0";
  764. canSave = "1";
  765. canSaveDynamicFields = "0";
  766. };
  767. new GuiCheckBoxCtrl() {
  768. internalName = "LinkClimbFlag";
  769. class = "NavMeshTestFlagButton";
  770. text = " Climb";
  771. buttonType = "ToggleButton";
  772. useMouseEvents = "0";
  773. extent = "159 15";
  774. minExtent = "8 2";
  775. horizSizing = "right";
  776. vertSizing = "bottom";
  777. profile = "GuiCheckBoxProfile";
  778. visible = "1";
  779. active = "0";
  780. tooltipProfile = "GuiToolTipProfile";
  781. toolTip = "Can this character climb?";
  782. hovertime = "1000";
  783. isContainer = "0";
  784. canSave = "1";
  785. canSaveDynamicFields = "0";
  786. };
  787. new GuiCheckBoxCtrl() {
  788. internalName = "LinkTeleportFlag";
  789. class = "NavMeshTestFlagButton";
  790. text = " Teleport";
  791. buttonType = "ToggleButton";
  792. useMouseEvents = "0";
  793. extent = "159 15";
  794. minExtent = "8 2";
  795. horizSizing = "right";
  796. vertSizing = "bottom";
  797. profile = "GuiCheckBoxProfile";
  798. visible = "1";
  799. active = "0";
  800. tooltipProfile = "GuiToolTipProfile";
  801. toolTip = "Can this character teleport?";
  802. hovertime = "1000";
  803. isContainer = "0";
  804. canSave = "1";
  805. canSaveDynamicFields = "0";
  806. };
  807. };
  808. };
  809. new GuiMLTextCtrl(NavFieldInfoControl) {
  810. canSaveDynamicFields = "0";
  811. Enabled = "1";
  812. isContainer = "0";
  813. Profile = "GuiInspectorFieldInfoMLTextProfile";
  814. HorizSizing = "width";
  815. VertSizing = "top";
  816. Position = "1 485";
  817. Extent = "202 42";
  818. MinExtent = "8 2";
  819. canSave = "1";
  820. Visible = "1";
  821. tooltipprofile = "GuiToolTipProfile";
  822. hovertime = "1000";
  823. lineSpacing = "2";
  824. allowColorChars = "0";
  825. maxChars = "-1";
  826. useURLMouseCursor = "0";
  827. };
  828. };
  829. };
  830. //--- OBJECT WRITE END ---