×

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
  • /
  • Hilos pasados
  • /
  • ¡Comparte tus códigos /lua!
« ‹ 3 / 19 › »
¡Comparte tus códigos /lua!
Auzz
« Citoyen »
1380300360000
    • Auzz#9717
    • Profil
    • Derniers messages
    • Tribu
#41
  0
http://lua.zz.mu/english aqui encontre muchos :o
Chicobny
« Citoyen »
1380303360000
    • Chicobny#0000
    • Profil
    • Derniers messages
#42
  0
Julitocinco a dit :
Bas a tu casa de tribu, escribes en el chat: /lua

Despues escribes en ese recuadro algunos de estos codigos:


tfm.exec.setShaman("Tu nombre aqui")

tfm.exec.giveCheese("Tu nombre aqui")

tfm.exec.giveMeep("Tu nombre aqui")

ui.addTextArea("1","Tu texto aqui",name,"50","50","360","100","40","500")

Donde dice Tu nombre aqui Lo cambias por Felipg Y donde dice Tu texto aqu Escribes tu texto que quieras

Oye, ese el de escribe tu nombre aqi no se como hacer ayudame
Supercagonn
« Citoyen »
1380303600000
    • Supercagonn#0000
    • Profil
    • Derniers messages
    • Tribu
#43
  0
Chicobny a dit :
Oye, ese el de escribe tu nombre aqi no se como hacer ayudame

En todo lo que diga ''Tu nombre aqui'' debes colocar tu nickname, y en ''Tu texto'' escribe lo que quieras.
Shuriquent
« Citoyen »
1380304200000
    • Shuriquent#0000
    • Profil
    • Derniers messages
    • Tribu
#44
  0
aca se quieren textos no explicaciones ¬¬ bueno se ra

http://pastebin.com/FJiZrX2L
Code :O
Dolimoly
« Citoyen »
1380310740000
    • Dolimoly#0000
    • Profil
    • Derniers messages
    • Tribu
#45
  0
Para matar a un raton:
tfm.exec.killPlayer("nombre del raton")
Shuriquent
« Citoyen »
1380310860000
    • Shuriquent#0000
    • Profil
    • Derniers messages
    • Tribu
#46
  0
for playerName in pairs(tfm.get.room.playerList) do tfm.exec.setShaman(playerName) end
tfm.exec.setUIMapName("PELEA DE CHAMIS")
tfm.exec.setUIShamanName("FIGHT")
function eventNewPlayer(name)
for i,key in ipairs({32}) do
tfm.exec.bindKeyboard(name,key,true,true)
end
end

function eventKeyboard(name,key,down,x,y)
if key==32 then
tfm.exec.movePlayer(name,0,0,true,0,-50,true)
end
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(Shuriquent)
end
for playerName in pairs(tfm.get.room.playerList) do tfm.exec.giveMeep(playerName) end
function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,true,true)
end

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

for name,player in pairs(tfm.get.room.playerList) do
system.bindMouse(name, true)
end

function eventMouse(name, x, y)

end

tfm.exec.setUIShamanName("<font color='#D5E82C'>#Shaman Fight</font>")
tfm.exec.setGameTime(600)
tfm.exec.setShaman("Deniscash")tfm.exec.setUIMapName("Party")tfm.exec.setUIShamanName("LOL")

NUEVO CODE CON HABILIDADES
Isaacmanda
« Citoyen »
1380311880000
    • Isaacmanda#0000
    • Profil
    • Derniers messages
    • Tribu
#47
  0
entras a /lua y pones esto:


function randomColor()
return "0x" .. string.format("%X", math.random(0x000000, 0xFFFFFF))
end

function eventLoop (currentTime, timeRemaining)
for i=1,10 do
for p,_ in pairs(tfm.get.room.playerList) do
tfm.exec.setNameColor(p, randomColor());
end
end
end function eventNewPlayer(name)
ui.addTextArea("1","Que comienze la batalla, con space vuelas, recuerda /amigo Isaacmanda",name,"0","20","360","50","30","400")

end

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

