×

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
  • /
  • [Minijuego] #Runcheese
[Minijuego] #Runcheese
Envidiamenub
« Citoyen »
1391040000000
    • Envidiamenub#0000
    • Profil
    • Derniers messages
#1
  0
#RUNCHEESE

#Runcheese es un juego creado por Envidiamenub y Flingoyo.

QUE TRATA EL MINIJUEGO?

El Minijuego trata que tienes que correr antes de que se acabe el tiempo, tendras 1:00 min de juego ¡CORRE!

COMO PUEDO HACER UN MAPA?

- El mapa tendria que ser mapa defilante, ya que es largo el mapa
- El oyo debe estar en el mismo lugar ubicado que el queso
- No deber ser un desorden el mapa
- No tiene que ser un mapa normal, debe ser uno que sea largo

Mapas: -

ACTUALIZACIONES

1.0.0 = Se a puesto un mapa de prueba y comandos con !

COMANDOS

!help : Muestra la ayuda
!comandos : Muestra 3 comandos
!colores : Te muestra los colores Ej: !azul
!mapas : Te muestra una lista de mapas

Script a dit :
print '<r>¡Bienvenido usuario!'
system.disableChatCommandDisplay ("colores", true)
system.disableChatCommandDisplay ("comandos", true)
system.disableChatCommandDisplay ("ban", true)
system.disableChatCommandDisplay ("desban", true)
system.disableChatCommandDisplay ("mapas", true)
system.disableChatCommandDisplay ("azul", true)
system.disableChatCommandDisplay ("rojo", true)
system.disableChatCommandDisplay ("amarillo", true)
system.disableChatCommandDisplay ("verde", true)
system.disableChatCommandDisplay ("rosa", true)
local admins = {"Flingoyo","Envidiamenub"}
local banlist = {}
ui.addPopup (1,0,"Bienvenido a Runcheese, creado por Envidiamenub escribe <i><b>!help</b></i> para auxiliarte de una pequeña ayuda..", nil, 250, 100, 300);
for name in pairs (tfm.get.room.playerList) do
system.bindMouse (name);
end

function eventMouse (playerName, x, y)
tfm.exec.addShamanObject (24, x, y);
end

local maps = {"@4719333"}

function main()
tfm.exec.disableAutoNewGame (true)
tfm.exec.disableAutoTimeLeft (true)
startNewGame();
end

