TeaM KingS
[center]Ola Convidado, seja bem vindo ao TeaM KingS !

Nós temos tutoriais sobre o WarCraft World Editor: se você tiver alguma duvida pode perguntar que os moderadores ou membros experientes vão lhe ajudar.

Para melhor utilizar nossos recursos é extremamente recomendado que esteja logado em nosso fórum e que leia o nosso regulamento oficial.

Também temos fóruns sobre DotA AllstarS, com guias, estratégias, e muito mais!




Participe do fórum, é rápido e fácil

TeaM KingS
[center]Ola Convidado, seja bem vindo ao TeaM KingS !

Nós temos tutoriais sobre o WarCraft World Editor: se você tiver alguma duvida pode perguntar que os moderadores ou membros experientes vão lhe ajudar.

Para melhor utilizar nossos recursos é extremamente recomendado que esteja logado em nosso fórum e que leia o nosso regulamento oficial.

Também temos fóruns sobre DotA AllstarS, com guias, estratégias, e muito mais!


TeaM KingS
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

[TUTORIAL] Multiboard e -Kills XXX

5 participantes

Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty [TUTORIAL] Multiboard e -Kills XXX

Mensagem por .Itap 2011-11-05, 22:59

Olá pessoal!

Estou trazendo-lhes mais um ótimo tutorial , que concerteza ajudará muitos de vocês! é um sistema de Mortes X
ou melhor dizendo -kills (Número de Kills para ganhar a partida por um determinado time) , que aliás é um sistema muito
utilizado por editores de mapas do estilo Arena.

O Sistema consiste em utilizar algumas variavéis , porém é bem simples de importar , utilizar e até mesmo entender!


TRIGGERS :

TRIGGER NÚMERO 1 : MULTIBOARD


EVENTS = Time - Elapsed game time is 1.00 seconds

CONDITIONS =

ACTIONS = Actions
Multiboard - Create a multiboard with 3 columns and 1 rows, titled Arena da Floresta E...
Set Multiboard = (Last created multiboard)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in TimeA) Greater than 0
Then - Actions
Set i = (i + 1)
Set RowA = i
Multiboard - Set the text for Multiboard item in column 1, row RowA to |c00ff0303Time Verm...
Multiboard - Set the icon for Multiboard item in column 2, row RowA to ReplaceableTextures\CommandButtons\BTNSteelMelee.blp
Multiboard - Set the icon for Multiboard item in column 3, row RowA to ReplaceableTextures\CommandButtons\BTNAnimateDead.blp
Player Group - Pick every player in TimeA and do (Actions)
Loop - Actions
Set i = (i + 1)
Set PlayerIndex[(Player number of (Picked player))] = i
Multiboard - Change the number of rows for Multiboard to i
Multiboard - Set the text for Multiboard item in column 1, row i to (Name of (Picked player))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in TimeB) Greater than 0
Then - Actions
Set i = (i + 1)
Set RowB = i
Multiboard - Change the number of rows for Multiboard to i
Multiboard - Set the text for Multiboard item in column 1, row RowB to |c000000ffTime Azul...
Multiboard - Set the icon for Multiboard item in column 2, row RowB to ReplaceableTextures\CommandButtons\BTNSteelMelee.blp
Multiboard - Set the icon for Multiboard item in column 3, row RowB to ReplaceableTextures\CommandButtons\BTNAnimateDead.blp
Player Group - Pick every player in TimeB and do (Actions)
Loop - Actions
Set i = (i + 1)
Set PlayerIndex[(Player number of (Picked player))] = i
Multiboard - Change the number of rows for Multiboard to i
Multiboard - Set the text for Multiboard item in column 1, row i to (Name of (Picked player))
Else - Actions
Set i = (i + 1)
Set RowK = i
Multiboard - Change the number of rows for Multiboard to i
Multiboard - Set the text for Multiboard item in column 1, row i to (Matem + ((String(k)) + para vencer!))
-------- --------
Multiboard - Set the width for Multiboard item in column 0, row 0 to 3.20% of the total screen width
Multiboard - Set the width for Multiboard item in column 1, row 0 to 10.00% of the total screen width
Multiboard - Set the width for Multiboard item in column 0, row RowK to 0.00% of the total screen width
Multiboard - Set the width for Multiboard item in column 1, row RowK to 16.40% of the total screen width
-------- --------
Multiboard - Set the text for Multiboard item in column 2, row 0 to 0
Multiboard - Set the text for Multiboard item in column 3, row 0 to 0
-------- --------
Multiboard - Set the display style for Multiboard item in column 0, row 0 to Show text and Hide icons
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RowA Not equal to 0
Then - Actions
Multiboard - Set the display style for Multiboard item in column 2, row RowA to Show text and Show icons
Multiboard - Set the display style for Multiboard item in column 3, row RowA to Show text and Show icons
Multiboard - Set the color for Multiboard item in column 0, row RowA to (100.00%, 80.00%, 20.00%) with 0.00% transparency
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RowB Not equal to 0
Then - Actions
Multiboard - Set the display style for Multiboard item in column 2, row RowB to Show text and Show icons
Multiboard - Set the display style for Multiboard item in column 3, row RowB to Show text and Show icons
Multiboard - Set the color for Multiboard item in column 0, row RowB to (100.00%, 80.00%, 20.00%) with 0.00% transparency
Else - Actions
-------- --------
Multiboard - Set the color for Multiboard item in column 0, row RowK to (100.00%, 100.00%, 0.00%) with 0.00% transparency
-------- --------
Multiboard - Minimize Multiboard
Multiboard - Maximize Multiboard


