×

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
  • /
  • Lights
« ‹ 3 / 3
Lights
Quesoyquesos
« Citoyen »
1386635880000
    • Quesoyquesos#0000
    • Profil
    • Derniers messages
    • Tribu
#41
  0
Lights in command? Plsssss :c
Samandefoc
« Citoyen »
1387111140000
    • Samandefoc#0000
    • Profil
    • Derniers messages
    • Tribu
#42
  0
lights={"1","2","4","9","11","13"}
pAtOnce=50
radiusX=100
radiusY=100
speedX=0
speedY=0

function eventLoop(ct,tr)
for i=1,pAtOnce do
tfm.exec.displayParticle(lights[math.random(#lights)],math.random(400-radiusX*4,400+radiusX*4),math.random(200-radiusY*2,200+radiusY*2),"0."..speedX,"0."..speedY,"0."..speedX,"0."..speedY,nil)
end
end

function eventChatCommand(p,c)
if c:sub(0,3)=="par" and tonumber(c:sub(5))<=1000 then
pAtOnce=c:sub(5)
elseif c:sub(0,2)=="rx" then
radiusX=c:sub(4)
elseif c:sub(0,2)=="ry" then
radiusY=c:sub(4)
elseif c:sub(0,2)=="xs" then
speedX=c:sub(4)
elseif c:sub(0,2)=="ys" then
speedY=c:sub(4)
end
print("<v>["..p.."] <n>"..c)
end

system.disableChatCommandDisplay("par",true)
system.disableChatCommandDisplay("rx",true)
system.disableChatCommandDisplay("ry",true)
system.disableChatCommandDisplay("xs",true)
system.disableChatCommandDisplay("ys",true)
print("<p align='left'>\n<n>Hello there, want <j>less/more lights <n>on the screen? Type <j>'!par number'<n>!\nWant the lights to go <j>further/closer<n>? Type <j>'!rx number' <n>or <j>'!ry number'<n>!\nWant to make the <j>lights move<n>? Type <j>'!xs number'<n> or <j>'!ys number'<n>!</p>")
Tailtong
« Citoyen »
1387111260000
    • Tailtong#0000
    • Profil
    • Derniers messages
    • Tribu
#43
  0
Don't paste the script here, paste it to the Lua box!
Samandefoc
« Citoyen »
1387111680000
    • Samandefoc#0000
    • Profil
    • Derniers messages
    • Tribu
#44
  0
k.......
Mangocata
1387129560000
    • Mangocata#0000
    • Profil
    • Derniers messages
#45
[Modéré par Icewolfbob, raison : Not English]
Dukaneon
« Citoyen »
1387141980000
    • Dukaneon#0000
    • Profil
    • Derniers messages
    • Tribu
#46
  0
Too qt lights. *-*
Raricius
« Citoyen »
1387228620000
    • Raricius#0000
    • Profil
    • Derniers messages
    • Tribu
#47
  0
The script is cool.
Bengalstar
« Citoyen »
1387231860000
    • Bengalstar#0000
    • Profil
    • Derniers messages
#48
  0
Raricius a dit :
The script is cool.

my words here

plus i love how we can use these in our tribe houses like for movie nights and stuff
Thedalek
1394532180000
    • Thedalek#0000
    • Profil
    • Derniers messages
#49
[Modéré par Bolinboy, raison : Spam]
Williamkang
« Citoyen »
1394565480000
    • Williamkang#0000
    • Profil
    • Derniers messages
#50
  0
How do you do that?
Izaazie
« Citoyen »
1399079280000
    • Izaazie#0000
    • Profil
    • Derniers messages
#51
  0
I tried a lot of lights and this is what I made ^-^
a dit :
pAtOnce=999
radiusX=100
radiusY=100
id=3

function eventLoop(ct,tr)
for i=1,id do
ui.removeTextArea(i,nil)
end
id=0
for i=1,pAtOnce do
color=math.random(0x000000, 0xFFFFFF)
ui.addTextArea(i,"",nil,math.random(400-radiusX*4,400+radiusX*4),math.random(200-radiusY*2,200+radiusY*2),1,1,color,color,0.75,true)
id=id+1
end
end

function eventChatCommand(p,c)
if c:sub(0,3)=="par" and tonumber(c:sub(5))<=1000 then
pAtOnce=c:sub(5)
elseif c:sub(0,2)=="rx" then
radiusX=c:sub(4)
elseif c:sub(0,2)=="ry" then
radiusY=c:sub(4)
end
print("<v>["..p.."] <n>"..c)
end

system.disableChatCommandDisplay("par",true)
system.disableChatCommandDisplay("rx",true)
system.disableChatCommandDisplay("ry",true)
print("<p align='left'>\n<n>Hello there, want <j>less/more lights <n>on the screen? Type <j>'!par number'<n>!\nWant the lights to go <j>further/closer<n>? Type <j>'!rx number' <n>or <j>'!ry number'<n>!</p>")

http://i.imgur.com/8GgFVBI.png
Cagataymylov
« Censeur »
1399563720000
    • Cagataymylov#0000
    • Profil
    • Derniers messages
    • Tribu
#52
  0
I keep on trying to make the less realistic colors , more , it does not work :( why?
Vaporous
« Citoyen »
1399797360000
    • Vaporous#0999
    • Profil
    • Derniers messages
    • Tribu
#53
  0
Cool and amazing!
Rosegoose
« Citoyen »
1404238980000
    • Rosegoose#0000
    • Profil
    • Derniers messages
    • Tribu
#54
  0
Its so Sparkly
*u*

Dernière modification le 1404239040000
Woebegone
« Citoyen »
1419041640000
    • Woebegone#8377
    • Profil
    • Derniers messages
    • Tribu
#55
  0
Good effect for the holidays :)
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Lights
« ‹ 3 / 3
© Atelier801 2018

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

Version 1.27