×

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
  • /
  • [Script] Pet Mouse
« ‹ 3 / 4 › »
[Script] Pet Mouse
Kathiehuang
« Citoyen »
1384571100000
    • Kathiehuang#0000
    • Profil
    • Derniers messages
    • Tribu
#41
  0
I love this c; I use it really often, and I figured out how to print text with different colours everytime a mouse moves \o/ It resulted me in getting kicked out of my tribe for spam, but urm it's better than nothing :D
Ortacud
« Citoyen »
1384785000000
    • Ortacud#0000
    • Profil
    • Derniers messages
#42
  0
yeah!!!!!
Kelasy
« Citoyen »
1384873560000
    • Kelasy#0000
    • Profil
    • Derniers messages
#43
  0
Try this
a dit :
players={}
i=0

mouseLeft=[[
<ROSE><font size='50' face='Verdana'>ᕙ༼ຈل͜ຈ༽ᕗ
]]
mouseRight=[[
<ROSE><font size='50' face='Verdana'>ᕙ༼ຈل͜ຈ༽ᕗ
]]

function eventNewGame()
tfm.exec.setUIShamanName("<CH>Script By: <BV>Issey")
tfm.exec.setUIMapName("<VP>Pet Mouse")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

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

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end

It looks like a pet tho

http://i.imgur.com/i0B0T3a.png
Adorablebaby
« Citoyen »
1385089140000
    • Adorablebaby#0000
    • Profil
    • Derniers messages
#44
  0
What about

this code?


http://i.imgur.com/PBUMlBD.png
Abdyllah
« Citoyen »
1385664600000
    • Abdyllah#0000
    • Profil
    • Derniers messages
#45
  0
Kelasy a dit :
Try this


It looks like a pet tho

Arabian pet

Perfect game thank you mousechris
Tailtong
« Citoyen »
1385666160000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#46
  0
Abdyllah a dit :
Arabian pet

Perfect game thank you mousechris

Mousechris didn't make this.
Lexipro
« Citoyen »
1385677920000
    • Lexipro#1805
    • Profil
    • Derniers messages
    • Tribu
#47
  0
players={}
i=0

mouseLeft=[[
<ROSE>&lt;O>_&lt;O>
]]
mouseRight=[[
<ROSE>&lt;O>_&lt;O>
]]

function eventNewGame()
tfm.exec.setUIShamanName("<CH>Script By: <BV>Issey")
tfm.exec.setUIMapName("<VP>Pet Mouse")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

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

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end
Sisterofpuga
« Citoyen »
1387323720000
    • Sisterofpuga#0000
    • Profil
    • Derniers messages
    • Tribu
#48
  0
after you do everything what do you do?
Ygtyk
« Citoyen »
1387657320000
    • Ygtyk#0000
    • Profil
    • Derniers messages
    • Tribu
#49
  0
ya what do we do how do we make it what do we do go on map edtior
Issey
« Citoyen »
1387661160000
    • Issey#0000
    • Profil
    • Derniers messages
#50
  0
Ygtyk a dit :
ya what do we do how do we make it what do we do go on map edtior

Goto tribehouse.
Type '/lua' in chat and press enter
Paste this code and press submit
Ygtyk
1388283600000
    • Ygtyk#0000
    • Profil
    • Derniers messages
    • Tribu
#51
[Modéré par Icewolfbob, raison : Spam]
Ygtyk
1388284920000
    • Ygtyk#0000
    • Profil
    • Derniers messages
    • Tribu
#52
[Modéré par Icewolfbob, raison : Spam]
Ygtyk
1388287080000
    • Ygtyk#0000
    • Profil
    • Derniers messages
    • Tribu
#53
[Modéré par Icewolfbob, raison : Spam]
Cutylilian
« Citoyen »
1388330700000
    • Cutylilian#0000
    • Profil
    • Derniers messages
    • Tribu
#54
  0
players={}
i=0

mouseLeft=[[
<ROSE><font size='100' face='Verdana'>*^ο^*
]]
mouseRight=[[
<ROSE><font size='100' face='Verdana'>*^ο^*
]]

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

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

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x-40
else
mouse=mouseLeft
x=x-45
end
y=y-70
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end
Mariusrasas
« Citoyen »
1388332920000
    • Mariusrasas#0000
    • Profil
    • Derniers messages
    • Tribu
#55
  0
where paste that shit?
Safwanrockz
« Censeur »
1388332920000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#56
  0
Mariusrasas a dit :
where paste that shit?

After going in your tribe house, type /lua, paste it there, and press submit.
Curlfeather
« Citoyen »
1391624400000
    • Curlfeather#0000
    • Profil
    • Derniers messages
#57
  0
I DONT UNDERSTAND
Eternalpsych
« Citoyen »
1398007680000
    • Eternalpsych#0000
    • Profil
    • Derniers messages
    • Tribu
#58
  0
players={}
i=0

mouseLeft=[[
<ROSE><font size='100' face='Verdana'>♥
]]
mouseRight=[[
<ROSE><font size='100' face='Verdana'>♥
]]

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

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

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x-40
else
mouse=mouseLeft
x=x-45
end
y=y-70
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end
Miiiiigu
« Citoyen »
1399715040000
    • Miiiiigu#0000
    • Profil
    • Derniers messages
    • Tribu
#59
  0
All are pink .___.
Chuchuchacha
« Citoyen »
1449201480000
    • Chuchuchacha#0000
    • Profil
    • Derniers messages
    • Tribu
#60
  0
I wish those pictures were pictures of pokemon
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Script] Pet Mouse
« ‹ 3 / 4 › »
© Atelier801 2018

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

Version 1.27