×

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] Wedding!
« ‹ 4 / 6 › »
[Script] Wedding!
Suprada
« Citoyen »
1424076780000
    • Suprada#0000
    • Profil
    • Derniers messages
#61
  0
How do you use the script?
Littlegumballs
« Citoyen »
1424098980000
    • Littlegumballs#4624
    • Profil
    • Derniers messages
    • Tribu
#62
  0
Cool map
Fussbet
1424303580000
    • Fussbet#0000
    • Profil
    • Derniers messages
    • Tribu
#63
[Modéré par Lemodile, raison : Spam.]
Fussbet
1424304000000
    • Fussbet#0000
    • Profil
    • Derniers messages
    • Tribu
#64
[Modéré par Lemodile, raison : Spam.]
Fussbet
1424304180000
    • Fussbet#0000
    • Profil
    • Derniers messages
    • Tribu
#65
[Modéré par Lemodile, raison : Spam.]
Fjewkhey
« Citoyen »
1425992160000
    • Fjewkhey#0000
    • Profil
    • Derniers messages
    • Tribu
#66
  0
Um. I didn't understand
Fjewkhey
1425992220000
    • Fjewkhey#0000
    • Profil
    • Derniers messages
    • Tribu
#67
[Modéré par Shamousey, raison : Double post. Also if you don't understand something, please try to explain what part you don't understand, what you expect to happen, etc.]
Woebegone
« Citoyen »
1426034940000
    • Woebegone#8377
    • Profil
    • Derniers messages
    • Tribu
#68
  0
fjewkhey a dit :
Um. I didn't understand

Suprada a dit :
How do you use the script?

Basically, you go into your tribe house and then you type /lua into the chat. A window should pop up. In that window, you paste in the script found here.

To set who the groom and bride is, you have to change some parts of the script. Don't worry, it's not complicated and it's not much. In the beginning of the script, you'll notice the following:

groom='Nandananda'
bride='Maestrodistr'

This is the part of the script you want to change. Let's set I want myself as the bride and Nyanpelt as the groom. First, I would have to replace the text inside the quotation marks on the line where it shows the groom. The text should be replaced to Nyanpelt, in my scenerio, like this:

groom='Nyanpelt'
bride='Maestrodistr'

Now for the bride, which is me, I do the same thing as I did to set the groom, except I do it for the bride like this:

groom='Nyanpelt'
bride='Juliantwofan'

Once you're done with that, you can press submit and hopefully, it will load the script if Lua is working.

Dernière modification le 1637694840000
Xiaomasha
« Citoyen »
1428632580000
    • Xiaomasha#0000
    • Profil
    • Derniers messages
    • Tribu
#69
  0
what is the code?
Woebegone
« Citoyen »
1428695640000
    • Woebegone#8377
    • Profil
    • Derniers messages
    • Tribu
#70
  0
Xiaomasha a dit :
what is the code?

groom='Nandananda'
bride='Maestrodistr'


f=400
e=350
a=0
t=0
p=0
finale=0

groomanswer=0
brideanswer=0
positiongroomlock=1
positionbridelock=0
bridewalking=0
stop=5

tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoTimeLeft(true)
tfm.exec.disableAfkDeath(true)
tfm.exec.disableAutoNewGame(true)
tfm.exec.newGame('@5014080')

function eventNewGame()
tfm.exec.movePlayer(groom,1350, 290,offset,0,0,offset)
tfm.exec.killPlayer(bride)
end

function eventNewPlayer(a)
tfm.exec.respawnPlayer(a)
end

function eventLoop(currentTime,timeRemaining)
t=t+1
if positiongroomlock==1 then
tfm.exec.movePlayer(groom,1350, 290,offset,0,0,offset)
end

if positionbridelock==1 then
tfm.exec.movePlayer(bride,1350, 290,offset,0,0,offset)
end

if t==60 then
ui.addTextArea(1,"Uhm. May we begin?",nil, 1350, 180,150,40, color,color,Alpha,false)
end

