×

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
  • /
  • [Module] SPACE
« ‹ 3 / 3
[Module] SPACE
Evancal
« Censeur »
1485450060000
    • Evancal#0000
    • Profil
    • Derniers messages
    • Tribu
#41
  0
Sourialp a dit :
hm merci evancale, certaine sont très bien réaliser, mais je ne pense pas les utiliser tout simplement car ce n'est pas en rapport avec l'histoire... et que ce n’est pas moi qui l'ai fait (donc très difficile a modifier)

Mais même si je suis sur d'autre projet je peu faire une suite si elle est pas mal demandée ;)

Evancal* Y-Y

Oui, je sais, c'est dans l'espace que sa ce passe ! xD

Sourialp a dit :
je ne pense pas les utiliser tout simplement car ce n'est pas en rapport avec l'histoire... et que ce n’est pas moi qui l'ai fait (donc très difficile a modifier)

Ah ^^'

Sourialp a dit :
Mais même si je suis sur d'autre projet je peu faire une suite si elle est pas mal demandée ;)

Une suite !

Dernière modification le 1485450120000
Evadoudou
« Citoyen »
1486054860000
    • Evadoudou#0000
    • Profil
    • Derniers messages
    • Tribu
#42
  0
par contre la 1ère étape de prendre les outils dans l'armoire pour ouvrir c'est facile dans la 2ème monter la paroi aussi et ESPACE sur les 3 ordis mais la 3ème étape je l'a trouve difficile car le courant (le vent) est très fort que sa nous mais loin et je n'arrive pas à allez de l'autre côté c'est trop dur :/
Evancal
« Censeur »
1486055280000
    • Evancal#0000
    • Profil
    • Derniers messages
    • Tribu
#43
  0
WJ ! :D x)
Evadoudou
« Citoyen »
1486055580000
    • Evadoudou#0000
    • Profil
    • Derniers messages
    • Tribu
#44
  0
Evancal c'est quoi le code du jeu SPACE '-' ?
Evancal
« Censeur »
1486058580000
    • Evancal#0000
    • Profil
    • Derniers messages
    • Tribu
#45
  0
Ouvre

Sourialp a dit :

Pour faire cette petite aventure, allez dans votre maison de tribu, et tapez "/lua"
dans le tchat. Une sorte de menu s'ouvrira, dedans vous copier/coller le code si dessous puis cliquez sur "validé";
(si vous n'avez pas les droits, demandez à quelqu'un qui possèdes les droits de tribu de lancé le jeu)


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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
function main()
tfm.exec.disableMinimalistMode (true)
tfm.exec.disableDebugCommand (true)
tfm.exec.disableMortCommand (true)
tfm.exec.disableWatchCommand (true)
tfm.exec.disableAfkDeath (true)
tfm.exec.disableAutoScore (true)
tfm.exec.disableAutoShaman (true)
tfm.exec.disableAutoTimeLeft (true)
tfm.exec.disableAutoNewGame (true)
tfm.exec.newGame ("@6998650")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="0"}
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, tu es dans la station spatiale nyancat. Ici se déroulera les expériences chimiques 2.1 je te souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", nil, 150, 200, 500, 500, true)
end


function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,true,true)
end

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

function eventNewPlayer (name)
if maTable.event=="1" then
tfm.exec.respawnPlayer (name)
tfm.exec.bindKeyboard(name,32,true,true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, vous êtes dans la station spatiale nyan cat. Ici se déroulera les expériences chimiques 2.1 je vous souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", name, 150, 200, 500, 500, true)
else
tfm.exec.bindKeyboard(name,32,true,true)
tfm.exec.respawnPlayer (name)
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, vous êtes dans la station spatiale nyan cat. Ici se déroulera les expériences chimiques 2.1 je vous souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", name, 150, 200, 500, 500, true)
end
end

function eventPlayerDied (name)
tfm.exec.respawnPlayer (name)
end

function eventChatCommand(name, message)
if maTable.event=="0" then
if message=="start" then
tfm.exec.newGame ("@6998690")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="1"}
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par des météorites!!! l'ascenseur gravitationnel et le couloir sont détruits, allez chercher des outils dans l’armoire pour ouvrir et passer dans les conduits d'aération. Une fois cela fait, enclenchez manuellement l'alarme incendie dans la salle de contrôle pour éteindre le feu!!!", nil, 150, 200, 500, 500, true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
end
end
if maTable.event=="0" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_1</font> Faites: ''<font color='#000000'>!start</font>'' </font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="1" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_1</font> Aller chercher des outils dans l'armoire.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="2" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_2</font> Ouvir le conduit d'aération grâce aux outils.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="3" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_3</font> Aller enclencher l'alarme incendie grace au ordinateurs principaux.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="4" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#FF0000'>S'enfuir</font> dans le module de sauvetage!!! Se situant à gauche du vaisseau!!!</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="5" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#FF0000'>Départ dans 15 s !!!</font></font>", nil, 150, 200, 500, 500, true)
end
end
if maTable.event=="6" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_</font> Faites '<font color='#000000'>!restart</font>' Pour recommencer.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="6" then
if message=="restart" then
tfm.exec.newGame ("@6998690")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="1"}
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par des météorites!!! l'ascenseur gravitationnel et le couloir sont détruits, allez chercher des outils dans l’armoire pour ouvrir et passer dans les conduits d'aération. Une fois cela fait, enclenchez manuellement l'alarme incendie dans la salle de contrôle pour éteindre le feu!!!", nil, 150, 200, 500, 500, true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
end
end
end

