×

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
  • /
  • Tópico de Dúvidas
« ‹ 31 / 39 › »
Tópico de Dúvidas
Bolodefchoco
« Sénateur »
1413817380000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#601
  0
hpassospi a dit :
preciso de um script de sp para todos da sala: quando o rato se abaixa solta sp

function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,40,true,true)
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventKeyboard(name,key,down,x,y)
if key==40 then
tfm.exec.addShamanObject(24,x,y)
end
end
Fofyynho
« Citoyen »
1413837180000
    • Fofyynho#0000
    • Profil
    • Derniers messages
#602
  0
eu n consigo entra no meu mice por que aconta do meu primo foi ban nesse pc aki e n consigo entra na minh acc eu tenho que faze o que???????????????????????????? e ele n usa hack
Fofyynho
« Citoyen »
1413837180000
    • Fofyynho#0000
    • Profil
    • Derniers messages
#603
  0
e eu n consigo entra na minha mesmo?
Lopiiim
« Citoyen »
1413854220000
    • Lopiiim#0000
    • Profil
    • Derniers messages
    • Tribu
#604
  0
pq eu na consigo botA foto no meu perfil da : tente novamente
Sabidaop
« Citoyen »
1414182840000
    • Sabidaop#0000
    • Profil
    • Derniers messages
#605
  0
Alguém me passa um programa bom pra fazer os scripts de lua no transformice, de preferencia um com comando em lua pre colocados.
Operop
« Citoyen »
1414182900000
    • Operop#0000
    • Profil
    • Derniers messages
#606
  0
sabidaop a dit :
Alguém me passa um programa bom pra fazer os scripts de lua no transformice, de preferencia um com comando em lua pre colocados.

SciTE eu acho bom
Rafaelapoto
« Citoyen »
1414189320000
    • Rafaelapoto#0000
    • Profil
    • Derniers messages
    • Tribu
#607
  0
como muda foto de perfil?
Allandbc
« Citoyen »
1414534380000
    • Allandbc#0000
    • Profil
    • Derniers messages
    • Tribu
#608
  0
como boto a imagem do perfil
Operop
« Citoyen »
1414534920000
    • Operop#0000
    • Profil
    • Derniers messages
#610
  0
mrorko a dit :
pra poder usar o lua tem que ter o que

100 queijos e nunca ter sido banido por hack(eu acho).
Guilherme
1414614540000
    • Guilherme#0368
    • Profil
    • Derniers messages
    • Tribu
#611
[Modéré par Modayra]
Brenower
« Censeur »
1414620420000
    • Brenower#0000
    • Profil
    • Derniers messages
    • Tribu
#612
  0
operop a dit :
mrorko a dit :
pra poder usar o lua tem que ter o que

100 queijos e nunca ter sido banido por hack(eu acho).

é 1000 gatão
Gutigusta
« Citoyen »
1414634400000
    • Gutigusta#0000
    • Profil
    • Derniers messages
    • Tribu
#613
  0
Existe um script capaz de somar os pontos toda vez que a pessoas entra na toca e em cada mapa?
Operop
« Citoyen »
1414679520000
    • Operop#0000
    • Profil
    • Derniers messages
#614
  0
gutigusta a dit :
Existe um script capaz de somar os pontos toda vez que a pessoas entra na toca e em cada mapa?

Isso?

local score=0
function eventPlayerWon(p)
local player=tfm.get.room.playerList


score=score+player.score
tfm.exec.setUIMapName(score.."\n")
end


Se não é isso que você quer explique melhor
Micamoreira
« Citoyen »
1414781040000
    • Micamoreira#0000
    • Profil
    • Derniers messages
#615
  0
maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do -- Pra Todos Os Jogadores Da Sala
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then -- Verifica Se o Jogador Está Morto
vivo=vivo-1; -- Se Ele Não Estiver, A Variavel Perde 1
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop()
end

function eventLoop(tempoPassado,tempoFaltando)
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando <= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end



CONSEGUE ACRESCENTAR NESSE SCRIPT UM SISTEMA DE PONTOS QUE COLOCA UM QUADRO COM OS PONTOS NUM CANTO DA TELA ?

------------

E SE PUDEREM MELHOREM O SCRIPT

Dernière modification le 1414781760000
Operop
« Citoyen »
1414781460000
    • Operop#0000
    • Profil
    • Derniers messages