TRIGGER NÚMERO 2 : PLAYERS GROUPS BR

EVENTS = Map initialization

CONDITIONS =

ACTIONS = Actions
Set k = 1
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) slot status) Equal to Is playing
Then - Actions
Player Group - Add (Player((Integer A))) to TimeA
Else - Actions
For each (Integer A) from 6 to 10, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) slot status) Equal to Is playing
Then - Actions
Player Group - Add (Player((Integer A))) to TimeB
Else - Actions

TRIGGER NÚMERO 3 : KILLS

EVENTS = Player - Player 1 (Red) types a chat message containing -kills as A substring

CONDITIONS =

ACTIONS = Actions
Set k = (Integer((Substring((Entered chat string), 8, 3))))
Trigger - Turn off (This trigger)
Game - Display to (All players) the text: (|cffffcc00Kills :|c008080FF + (String(k)))
Multiboard - Set the text for Multiboard item in column 1, row RowK to (Matem + ((String(k)) + para vencer!))


TRIGGER NÚMERO 4 = KILLS 2

EVENTS = Unit - A unit Dies

CONDITIONS = ((Triggering unit) is A Hero) Equal to True

ACTIONS = Actions
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Set Deaths[(Player number of (Owner of (Triggering unit)))] = (Deaths[(Player number of (Owner of (Triggering unit)))] + 1)
Multiboard - Set the text for Multiboard item in column 2, row PlayerIndex[(Player number of (Owner of (Killing unit)))] to (String(Kills[(Player number of (Owner of (Killing unit)))]))
Multiboard - Set the text for Multiboard item in column 3, row PlayerIndex[(Player number of (Owner of (Triggering unit)))] to (String(Deaths[(Player number of (Owner of (Triggering unit)))]))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) is in TimeA) Equal to True
Then - Actions
Set KillsA = (KillsA + 1)
Set DeathsB = (DeathsB + 1)
Multiboard - Set the text for Multiboard item in column 2, row RowA to (String(KillsA))
Multiboard - Set the text for Multiboard item in column 3, row RowB to (String(DeathsB))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) is in TimeB) Equal to True
Then - Actions
Set KillsB = (KillsB + 1)
Set DeathsA = (DeathsA + 1)
Multiboard - Set the text for Multiboard item in column 2, row RowB to (String(KillsB))
Multiboard - Set the text for Multiboard item in column 3, row RowA to (String(DeathsA))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KillsA Greater than or equal to k
Then - Actions
Player Group - Pick every player in TimeA and do (Actions)
Loop - Actions
Game - Victory (Picked player) (Show dialogs, Show scores)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
KillsB Greater than or equal to k
Then - Actions
Player Group - Pick every player in TimeB and do (Actions)
Loop - Actions
Game - Victory (Picked player) (Show dialogs, Show scores)
Else - Actions



Qualquer dúvida peço-lhes que perguntem e qualquer crítica é bem recebida

Espero ajudar muitos de vocês!


Link do MAPA DEMO : http://www.4shared.com/file/7w8BKPVl/Sistema_Kills_X_e_Multiboard.html?



Gostaria de pedir para quem usufruir deste benefício dê os devidos créditos
e +rep!
Obrigado , Atenciosamente .Itap!


Última edição por .Itap em 2011-11-06, 14:13, editado 1 vez(es)
.Itap
.Itap

Número de Posts : 1351
Data de inscrição : 09/11/2009
Reputação : 78 Pontos : 28069

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue95 / 10095 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por Iky 2011-11-06, 00:27

congratulations, + *---*
Iky
Iky

Número de Posts : 2065
Data de inscrição : 06/04/2010
Reputação : 99 Pontos : 30254

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue10 / 10010 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


http://icaro.glauco

Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por Convidad 2011-11-06, 05:44

vc feis isso tudo sósinho pow muito bem feito levei 20 minutos pra ler e 3 foras pra intender SUhSUhSUha manda um mapa feito pra fikar mais claro
pow cai entre nois vc participo na criaçao do dota all star XD