function eventKeyboard(name, key, down, x, y)
if maTable.event=="1" then
if 186<x and x<242 and y==587 and key==32 then -- pour l'armoire
maTable = { event="2"}
tfm.exec.displayParticle(3, x, y)
end
end
if maTable.event=="2" then
if 732<x and x<750 and y==775 and key==32 then -- pour les conduits d'aération
maTable = { event="3"}
tfm.exec.playEmote (name, 26)
tfm.exec.displayParticle(3, x, y)
tfm.exec.removePhysicObject(id)
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
end
end
if maTable.event=="3" then
if 1088<x and x<1149 and y==775 and key==32 then -- pour la salle de contrôle
maTable = { event="4"}
tfm.exec.displayParticle(3, x, y)
tfm.exec.newGame ("@6998666")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par une énorme météorite!!! Le mur est détruit!! Vite, l'air s’échappe, allez rapidement dans la cabine de sauvetage!!!", nil, 150, 200, 500, 500, true)
end
end
if maTable.event=="4" then
if 144<x and x<187 and y==775 and key==32 then -- pour la cabine de sauvetage
maTable = { event="5"}
tfm.exec.displayParticle(3, x, y)
tfm.exec.movePlayer (name, 119, 777, false, 0, 0, false)
tfm.exec.disableAutoNewGame (false)
tfm.exec.disableAutoTimeLeft (false)
tfm.exec.setGameTime (15, true)
end
end
end

function eventNewGame ()
if maTable.event=="5" then
tfm.exec.newGame ('<C><P aie="" L="3000" G="0,2" H="800" mc="" defilante="0,0,0,1" /><Z><S><S P="0,0,0,0,0,0,0,0" X="2600" L="3000" o="0" H="3000" c="4" Y="479" T="12" /><S P="0,0,0,0,0,0,0,0" H="3000" L="3000" o="0" X="-375" c="4" Y="593" T="12" /><S P="0,0,0,0,0,0,0,0" H="400" L="1300" o="ffffff" X="789" c="4" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="337" L="110" o="3d3d3d" X="817" c="4" Y="625" T="12" /><S P="0,0,0.3,0,0,0,0,0" X="785" L="1300" o="3d3d3d" H="61" c="4" Y="434" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="10" L="1380" o="797979" X="749" c="1" N="" Y="795" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="ff0000" H="10" X="148" Y="774" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="928" H="305" X="1897" Y="647" T="8" /><S m="" P="0,0,0,0,0,0,0,0" L="10" o="eff00" H="1000" X="1441" N="" Y="0" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="400" X="140" N="" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1300" o="797979" H="10" X="785" N="" Y="405" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="1435" Y="450" T="12" /><S P="0,0,0,0,3,0,0,0" H="330" L="10" o="797979" X="859" c="1" Y="631" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="28" o="797979" H="10" X="784" Y="754" T="12" /><S P="0,0,0.3,0.2,3,0,0,0" H="297" L="10" o="797979" X="802" c="1" Y="610" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="674" o="797979" H="10" X="478" N="" Y="466" T="12" /><S P="0,0,1,0,0,0,0,0" H="330" L="10" o="797979" X="868" c="1" N="" Y="629" T="12" /><S P="0,0,0,0,0,0,0,0" L="10" o="797979" H="292" X="767" N="" Y="613" T="12" /><S m="" P="0,0,,,,0,0,0" L="70" H="30" X="632" Y="769" T="9" /><S P="0,0,0.3,0.2,0,0,0,0" L="71" o="0" H="10" X="631" Y="787" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="97" L="79" o="ffffff" H="88" c="4" Y="749" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="21" L="10" o="797979" X="352" c="1" Y="472" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="442" o="797979" H="10" X="361" N="" Y="607" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="203" o="0" H="88" X="303" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="224" o="797979" H="10" X="975" N="" Y="466" T="12" /><S P="0,0,4,0.2,0,0,0,0" L="294" o="797979" H="10" X="1288" N="" Y="466" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="199" o="ffffff" H="81" X="303" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="57" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="85" o="797979" H="10" X="94" Y="704" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="10" L="15" o="0" X="97" c="4" Y="749" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" H="10" L="13" o="2786b6" X="97" c="4" Y="749" T="13" /><S P="0,0,4,0.2,0,0,0,0" H="21" L="10" o="797979" X="1235" c="1" Y="481" T="12" /><S P="0,0,,,,0,0,0" L="171" H="10" X="347" Y="788" T="9" /><S P="0,0,,,,0,0,0" L="135" H="10" X="337" Y="600" T="9" /><S P="0,0,0.3,0.2,-30,0,0,0" L="325" H="133" X="1516" Y="507" T="8" /><S P="0,0,0.3,0.2,20,0,0,0" L="325" H="133" X="1543" Y="789" T="8" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="230" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="244" Y="689" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="363" L="10" o="797979" H="21" c="1" Y="612" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="244" Y="666" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="245" Y="645" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="280" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="27" o="0" H="10" X="350" Y="667" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" L="20" o="ffffff" H="10" X="350" Y="667" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="347" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="30" o="ffffff" H="54" X="328" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="324" Y="667" T="12" /><S P="0,0,0.3,0.2,45,0,0,0" L="60" o="0" H="10" X="302" Y="667" T="12" /></S><D><DS Y="773" X="93" /><P X="391" P="1,0" Y="551" T="11" /><P X="213" P="1,0" Y="601" T="29" /><P X="329" P="1,0" C="46788e" Y="601" T="24" /><P X="442" P="1,0" Y="563" T="25" /><P X="441" P="1,0" Y="601" T="33" /><P X="213" P="1,0" Y="509" T="41" /><P X="517" P="1,0" Y="602" T="28" /></D><O /></Z></C>')
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
ui.addPopup(1, 0, " GAME OVER", nil, 150, 200, 500, 500, true)
tfm.exec.setGameTime (15, true)
tfm.exec.disableAutoTimeLeft (true)
tfm.exec.disableAutoNewGame (true)
maTable = { event="6"}
end
end
main()


