×

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
  • /
  • Suggestions
  • /
  • Module API & Minigame Suggestions
« ‹ 7 / 19 › »
Module API & Minigame Suggestions
Abdeltif
« Citoyen »
1383569760000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#121
  0
Humf !
What about :
tfm.exec.playSound(sound url, type)
type : playerName
or Object
or Jumping ...
Shamousey
« Consul »
1383577320000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#122
  0
That's already covered briefly in the OP, although not with URLs (due to the fact even moderators can't load music now, it's extremely unlikely to happen for even the Lua Team).

a dit :
• tfm.exec.playSound(name,id,pitch,volume,length)
• name - Who the sound is played to.
• id - Only predefined sounds/clips can be used, so there won't be any copyright issues.
• pitch/volume/length - will let the sounds be altered on-the-fly to sound different to users

 
Sandermr
« Citoyen »
1383998460000
    • Sandermr#0000
    • Profil
    • Derniers messages
    • Tribu
#123
  0
is #tribewar really a room?
Shamousey
« Consul »
1384055520000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#124
  0
Sandermr a dit :
is #tribewar really a room?

Moepl was running it for a short period of time as a module room.
Fluffyshine
« Citoyen »
1384185720000
    • Fluffyshine#0000
    • Profil
    • Derniers messages
    • Tribu
#125
  0
RE: #traitor: Click on a player's name to vote.

I don’t think it is impossible...

a dit :
vote = {};

for target in pairs(tfm.get.room.playerList) do
system.bindMouse(target, true)
end

eventMouse = function(target, x, y)
for player in pairs(tfm.get.room.playerList) do
px = tfm.get.room.playerList[player].x;
py = tfm.get.room.playerList[player].y-50;
if x>px-50 and x<px+50 and y>py-30 and y<py+10 then
vote[target] = {};
table.insert(vote[target], player)
for k,traitor in pairs(vote[target]) do
print('<vp>Player <bl>'..traitor)
end
end
end
end

You can use eventTextAreaCallback+Popups to confirm your vote. :B
Hophipmice
« Citoyen »
1384283760000
    • Hophipmice#0000
    • Profil
    • Derniers messages
    • Tribu
#126
  0
I don't know if this has been suggested or not but:
tfm.exec.removeDebug()
removes the /debug command.
Mikuhl
« Citoyen »
1384743120000
    • Mikuhl#3311
    • Profil
    • Derniers messages
    • Tribu
#127
  0
Too busy to look through the list, but if playing music if the map has a movie screen isnt on the list, please add it!
Fluffycheeze
« Citoyen »
1385595360000
    • Fluffycheeze#0000
    • Profil
    • Derniers messages
    • Tribu
#128
  0
I'm not sure if this is planned, or if I'm posting this in the right thread, but I think Forteresse should be made into its own game, much like Bouboum. It can be the third game in the community platform!

Just something I'd really like to see.
Bethdacat
« Consul »
1385762400000
    • Bethdacat#0000
    • Profil
    • Derniers messages
    • Tribu
#129
  0
Should I post suggestions here like adding a button to delete all text in the pop-up when you type Lua? or anything about the /lua pop-up?
Zyx
« Censeur »
1385777640000
    • Zyx#8690
    • Profil
    • Derniers messages
#130
  0
Bethdacat a dit :
Should I post suggestions here like adding a button to delete all text in the pop-up when you type Lua? or anything about the /lua pop-up?

Click in the lua box
then

CTRL + A
Abdeltif
« Citoyen »
1385893320000
    • Abdeltif#0000
    • Profil
    • Derniers messages
    • Tribu
#131
  0
tfm.get.room.playerList[name].stats.
cheese -- Get cheese stats
bootcame -- Get bootcamp stats
firsts -- get first stats
titles -- get the titles of a player
shaman.
normalMode -- get the stats of shaman in Nmode
hardMode -- get the stats of shaman in hard mode


I don't know why they removed it but I really want it :c

Also tfm.exec.hideName(playerName)
Usefull for prophunt and hiden'seek
Woebegone
« Citoyen »
1386710760000
    • Woebegone#8377
    • Profil
    • Derniers messages
    • Tribu
#132
  0
Maybe playing #traitor in the tribe house?
Zyx
« Censeur »
1386725220000
    • Zyx#8690
    • Profil
    • Derniers messages
#133
  0
Juliantwofan a dit :
Maybe playing #traitor in the tribe house?

That's already have happened.
Bushmeister
« Consul »
1386871500000
    • Bushmeister#0000
    • Profil
    • Derniers messages
    • Tribu
#134
  0
tfm.exec.removeCheese(playerName)
Safwanrockz
« Censeur »
1387109220000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#135
  0
A boolean in ui.addPopup for enabling scrollbar.
Cactusjack
« Citoyen »
1387994460000
    • Cactusjack#4408
    • Profil
    • Derniers messages
    • Tribu
#136
  0
tfm.get.room.playerList:
isblueSham
ispinkSham
Hophipmice
« Citoyen »
1388435040000
    • Hophipmice#0000
    • Profil
    • Derniers messages
    • Tribu
#137
  0
I don't know but something like

tfm.get.room.luaLoaded
Shamousey
« Consul »
1388606460000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#138
  0
Abdeltif a dit :
I don't know why they removed it but I really want it :c

This was never removed, it simply never worked.

Hophipmice a dit :
I don't know but something like

tfm.get.room.luaLoaded

I'm not sure how you'd expect this to work, if you can run that script then lua is obviously loaded.
Safwanrockz
« Censeur »
1388621280000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#139
  0
tfm.get.room.playerList[Index].nameColor
Might not be very necessary but it came out to my mind when I was scripting a minigame.
Shamousey
« Consul »
1388799180000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#140
  0
Safwanrockz a dit :
tfm.get.room.playerList[Index].nameColor
Might not be very necessary but it came out to my mind when I was scripting a minigame.

Considering names can only change if you do it yourself, you may as well just store this in a table of your own.
  • Forums
  • /
  • Transformice
  • /
  • Suggestions
  • /
  • Module API & Minigame Suggestions
« ‹ 7 / 19 › »
© Atelier801 2018

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

Version 1.27