[No Oficial] #Transformations! |
Admiire_me « Citoyen » 1591714260000
| 3 | ||
#Transformations! Hola! Estoy acá para presentar mi nuevo minijuego, llamado Transformations. Este minijuego se trata de ir transformándote en objetos de chamán (sólo yunque, tablas, cajas) hasta llegar a la madriguera. Si hay actualizaciones o noticias, lo digo por acá. Está en inglés, ¿Qué hago? D: ¡No te preocupes! Es normal, ese es el lenguaje internacional así que no creí que fuera necesario traducirlo. Ah, ya. ¿Quienes colaboraron? Pues, los creditos son de Eliaseeg por hacer el banner, y míos por el script. Sí pero... ¿Y el script? Pues.. Acá está! (me dio flojera subirlo a pastebin así que en spoiler) Script local text = "#transformations" local mice = {} tfm.exec.disableAutoShaman(true) tfm.exec.disablePhysicalConsumables(true) tfm.exec.disableAllShamanSkills(true) tfm.exec.disableAutoTimeLeft(true) tfm.exec.disableAutoNewGame(true) maps = {'<C><P F="8" /><Z><S><S L="197" X="286" H="10" Y="105" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="75" H="23" X="231" Y="276" T="1" P="0,0,0,0.2,30,0,0,0" /><S H="250" L="24" X="358" c="2" Y="358" T="8" P="0,0,0.3,0.2,180,0,0,0" /><S L="26" H="147" X="199" Y="204" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="34" H="159" X="254" Y="388" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="40" X="38" H="40" Y="29" T="1" P="0,0,0,0.2,65,0,0,0" /><S L="120" H="36" X="231" Y="288" T="6" P="0,0,0.3,0.2,30,0,0,0" /><S L="24" H="131" X="358" Y="172" T="1" P="0,0,0,0.2,180,0,0,0" /><S H="29" L="159" o="324650" X="292" c="3" Y="205" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="200" H="30" X="285" Y="115" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S H="189" L="195" o="324650" X="679" c="3" Y="115" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S H="31" L="186" o="324650" X="94" c="3" Y="115" T="12" P="0,0,0,0.2,0,0,0,0" /><S L="320" X="432" H="36" Y="400" T="6" P="0,0,0.3,0.2,,0,0,0" /><S L="188" H="29" X="684" Y="296" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="40" H="40" X="20" Y="39" T="1" P="0,0,0,0.2,35,0,0,0" /><S L="26" H="82" X="434" Y="281" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="30" H="220" X="577" Y="273" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="20" H="143" X="434" Y="245" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="40" H="24" X="467" Y="251" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="42" H="22" X="541" Y="313" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="24" X="13" H="450" Y="214" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="24" H="500" X="788" Y="218" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="236" H="33" X="119" Y="396" T="2" P="0,0,0,1.2,0,0,0,0" /><S L="829" o="6a7495" X="348" H="28" Y="9" T="12" P="0,0,0.3,0,0,0,0,0" /><S L="28" H="167" X="110" Y="295" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="566" H="18" X="300" Y="30" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="24" H="450" X="13" Y="202" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="566" X="304" H="18" Y="29" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="15" o="6a7495" X="-7" H="64" Y="58" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="64" H="29" X="155" Y="114" T="1" P="0,0,0,0.2,0,0,0,0" /></S><D><F Y="257" X="266" /><DS Y="173" X="248" /><T Y="406" X="689" /></D><O /></Z></C>', '<C><P /><Z><S><S L="26" H="104" X="59" Y="353" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="186" H="313" X="185" Y="324" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="214" H="22" X="200" Y="174" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="29" H="123" X="455" Y="203" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="121" H="237" X="380" Y="364" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="17" H="92" X="356" Y="57" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="157" H="115" X="645" Y="357" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="20" H="256" X="729" Y="281" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="20" X="748" H="256" Y="232" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="249" H="156" X="594" Y="98" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="29" H="122" X="343" Y="69" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="328" H="27" X="165" Y="31" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="268" H="22" X="594" Y="27" T="0" P="0,0,0.3,0.2,0,0,0,0" /></S><D><F Y="81" X="759" /><T Y="167" X="117" /><DS Y="287" X="56" /></D><O /></Z></C>', '<C><P F="0" /><Z><S><S L="27" H="202" X="101" Y="310" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="28" H="92" X="218" Y="256" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="120" H="68" X="173" Y="407" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S c="3" L="89" o="324650" H="25" X="159" Y="221" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="32" H="102" X="392" Y="354" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="313" H="166" X="564" Y="448" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="26" H="121" X="725" Y="352" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="21" H="166" X="749" Y="349" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="18" H="38" X="453" Y="132" T="2" P="0,0,0,2,0,0,0,0" /><S L="30" H="146" X="674" Y="188" T="9" P="0,0,,,,0,0,0" /><S L="10" H="61" X="75" Y="150" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="27" H="170" X="647" Y="190" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="440" H="32" X="581" Y="31" T="6" P="0,0,0.3,0.2,180,0,0,0" /><S L="34" H="47" X="467" Y="133" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="27" H="125" X="60" Y="178" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="32" H="49" X="143" Y="95" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="25" H="111" X="33" Y="109" T="4" P="0,0,20,0.2,0,0,0,0" /></S><D><P P="0,0" Y="371" T="5" X="724" /><T Y="273" X="159" /><DS Y="359" X="164" /><F Y="65" X="145" /><P P="0,0" Y="377" T="0" X="208" /><P P="0,0" Y="118" T="3" X="467" /><P P="0,0" Y="306" T="4" X="391" /></D><O /></Z></C>', '<C><P /><Z><S><S L="606" H="39" X="408" Y="279" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="41" H="278" X="87" Y="388" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="602" H="156" X="410" Y="453" T="3" P="0,0,0,20,0,0,0,0" /><S c="3" L="28" o="324650" H="220" X="436" Y="148" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="41" X="728" H="278" Y="383" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="746" H="19" X="408" Y="28" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="28" H="115" X="279" Y="316" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="10" H="47" X="713" Y="110" T="1" P="0,0,0,0.2,45,0,0,0" /><S L="10" H="56" X="116" Y="120" T="1" P="0,0,0,,-45,0,0,0" /><S L="31" H="115" X="436" Y="316" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="31" X="579" H="115" Y="316" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="44" H="62" X="88" Y="113" T="1" P="0,0,0,0.2,180,0,0,0" /><S L="260" H="20" X="193" Y="146" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="271" H="20" X="665" Y="132" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="30" H="41" X="737" Y="102" T="1" P="0,0,0,0.2,0,0,0,0" /></S><D><DS Y="229" X="733" /><F Y="71" X="86" /><T Y="72" X="737" /></D><O /></Z></C>', '<C><P /><Z><S><S c="3" L="41" o="324650" H="181" X="379" Y="94" T="12" P="0,0,0,0.2,0,0,0,0" /><S L="466" H="301" X="394" Y="306" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="24" H="283" X="639" Y="346" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="35" H="35" X="72" Y="95" T="1" P="0,0,0,0.2,45,0,0,0" /><S L="150" H="63" X="726" Y="407" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="357" H="13" X="181" Y="29" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="16" H="137" X="31" Y="106" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="100" H="24" X="73" Y="108" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="100" X="72" H="24" Y="108" T="1" P="0,0,0,0.2,0,0,0,0" /><S L="34" H="60" X="56" Y="67" T="3" P="0,0,0,20,0,0,0,0" /><S L="161" H="69" X="80" Y="390" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="85" H="25" X="118" Y="309" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="85" X="118" H="25" Y="270" T="8" P="0,0,0.3,0.2,0,0,0,0" /><S L="20" H="30" X="14" Y="254" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="10" H="73" X="159" Y="191" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="10" H="21" X="122" Y="107" T="4" P="0,0,20,0.2,0,0,0,0" /><S L="32" H="143" X="783" Y="331" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="13" H="114" X="745" Y="140" T="0" P="0,0,0.3,0.2,0,0,0,0" /></S><D><F Y="374" X="710" /><T Y="157" X="450" /><DS Y="339" X="36" /></D><O /></Z></C>'} tfm.exec.newGame(maps[math.random(#maps)]) function eventNewGame() for name,player in pairs(tfm.get.room.playerList) do tfm.exec.giveTransformations(name) end tfm.exec.disableAutoShaman(true) tfm.exec.disablePhysicalConsumables(true) tfm.exec.disableAllShamanSkills(true) tfm.exec.disableAutoTimeLeft(true) tfm.exec.disableAutoNewGame(true) ui.setMapName("<b><j>#transformations</j></b> <G>|</G> <T>Click the transformations!") tfm.exec.setGameTime(120) ui.addTextArea(99, "<p align='center'><font size='15'><a href='event:info'><i>?</i></a></font></p>", nil, 767, 370, 20, 20, 0x324650, 0x000000, 0.8, false) ui.addTextArea(69569, "<p align='center'><font size='15'><a href='event:credits'><i>C</i></a></font></p>", nil, 15, 370, 20, 20, 0x324650, 0x000000, 0.8, false) end function eventTextAreaCallback(ID,name,event) if event=='info' then ui.addPopup(90, 0, "<p align='center'><font size='25' color='#BABF00'>#transformations</font>\n<p align='center'><font size='25'>Transformations it's a minigame, you have to be box, table, and anvil to get cheese and win! Enjoy!</font>\n<font size='30' color='#0000FF'>Minigame by Admiire_me#6770</p>",name,100,50,600,true) elseif event=='credits' then ui.addPopup(53493,0,"<p align='center'><font size='25' color='#BABF00'>Credits</font>\n<p align='center'><font size='25'>Eliaseeg#0000, because he/she created the banner</font>\n<font size='30' color='#0000FF'>Minigame created Admiire_me#6770</p>",name,100,50,600,true) end end function eventLoop(a,b) for name,_ in pairs(tfm.get.room.playerList) do mice[name].despawnTime = mice[name].despawnTime - 0.5 if mice[name].despawnTime <= 0 then removeBanner(name) end end if b <= 1 then tfm.exec.newGame(maps[math.random(#maps)]) end end function eventPlayerDied(name) local i,alive = 0, "" for name,player in pairs(tfm.get.room.playerList) do if not player.isDead then i = i + 1 alive = name end end if i == 0 then tfm.exec.newGame(maps[math.random(#maps)]) elseif i == 1 then tfm.exec.setGameTime(11) end end function eventPlayerWon(name) local i,alive = 0, "" for name,player in pairs(tfm.get.room.playerList) do if not player.isDead then i = i + 1 alive = name end end if i == 0 then tfm.exec.newGame(maps[math.random(#maps)]) elseif i == 1 then tfm.exec.setGameTime(11) end end _G["eventNewPlayer"] = function(name) mice[name] = { despawnTime = 5 } for i=1,100 do tfm.exec.bindKeyboard(name, i, true) end table.foreach({1,2,3,4,5}, function(a) ui.addTextArea(a, ("<B><p align='center'><font face='Freestyle Script' size='120' color='#%x'>\n"..text..""):format(a < 5 and 0 or 0xC2C2DA), name, ({10,0,5,5,5})[a], ({-50,-50,-45,-55,-50})[a], 790, 400, 0, 0, 0.0, true) end) tfm.exec.chatMessage("<ROSE><B>Welcome to #transformations! Report anything with /c Admiire_me#6770",name) end function removeBanner(name) for i=1,5 do ui.removeTextArea(i, name) end end for n,p in pairs(tfm.get.room.playerList) do eventNewPlayer(n) end table.foreach(tfm.get.room.playerList, _G["eventNewPlayer"]) ¿Reglas, comandos, controles? No hay comandos ni controles. La única regla es no usar esto con fines de decir que es tuyo. Uhhh, pero, quiero ver para no arrepentirme, ¿Imágenes? Pues... Intenté poner imágenes pero creo que está bug y me lagueé, así que, links Primera Segunda Tercera Hice un mapa, ¿dónde lo mando y qué debe tener? El juego no es oficial aún. Pero puedes presentar mapas. Mándalos en este mismo hilo. Los revisaré y deben tener:
Si tus mapas cumplen esto, tal vez sean aceptados e incluídos al script. ¡Y eso es todo! espero que les guste mi minijuego uwu |
0 | ||
No lo hé probado, pero suena bien :) |
0 | ||
Podes poner los códigos de lua de esta forma tambien 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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 local text = "#transformations" |
Frodoyr « Censeur » 1616182200000
| 0 | ||
¿Cómo puedo poner códigos lua? |
Thizcot « Citoyen » 1616353200000
| 0 | ||
Frodoyr a dit : Sólo se pueden cargar scripts de lua con el comando /lua en la tribu si:
|