gameObjectCreator.gui 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(GameObjectCreator) {
  3. position = "0 0";
  4. extent = "1024 768";
  5. minExtent = "8 2";
  6. horizSizing = "right";
  7. vertSizing = "bottom";
  8. profile = "ToolsGuiDefaultNonModalProfile";
  9. visible = "1";
  10. active = "1";
  11. tooltipProfile = "GuiToolTipProfile";
  12. hovertime = "1000";
  13. isContainer = "1";
  14. canSave = "1";
  15. canSaveDynamicFields = "1";
  16. selectedEntity = "20054";
  17. new GuiWindowCtrl(CreateGameObjectWindow) {
  18. text = "Create GameObject";
  19. resizeWidth = "1";
  20. resizeHeight = "1";
  21. canMove = "1";
  22. canClose = "1";
  23. canMinimize = "0";
  24. canMaximize = "0";
  25. canCollapse = "0";
  26. closeCommand = "Canvas.popDialog(GameObjectCreator);";
  27. edgeSnap = "1";
  28. margin = "0 0 0 0";
  29. padding = "0 0 0 0";
  30. anchorTop = "1";
  31. anchorBottom = "0";
  32. anchorLeft = "1";
  33. anchorRight = "0";
  34. position = "328 322";
  35. extent = "368 123";
  36. minExtent = "48 92";
  37. horizSizing = "center";
  38. vertSizing = "center";
  39. profile = "ToolsGuiWindowProfile";
  40. visible = "1";
  41. active = "1";
  42. tooltipProfile = "ToolsGuiToolTipProfile";
  43. hovertime = "1000";
  44. isContainer = "1";
  45. canSave = "1";
  46. canSaveDynamicFields = "0";
  47. new GuiButtonCtrl(GameObjectCreateBtn) {
  48. text = "Done";
  49. groupNum = "-1";
  50. buttonType = "PushButton";
  51. useMouseEvents = "0";
  52. position = "224 92";
  53. extent = "64 22";
  54. minExtent = "8 2";
  55. horizSizing = "right";
  56. vertSizing = "bottom";
  57. profile = "ToolsGuiButtonProfile";
  58. visible = "1";
  59. active = "1";
  60. tooltipProfile = "ToolsGuiToolTipProfile";
  61. hovertime = "1000";
  62. isContainer = "0";
  63. canSave = "1";
  64. canSaveDynamicFields = "0";
  65. };
  66. new GuiButtonCtrl() {
  67. text = "Cancel";
  68. groupNum = "-1";
  69. buttonType = "PushButton";
  70. useMouseEvents = "0";
  71. position = "292 92";
  72. extent = "64 22";
  73. minExtent = "8 2";
  74. horizSizing = "right";
  75. vertSizing = "bottom";
  76. profile = "ToolsGuiButtonProfile";
  77. visible = "1";
  78. active = "1";
  79. command = "Canvas.popDialog(GameObjectCreator);";
  80. tooltipProfile = "ToolsGuiToolTipProfile";
  81. hovertime = "1000";
  82. isContainer = "0";
  83. canSave = "1";
  84. canSaveDynamicFields = "0";
  85. };
  86. new GuiTextCtrl(GameObjectCreatorObjectName) {
  87. text = "Game Object Name:";
  88. maxLength = "1024";
  89. margin = "0 0 0 0";
  90. padding = "0 0 0 0";
  91. anchorTop = "1";
  92. anchorBottom = "0";
  93. anchorLeft = "1";
  94. anchorRight = "0";
  95. position = "12 60";
  96. extent = "116 17";
  97. minExtent = "8 2";
  98. horizSizing = "right";
  99. vertSizing = "bottom";
  100. profile = "ToolsGuiTextProfile";
  101. visible = "1";
  102. active = "1";
  103. tooltipProfile = "GuiToolTipProfile";
  104. hovertime = "1000";
  105. isContainer = "1";
  106. canSave = "1";
  107. canSaveDynamicFields = "0";
  108. };
  109. new GuiTextCtrl() {
  110. text = "Target Module:";
  111. maxLength = "1024";
  112. margin = "0 0 0 0";
  113. padding = "0 0 0 0";
  114. anchorTop = "1";
  115. anchorBottom = "0";
  116. anchorLeft = "1";
  117. anchorRight = "0";
  118. position = "12 30";
  119. extent = "116 17";
  120. minExtent = "8 2";
  121. horizSizing = "right";
  122. vertSizing = "bottom";
  123. profile = "ToolsGuiTextProfile";
  124. visible = "1";
  125. active = "1";
  126. tooltipProfile = "GuiToolTipProfile";
  127. hovertime = "1000";
  128. isContainer = "1";
  129. canSave = "1";
  130. canSaveDynamicFields = "0";
  131. };
  132. new GuiBitmapButtonCtrl(GameObjectCreatorPkgBtn) {
  133. bitmapAsset = "ToolsModule:iconAdd_image";
  134. bitmapMode = "Centered";
  135. autoFitExtents = "0";
  136. useModifiers = "0";
  137. useStates = "1";
  138. masked = "0";
  139. groupNum = "-1";
  140. buttonType = "PushButton";
  141. useMouseEvents = "0";
  142. position = "342 27";
  143. extent = "22 22";
  144. minExtent = "8 2";
  145. horizSizing = "right";
  146. vertSizing = "bottom";
  147. profile = "ToolsGuiButtonProfile";
  148. visible = "1";
  149. active = "1";
  150. command = "Canvas.pushDialog(AssetBrowser_addModule);\nAssetBrowser_addModuleWindow.selectWindow();";
  151. tooltipProfile = "GuiToolTipProfile";
  152. hovertime = "1000";
  153. isContainer = "0";
  154. canSave = "1";
  155. canSaveDynamicFields = "0";
  156. };
  157. new GuiPopUpMenuCtrlEx(GameObjectModuleList) {
  158. maxPopupHeight = "200";
  159. sbUsesNAColor = "0";
  160. reverseTextList = "0";
  161. bitmapBounds = "16 16";
  162. hotTrackCallback = "0";
  163. text = "Characters";
  164. maxLength = "1024";
  165. margin = "0 0 0 0";
  166. padding = "0 0 0 0";
  167. anchorTop = "1";
  168. anchorBottom = "0";
  169. anchorLeft = "1";
  170. anchorRight = "0";
  171. position = "134 27";
  172. extent = "204 22";
  173. minExtent = "8 2";
  174. horizSizing = "right";
  175. vertSizing = "bottom";
  176. profile = "ToolsGuiPopupMenuProfile";
  177. visible = "1";
  178. active = "1";
  179. tooltipProfile = "GuiToolTipProfile";
  180. hovertime = "1000";
  181. isContainer = "1";
  182. canSave = "1";
  183. canSaveDynamicFields = "0";
  184. };
  185. new GuiTextEditCtrl(GameObjectCreatorName) {
  186. historySize = "0";
  187. tabComplete = "0";
  188. sinkAllKeyEvents = "0";
  189. password = "0";
  190. passwordMask = "*";
  191. maxLength = "1024";
  192. margin = "0 0 0 0";
  193. padding = "0 0 0 0";
  194. anchorTop = "1";
  195. anchorBottom = "0";
  196. anchorLeft = "1";
  197. anchorRight = "0";
  198. position = "116 60";
  199. extent = "234 18";
  200. minExtent = "8 2";
  201. horizSizing = "right";
  202. vertSizing = "bottom";
  203. profile = "ToolsGuiTextEditProfile";
  204. visible = "1";
  205. active = "1";
  206. tooltipProfile = "GuiToolTipProfile";
  207. hovertime = "1000";
  208. isContainer = "1";
  209. canSave = "1";
  210. canSaveDynamicFields = "0";
  211. };
  212. };
  213. };
  214. //--- OBJECT WRITE END ---