function eventKeyboard(name,key,down,x,y)
if key==32 then
eventNewPlayer(playername)
tfm.exec.setUIShamanName("<font color='#D5E82C'>#Shaman Fight</font>")
tfm.exec.setGameTime(600)
tfm.exec.setShaman("Deniscash")tfm.exec.setUIMapName("Party")tfm.exec.setUIShamanName("LOL")
tfm.exec.movePlayer(name,0,0,true,0,-50,false)
end
end function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,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==32 then
tfm.exec.movePlayer(name,0,0,true,0,-50,false)
end
end function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,true,true)
end tfm.exec.newGame ("0","0","0","0","0") tfm.exec.setUIMapName ("/perfil Isaacmanda")
tfm.exec.setUIShamanName("/perfil Isaacmanda") tfm.exec.setGameTime(500) for playerName in pairs(tfm.get.room.playerList) do tfm.exec.setShaman(playerName) end for name,player in pairs(tfm.get.room.playerList) do
tfm.exec.giveMeep(name)
end ui.addPopup(0,1,"¿Quieres agregame?, soy isaacmanda" ,player,600,20,200) tfm.exec.setShaman("Isaacmanda")
tfm.exec.setVampirePlayer("Legenddani")
Hakureimouse
« Citoyen »
1380313200000
    • Hakureimouse#0000
    • Profil
    • Derniers messages
    • Tribu
#48
  0
Isaacmanda a dit :
entras a /lua y pones esto:


function randomColor()
return "0x" .. string.format("%X", math.random(0x000000, 0xFFFFFF))
end

function eventLoop (currentTime, timeRemaining)
for i=1,10 do
for p,_ in pairs(tfm.get.room.playerList) do
tfm.exec.setNameColor(p, randomColor());
end
end

ej ej quién hizo lo del randomColor

Créditos a Hakureimouse quien le da sus créditos a alguien cuyo nombre no recuerdo en /chat lua que me dio el código inicial, aunque no funcionaba y le tuve que agregar el "0x" en la función.

//

Tirar pelotas en la casa de tribu, al estilo FFA: http://gw.gd/H33c
Minstens
« Censeur »
1380319200000
    • Minstens#0000
    • Profil
    • Derniers messages
    • Tribu
#49
  0
function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,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==32 then
tfm.exec.movePlayer(name,0,0,true,0,-50,false)
print("<font color='#009D9D'>["..name.."]</font> <font color='#C0C0D8'>esta volando, mátalo.</font>")
end
end

Es el mismo codigo para volar si, pero este, te dice quien esta volando
Xdmanuxd
« Citoyen »
1380322140000
    • Xdmanuxd#0000
    • Profil
    • Derniers messages
    • Tribu
#50
  0