Convidad
Convidado


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por Iky 2011-11-06, 09:01

ta pagando pau pro cara? o_O' , calma, tem gente mais foda ou igualmente foda a itap aqui no tek, sumio hein itap?
Iky
Iky

Número de Posts : 2065
Data de inscrição : 06/04/2010
Reputação : 99 Pontos : 30254

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue10 / 10010 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


http://icaro.glauco

Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por .Itap 2011-11-06, 13:28

@EliseuEmo66
Tem um Mapa DEMO no final do tópico para download :

Link do MAPA DEMO : 4shared.com /file/7w8BKPVl/Sistema_Kills_X_e_Multiboard.html?

@Iky
Hehe , sumi mesmo , tava com saudade neh safadão?
.Itap
.Itap

Número de Posts : 1351
Data de inscrição : 09/11/2009
Reputação : 78 Pontos : 28069

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue95 / 10095 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por Iky 2011-11-06, 15:38

OFF
c sumio por tanto tempo que eu virei moderador ^^
Iky
Iky

Número de Posts : 2065
Data de inscrição : 06/04/2010
Reputação : 99 Pontos : 30254

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue10 / 10010 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


http://icaro.glauco

Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por .Itap 2011-11-06, 15:52

Cara infelizmente não lembro de você na época , mas você parece ser um cara legal Very Happy
.Itap
.Itap

Número de Posts : 1351
Data de inscrição : 09/11/2009
Reputação : 78 Pontos : 28069

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue95 / 10095 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por Iky 2011-11-06, 16:03

OFF

FIRST BLOOD! (ai meu olho)
Iky
Iky

Número de Posts : 2065
Data de inscrição : 06/04/2010
Reputação : 99 Pontos : 30254

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue10 / 10010 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


http://icaro.glauco

Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por .Itap 2011-11-06, 16:18

Não foi por mal! você parece ser legal! Abraço , .Itap
.Itap
.Itap

Número de Posts : 1351
Data de inscrição : 09/11/2009
Reputação : 78 Pontos : 28069

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue95 / 10095 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por VicToR 2011-11-06, 22:02

.Itap escreveu:Cara infelizmente não lembro de você na época , mas você parece ser um cara legal [TUTORIAL] Multiboard e -Kills XXX 572523

KKKKKKKKKKKKKKKKKKKKKK, coitado do iky velho AEPOAKEOPAKEPOAEK.
VicToR
VicToR

Número de Posts : 2002
Data de inscrição : 19/12/2010
Reputação : 243 Pontos : 26655

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue4 / 1004 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por miguelbad 2011-12-18, 00:21

MB Bugada
miguelbad
miguelbad

Número de Posts : 205
Data de inscrição : 04/07/2011
Reputação : 8 Pontos : 23529

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue0 / 1000 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por kratos 2011-12-18, 00:38

puxa,muito legal o tuto véi.não vo usa no meu mapa mas é bom aprender '-'
kratos
kratos

Número de Posts : 90
Data de inscrição : 19/03/2011
Reputação : 1 Pontos : 24047

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue0 / 1000 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por miguelbad 2011-12-18, 01:07

ta bugado man se vc matar vc ganha 1 Kill e 1 Dead msm vc nao morrendo
miguelbad
miguelbad

Número de Posts : 205
Data de inscrição : 04/07/2011
Reputação : 8 Pontos : 23529

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue0 / 1000 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por Iky 2011-12-18, 01:28

é msm itap, tem esse bug msm
Iky
Iky

Número de Posts : 2065
Data de inscrição : 06/04/2010
Reputação : 99 Pontos : 30254

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue10 / 10010 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


http://icaro.glauco

Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por miguelbad 2011-12-18, 10:47

iai pode resolver ?
miguelbad
miguelbad

Número de Posts : 205
Data de inscrição : 04/07/2011
Reputação : 8 Pontos : 23529

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue0 / 1000 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

[TUTORIAL] Multiboard e -Kills XXX Empty Re: [TUTORIAL] Multiboard e -Kills XXX

Mensagem por .Itap 2011-12-18, 11:03

Posso , mas , pra ir pro pc demora , vou ver aqui.

EDIT---------------
Seguinte , a Multiboard e o sistema funciona perfeitamente , apenas quando é no single player ele faz errado , mas se você quiser testar no single player , coloca um jogador dos números 6 ao 10 como computer e mata um herói pra você ver como funciona.
.Itap
.Itap

Número de Posts : 1351
Data de inscrição : 09/11/2009
Reputação : 78 Pontos : 28069

Warning Necropost
[TUTORIAL] Multiboard e -Kills XXX Left_bar_bleue95 / 10095 / 100[TUTORIAL] Multiboard e -Kills XXX Right_bar_bleue


Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos