XGM Forum
Сайт - Статьи - Проекты - Ресурсы - Блоги

Форуме в режиме ТОЛЬКО ЧТЕНИЕ. Вы можете задать вопросы в Q/A на сайте, либо создать свой проект или ресурс.
Вернуться   XGM Forum > Проекты> Кунсткамера> Секретные Наработки
Ник
Пароль
Войти через VK в один клик
Сайт использует только имя.

Ответ
 
vlad_C0M
Босс DarkSkyTeam
offline
Опыт: 10,459
Активность:
Мультиборд DWTTS
call TriggerSleepAction( 0.01 )
----------------------------------------------------------------------
call CreateMultiboardBJ( 2, 28,"Информация" )
set udg_MB[i] = GetLastCreatedMultiboard()
----------------------------------------------------------------------
call MultiboardSetTitleTextColorBJ( udg_MB[i], 100, 80, 20, 20.00 )
call MultiboardDisplayBJ( true, udg_MB[i] )
call MultiboardMinimizeBJ( true, udg_MB[i] )
call MultiboardSetItemWidthBJ( udg_MB[i], 1, 0, 12.50 )
call MultiboardSetItemWidthBJ( udg_MB[i], 2, 0, 5.00 )
call MultiboardSetItemIconBJ( udg_MB[i], 1, 2, (("ReplaceableTextures\\CommandButtons\\BTNThoriumMelee.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 2, ("|cFFC8C5A8: : Режущие |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 2, ("|cFFFFCC33: : " + (I2S(udg_Possession_Weapon_bl[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 3, (("ReplaceableTextures\\CommandButtons\\BTNStormHammer.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 3, ("|cFFC8C5A8: : Дробящие |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 3, ("|cFFFFCC33: : " + (I2S(udg_Possession_Weapon_st[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 4, (("ReplaceableTextures\\CommandButtons\\BTNSpiritWalkerAdeptTraining.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 4, ("|cFFC8C5A8: : Рубящие |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 4, ("|cFFFFCC33: : " + (I2S(udg_Possession_Weapon_mu[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 5, (("ReplaceableTextures\\CommandButtons\\BTNStrengthOfTheMoon.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 5, ("|cFFC8C5A8: : Острые |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 5, ("|cFFFFCC33: : " + (I2S(udg_Possession_Weapon_ki[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 6, (("ReplaceableTextures\\CommandButtons\\BTNAdvancedStrengthOfTheMoon.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 6, ("|cFFC8C5A8: : Магические |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 6, ("|cFFFFCC33: : " + (I2S(udg_Possession_Weapon_mg[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 7, (("ReplaceableTextures\\CommandButtons\\BTNVorpalBlades.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 7, ("|cFFC1B08E: : Нападение |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 7, ("|cFFFFCC33: : " + (I2S(udg_Possession_Strategy_of_fight[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 8, (("ReplaceableTextures\\CommandButtons\\BTNDefend.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 8, ("|cFFC1B08E: : Тактика |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 8, ("|cFFFFCC33: : " + (I2S(udg_Possession_Tactics[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 9, (("ReplaceableTextures\\CommandButtons\\BTNPeriapt1.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 9, ("|cFFC1B08E: : Доминирование |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 9, ("|cFFFFCC33: : " + (I2S(udg_Possession_Domination[i])) +" |r"))

call MultiboardSetItemIconBJ( udg_MB[i], 1, 12, (("ReplaceableTextures\\CommandButtons\\BTNSearingArrows.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 12, ("|cFFBBBBFF: : Магия огня |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 12, ("|cFFFFCC33: : " + (I2S(udg_Exp_Magic_Of_Fire[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 13, (("ReplaceableTextures\\CommandButtons\\BTNFreezingBreath.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 13, ("|cFFBBBBFF: : Магия воды |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 13, ("|cFFFFCC33: : " + (I2S(udg_Exp_Magic_Of_Water[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 14, (("ReplaceableTextures\\CommandButtons\\BTNWandOfShadowSight.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 14, ("|cFFBBBBFF: : Магия земли |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 14, ("|cFFFFCC33: : " + (I2S(udg_Exp_Magic_Of_Earth[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 15, (("ReplaceableTextures\\CommandButtons\\BTNStaffOfPreservation.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 15, ("|cFFBBBBFF: : Магия воздуха |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 15, ("|cFFFFCC33: : " + (I2S(udg_Exp_Magic_Of_Wind[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 15, (("ReplaceableTextures\\CommandButtons\\BTNFarSight.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 15, ("|cFFBBBBFF: : Магия жизни |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 15, ("|cFFFFCC33: : " + (I2S(udg_Exp_Magic_Of_Life[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 16, (("ReplaceableTextures\\CommandButtons\\BTNAnimateDead.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 16, ("|cFFBBBBFF: : Некрономика |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 16, ("|cFFFFCC33: : " + (I2S(udg_Exp_Magic_Of_Necro[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 17, (("ReplaceableTextures\\CommandButtons\\BTNWispSplode.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 17, ("|cFFB76FFF: : Мистицизм |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 17, ("|cFFFFCC33: : " + (I2S(udg_Possession_Mysticism[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 18, (("ReplaceableTextures\\CommandButtons\\BTNMoonStone.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 18, ("|cFFA2A2FD: : Мудрость |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 18, ("|cFFFFCC33: : " + (I2S(udg_Possession_Ability_LEARN[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 24, (("ReplaceableTextures\\CommandButtons\\BTNVialFull.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 24, ("|cFFC1B08E: : Алхимия |r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 24, ("|cFFFFCC33: : " + (I2S(udg_Possession_Alchemy[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 25, (("ReplaceableTextures\\CommandButtons\\BTNVolcano.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 25, ("|cFFC1B08E: : Кузнечное дело|r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 25, ("|cFFFFCC33: : " + (I2S(udg_Possession_Forge[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 26, (("ReplaceableTextures\\CommandButtons\\BTNWandSkull.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 26, ("|cFFC1B08E: : Ткатское дело|r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 26, ("|cFFFFCC33: : " + (I2S(udg_Possession_Sewing[i])) +" |r"))
call MultiboardSetItemIconBJ( udg_MB[i], 1, 27, (("ReplaceableTextures\\CommandButtons\\BTNPillage.blp")))
call MultiboardSetItemValueBJ( udg_MB[i], 1, 27, ("|cFFC1B08E: : Находчивость|r") )
call MultiboardSetItemValueBJ( udg_MB[i], 2, 27, ("|cFFFFCC33: : " + (I2S(udg_Possession_Larceny[i])) +" |r"))
--------------------------- Ниженаписанная функция является общедоступной. Взята с Wc3Jass.Com.
--------------------------- Но она тоже была использована в DWTTS
function CinematicFadeWithUI takes real red, real green, real blue, real duration, string tex, real startTrans, real endTrans returns nothing
if (duration == 0) then
If the fade is instant, use the same starting and ending values,
so that we effectively do a set rather than a fade.
set startTrans = endTrans
endif
call SetCineFilterTexture(tex)
call SetCineFilterBlendMode(BLEND_MODE_BLEND)
call SetCineFilterTexMapFlags(TEXMAP_FLAG_NONE)
call SetCineFilterStartUV(0, 0, 1, 1)
call SetCineFilterEndUV(0, 0, 1, 1)
call SetCineFilterStartColor(PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100-startTrans))
call SetCineFilterEndColor(PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100-endTrans))
call SetCineFilterDuration(duration)
call DisplayCineFilter(true)
endfunction
Старый 08.07.2006, 12:22
Ответ

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск

Ваши права в разделе
Вы не можете создавать темы
Вы не можете отвечать на сообщения
Вы не можете прикреплять файлы
Вы можете скачивать файлы

BB-коды Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход



Часовой пояс GMT +3, время: 22:50.