×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Lua] Peça scripts aqui!
« ‹ 8 / 133 › »
[Lua] Peça scripts aqui!
Jellymichey
« Censeur »
1491745380000
    • Jellymichey#0000
    • Profil
    • Derniers messages
    • Tribu
#141
  0
Transvio a dit :
obrigado pelo ultimo script... agradeço muito, queria pedir outro para que pudesse retirar as habilidades do shaman, como se eles estivessem de level 1.

Code Lua

1
tfm.exec.disableAllShamanSkills(true)
Mathkwos
« Citoyen »
1491775200000
    • Mathkwos#0129
    • Profil
    • Derniers messages
#142
  0
Rianmojang a dit :
Frol a dit :
Um script semelhante ao minigame survivor para poder colocar no cafofo (que tenha shaman)

Code Lua

1
2
mapas = {"@290971","@293222","@293487","@290865","@276534","@280159","@280120","@279689","@1676629","@3079426","@2393716","@289932","@292592","@305748","@3587860","@837797","@1533333"}
tfm.exec.newGame(mapas[math.random(#mapas)])

Obs: Os mapas ja contem shaman

espero ter ajudado

so adicionar tfm.exec.disableAllShamanSkills(true) no começo

Code Lua

1
2
3
4
mapas = {"@290971","@293222","@293487","@290865","@276534","@280159","@280120","@279689","@1676629","@3079426","@2393716","@289932","@292592","@305748","@3587860","@837797","@1533333"}
tfm.exec.disableAllShamanSkills(true)
tfm.exec.newGame(mapas[math.random(#mapas)])

Dernière modification le 1491775500000
Biaromeira
« Citoyen »
1491932520000
    • Biaromeira#0000
    • Profil
    • Derniers messages
    • Tribu
#143
  0
Conseguem fazer um script baseado neste jogo aqui em português?

Dernière modification le 1491932640000
Ghost
« Censeur »
1491936660000
    • Ghost#4078
    • Profil
    • Derniers messages
    • Tribu
#144
  0
Mudar cor do nome de alguns jogadores específicos.
Jellymichey
« Censeur »
1491937260000
    • Jellymichey#0000
    • Profil
    • Derniers messages
    • Tribu
#145
  0
Snownevo a dit :
Mudar cor do nome de alguns jogadores específicos.

Code Lua

1
tfm.exec.setNameColor(jogador, cor)
Biaromeira a dit :
Conseguem fazer um script baseado neste jogo aqui em português?

vou ver se consigo

Dernière modification le 1491937920000
Ghost
« Censeur »
1491947040000
    • Ghost#4078
    • Profil
    • Derniers messages
    • Tribu
#146
  0
Jellymichey a dit :
Snownevo a dit :
Mudar cor do nome de alguns jogadores específicos.

Code Lua

1
tfm.exec.setNameColor(jogador, cor)
Biaromeira a dit :
Conseguem fazer um script baseado neste jogo aqui em português?

vou ver se consigo

Coloca em as cores em hex, por favor. E, coloca pra mudar o nome de "vários jogadores."
Jellymichey
« Censeur »
1491948300000
    • Jellymichey#0000
    • Profil
    • Derniers messages
    • Tribu
#147
  0
Snownevo a dit :
Jellymichey a dit :
Snownevo a dit :
Mudar cor do nome de alguns jogadores específicos.

Code Lua

1
tfm.exec.setNameColor(jogador, cor)
Biaromeira a dit :
Conseguem fazer um script baseado neste jogo aqui em português?

vou ver se consigo

Coloca em as cores em hex, por favor. E, coloca pra mudar o nome de "vários jogadores."

HEX aqui
e... para selecionar um jogador escreve o nome dele ENTRE ASPAS

Dernière modification le 1491948660000
Ghost
« Censeur »
1491958440000
    • Ghost#4078
    • Profil
    • Derniers messages
    • Tribu
#148
  0
Jellymichey a dit :
Snownevo a dit :
Jellymichey a dit :
Snownevo a dit :
Mudar cor do nome de alguns jogadores específicos.

Code Lua

1
tfm.exec.setNameColor(jogador, cor)
Biaromeira a dit :
Conseguem fazer um script baseado neste jogo aqui em português?

vou ver se consigo

Coloca em as cores em hex, por favor. E, coloca pra mudar o nome de "vários jogadores."

HEX aqui
e... para selecionar um jogador escreve o nome dele ENTRE ASPAS

Obrigado!
Ghost
« Censeur »
1492009260000
    • Ghost#4078
    • Profil
    • Derniers messages
    • Tribu
#149
  0
Script de um relógio que mostra as horas.

Dernière modification le 1492010040000
Jellymichey
« Censeur »
1492010400000
    • Jellymichey#0000
    • Profil
    • Derniers messages
    • Tribu
#150
  0
Snownevo a dit :
Script de um relógio que mostra as horas.

o ninguem tem um script desses, vai à galeria dele
propaganda de graça
Judapz
« Citoyen »
1492023900000
    • Judapz#0000
    • Profil
    • Derniers messages
    • Tribu
#151
  0
Gostaria de um script em que você aperta H e tal pessoa faz uma emoção tipo: sentar sabe

Mas gostaria também em que cada letra saísse uma emoção sabe tipo: H para sentar, J para confete, K para dançar...
Jellymichey
« Censeur »
1492030200000
    • Jellymichey#0000
    • Profil
    • Derniers messages
    • Tribu
#152
  0
Judapz a dit :
Gostaria de um script em que você aperta H e tal pessoa faz uma emoção tipo: sentar sabe

Mas gostaria também em que cada letra saísse uma emoção sabe tipo: H para sentar, J para confete, K para dançar...

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
for i, v in pairs(tfm.get.room.playerList) do
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventNewPlayer(i)
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventKeyboard(j, id, p, x, y)
if id == 72 then
tfm.exec.playEmote(j, 8, nil)
end
if id == 75 then
tfm.exec.playEmote(j, 9, nil)
end
if id == 74 then
tfm.exec.playEmote(j, 0, nil)
end
end
Lightning
« Citoyen »
1492034640000
    • Lightning#4880
    • Profil
    • Derniers messages
#153
  0
function eventKeyboard(name, key, down, x, y)
tfm.exec.addShamanObject(2801, x, y+5, 0, 0, 0, false)
end

for p in pairs(tfm.get.room.playerList) do
for v,k in ipairs({57,105}) do
tfm.exec.bindKeyboard(p, k, true, true)
end
end
Judapz
« Citoyen »
1492046160000
    • Judapz#0000
    • Profil
    • Derniers messages
    • Tribu
#154
  0
Jellymichey a dit :
Judapz a dit :
Gostaria de um script em que você aperta H e tal pessoa faz uma emoção tipo: sentar sabe

Mas gostaria também em que cada letra saísse uma emoção sabe tipo: H para sentar, J para confete, K para dançar...

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
for i, v in pairs(tfm.get.room.playerList) do
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventNewPlayer(i)
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventKeyboard(j, id, p, x, y)
if id == 72 then
tfm.exec.playEmote(j, 8, nil)
end
if id == 75 then
tfm.exec.playEmote(j, 9, nil)
end
if id == 74 then
tfm.exec.playEmote(j, 0, nil)
end
end

Tem como fazer com as outras pessoas tipo: somente eu aperto H(Sentar) e todos sentem sabe ?

Tipo: Judapz apertou K (Todos dançam)

Tipo o script voodoo

Dernière modification le 1492047660000
Fly
« Citoyen »
1492046820000
    • Fly#8215
    • Profil
    • Derniers messages
    • Tribu
#155
  0
Judapz a dit :
Jellymichey a dit :
Judapz a dit :
Gostaria de um script em que você aperta H e tal pessoa faz uma emoção tipo: sentar sabe

Mas gostaria também em que cada letra saísse uma emoção sabe tipo: H para sentar, J para confete, K para dançar...

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
for i, v in pairs(tfm.get.room.playerList) do
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventNewPlayer(i)
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventKeyboard(j, id, p, x, y)
if id == 72 then
tfm.exec.playEmote(j, 8, nil)
end
if id == 75 then
tfm.exec.playEmote(j, 9, nil)
end
if id == 74 then
tfm.exec.playEmote(j, 0, nil)
end
end

Tem como fazer com as outras pessoas tipo: somente eu aperto H(Sentar) e todos sentem sabe ?

Tipo: Judapz apertou K (Todos dançam)

No lugar do tfm.exec.playEmote(j, id, nil) que você quer fazer com todos os ratos, coloque:

Code Lua

1
table.foreach(tfm.get.room.playerList, function(j, v) tfm.exec.playEmote(j, IdDaEmoção, nil) end)

Onde está escrito "IdDaEmoção" coloque o ID que estava antes.

Dernière modification le 1492046880000
Judapz
« Citoyen »
1492048080000
    • Judapz#0000
    • Profil
    • Derniers messages
    • Tribu
#156
  0
Flyingwr a dit :
Judapz a dit :
Jellymichey a dit :
Judapz a dit :
Gostaria de um script em que você aperta H e tal pessoa faz uma emoção tipo: sentar sabe

Mas gostaria também em que cada letra saísse uma emoção sabe tipo: H para sentar, J para confete, K para dançar...

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
for i, v in pairs(tfm.get.room.playerList) do
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventNewPlayer(i)
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventKeyboard(j, id, p, x, y)
if id == 72 then
tfm.exec.playEmote(j, 8, nil)
end
if id == 75 then
tfm.exec.playEmote(j, 9, nil)
end
if id == 74 then
tfm.exec.playEmote(j, 0, nil)
end
end

Tem como fazer com as outras pessoas tipo: somente eu aperto H(Sentar) e todos sentem sabe ?

Tipo: Judapz apertou K (Todos dançam)

No lugar do tfm.exec.playEmote(j, id, nil) que você quer fazer com todos os ratos, coloque:

Code Lua

1
table.foreach(tfm.get.room.playerList, function(j, v) tfm.exec.playEmote(j, IdDaEmoção, nil) end)

Onde está escrito "IdDaEmoção" coloque o ID que estava antes.

Faz ele pronto pra mim por favor ? se não for muito incomodo, é porque eu testei aqui e deu alguns erro sabe :v

Dernière modification le 1492048140000
Judapz
« Citoyen »
1492048260000
    • Judapz#0000
    • Profil
    • Derniers messages
    • Tribu
#157
  0
Judapz a dit :
Flyingwr a dit :
Judapz a dit :
Jellymichey a dit :
Judapz a dit :
Gostaria de um script em que você aperta H e tal pessoa faz uma emoção tipo: sentar sabe

Mas gostaria também em que cada letra saísse uma emoção sabe tipo: H para sentar, J para confete, K para dançar...

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
for i, v in pairs(tfm.get.room.playerList) do
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventNewPlayer(i)
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventKeyboard(j, id, p, x, y)
if id == 72 then
tfm.exec.playEmote(j, 8, nil)
end
if id == 75 then
tfm.exec.playEmote(j, 9, nil)
end
if id == 74 then
tfm.exec.playEmote(j, 0, nil)
end
end

Tem como fazer com as outras pessoas tipo: somente eu aperto H(Sentar) e todos sentem sabe ?

Tipo: Judapz apertou K (Todos dançam)

No lugar do tfm.exec.playEmote(j, id, nil) que você quer fazer com todos os ratos, coloque:

Code Lua

1
table.foreach(tfm.get.room.playerList, function(j, v) tfm.exec.playEmote(j, IdDaEmoção, nil) end)

Onde está escrito "IdDaEmoção" coloque o ID que estava antes.

Faz ele pronto pra mim por favor ? se não for muito incomodo, é porque eu testei aqui e deu alguns erro sabe, tipo pra emoções funcionarem, eu tenho que reinicia o script, por que o H não funfa.
Fly
« Citoyen »
1492054200000
    • Fly#8215
    • Profil
    • Derniers messages
    • Tribu
#158
  0
Judapz a dit :
Flyingwr a dit :
Judapz a dit :
Jellymichey a dit :
Judapz a dit :
Gostaria de um script em que você aperta H e tal pessoa faz uma emoção tipo: sentar sabe

Mas gostaria também em que cada letra saísse uma emoção sabe tipo: H para sentar, J para confete, K para dançar...

Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
for i, v in pairs(tfm.get.room.playerList) do
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventNewPlayer(i)
system.bindKeyboard(i, 72, false, true)
system.bindKeyboard(i, 74, false, true)
system.bindKeyboard(i, 75, false, true)
end

function eventKeyboard(j, id, p, x, y)
if id == 72 then
tfm.exec.playEmote(j, 8, nil)
end
if id == 75 then
tfm.exec.playEmote(j, 9, nil)
end
if id == 74 then
tfm.exec.playEmote(j, 0, nil)
end
end

Tem como fazer com as outras pessoas tipo: somente eu aperto H(Sentar) e todos sentem sabe ?

Tipo: Judapz apertou K (Todos dançam)

No lugar do tfm.exec.playEmote(j, id, nil) que você quer fazer com todos os ratos, coloque:

Code Lua

1
table.foreach(tfm.get.room.playerList, function(j, v) tfm.exec.playEmote(j, IdDaEmoção, nil) end)

Onde está escrito "IdDaEmoção" coloque o ID que estava antes.

Faz ele pronto pra mim por favor ? se não for muito incomodo, é porque eu testei aqui e deu alguns erro sabe :v

Para você pressionar uma tecla e fazer a emoção com todos da sala
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
adm = {Judapz=0}

function eventKeyboard(adm, key)
if key == 66 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 0) end)
elseif key == 70 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 1) end)
elseif key == 71 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 2) end)
elseif key == 72 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 3) end)
elseif key == 74 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 4) end)
elseif key == 75 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 5) end)
elseif key == 76 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 6) end)
elseif key == 77 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 7) end)
elseif key == 78 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 8) end)
elseif key == 79 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 9) end)
elseif key == 80 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 11) end)
elseif key == 81 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 12) end)
elseif key == 85 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 13) end)
elseif key == 86 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 14) end)
elseif key == 88 then
table.foreach(tfm.get.room.playerList, function(p, v) tfm.exec.playEmote(p, 16) end)
end
end