#616
  0
micamoreira a dit :
maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do -- Pra Todos Os Jogadores Da Sala
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then -- Verifica Se o Jogador Está Morto
vivo=vivo-1; -- Se Ele Não Estiver, A Variavel Perde 1
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop()
end

function eventLoop(tempoPassado,tempoFaltando)
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando &lt;= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end



CONSEGUE ACRESCENTAR NESSE SCRIPT UM SISTEMA DE PONTOS QUE COLOCA UM QUADRO COM OS PONTOS NUM CANTO DA TELA ?

Como assim
Micamoreira
« Citoyen »
1414782480000
    • Micamoreira#0000
    • Profil
    • Derniers messages
#617
  0
operop a dit :
micamoreira a dit :
maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do -- Pra Todos Os Jogadores Da Sala
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then -- Verifica Se o Jogador Está Morto
vivo=vivo-1; -- Se Ele Não Estiver, A Variavel Perde 1
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop()
end

function eventLoop(tempoPassado,tempoFaltando)
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando &lt;= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end



CONSEGUE ACRESCENTAR NESSE SCRIPT UM SISTEMA DE PONTOS QUE COLOCA UM QUADRO COM OS PONTOS NUM CANTO DA TELA ?

Como assim

Tipo e racing assim qnd um rato entrar em 1º ganha 1 ponto e aparece numa tabela do lado da tela
e quando chegar a 15 pontos acaba o game e aparece na tela o nome do vencedor

DESCULPA SE FOR MUITO COMPLEXO ;-;
Operop
« Citoyen »
1414782900000
    • Operop#0000
    • Profil
    • Derniers messages
#618
  0
micamoreira a dit :
operop a dit :
micamoreira a dit :
maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do -- Pra Todos Os Jogadores Da Sala
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then -- Verifica Se o Jogador Está Morto
vivo=vivo-1; -- Se Ele Não Estiver, A Variavel Perde 1
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop()
end

function eventLoop(tempoPassado,tempoFaltando)
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando <= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end



CONSEGUE ACRESCENTAR NESSE SCRIPT UM SISTEMA DE PONTOS QUE COLOCA UM QUADRO COM OS PONTOS NUM CANTO DA TELA ?

Como assim

Tipo e racing assim qnd um rato entrar em 1º ganha 1 ponto e aparece numa tabela do lado da tela
e quando chegar a 15 pontos acaba o game e aparece na tela o nome do vencedor

DESCULPA SE FOR MUITO COMPLEXO ;-;

Se tiver um algum erro falai

maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoScore(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then
vivo=vivo-1;
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando <= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end

function eventPlayerWon(p)
eventPlayerDied(p)
local player=tfm.get.room.playerList


rank=""
for n,p in pairs(tfm.get.room.playerList) do
rank=rank..n.."-"..p.score.."\n"
end
ui.addPopup(0,0,rank,nil)
tfm.exec.setPlayerScore(p,1,true)
if player.score==15 then
ui.addPopup(0,0,"Vencedor:<b>"..p,nil)
for p in pairs(tfm.get.room.playerList) do
tfm.exec.setPlayerScore(p,0,false)
end
end
end


Dernière modification le 1414783080000
Micamoreira
« Citoyen »
1414783200000
    • Micamoreira#0000
    • Profil
    • Derniers messages
#619
  0
operop a dit :
micamoreira a dit :
operop a dit :
micamoreira a dit :
maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do -- Pra Todos Os Jogadores Da Sala
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then -- Verifica Se o Jogador Está Morto
vivo=vivo-1; -- Se Ele Não Estiver, A Variavel Perde 1
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop()
end

function eventLoop(tempoPassado,tempoFaltando)
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando <= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end



CONSEGUE ACRESCENTAR NESSE SCRIPT UM SISTEMA DE PONTOS QUE COLOCA UM QUADRO COM OS PONTOS NUM CANTO DA TELA ?

Como assim

Tipo e racing assim qnd um rato entrar em 1º ganha 1 ponto e aparece numa tabela do lado da tela
e quando chegar a 15 pontos acaba o game e aparece na tela o nome do vencedor

DESCULPA SE FOR MUITO COMPLEXO ;-;

Se tiver um algum erro falai

maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoScore(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then
vivo=vivo-1;
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando <= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end

function eventPlayerWon(p)
local player=tfm.get.room.playerList


rank=""
for n,p in pairs(tfm.get.room.playerList) do
rank=rank..n.."-"..p.score.."\n"
end
ui.addPopup(0,0,rank,nil)
tfm.exec.setPlayerScore(p,1,true)
if player.score==15 then
ui.addPopup(0,0,"Vencedor:<b>"..p,nil)
for p in pairs(tfm.get.room.playerList) do
tfm.exec.setPlayerScore(p,0,false)
end
eventPlayerDied(p)
end
end


n entendi a tabela // coloca ela do outro lado mais no canto possivel ok? OS PONTO TEM K COMEÇAR A 0 E DPS SOBE 1 APENAS PRA QUEM FIRSTA

Dernière modification le 1414783260000
Operop
« Citoyen »
1414783260000
    • Operop#0000
    • Profil
    • Derniers messages
#620
  0
micamoreira a dit :
operop a dit :
micamoreira a dit :
operop a dit :
micamoreira a dit :
maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do -- Pra Todos Os Jogadores Da Sala
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then -- Verifica Se o Jogador Está Morto
vivo=vivo-1; -- Se Ele Não Estiver, A Variavel Perde 1
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop()
end

function eventLoop(tempoPassado,tempoFaltando)
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando <= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end



CONSEGUE ACRESCENTAR NESSE SCRIPT UM SISTEMA DE PONTOS QUE COLOCA UM QUADRO COM OS PONTOS NUM CANTO DA TELA ?

Como assim

Tipo e racing assim qnd um rato entrar em 1º ganha 1 ponto e aparece numa tabela do lado da tela
e quando chegar a 15 pontos acaba o game e aparece na tela o nome do vencedor

DESCULPA SE FOR MUITO COMPLEXO ;-;

Se tiver um algum erro falai

maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoScore(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then
vivo=vivo-1;
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando <= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end

function eventPlayerWon(p)
local player=tfm.get.room.playerList


rank=""
for n,p in pairs(tfm.get.room.playerList) do
rank=rank..n.."-"..p.score.."\n"
end
ui.addPopup(0,0,rank,nil)
tfm.exec.setPlayerScore(p,1,true)
if player.score==15 then
ui.addPopup(0,0,"Vencedor:<b>"..p,nil)
for p in pairs(tfm.get.room.playerList) do
tfm.exec.setPlayerScore(p,0,false)
end
eventPlayerDied(p)
end
end


n entendi a tabela // coloca ela do outro lado mais no canto possivel ok?


maps={5457081,3685486,3727755,2331474,2331474,292614,266854,5497240,234502,232699,232451,193588,220500,511187,1310092,2141379,287268,2557885,299002,1654841,259716,423672,3738767,138678,3728013,237269,229834,232791}
vivo=0;

tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoScore(true)

function novaRodada()
tfm.exec.newGame(maps[math.random(#maps)])
end

novaRodada();

function eventNewGame()
vivo=0; -- A Variavel vivo Reseta
for p in pairs(tfm.get.room.playerList) do
vivo=vivo+1; -- Soma Da Variavel vivo
end
end

function eventPlayerLeft(p)
if not tfm.get.room.playerList

.isDead then
vivo=vivo-1;
end
end

function eventPlayerDied(p)
vivo=vivo-1;
end

function eventLoop(tempoPassado,tempoFaltando)
if vivo==0 or tempoFaltando <= 0 then -- Verifica se A Variavel vivo Chegou a 0 Ou Se o Tempo Restante Do Mapa Chegou a 0
novaRodada();
end
end

function eventPlayerWon(p)
eventPlayerDied(p)
local player=tfm.get.room.playerList


rank=""
for n,p in pairs(tfm.get.room.playerList) do
rank=rank..n.."-<b>Pontuação:</b>"..p.score.."\n"
end
ui.addPopup(0,0,rank,nil,600,80,180,true)
tfm.exec.setPlayerScore(p,1,true)
if player.score==15 then
ui.addPopup(0,0,"Vencedor:<b>"..p,nil)
for p in pairs(tfm.get.room.playerList) do
tfm.exec.setPlayerScore(p,0,false)
end
end
end


Dernière modification le 1414783620000
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • Tópico de Dúvidas
« ‹ 31 / 39 › »
© Atelier801 2018

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

Version 1.27