if t==80 then
ui.addTextArea(1,"Please welcome the bride!",nil, 1350, 180,150,40, color,color,Alpha,false)
tfm.exec.respawnPlayer(bride)
tfm.exec.movePlayer(bride,400, 350,offset,0,0,offset)
bridewalking=1
stop=0
end


if stop==0 then

if bridewalking==1 then
tfm.exec.movePlayer(bride,f, 350,offset,0,0,offset)
f=f+10
end

if f > 1145 then
e=e-3.5
tfm.exec.movePlayer(bride,f, e,offset,0,0,offset)
end

if f==1350 then
stop=1
bridewalking=0
positionbridelock=1
ui.addTextArea(1,"Ah there she is!",nil, 1350, 180,150,40, color,color,Alpha,false)
t=1000
end
end

if t==1006 then
ui.addTextArea(1,"Lets begin the ceremony.",nil, 1350, 180,150,40, color,color,Alpha,false)
end

if t==1012 then
ui.addTextArea(1,"We gathered to witness and celebrate",nil, 1350, 180,150,40, color,color,Alpha,false)
end

if t==1018 then
ui.addTextArea(1,"The union of 2 souls in ethernal companionship.",nil, 1350, 180,150,40, color,color,Alpha,false)
end

if t==1024 then
ui.addTextArea(1,"May they journey forth in prosperity and poverty",nil, 1350, 180,150,40, color,color,Alpha,false)
end

if t==1030 then
ui.addTextArea(1,"and in joy and hardship",nil, 1350, 180,150,40, color,color,Alpha,false)
end

if t==1036 then
ui.addTextArea(1,'Do you '..groom..'. agreed to be bound together in love now and forever?',nil, 1350, 160,150,70, color,color,Alpha,false)
groomanswer=1
end

if groomanswer==1 then
ui.addTextArea(2,'<a href="event:groomanswer"><p align="center">I do. Now and forever</p></a>',groom ,830,350,100,40,0x3c5064,0x3c5064,alpha)
end

if groomanswer==2 then
ui.addTextArea(3,"I do.Now and forever",nil ,1300,200,100)
t=2000
groomanswer=3
end

if t==2006 then
ui.removeTextArea(3,nil)
ui.addTextArea(1,'And do you '..bride..'. agreed to be bound together in love now and forever?',nil, 1350, 160,150,70, color,color,Alpha,false)
ui.addTextArea(2,'<a href="event:brideanswer"><p align="center">I do. Now and forever</p></a>',bride ,830,350,100,40,0x3c5064,0x3c5064,alpha)
end

if brideanswer==1 then
ui.addTextArea(3,"I do.Now and forever",nil ,1300,200,100)
t=3000
brideanswer=2
end

if t==3006 then
ui.removeTextArea(3,nil)
ui.addTextArea(1,'Then congratiulation! I declare this couple to be wed. Now you may kiss your spouse',nil, 1350, 180,150,50, color,color,Alpha,false)
end

if t==3012 then
ui.removeTextArea(3,nil)
tfm.exec.movePlayer(groom,1380, 290,offset,0,0,offset)
tfm.exec.movePlayer(bride,1320, 290,offset,0,0,offset)
finale=1
positiongroomlock=0
positionbridelock=0
end

if t==3020 then
ui.addTextArea(1,"Now lets partyyy!",nil, 1350, 180,150,40, color,color,Alpha,false)
end

end

function eventTextAreaCallback(id, player, callback)
if callback=='groomanswer' then
ui.removeTextArea(2,groom)
ui.removeTextArea(1,nil)
groomanswer=2
end

if callback=='brideanswer' then
ui.removeTextArea(2,bride)
ui.removeTextArea(1,nil)
brideanswer=1
end
end
Doggobitez
« Citoyen »
1428813240000
    • Doggobitez#1705
    • Profil
    • Derniers messages
