Scorpion Дата: Понедельник, 26.03.2012, 15:02 | Сообщение # 1
Профессионал
Группа: Главный Администратор - Сайта
Сообщений: 126
Статус: Не в сети
Как сделать VS SCREEN с выбранной ареной?
Code
;---------------------------------------------------- [VS SCREEN] ;---------------------------------------------------- fadein.time = 0 fadeout.time = 0 p1.scale = 0, 0 p2.scale = 0, 0 p1.name.scale = 0, 0 p2.name.scale = 0, 0 time = 0 ;---------------------------------------------------- [VersusBGdef] ;---------------------------------------------------- [VersusBGdef] [VersusBG] type = D
В comon1.cns прописать:
Code
[Statedef 190] type = S ctrl = 0 start = 0,0 anim = 888 velset = 0,0,0 [State 190, sprite] type = Explod trigger1 = time = 1 anim = 9001 pos = 50,0 bindtime = -1 scale = .35,.35 removetime = 300 sprpriority = 5 [State 190, red] type = Explod trigger1 = time = 0 anim = 9002 pos = 50,0 bindtime = -1 scale = .35,.35 removetime = 300 sprpriority = 5 [State 190, loading] type = Explod trigger1 = time = 0 anim = F9752 Postype = Left pos = 156,20 bindtime = -1 scale = .40,.40 removetime = 300 sprpriority = 5 [State 190, loading bar] type = Explod trigger1 = time = 0 anim = F963 Postype = Left pos = 156,95 bindtime = -1 scale = 1,1 removetime = 300 sprpriority = 5 [State 190, vs] type = Explod trigger1 = time = 0 anim = F111 Postype = Left pos = 40,-270 bindtime = -1 scale = 1,1 removetime = 300 sprpriority = 5 [State 190, codes] type = Explod trigger1 = teamside = 1 facing = 1 trigger1 = time = 0 stateno = 111370 pos = 50,200 removetime = 300 postype = left [State 190, codes] type = Explod trigger1 = teamside = 2 facing = -1 trigger1 = time = 0 stateno = 111370 pos = 260,200 removetime = 300 postype = left [State 190, sound] type = Playsnd trigger1 = time = 1 value = F47,9 volume = 60 channel = 1 [State 190, IntroAssert] type = AssertSpecial trigger1 = 1 flag = Intro flag2 = nomusic [State 190, IntroAssert] type = AssertSpecial trigger1 = 1 flag = nobardisplay flag2 = noFG [State 190, end] type = ChangeState trigger1 = Time = 300 value = 1909 ;------------------------intro [Statedef 1909] type = S ctrl = 0 start = 0,0 anim = 191 velset = 0,0,0 [State 1909, IntroAssert] type = AssertSpecial trigger1 = 1 flag = Intro [State 190, end] type = ChangeState trigger1 = Time = 10 value = 0
Code
[State 190, codes] type = Explod trigger1 = teamside = 1 facing = 1 trigger1 = time = 0 anim = 9001 pos = 50,200 removetime = 300 postype = left [State 190, codes] type = Explod trigger1 = teamside = 2 facing = -1 trigger1 = time = 0 anim = 9001 pos = 260,200 removetime = 300 postype = left
И ещё надо добавить каждому персонажу анимацию 9001 из одного кадра - портрета.
Итог: Автор: dyadun