Une fois cela fait, un joueur pourra faire "!start" dans le tchat pour commencer le jeu.

Mode EASY:
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
function main()
tfm.exec.disableMinimalistMode (true)
tfm.exec.disableDebugCommand (true)
tfm.exec.disableMortCommand (true)
tfm.exec.disableWatchCommand (true)
tfm.exec.disableAfkDeath (true)
tfm.exec.disableAutoScore (true)
tfm.exec.disableAutoShaman (true)
tfm.exec.disableAutoTimeLeft (true)
tfm.exec.disableAutoNewGame (true)
tfm.exec.newGame ("@6998650")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="0"}
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, vous êtes dans la station spatiale nyan cat. Ici se déroulera les expériences chimiques 2.1 je vous souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", nil, 150, 200, 500, 500, true)
end


function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,true,true)
end

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

function eventNewPlayer (name)
if maTable.event=="1" then
tfm.exec.respawnPlayer (name)
tfm.exec.bindKeyboard(name,32,true,true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, vous êtes dans la station spatiale nyan cat. Ici se déroulera les expériences chimiques 2.1 je vous souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", name, 150, 200, 500, 500, true)
else
tfm.exec.bindKeyboard(name,32,true,true)
tfm.exec.respawnPlayer (name)
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, vous êtes dans la station spatiale nyan cat. Ici se déroulera les expériences chimiques 2.1 je vous souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", name, 150, 200, 500, 500, true)
end
end

function eventPlayerDied (name)
tfm.exec.respawnPlayer (name)
end

function eventChatCommand(name, message)
if maTable.event=="0" then
if message=="start" then
tfm.exec.newGame ('<C><P aie="" H="800" mc="" defilante="0,0,0,1" L="3000" /><Z><S><S P="0,0,0,0,0,0,0,0" X="2595" L="3000" o="0" H="3000" c="4" Y="526" T="12" /><S P="0,0,0,0,0,0,0,0" H="3000" L="3000" o="0" X="-375" c="4" Y="593" T="12" /><S P="0,0,0,0,0,0,0,0" H="400" L="1300" o="ffffff" X="789" c="4" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="708" L="1500" o="0" H="77" c="4" N="" Y="838" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="337" L="110" o="3d3d3d" X="817" c="4" Y="625" T="12" /><S P="0,0,0.3,0,0,0,0,0" X="785" L="1300" o="3d3d3d" H="61" c="4" Y="434" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="10" L="1380" o="797979" X="749" c="1" N="" Y="795" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="ff0000" H="10" X="148" Y="774" T="12" /><S m="" P="0,0,0,9999,0,0,0,0" L="200" o="eff00" H="30" X="374" N="" Y="778" T="12" /><S m="" P="0,0,0,0,-70,0,0,0" L="10" o="eff00" H="142" X="211" N="" Y="746" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="400" X="140" N="" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1300" o="797979" H="10" X="785" Y="405" T="12" /><S P="0,0,0,0,0,0,0,0" L="10" o="797979" H="400" X="1436" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="363" L="10" o="797979" H="21" c="1" Y="612" T="12" /><S P="0,0,0,0,5,0,0,0" H="330" L="10" o="797979" X="854" c="1" N="" Y="631" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="28" o="797979" H="10" X="784" N="" Y="754" T="12" /><S P="0,0,0.3,0.2,3,0,0,0" H="297" L="10" o="797979" X="802" c="1" N="" Y="610" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="674" o="797979" H="10" X="478" N="" Y="466" T="12" /><S P="0,0,0,0,0,0,0,0" H="330" L="10" o="797979" X="868" c="1" N="" Y="629" T="12" /><S P="0,0,0,0,0,0,0,0" L="10" o="797979" H="292" X="767" N="" Y="613" T="12" /><S m="" P="0,0,,,,0,0,0" L="70" H="30" X="632" Y="769" T="9" /><S P="0,0,0.3,0.2,0,0,0,0" L="71" o="0" H="10" X="631" Y="787" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="97" L="79" o="ffffff" H="88" c="4" Y="749" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="21" L="10" o="797979" X="352" c="1" Y="472" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="442" o="797979" H="10" X="361" N="" Y="607" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="15" L="10" o="0" X="1118" c="4" Y="761" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="23" L="28" o="0" X="1118" c="4" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="20" L="26" o="2786b6" X="1118" c="4" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="24" L="100" o="0" X="1118" c="4" Y="779" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="1158" L="28" o="0" H="23" c="4" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="1158" L="10" o="0" H="15" c="4" Y="765" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="1158" L="26" o="2786b6" H="20" c="4" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="1080" L="10" o="0" H="15" c="4" Y="764" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="1080" L="28" o="0" H="23" c="4" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="20" L="26" o="2786b6" X="1080" c="4" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="224" o="797979" H="10" X="975" N="" Y="466" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="294" o="797979" H="10" X="1288" N="" Y="466" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="57" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="85" o="797979" H="10" X="94" Y="704" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="15" o="0" H="10" X="97" Y="749" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" L="13" o="2786b6" H="10" X="97" Y="749" T="13" /><S P="0,0,1,0,0,0,0,0" L="10" o="797979" H="15" X="765" Y="713" T="12" /><S P="0,0,0.8,0.2,0,0,0,0" L="10" o="797979" H="15" X="765" Y="665" T="12" /><S m="" P="0,0,,,,0,0,0" L="70" H="30" X="635" Y="650" T="9" /><S P="0,0,0.3,0.2,0,0,0,0" H="21" L="10" o="797979" X="1235" c="1" Y="475" T="12" /><S m="" P="0,0,,,,0,0,0" L="500" H="10" X="1139" Y="714" T="9" /></S><D><DS Y="778" X="554" /><P X="328" P="1,0" Y="868" T="44" /><P X="284" P="1,0" Y="863" T="44" /><P X="307" P="1,0" Y="867" T="44" /><P X="350" P="1,0" Y="866" T="44" /><P X="397" P="1,0" Y="869" T="44" /><P X="375" P="1,0" Y="869" T="44" /><P X="414" P="1,0" Y="869" T="44" /><P X="438" P="1,0" Y="865" T="44" /><P X="468" P="1,0" Y="866" T="44" /><P X="318" P="1,0" Y="870" T="44" /><P X="362" P="1,0" Y="868" T="44" /><P X="211" P="1,0" Y="578" T="44" /><P X="391" P="1,0" Y="551" T="11" /><P X="213" P="1,0" Y="601" T="29" /><P X="329" P="1,0" C="46788e" Y="601" T="24" /><P X="442" P="1,0" Y="561" T="25" /><P X="441" P="1,0" Y="601" T="33" /><P X="213" P="1,0" Y="509" T="41" /><P X="960" P="1,0" Y="835" T="44" /><P X="517" P="1,0" Y="602" T="28" /><P X="956" P="1,0" Y="541" T="23" /><P X="962" P="1,0" C="48230c" Y="790" T="20" /><P X="1257" P="1,0" Y="685" T="44" /><P X="1248" P="1,0" Y="789" T="42" /></D><O /></Z></C>')
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="1"}
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par des météorites!!! l'ascenseur gravitationnel et le couloir sont détruits, aller chercher des outils dans l’armoire pour ouvrir et passer dans les conduits d'aération. Une fois cela fait, enclenchez manuellement l'alarme incendie dans la salle de contrôle pour éteindre le feu!!!", nil, 150, 200, 500, 500, true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
end
end
if maTable.event=="0" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_1</font> Faites: ''<font color='#000000'>!start</font>'' </font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="1" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_1</font> Aller chercher des outils dans l'armoire.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="2" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_2</font> Ouvir le conduit d'aération grâce aux outils.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="3" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_3</font> Aller enclencher l'alarme incendie grace au ordinateurs principaux.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="4" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#FF0000'>S'enfuir</font> dans le module de sauvetage!!! Se situant à gauche du vaisseau!!!</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="5" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#FF0000'>Départ dans 15 s !!!</font></font>", nil, 150, 200, 500, 500, true)
end
end
if maTable.event=="6" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_</font> Faites '<font color='#000000'>!restart</font>' Pour recommencer.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="6" then
if message=="restart" then
tfm.exec.newGame ("@6998690")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="1"}
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par des météorites!!! l'ascenseur gravitationnel et le couloir sont détruits, allez chercher des outils dans l’armoire pour ouvrir et passer dans les conduits d'aération. Une fois cela fait, enclenchez manuellement l'alarme incendie dans la salle de contrôle pour éteindre le feu!!!", nil, 150, 200, 500, 500, true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
end
end
end