#72
  0
whats the map code?

and how to do you paste 'Pastebin!' to make it work?
Woebegone
« Citoyen »
1428885660000
    • Woebegone#8377
    • Profil
    • Derniers messages
    • Tribu
#73
  0
flufeetail a dit :
whats the map code?

and how to do you paste 'Pastebin!' to make it work?

@5014080

You copy the script from Pastebin and then you paste it into the window that pops up when you type in /lua.
Curlfeather
« Citoyen »
1431192960000
    • Curlfeather#0000
    • Profil
    • Derniers messages
#74
  0
Suggestion;

Add: Bridesmaids, Flowergirls, Father to walk Bride down the ile, and more seats, maybe a place for the 'party' at the end.
Niellameow
« Citoyen »
1431597960000
    • Niellameow#0000
    • Profil
    • Derniers messages
    • Tribu
#75
  0
Is this the only thing that I would change?
groom='Nandananda'
bride='Maestrodistr'
Woebegone
« Citoyen »
1431629220000
    • Woebegone#8377
    • Profil
    • Derniers messages
    • Tribu
#76
  0
Niellameow a dit :
Is this the only thing that I would change?
groom='Nandananda'
bride='Maestrodistr'

Yes, you change Nandananda to the username you want for the groom and Maestrodistr to the username you want to be the bride.
Curlfeather
« Citoyen »
1432313280000
    • Curlfeather#0000
    • Profil
    • Derniers messages
#77
  0
Niellameow a dit :
Is this the only thing that I would change?
groom='Nandananda'
bride='Maestrodistr'

You can, but I messed around with it a bit and changed the quotes.
Roob
« Citoyen »
1435653900000
    • Roob#7191
    • Profil
    • Derniers messages
#78
  0
a dit :
Okay, sorry, I just read it. Thank you Juliantwofan for the explanation.

Juliantwofan a dit :
@5014080

You copy the script from Pastebin and then you paste it into the window that pops up when you type in /lua.


Oops, now I have another question.

I pasted the code with everything (but the names of the two characters) intact, yet nothing is happening.

http://i.imgur.com/ZERjual.png

I hit 'Submit', but nothing happened.

http://i.imgur.com/3lfuBzx.png

What to do...

Dernière modification le 1435654500000
Jessive
« Citoyen »
1435686000000
    • Jessive#0000
    • Profil
    • Derniers messages
#79
  0
ballooniey a dit :
a dit :
Okay, sorry, I just read it. Thank you Juliantwofan for the explanation.

Juliantwofan a dit :
@5014080

You copy the script from Pastebin and then you paste it into the window that pops up when you type in /lua.


Oops, now I have another question.

I pasted the code with everything (but the names of the two characters) intact, yet nothing is happening.

http://i.imgur.com/ZERjual.png

I hit 'Submit', but nothing happened.

http://i.imgur.com/3lfuBzx.png

What to do...

It takes a while,did you wait?
Roob
« Citoyen »
1435797600000
    • Roob#7191
    • Profil
    • Derniers messages
#80
  0
Jessive a dit :
ballooniey a dit :
a dit :
Okay, sorry, I just read it. Thank you Juliantwofan for the explanation.

Juliantwofan a dit :
@5014080

You copy the script from Pastebin and then you paste it into the window that pops up when you type in /lua.


Oops, now I have another question.

I pasted the code with everything (but the names of the two characters) intact, yet nothing is happening.

http://i.imgur.com/ZERjual.png

I hit 'Submit', but nothing happened.

http://i.imgur.com/3lfuBzx.png

What to do...

It takes a while,did you wait?

Currently, I've been waiting for around 2 minutes. Nothing's going on.
http://i.imgur.com/t1n3T89.png

(Screenshot for.. I don't know.)

Dernière modification le 1435797960000
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Script] Wedding!
« ‹ 4 / 6 › »
© Atelier801 2018

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

Version 1.27