res = graphics.resolution Size = {x = res.x * .5, y = res.y * .5} techButtonSize = {x = 50, y = 50} Pos = {x = res.x * .3, y = res.y * .1} margin = {top = 10, left = 10, right = 10, bottom = 10} baseTechPath = 'Icons/Technologies/' heightOffset = techButtonSize.y + 10 gui = { { guiType = GuiType.GUI_RECTANGLE, pos = Pos, zIndex = .9, size = Size, color = {x = 0, y = 0, z = 0, w = .6} }, { pos = {x = Pos.x + .5 * (Size.x - techButtonSize.x), y = Pos.y + margin.top}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'apt.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.APT, trigger = 82, }, { pos = {x = Pos.x + margin.left, y = Pos.y + margin.top + heightOffset}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'fpt.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.FPT, trigger = 82, }, { pos = {x = Pos.x + margin.left, y = Pos.y + margin.top + 2 * heightOffset}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'fpt.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.FPT, trigger = 82, }, { pos = {x = Pos.x + .5 * (Size.x - techButtonSize.x), y = Pos.y + margin.top + heightOffset}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'ept.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.EFT, trigger = 82, }, { pos = {x = Pos.x + .5 * (Size.x - 3 * techButtonSize.x), y = Pos.y + margin.top + 2 * heightOffset}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'ept.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.EFT, trigger = 82, }, { pos = {x = Pos.x + .5 * (Size.x + 3 * techButtonSize.x), y = Pos.y + margin.top + 2 * heightOffset}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'ept.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.EFT, trigger = 82, }, { pos = {x = Pos.x + Size.x - (margin.right + techButtonSize.x), y = Pos.y + margin.top + heightOffset}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'pct.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.PCT, trigger = 82, }, { pos = {x = Pos.x + Size.x - (margin.right + 3 * techButtonSize.x), y = Pos.y + margin.top + 2 * heightOffset}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'pct.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.PCT, trigger = 82, }, { pos = {x = Pos.x + Size.x - (margin.right + techButtonSize.x), y = Pos.y + margin.top + 2 * heightOffset}, size = techButtonSize, name = "Research", imagePath = baseTechPath .. 'pct.jpg', guiType = GuiType.BUTTON, buttonType = ButtonType.RESEARCH, techId = TechId.PCT, trigger = 82, }, --[[ ]]-- }