function eventKeyboard(name, key, down, x, y)
if maTable.event=="1" then
if 186<x and x<242 and y==587 and key==32 then -- pour l'armoire
maTable = { event="2"}
tfm.exec.displayParticle(3, x, y)
end
end
if maTable.event=="2" then
if 732<x and x<750 and y==775 and key==32 then -- pour les conduits d'aération
maTable = { event="3"}
tfm.exec.playEmote (name, 26)
tfm.exec.displayParticle(3, x, y)
tfm.exec.removePhysicObject(id)
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
end
end
if maTable.event=="3" then
if 1088<x and x<1149 and y==775 and key==32 then -- pour la salle de contrôle
maTable = { event="4"}
tfm.exec.displayParticle(3, x, y)
tfm.exec.newGame ('<C><P aie="" mc="" L="3000" G="15,2" H="800" defilante="0,0,0,1" /><Z><S><S P="0,0,0,0,0,0,0,0" X="2600" L="3000" o="0" H="3000" c="4" Y="479" T="12" /><S P="0,0,0,0,0,0,0,0" H="3000" L="3000" o="0" X="-375" c="4" Y="593" T="12" /><S P="0,0,0,0,0,0,0,0" H="400" L="1300" o="ffffff" X="789" c="4" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="337" L="110" o="3d3d3d" X="817" c="4" Y="625" T="12" /><S P="0,0,0.3,0,0,0,0,0" X="785" L="1300" o="3d3d3d" H="61" c="4" Y="434" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="10" L="1380" o="797979" X="749" c="1" N="" Y="795" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="ff0000" H="10" X="148" Y="774" T="12" /><S m="" P="0,0,0,0,0,0,0,0" L="10" o="eff00" H="1000" X="1441" N="" Y="0" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="400" X="140" N="" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1300" o="797979" H="10" X="785" N="" Y="405" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="1435" Y="450" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="363" L="10" o="797979" H="21" c="1" Y="612" T="12" /><S P="0,0,0,0,5,0,0,0" H="330" L="10" o="797979" X="854" c="1" N="" Y="631" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="28" o="797979" H="10" X="784" N="" Y="754" T="12" /><S P="0,0,0.3,0.2,3,0,0,0" H="297" L="10" o="797979" X="802" c="1" N="" Y="610" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="674" o="797979" H="10" X="478" N="" Y="466" T="12" /><S P="0,0,1,0,0,0,0,0" H="330" L="10" o="797979" X="868" c="1" N="" Y="629" T="12" /><S P="0,0,0,0,0,0,0,0" L="10" o="797979" H="292" X="767" N="" Y="613" T="12" /><S m="" P="0,0,,,,0,0,0" L="70" H="30" X="632" Y="769" T="9" /><S P="0,0,0.3,0.2,0,0,0,0" L="71" o="0" H="10" X="631" Y="787" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="97" L="79" o="ffffff" H="88" c="4" Y="749" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="21" L="10" o="797979" X="352" c="1" Y="472" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="442" o="797979" H="10" X="361" N="" Y="607" T="12" /><S P="0,0,0.3,0.2,-20,0,0,0" H="20" L="26" o="2786b6" X="1779" c="4" Y="593" T="12" /><S P="0,0,0.3,0.2,20,0,0,0" X="1556" L="26" o="2786b6" H="20" c="4" Y="695" T="12" /><S P="0,0,0.3,0.2,20,0,0,0" X="1741" L="10" o="ffffff" H="15" c="4" Y="543" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="20" L="26" o="2786b6" X="1858" c="4" Y="502" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="224" o="797979" H="10" X="975" N="" Y="466" T="12" /><S P="0,0,4,0.2,0,0,0,0" L="294" o="797979" H="10" X="1288" N="" Y="466" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="57" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="85" o="797979" H="10" X="94" Y="704" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="97" L="15" o="0" H="10" c="4" Y="749" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" X="97" L="13" o="2786b6" H="10" c="4" Y="749" T="13" /><S P="0,0,4,0.2,0,0,0,0" H="21" L="10" o="797979" X="1235" c="1" Y="481" T="12" /><S P="0,0,,,,0,0,0" L="171" H="10" X="347" Y="788" T="9" /><S P="0,0,,,,0,0,0" L="135" H="10" X="337" Y="600" T="9" /><S P="0,0,0.3,0.2,-30,0,0,0" L="10" o="797979" H="80" X="1573" Y="519" T="12" /><S P="0,0,0.3,0.2,40,0,0,0" L="10" o="797979" H="104" X="1544" Y="753" T="12" /><S P="0,0,0.3,0.2,80,0,0,0" L="10" o="797979" H="105" X="1734" Y="642" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="928" H="305" X="1897" Y="648" T="8" /><S P="0,0,0.3,0.2,-30,0,0,0" L="325" H="133" X="1530" Y="522" T="8" /><S P="0,0,0.3,0.2,20,0,0,0" L="325" H="133" X="1555" Y="785" T="8" /><S m="" P="0,0,,,,0,0,0" L="70" H="30" X="1232" Y="498" T="9" /></S><D><DS Y="773" X="1108" /><P X="391" P="1,0" Y="551" T="11" /><P X="213" P="1,0" Y="601" T="29" /><P X="329" P="1,0" C="46788e" Y="601" T="24" /><P X="442" P="1,0" Y="563" T="25" /><P X="441" P="1,0" Y="601" T="33" /><P X="213" P="1,0" Y="509" T="41" /><P X="517" P="1,0" Y="602" T="28" /></D><O /></Z></C>')
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par une énorme météorite!!! Le mur est détruit!! Vite, l'air s’échapper, allez rapidement dans la cabine de sauvetage!!!", nil, 150, 200, 500, 500, true)
end
end
if maTable.event=="4" then
if 144<x and x<187 and y==775 and key==32 then -- pour la cabine de sauvetage
maTable = { event="5"}
tfm.exec.displayParticle(3, x, y)
tfm.exec.movePlayer (name, 119, 777, false, 0, 0, false)
tfm.exec.disableAutoNewGame (false)
tfm.exec.disableAutoTimeLeft (false)
tfm.exec.setGameTime (15, true)
end
end
end