for p in next,adm do table.foreach({66,70,71,72,74,75,76,77,78,79,80,85,86,88,89}, function(_, keys) system.bindKeyboard(p, keys, true, true) end) end


Para apenas um jogador pressionar uma tecla e fazer certa emoção
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
function eventKeyboard(name, key)
if key == 66 then
tfm.exec.playEmote(name, 0)
elseif key == 70 then
tfm.exec.playEmote(name, 1)
elseif key == 71 then
tfm.exec.playEmote(name, 2)
elseif key == 72 then
tfm.exec.playEmote(name, 3)
elseif key == 74 then
tfm.exec.playEmote(name, 4)
elseif key == 75 then
tfm.exec.playEmote(name, 5)
elseif key == 76 then
tfm.exec.playEmote(name, 6)
elseif key == 77 then
tfm.exec.playEmote(name, 7)
elseif key == 78 then
tfm.exec.playEmote(name, 8)
elseif key == 79 then
tfm.exec.playEmote(name, 9)
elseif key == 80 then
tfm.exec.playEmote(name, 11)
elseif key == 81 then
tfm.exec.playEmote(name, 12)
elseif key == 85 then
tfm.exec.playEmote(name, 13)
elseif key == 86 then
tfm.exec.playEmote(name, 14)
elseif key == 88 then
tfm.exec.playEmote(name, 16)
end
end

