×

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
  • /
  • Modules
  • /
  • Pedidos de Scripts
« ‹ 6 / 93 › »
Pedidos de Scripts
Maximoya
« Sénateur »
1385159160000
    • Maximoya#0000
    • Profil
    • Derniers messages
    • Tribu
#101
  0
¿Alguien dá un script? que alguien pueda lanzar bombas
Thetroz
« Citoyen »
1385159760000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#102
  0
Maximoya a dit :
¿Alguien dá un script? que alguien pueda lanzar bombas

¿BOMBAS?
¿Qué tipo de bombas?
Maximoya
« Sénateur »
1385160180000
    • Maximoya#0000
    • Profil
    • Derniers messages
    • Tribu
#103
  0
Thetroz a dit :
¿BOMBAS?
¿Qué tipo de bombas?

Las de tfm .._..
Alemoide
« Citoyen »
1385165400000
    • Alemoide#0000
    • Profil
    • Derniers messages
    • Tribu
#104
  0
Maximoya a dit :
¿Alguien dá un script? que alguien pueda lanzar bombas

Acá hay un script de lanzar bombas lateralmente con space (izq y der) dependiendo a donde mires.
a dit :
for a,b in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(a, 32,true, true) end

function eventKeyboard(player,key, down,x,y)
if key==32 then
if tfm.get.room.playerList[player].isFacingRight then
tfm.exec.addShamanObject(23,x+30,y, 0,30)
else
tfm.exec.addShamanObject(23,x-30,y, 0,-30) end end
end

El id de la bomba es 23
Thetroz
« Citoyen »
1385168880000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#105
  0
Alemoide a dit :
Acá hay un script de lanzar bombas lateralmente con space (izq y der) dependiendo a donde mires.

El id de la bomba es 23

Alemoide a dit :
Acá hay un script de lanzar bombas lateralmente con space (izq y der) dependiendo a donde mires.

El id de la bomba es 23

Eso tira bombas estilo FFA.

Éste solo las pone:
a dit :
for a,b in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(a, 32, true, true)
end

function eventKeyboard(player, key, down,x,y)
if key==32 then
if tfm.get.room.playerList[player].isFacingRight then
tfm.exec.addShamanObject(23,x+30,y, 0,0)
else
tfm.exec.addShamanObject(23,x-30,y, 0,0)
end
end
end
Azuli
« Citoyen »
1385178060000
    • Azuli#9482
    • Profil
    • Derniers messages
#106
  0
Necesito un scrpit que aga que aigan 13 quesos y solo uno sea el verdadero y que el que toque el falso muera.
Maximoya
« Sénateur »
1385210880000
    • Maximoya#0000
    • Profil
    • Derniers messages
    • Tribu
#107
  0
Thetroz a dit :
Eso tira bombas estilo FFA.

Éste solo las pone:

Okeii
Gracias p-p
Mori
« Citoyen »
1385247840000
    • Mori#4778
    • Profil
    • Derniers messages
    • Tribu
#108
  0
Necesito un Scritps qué allá 13 quesos y SÓLO 1 sea el correcto, y el que cogé el quesos Incorrecto muera, y obvio Reviva en la proxima ronda.
-
Gracias
Childrenstar
1385254380000
    • Childrenstar#0000
    • Profil
    • Derniers messages
    • Tribu
#109
[Modéré par Rowne, raison : Fuera de tema]
Leikektor
« Citoyen »
1385255400000
    • Leikektor#0000
    • Profil
    • Derniers messages
    • Tribu
#110
  0
Un scrit que saque una ventana ancha en el cúal pueda poner texto que no salga el signo de interrogación, si no que diga !help o !ayuda y le salga el mismo.
Thetroz
« Citoyen »
1385307600000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#111
  0
Leikektor a dit :
Un scrit que saque una ventana ancha en el cúal pueda poner texto que no salga el signo de interrogación, si no que diga !help o !ayuda y le salga el mismo.

↓↓↓

a dit :

function capitalize (word)
return string.upper (word:sub(1,1)) .. string.lower (word:sub(2));
end

function eventChatCommand (name, command)
if command=="help" then
ui.addPopup (1,0,"Texto de ayuda aquí.", name, 250, 100, 300);
end
end

Te explico.

Ahí dice que con el comando !help se ejecuta el texto.
Lo que dice "help" lo puedes cambiar por el comando
por ejemplo por "ayuda"

Lo que está arriba es que si alguien escribe !AyuDa o !HeLp igualmente servirá
Zutto
« Citoyen »
1385310300000
    • Zutto#4451
    • Profil
    • Derniers messages
    • Tribu
#112
  0
Thetroz a dit :
↓↓↓
Te explico.

Ahí dice que con el comando !help se ejecuta el texto.
Lo que dice "help" lo puedes cambiar por el comando
por ejemplo por "ayuda"

Lo que está arriba es que si alguien escribe !AyuDa o !HeLp igualmente servirá

No, no sirve lol

~

[SOLUCIONADO]
Thetroz
« Citoyen »
1385318220000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#113
  0
Aritxy a dit :
No, no sirve lol

~

[SOLUCIONADO]

¿qué no sirve?
Lo testeé y si sirve.
Zutto
« Citoyen »
1385396700000
    • Zutto#4451
    • Profil
    • Derniers messages
    • Tribu
#114
  0
Thetroz a dit :
¿qué no sirve?
Lo testeé y si sirve.

El capitalize
Thetroz
« Citoyen »
1385409000000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#115
  0
Aritxy a dit :
El capitalize

Pues si, si sirve.
Eso lo que hace es que como se escriba el comando sirve.