function eventNewGame ()
if maTable.event=="5" then
tfm.exec.newGame ('<C><P aie="" mc="" L="3000" G="0,2" H="800" defilante="0,0,0,1" /><Z><S><S P="0,0,0,0,0,0,0,0" H="3000" L="3000" o="0" X="2600" c="4" Y="479" T="12" /><S P="0,0,0,0,0,0,0,0" X="-375" L="3000" o="0" H="3000" c="4" Y="593" T="12" /><S P="0,0,0,0,0,0,0,0" X="789" L="1300" o="ffffff" H="400" c="4" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="817" L="110" o="3d3d3d" H="337" c="4" Y="625" T="12" /><S P="0,0,0.3,0,0,0,0,0" H="61" L="1300" o="3d3d3d" X="785" c="4" Y="434" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="749" L="1380" o="797979" H="10" c="1" N="" Y="795" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="ff0000" H="10" X="148" Y="774" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="928" H="305" X="1897" Y="647" T="8" /><S m="" P="0,0,0,0,0,0,0,0" L="10" o="eff00" H="1000" X="1441" N="" Y="0" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="400" X="140" N="" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1300" o="797979" H="10" X="785" N="" Y="405" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="1435" Y="450" T="12" /><S P="0,0,0,0,5,0,0,0" X="854" L="10" o="797979" H="330" c="1" Y="631" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="28" o="797979" H="10" X="784" Y="754" T="12" /><S P="0,0,0.3,0.2,3,0,0,0" X="802" L="10" o="797979" H="297" c="1" Y="610" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="674" o="797979" H="10" X="478" N="" Y="466" T="12" /><S P="0,0,1,0,0,0,0,0" X="868" L="10" o="797979" H="330" c="1" N="" Y="629" T="12" /><S P="0,0,0,0,0,0,0,0" L="10" o="797979" H="292" X="767" N="" Y="613" T="12" /><S m="" P="0,0,,,,0,0,0" L="70" H="30" X="632" Y="769" T="9" /><S P="0,0,0.3,0.2,0,0,0,0" L="71" o="0" H="10" X="631" Y="787" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="88" L="79" o="ffffff" X="97" c="4" Y="749" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="352" L="10" o="797979" H="21" c="1" Y="472" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="442" o="797979" H="10" X="361" N="" Y="607" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="203" o="0" H="88" X="303" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="224" o="797979" H="10" X="975" N="" Y="466" T="12" /><S P="0,0,4,0.2,0,0,0,0" L="294" o="797979" H="10" X="1288" N="" Y="466" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="199" o="ffffff" H="81" X="303" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="57" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="85" o="797979" H="10" X="94" Y="704" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="97" L="15" o="0" H="10" c="4" Y="749" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" X="97" L="13" o="2786b6" H="10" c="4" Y="749" T="13" /><S P="0,0,4,0.2,0,0,0,0" X="1235" L="10" o="797979" H="21" c="1" Y="481" T="12" /><S P="0,0,,,,0,0,0" L="171" H="10" X="347" Y="788" T="9" /><S P="0,0,,,,0,0,0" L="135" H="10" X="337" Y="600" T="9" /><S P="0,0,0.3,0.2,-30,0,0,0" L="325" H="133" X="1516" Y="507" T="8" /><S P="0,0,0.3,0.2,20,0,0,0" L="325" H="133" X="1543" Y="789" T="8" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="230" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="244" Y="689" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="21" L="10" o="797979" X="363" c="1" Y="612" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="244" Y="666" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="245" Y="645" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="280" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="27" o="0" H="10" X="350" Y="667" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" L="20" o="ffffff" H="10" X="350" Y="667" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="347" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="30" o="ffffff" H="54" X="328" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="324" Y="667" T="12" /><S P="0,0,0.3,0.2,45,0,0,0" L="60" o="0" H="10" X="302" Y="667" T="12" /></S><D><DS Y="773" X="93" /><P X="391" P="1,0" Y="551" T="11" /><P X="213" P="1,0" Y="601" T="29" /><P X="329" P="1,0" C="46788e" Y="601" T="24" /><P X="442" P="1,0" Y="563" T="25" /><P X="441" P="1,0" Y="601" T="33" /><P X="213" P="1,0" Y="509" T="41" /><P X="517" P="1,0" Y="602" T="28" /></D><O /></Z></C>')
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
ui.addPopup(1, 0, " GAME OVER", nil, 150, 200, 500, 500, true)
tfm.exec.setGameTime (15, true)
tfm.exec.disableAutoTimeLeft (true)
tfm.exec.disableAutoNewGame (true)
maTable = { event="6"}
end
end
main()



