|
RU CLICKSРусский трафик
| |
Информация о теме:
Имеются 1 сообщений по данной теме,
которая была просмотрена 3131 раз.
|
|
|
|
|
Просмотр темы |
|
Текущий рейтинг: (Всего: 0 голосов) |
|
|
|
Опубликовано 24-12-2015 13:45
|
Супер Администратор
Сообщений: 2689
Вас поблагодарили: 23 раз(а) в 23 сообщениях
Зарегистрирован: 24.03.10
Со дня регистрации: 5148
Откуда: Россия
|
Первая панелька
println "Creat new panel"
def Shortcut = xdat.windows["FlightTransformCtrlWnd"]
def Windd = Shortcut.children["FlightShortCut"]
Shortcut.unk107 = 0
Shortcut.unk109 = 1
[
"F1Tex",
"F2Tex",
"F3Tex",
"F4Tex",
"F5Tex",
"F6Tex",
"F7Tex",
"F8Tex",
"F9Tex",
"F10Tex",
"F11Tex",
"F12Tex"
].each { rem ->
Shortcut.children[0].children.removeIf({ el ->
el.name == rem
})
}
[
"NumberBG",
"PageNumTextBox",
"NextBtn",
"PrevBtn",
"JoypadBtn",
"UnlockBtn",
"LockBtn",
"SelectTex"
].each { name ->
def element = Windd.children[name]
element.size_absolute_width = 0
element.size_absolute_height = 0
}
[
"Shortcut1",
"Shortcut2",
"Shortcut3",
"Shortcut4",
"Shortcut5",
"Shortcut6",
"Shortcut7",
"Shortcut8",
"Shortcut9",
"Shortcut10",
"Shortcut11",
"Shortcut12"
].each { name ->
def element2 = Windd.children[name]
element2.unk101 = false
}
println "done!"
Вторая панелька
println "Creat 2 panel"
def Shortcut = xdat.windows["FlightShipCtrlWnd"]
def Windd = Shortcut.children["FlightShortCut"]
def Win2 = Shortcut.children["FlightSteerWnd"]
Shortcut.unk107 = 0
Shortcut.unk109 = 1
Shortcut.size_absolute_height = 506
Shortcut.size_absolute_width = 46
Shortcut.children[0].unk114 = 3
Shortcut.children[0].unk101 = "L2UI_CT1.Windows_DF_Small_Bg"
Shortcut.children[0].size_abs olute_width = 46
Shortcut.children[0].size_absolute_height = 506
Shortcut.children[1].unk107 = 1
[
"F1Tex",
"F2Tex",
"F3Tex",
"F4Tex",
"F5Tex",
"F6Tex",
"F7Tex",
"F8Tex",
"F9Tex",
"F10Tex",
"F11Tex",
"F12Tex"
].each { rem ->
Shortcut.children[0].children.removeIf({ el ->
el.name == rem
})
}
[
"Shortcut1",
"Shortcut2",
"Shortcut3",
"Shortcut4",
"Shortcut5",
"Shortcut6",
"Shortcut7",
"Shortcut8",
"Shortcut9",
"Shortcut10",
"Shortcut11",
"Shortcut12"
].each { name ->
def element2 = Windd.children[name]
element2.unk101 = false
}
[
"JoypadBtn",
"UnlockBtn",
"LockBtn",
"SelectTex"
].each { name ->
def element = Windd.children[name]
element.size_absolute_width = 0
element.size_absolute_height = 0
}
[
bakdrop1 : [anchor_x: 6.0, anchor_y: 35.0],
bakdrop2 : [anchor_x: 6.0, anchor_y: 72.0],
bakdrop3 : [anchor_x: 6.0, anchor_y: 109.0],
bakdrop4 : [anchor_x: 6.0, anchor_y: 146.0],
bakdrop5 : [anchor_x: 6.0, anchor_y: 188.0],
bakdrop6 : [anchor_x: 6.0, anchor_y: 225.0],
bakdrop7 : [anchor_x: 6.0, anchor_y: 262.0],
bakdrop8 : [anchor_x: 6.0, anchor_y: 299.0],
bakdrop9 : [anchor_x: 6.0, anchor_y: 341.0],
bakdrop10 : [anchor_x: 6.0, anchor_y: 378.0],
bakdrop11 : [anchor_x: 6.0, anchor_y: 415.0],
bakdrop12 : [anchor_x: 6.0, anchor_y: 452.0],
Shortcut1 : [anchor_x: 7.0, anchor_y: 35.0],
Shortcut2 : [anchor_x: 7.0, anchor_y: 72.0],
Shortcut3 : [anchor_x: 7.0, anchor_y: 109.0],
Shortcut4 : [anchor_x: 7.0, anchor_y: 146.0],
Shortcut5 : [anchor_x: 7.0, anchor_y: 188.0],
Shortcut6 : [anchor_x: 7.0, anchor_y: 225.0],
Shortcut7 : [anchor_x: 7.0, anchor_y: 262.0],
Shortcut8 : [anchor_x: 7.0, anchor_y: 299.0],
Shortcut9 : [anchor_x: 7.0, anchor_y: 341.0],
Shortcut10 : [anchor_x: 7.0, anchor_y: 378.0],
Shortcut11 : [anchor_x: 7.0, anchor_y: 415.0],
Shortcut12 : [anchor_x: 7.0, anchor_y: 452.0]
].each { name, ps ->
def element = Shortcut.children[0].children[name]
ps.each { p, v ->
element."$p" = v
}
}
println "done"
|
|
|
|
|
|
|
Здесь присутствуют: 1 (пользователей: 0, гостей: 1) |
|
Перейти на форум:
|
|
|
|
Последние объявления |
|
|
Квест на Paladin, Pokemon GO (Пoкeмoн ГO) — гaйды, coвeты, ceкpeты игpы для нoвичкoв, Добыча кристаллов атрибута, All activation Windows 7-8-10 v.7.5 (MULTi/RUS/2016), Первые шаги в EVE, Советы новичкам, Смартфон больших скоростей Tag Heuer Racer, Наушники, Запись стрима с разработчиками Eternal Crusade, Ak47 или M4a1?, Где качатся, На протяжении всего дня мужчины могут посетить занятие в МАРТЭ БЕСПЛАТНО!, Квест на Bladedancer, Производство и исследования, Помощь студентам от РАЗДВАТРИ, Elixxir получил стратегическую инвестицию | |
|