Digamos !HeLp
servirá
!HELP
servirá
!helP
servirá
Leikektor
« Citoyen »
1385412300000
    • Leikektor#0000
    • Profil
    • Derniers messages
    • Tribu
#116
  0
Script de velocidad
Agustinsupre
« Citoyen »
1385428860000
    • Agustinsupre#0000
    • Profil
    • Derniers messages
    • Tribu
#117
  0
hola e.e necesito un script q haga a todos vampiros cuando empieze una ronda?

quiero hacer como un baff pero con vampiros e.e
a dit :

tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoShaman(true)
players={}
toDespawn={}
maps={521833,401421,541917,541928,541936,541943,527935,559634,559644,888052,878047,885641,770600,770656,772172,891472,589736,589800,589708,900012,901062,754380,901337,901411,907870,910078,1190467,1252043,1124380,1016258,1252299,1255902,1256808,986790,1285380,1271249,1255944,1255983,1085344,1273114,1276664,1279258,1286824,1280135,1280342,1284861,1287556,1057753,1196679,1288489,1292983,1298164,1298521,1293189,1296949,1308378,1311136,1314419,1314982,1318248,1312411,1312589,1312845,1312933,1313969,1338762,1339474,1349878,1297154,644588,1351237,1354040,1354375,1362386,1283234,1370578,1306592,1360889,1362753,1408124,1407949,1407849,1343986,1408028,1441370,1443416,1389255,1427349,1450527,1424739,869836,1459902,1392993,1426457,1542824,1533474,1561467,1563534,1566991,1587241,1416119,1596270,1601580,1525751,1582146,1558167,1420943,1466487,1642575,1648013,1646094,1393097,1643446,1545219,1583484,1613092,1627981,1633374,1633277,1633251,1585138,1624034,1616785,1625916,1667582,1666996,1675013,1675316,1531316,1665413,1681719,1699880,1688696,623770,1727243,1531329,1683915,1689533,1738601,3756146,912118,3326933,3722005,3566478,1456622,1357994,1985670,1884075,1708065,1700322,2124484,3699046,2965313,4057963,4019126,3335202,2050466}

function eventNewPlayer(name)
for i,key in ipairs({32,40,83}) do
tfm.exec.bindKeyboard(name,key,true,true)
end
players[name]={
timestamp=os.time(),
offsets={x=2, y=10}
}
end

function eventKeyboard(name,key,down,x,y)
if (key==32 or key==40 or key==83) and not tfm.get.room.playerList[name].isDead and started then
if players[name].timestamp < os.time()-1000 then
local id
if tfm.get.room.playerList[name].isFacingRight then
id=tfm.exec.addShamanObject(19,x+players[name].offsets.x,y+players[name].offsets.y)
else
id=tfm.exec.addShamanObject(20,x+players[name].offsets.x,y+players[name].offsets.y)
end
players[name].timestamp=os.time()
table.insert(toDespawn,{os.time(),id})
end
end
end

function eventChatCommand(name,command)
local arg={}
for argument in command:gmatch("[^%s]+") do
table.insert(arg,argument)
end
if arg[1]=="off" then
if tonumber(arg[2]) and tonumber(arg[3]) then
players[name].offsets.x=tonumber(arg[2])
players[name].offsets.y=tonumber(arg[3])
else
players[name].offsets.x=2
players[name].offsets.y=10
end
tfm.exec.chatMessage("Offsets changed to X:"..players[name].offsets.x.." Y:"..players[name].offsets.y,name)
end
end

function eventNewGame()
started=false
end

function eventLoop(time,remaining)
if time >= 3000 and not started then
started=true
end
if remaining<=0 then
tfm.exec.newGame(maps[math.random(#maps)])
end
for i,cannon in ipairs(toDespawn) do
if cannon[1] <= os.time()-3000 then
tfm.exec.removeObject(cannon[2])
table.remove(toDespawn,i)
end
end
end

function eventPlayerDied(name)
local i=0
local n
for pname,player in pairs(tfm.get.room.playerList) do
if not player.isDead then
i=i+1
n=pname
end
end
if i==0 then
tfm.exec.newGame(maps[math.random(#maps)])
elseif i==1 then
tfm.exec.giveCheese(n)
tfm.exec.playerVictory(n)
tfm.exec.setGameTime(5)
end
end

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

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

Sacado de shamousey.
Kugineko
« Citoyen »
1385463120000
    • Kugineko#6324
    • Profil
    • Derniers messages
#118
  0
Agustinsupre a dit :
hola e.e necesito un script q haga a todos vampiros cuando empieze una ronda?

quiero hacer como un baff pero con vampiros e.e


Sacado de shamousey.

En el post principal hay un script para eso, por favor revisa esa lista antes de preguntar:
Todos vampiros

Solo añade eso en donde quieras que ocurra. Por ejemplo, dentro de eventNewGame.
Agustinsupre
« Citoyen »
1385505660000
    • Agustinsupre#0000
    • Profil
    • Derniers messages
    • Tribu
#119
  0
Kugineko a dit :
En el post principal hay un script para eso, por favor revisa esa lista antes de preguntar:
Todos vampiros

Solo añade eso en donde quieras que ocurra. Por ejemplo, dentro de eventNewGame.

ah bueno gracias, ya sabia q estaba ahi pero no sabia como hacer

EDIT : me sirvio gracias :DDDDD
edit de nuevo .-. : ahora necesito eso de apretar la e y aparezca portal D: como en el juego death
Thetroz
« Citoyen »
1385562360000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#120
  0
Agustin

Por la lógica de transformice un vampiro no puede ganar la ronda/partida/entrar al oyo.
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Pedidos de Scripts
« ‹ 6 / 93 › »
© Atelier801 2018

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

Version 1.27