Mode HARD:

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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
function main()
tfm.exec.disableMinimalistMode (true)
tfm.exec.disableDebugCommand (true)
tfm.exec.disableMortCommand (true)
tfm.exec.disableWatchCommand (true)
tfm.exec.disableAfkDeath (true)
tfm.exec.disableAutoScore (true)
tfm.exec.disableAutoShaman (true)
tfm.exec.disableAutoTimeLeft (true)
tfm.exec.disableAutoNewGame (true)
tfm.exec.newGame ("@6998650")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="0"}
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, tu es dans la station spatiale nyancat. Ici se déroulera les expériences chimiques 2.1 je te souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", nil, 150, 200, 500, 500, true)
end


function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,true,true)
end

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

function eventNewPlayer (name)
if maTable.event=="1" then
tfm.exec.respawnPlayer (name)
tfm.exec.bindKeyboard(name,32,true,true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, vous êtes dans la station spatiale nyan cat. Ici se déroulera les expériences chimiques 2.1 je vous souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", name, 150, 200, 500, 500, true)
else
tfm.exec.bindKeyboard(name,32,true,true)
tfm.exec.respawnPlayer (name)
ui.addPopup(1, 0, "<font color='#FFFFFF'>Bienvenue, vous êtes dans la station spatiale nyan cat. Ici se déroulera les expériences chimiques 2.1 je vous souhaite bonne chance. (<font color='#000000'>Maître du jeu</font>: faites espace aux endroits indiqués pour faire les actions demandées. Faites <font color='#000000'>!help</font> pour voir les objectifs.) </font>", name, 150, 200, 500, 500, true)
end
end

function eventPlayerDied (name)
tfm.exec.newGame ("@6832679")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="6"}
ui.addPopup(1, 0, "<font color='#000000'>GAME OVER TRY AGAIN</font>", nil, 150, 200, 500, 500, true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
end

function eventChatCommand(name, message)
if maTable.event=="0" then
if message=="start" then
tfm.exec.newGame ("@6998690")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="1"}
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par des météorites!!! l'ascenseur gravitationnel et le couloir sont détruits, aller chercher des outils dans l’armoire pour ouvrir et passer dans les conduits d'aération. Une fois cela fait, enclenchez manuellement l'alarme incendie dans la salle de contrôle pour éteindre le feu!!!", nil, 150, 200, 500, 500, true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
end
end
if maTable.event=="0" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_1</font> Faites: ''<font color='#000000'>!start</font>'' </font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="1" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_1</font> Aller chercher des outils dans l'armoire.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="2" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_2</font> Ouvir le conduit d'aération grâce aux outils.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="3" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_3</font> Aller enclencher l'alarme incendie grace au ordinateurs principaux.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="4" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#FF0000'>S'enfuir</font> dans le module de sauvetage!!! Se situant à gauche du vaisseau!!!</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="5" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#FF0000'>Départ dans 15 s !!!</font></font>", nil, 150, 200, 500, 500, true)
end
end
if maTable.event=="6" then
if message=="help" then
ui.addPopup(1, 0, "<font color='#000000'>Objectifs</font><font color='#FFFFFF'>: <font color='#000000'>_</font> Faites '<font color='#000000'>!restart</font>' Pour recommencer.</font>", name, 150, 200, 500, 500, true)
end
end
if maTable.event=="6" then
if message=="restart" then
tfm.exec.newGame ("@6998690")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
maTable = { event="1"}
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par des météorites!!! l'ascenseur gravitationnel et le couloir sont détruits, allez chercher des outils dans l’armoire pour ouvrir et passer dans les conduits d'aération. Une fois cela fait, enclenchez manuellement l'alarme incendie dans la salle de contrôle pour éteindre le feu!!!", nil, 150, 200, 500, 500, true)
definition = {type=12,width=10,height=40,foreground=0,friction=0.1,color=0x797979,inearDamping=3}
id = 10
tfm.exec.addPhysicObject(id, 765, 775, definition)
end
end
end