function startNewGame()
tfm.exec.disableAutoShaman(true)
tfm.exec.newGame (maps[math.random(#maps)]);
tfm.exec.setGameTime (45);
tfm.exec.setUIMapName("#Runcheese <BV> - @0 <>")
end

function eventLoop (a, timeLeft)
if timeLeft <= 0 then
startNewGame();
end
end

function eventPlayerDied (playerName)
local playersAlive = 0;
local winner;

for player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[player].isDead then
playersAlive = playersAlive + 1;
winner = player;
end
end

if (playersAlive ==0) then
startNewGame();
end
end

main();

function isBanned (playerName)
for _,bannedName in pairs(banlist) do
if playerName == bannedName then return true end
end
return false
end

function isAdmin (playerName)
for _,adminName in pairs(admins) do
if playerName == adminName then return true end
end
return false
end

function eventChatCommand (playerName, command)
if isBanned(playerName) then return end

args = {}
for arg in command:gmatch ("[^%s]+") do
table.insert (args, arg)
end

if args[1] == "ban" and tfm.get.room.playerList[args[2]] then
if isAdmin (playerName) then
if isBanned(args[2]) then
ui.addPopup (0, 0, "Error: "..args[2].." ya está banead@.", playerName, 350, 200, 100)
elseif isAdmin(args[2]) then
ui.addPopup (0, 0, "Error: "..args[2].." es un admin.", playerName, 350, 200, 100)
else
table.insert (banlist, args[2])
tfm.exec.killPlayer(args[2]);
ui.addPopup (0, 0, "¡Has sido banead@! ", args[2], 350, 200, 100)
ui.addPopup (1, 0, "¡"..args[2].." ha sido banead@!", playerName, 350, 200, 100)
end
else
ui.addPopup (0, 0, "Error: solo los admins pueden usar este comando", playerName, 350, 200, 100)
end
elseif args[1] == "desban" and tfm.get.room.playerList[args[2]] then
if isAdmin (playerName) then
if not isBanned(args[2]) then
ui.addPopup (0, 0, "Error: "..args[2].." no está baneado.", playerName, 350, 200, 100)
else
for i,bannedName in pairs(banlist) do
if args[2] == bannedName then
table.remove (banlist, i)
break
end
end
ui.addPopup (0, 0, "¡Has sido desbaneado!", args[2], 350, 200, 100)
ui.addPopup (1, 0, "¡"..args[2].." ha sido desbaneado! :):)", playerName, 350, 200, 100)
end
else
ui.addPopup (0, 0, "Solo los administradores pueden usar este comando", playerName, 350, 200, 100)
end
system.disableChatCommandDisplay("help",true)
elseif command == "help" then
ui.addPopup (0,0,"<b>Ayuda creada por Flingoyo.</b>.", playerName, 200, 100, 400)
elseif command == "colores" then
ui.addPopup (0,0,"<b>Colores:</b> !azul , !rojo , !amarillo , !verde , !naranja , !rosa", playerName, 200, 100, 400)
elseif command == "colores" then
elseif command == "mapas" then
ui.addPopup (0,0,"<br><p align='center'><font size='20'><b><font face='Soopafresh'>Lista de Mapas:</b><br></font><font size='15'></br> <br><font color='#BABD2F'> @4580134-@4580165-@4580177-@4580185-@4580197-@4581571-@4584299-@4584303-@4584325-@4584326-@4584328-@458432", playerName, 200, 100, 400)
elseif command == "rojo" then
tfm.exec.setNameColor(playerName, 0xFF0000)

elseif command == "azul" then
tfm.exec.setNameColor(playerName, 0x000AFF)

elseif command == "verde" then
tfm.exec.setNameColor(playerName, 0x32FF00)

elseif command == "rosa" then
tfm.exec.setNameColor(playerName, 0xFD55FB)

elseif command == "naranja" then
tfm.exec.setNameColor(name, 0xFF9500)

elseif command == "amarillo" then
tfm.exec.setNameColor(playerName, 0xFFEF00)
elseif command == "comandos" then
ui.addPopup (0,0,"<br><p align='center'><font size='20'><b><font face='Soopafresh'>Comandos Disponibles</b><br></font><font size='15'></br> <br><font color='#FD55FB'> !help = Te muestra ayuda sobre este Script</b><br></font><font size='15'></br> <br><font color='#FD55FB'>!mapas = Te muestra los mapas del Script</b><br></font><font size='15'></br> <br><font color='#FD55FB'> !colores = Te muestra los colores que te puedes poner para tu nombre :O", playerName, 200, 100, 400)
elseif command=="mensaje" then
ui.addPopup(999,2,"<p align='center'>Escribe tu mensaje en el siguiente cuadro</p>",playerName,300,200,200);
end
end
function eventNewGame (playerName)
for _,playerName in pairs(banlist) do
tfm.exec.killPlayer(playerName);
end
end

function eventNewPlayer (playerName)
if isBanned(playerName) then
tfm.exec.killPlayer(playerName);
end
end

function eventPlayerRespawn (playerName)
if isBanned(playerName) then
tfm.exec.killPlayer(playerName);
end
end

system.disableChatCommandDisplay("mensaje",true)
function eventPopupAnswer(Id,Name,answer)
if Id==999 then
ui.addPopup(0,0,"<font color='#ED67EA'><b>[Equipo de Administracion]</b></font> "..answer.."",p,300,200,150)
end
end
Juuanmax
« Citoyen »
1391040120000
    • Juuanmax#0000
    • Profil
    • Derniers messages
    • Tribu
#2
  0
como hiciste el script?
Envidiamenub
« Citoyen »
1391040360000
    • Envidiamenub#0000
    • Profil
    • Derniers messages
#3
  0
Juuanmax a dit :
como hiciste el script?

Yo simplemente dije las sugerencias para el juego, Flingoyo empezo a agregarlas, yo agrege 2 cosas al juego, y pense en el nombre #RunCheese.
Fresitho
« Citoyen »
1391042760000
    • Fresitho#0000
    • Profil
    • Derniers messages
#4
  0
La verdad, me gustaría que primero tengan los scripts bien hechos para hacer un tema ya...
Thetroz
« Citoyen »
1391043840000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#5
  0
¿En serio?
La ayuda es: Ayuda creada por Flingoyo.
...
Quesoyquesos
« Citoyen »
1391043960000
    • Quesoyquesos#0000
    • Profil
    • Derniers messages
    • Tribu
#6
  0
Editado.

Dernière modification le 1430585220000
Ellokoproooo
« Citoyen »
1391356140000
    • Ellokoproooo#0000
    • Profil
    • Derniers messages
#7
  0
No entiendo porq no pueod poner nada! donde pongo esto?
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Minijuego] #Runcheese
© Atelier801 2018

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

Version 1.27