for p in next,tfm.get.room.playerList do table.foreach({66,70,71,72,74,75,76,77,78,79,80,85,86,88,89}, function(_, keys) system.bindKeyboard(p, keys, true, true) end) end


Teclas do script (Ainda falta adicionar algumas):

B — Dançar
F — Rir
G — Chorar
H — Beijar
J — Irritado
K — Bater palmas
L — Dormir
M — Mão no rosto
N — Sentar
O — Confete
P — Marshmallow
U — Toca aqui!
V — Toca aqui!²
X — Língua de sogra

Dernière modification le 1492054680000
Oreidoafirst
« Consul »
1492086240000
    • Oreidoafirst#0000
    • Profil
    • Derniers messages
#159
  0
Por Favor! Aguardo o Pedido! Os Ratos Podem Se Transformar Em Objetos!

B -- Transformar Em Caveira
F -- Transformar Em R.I.P
G -- Transformar Em Galinhas
T -- Transformar Em Bomba
W -- Transformar Em Caixa Bolha Grande
P -- Transformar Em Nuvem

Para Destransformar De Algum Objeto -- Espaço
Jellymichey
« Censeur »
1492087380000
    • Jellymichey#0000
    • Profil
    • Derniers messages
    • Tribu
#160
  0
Oreidoafirst a dit :
Por Favor! Aguardo o Pedido! Os Ratos Podem Se Transformar Em Objetos!

B -- Transformar Em Caveira
F -- Transformar Em R.I.P
G -- Transformar Em Galinhas
T -- Transformar Em Bomba
W -- Transformar Em Caixa Bolha Grande
P -- Transformar Em Nuvem

Para Destransformar De Algum Objeto -- Espaço

vou ver o que posso fazer ;) (pode dar treta e não conseguir)

EXISTE UMA CAVEIRA NO JOGO??

o T foi para O porque T já é hotkey para falar com a tribo

Dernière modification le 1492093980000
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Lua] Peça scripts aqui!
« ‹ 8 / 133 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27