function eventKeyboard(name, key, down, x, y)
if maTable.event=="1" then
if 186<x and x<242 and y==587 and key==32 then -- pour l'armoire
maTable = { event="2"}
tfm.exec.displayParticle(3, x, y)
end
end
if maTable.event=="2" then
if 732<x and x<750 and y==775 and key==32 then -- pour les conduits d'aération
maTable = { event="3"}
tfm.exec.playEmote (name, 26)
tfm.exec.displayParticle(3, x, y)
tfm.exec.removePhysicObject(id)
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
end
end
if maTable.event=="3" then
if 1088<x and x<1149 and y==775 and key==32 then -- pour la salle de contrôle
maTable = { event="4"}
tfm.exec.displayParticle(3, x, y)
tfm.exec.newGame ("@6998666")
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
ui.addPopup(1, 0, "Oh non!!! Nous avons été percuté par une énorme météorite!!! Le mur est détruit!! Vite, l'air s’échappe, allez rapidement dans la cabine de sauvetage!!!", nil, 150, 200, 500, 500, true)
end
end
if maTable.event=="4" then
if 144<x and x<187 and y==775 and key==32 then -- pour la cabine de sauvetage
maTable = { event="5"}
tfm.exec.displayParticle(3, x, y)
tfm.exec.movePlayer (name, 119, 777, false, 0, 0, false)
tfm.exec.disableAutoNewGame (false)
tfm.exec.disableAutoTimeLeft (false)
tfm.exec.setGameTime (15, true)
end
end
end