Atencion: El script de lua de Volar con Espacio da baneo de Activited Suspected (101)
-
No te burles :[ V
Podiecp
« Citoyen »
1380322260000
    • Podiecp#0000
    • Profil
    • Derniers messages
    • Tribu
#51
  0
Xdmanuxd a dit :
Atencion: El script de lua de Volar con Espacio da baneo de Actividad Sospechoza (101)

Sospechoza

lel
Hfaundez
« Citoyen »
1380323580000
    • Hfaundez#0000
    • Profil
    • Derniers messages
    • Tribu
#52
  0
Podiecp a dit :
Sospechoza

lel

Me paso 2 veces no es mentira ...
Podiecp
« Citoyen »
1380323580000
    • Podiecp#0000
    • Profil
    • Derniers messages
    • Tribu
#53
  0
Hfaundez a dit :
Me paso 2 veces no es mentira ...

Me refiero a como lo escribio
Thetroz
« Citoyen »
1380328020000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#54
  0
Minstens a dit :
function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,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==32 then
tfm.exec.movePlayer(name,0,0,true,0,-50,false)
print("&lt;font color='#009D9D'&gt;["..name.."]&lt;/font&gt; &lt;font color='#C0C0D8'&gt;esta volando, mátalo.&lt;/font&gt;")
end
end

Es el mismo codigo para volar si, pero este, te dice quien esta volando

Me encantó xd<3
Hakureimouse
« Citoyen »
1380332160000
    • Hakureimouse#0000
    • Profil
    • Derniers messages
    • Tribu
#55
  0
Versión 2 del script anterior de lanzar pelotas:
https://paste.moepl.eu/view/3b0ea863

Esta vez lanza cajas, pero el cambio es que se puede variar el ángulo de disparo igual que en #ratapult.

Cambiar ángulo con C y V
Disparar con Espacio

De momento se gira en 360 grados, y el lado al que mira el ratón no le afecta

Intentaré hacer una versión donde se pueda escoger el objeto a tirar y la velocidad con un comando
Thetroz
« Citoyen »
1380332280000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#56
  0
Hakureimouse a dit :
Versión 2 del script anterior de lanzar pelotas:
https://paste.moepl.eu/view/3b0ea863

Esta vez lanza cajas, pero el cambio es que se puede variar el ángulo de disparo igual que en #ratapult.

Cambiar ángulo con C y V
Disparar con Espacio

De momento se gira en 360 grados, y el lado al que mira el ratón no le afecta

Intentaré hacer una versión donde se pueda escoger el objeto a tirar y la velocidad con un comando

Lo jugué
Es tan *-*

-
Creé un nuevo sharpie con la tecla E
ya que con SPACE activaba suspecha

a dit :
function eventNewPlayer(name)
for i,key in ipairs({83,40,69,16,8}) do
tfm.exec.bindKeyboard(name,key,true,true)
end
end

function eventKeyboard(name,key,down,x,y)
if key==83 or key==40 or key==69 then
tfm.exec.movePlayer(name,0,0,true,0,-50,true)
end
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
tfm.exec.newGame("@4069846","@3822237","@3903613")
ui.addTextArea("1","Press <b>E</b>. Created by: <b>Thetroz</b>",name,"0","25","60","70","40","500")
function randomColor()
return "0x" .. string.format("%X", math.random(0x000000, 0xFFFFFF))
end

function eventLoop (currentTime, timeRemaining)
for i=1,100 do
for p,_ in pairs(tfm.get.room.playerList) do
tfm.exec.setNameColor(p, randomColor());
end
end
end
Meekymoose
« Citoyen »
1380333300000
    • Meekymoose#0000
    • Profil
    • Derniers messages
    • Tribu
#57
  0
Minstens a dit :
function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,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==32 then
tfm.exec.movePlayer(name,0,0,true,0,-50,false)
print("&lt;font color='#009D9D'&gt;["..name.."]&lt;/font&gt; &lt;font color='#C0C0D8'&gt;esta volando, mátalo.&lt;/font&gt;")
end
end

Es el mismo codigo para volar si, pero este, te dice quien esta volando

LOL me dio Activite Suspecte
Isaacmanda
« Citoyen »
1380334440000
    • Isaacmanda#0000
    • Profil
    • Derniers messages
    • Tribu
#58
  0
Quien me da el codigo para hacer a todos los chamis con habilidades
Shuriquent
« Citoyen »
1380336840000
    • Shuriquent#0000
    • Profil
    • Derniers messages
    • Tribu
#59
  0
ten tfm.exec.setUIShamanName("DarksSouls")
tfm.exec.newGame("@875351")
function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,true,true)
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
for name,player in pairs(tfm.get.room.playerList) do
tfm.exec.setShaman(name)
end
function eventNewPlayer(name)
for i,key in ipairs({83,40,69}) do
tfm.exec.bindKeyboard(name,key,true,true)
end
end

function eventKeyboard(name,key,down,x,y)
if key==83 or key==40 or key==69 then
tfm.exec.movePlayer(name,0,0,true,0,-50,true)
end
end

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

print("<ROSE>Codigo de volar instalado por Shuriquent!")
print("<ROSE>diviertete con este minijuego de peleas de chamanes")

ahi tienes tu codigo
Catroosdos
« Citoyen »
1380349800000
    • Catroosdos#0000
    • Profil
    • Derniers messages
    • Tribu
#60
  0
Redigit a dit :
tfm.exec.giveCheese("Redigit")

tfm.exec.giveMeep("Redigit")


Para tener queso y el meep, en vez de redigit pones tu nick

Redigit tu avatar wtf!?
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Hilos pasados
  • /
  • ¡Comparte tus códigos /lua!
« ‹ 3 / 19 › »
© Atelier801 2018

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

Version 1.27