function eventNewGame ()
if maTable.event=="5" then
tfm.exec.newGame ('<C><P aie="" L="3000" G="0,2" H="800" mc="" defilante="0,0,0,1" /><Z><S><S P="0,0,0,0,0,0,0,0" X="2600" L="3000" o="0" H="3000" c="4" Y="479" T="12" /><S P="0,0,0,0,0,0,0,0" H="3000" L="3000" o="0" X="-375" c="4" Y="593" T="12" /><S P="0,0,0,0,0,0,0,0" H="400" L="1300" o="ffffff" X="789" c="4" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="337" L="110" o="3d3d3d" X="817" c="4" Y="625" T="12" /><S P="0,0,0.3,0,0,0,0,0" X="785" L="1300" o="3d3d3d" H="61" c="4" Y="434" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="10" L="1380" o="797979" X="749" c="1" N="" Y="795" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="ff0000" H="10" X="148" Y="774" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="928" H="305" X="1897" Y="647" T="8" /><S m="" P="0,0,0,0,0,0,0,0" L="10" o="eff00" H="1000" X="1441" N="" Y="0" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="400" X="140" N="" Y="600" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="1300" o="797979" H="10" X="785" N="" Y="405" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="1435" Y="450" T="12" /><S P="0,0,0,0,3,0,0,0" H="330" L="10" o="797979" X="859" c="1" Y="631" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="28" o="797979" H="10" X="784" Y="754" T="12" /><S P="0,0,0.3,0.2,3,0,0,0" H="297" L="10" o="797979" X="802" c="1" Y="610" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="674" o="797979" H="10" X="478" N="" Y="466" T="12" /><S P="0,0,1,0,0,0,0,0" H="330" L="10" o="797979" X="868" c="1" N="" Y="629" T="12" /><S P="0,0,0,0,0,0,0,0" L="10" o="797979" H="292" X="767" N="" Y="613" T="12" /><S m="" P="0,0,,,,0,0,0" L="70" H="30" X="632" Y="769" T="9" /><S P="0,0,0.3,0.2,0,0,0,0" L="71" o="0" H="10" X="631" Y="787" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="97" L="79" o="ffffff" H="88" c="4" Y="749" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="21" L="10" o="797979" X="352" c="1" Y="472" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="442" o="797979" H="10" X="361" N="" Y="607" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="203" o="0" H="88" X="303" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="224" o="797979" H="10" X="975" N="" Y="466" T="12" /><S P="0,0,4,0.2,0,0,0,0" L="294" o="797979" H="10" X="1288" N="" Y="466" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="199" o="ffffff" H="81" X="303" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="797979" H="100" X="57" Y="750" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="85" o="797979" H="10" X="94" Y="704" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" H="10" L="15" o="0" X="97" c="4" Y="749" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" H="10" L="13" o="2786b6" X="97" c="4" Y="749" T="13" /><S P="0,0,4,0.2,0,0,0,0" H="21" L="10" o="797979" X="1235" c="1" Y="481" T="12" /><S P="0,0,,,,0,0,0" L="171" H="10" X="347" Y="788" T="9" /><S P="0,0,,,,0,0,0" L="135" H="10" X="337" Y="600" T="9" /><S P="0,0,0.3,0.2,-30,0,0,0" L="325" H="133" X="1516" Y="507" T="8" /><S P="0,0,0.3,0.2,20,0,0,0" L="325" H="133" X="1543" Y="789" T="8" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="230" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="244" Y="689" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" X="363" L="10" o="797979" H="21" c="1" Y="612" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="244" Y="666" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="32" o="0" H="10" X="245" Y="645" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="280" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="27" o="0" H="10" X="350" Y="667" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" L="20" o="ffffff" H="10" X="350" Y="667" T="13" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="347" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="30" o="ffffff" H="54" X="328" Y="667" T="12" /><S P="0,0,0.3,0.2,0,0,0,0" L="10" o="0" H="54" X="324" Y="667" T="12" /><S P="0,0,0.3,0.2,45,0,0,0" L="60" o="0" H="10" X="302" Y="667" T="12" /></S><D><DS Y="773" X="93" /><P X="391" P="1,0" Y="551" T="11" /><P X="213" P="1,0" Y="601" T="29" /><P X="329" P="1,0" C="46788e" Y="601" T="24" /><P X="442" P="1,0" Y="563" T="25" /><P X="441" P="1,0" Y="601" T="33" /><P X="213" P="1,0" Y="509" T="41" /><P X="517" P="1,0" Y="602" T="28" /></D><O /></Z></C>')
tfm.exec.setUIMapName("<font color='#000000'>SPACE <font color='#FFFFFF'>by Sourialp aidé de Jtmlucile</font></font>")
ui.addPopup(1, 0, " GAME OVER", nil, 150, 200, 500, 500, true)
tfm.exec.setGameTime (15, true)
tfm.exec.disableAutoTimeLeft (true)
tfm.exec.disableAutoNewGame (true)
maTable = { event="6"}
end
end
main()


(ONE LIFE)

/!\ N'oubliez pas que vous pouvez faire !help à chaque objectifs.

Dernière modification le 1486058940000
Evadoudou
« Citoyen »
1486228560000
    • Evadoudou#0000
    • Profil
    • Derniers messages
    • Tribu
#46
  0
MAIS J'AI PAS COMPRIS ON LE TROUVE OU LE CODE DANS LE SPOILER -.- '-' ?!
Evancal
« Censeur »
1486228740000
    • Evancal#0000
    • Profil
    • Derniers messages
    • Tribu
#47
  0
Tu as un code easy (en faite deux mais c'est les mêmes) et un code hard...
Sourialp
« Citoyen »
1487260920000
    • Sourialp#0000
    • Profil
    • Derniers messages
    • Tribu
#48
  0
non ^^' ce ne sont pas les mm la difficulté change justement... et oui une suite possible mais j'ai presque terminer une autre aventure solo qui est plutôt pas mal ^^

Evadoudou a dit :
par contre la 1ère étape de prendre les outils dans l'armoire pour ouvrir c'est facile dans la 2ème monter la paroi aussi et ESPACE sur les 3 ordis mais la 3ème étape je l'a trouve difficile car le courant (le vent) est très fort que sa nous mais loin et je n'arrive pas à allez de l'autre côté c'est trop dur :/



Après tout est facile si tu sais le faire XD essaie en version easy si tu n'y arrive pas
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Module] SPACE
« ‹ 3 / 3
© Atelier801 2018

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

Version 1.27