Tabletop Simulator

Tabletop Simulator

The Music Box Mod
59 条留言
Kayaba 9 月 17 日 下午 5:14 
player isnt working when i move it to a new table
SleepyTheSlimeKing  [作者] 8 月 3 日 下午 2:55 
@sddd what link doesn't work?
sddd 7 月 23 日 上午 3:05 
not work custom music link
Boss 6 月 30 日 上午 6:53 
Darktide music baby.
Lekgos 2024 年 11 月 6 日 上午 3:19 
Thank you:emoticon101:
Campix 2024 年 9 月 3 日 下午 7:53 
I figured it out! When you're making the texture for the chip, you want to make sure that no transparency is exposed - you want a dark colour, like the 'plastic' of the chip, on the bottommost layer.
Campix 2024 年 9 月 3 日 下午 6:09 
Hey, when I make a new art cover for some of the chips, there's a white outline (or colored outline) along the outside of the top of it. How do I fix that? Am I texturing wrong? I know the image I'm using doesn't have any white sticking out past the edge of the chip.
MegaTHEshkaF 2024 年 8 月 24 日 下午 2:34 
@SleepyTheSlimeKing, sooo, I almost completely rewrote the music box script. Instead of counters, I used events.
No more lag, the music box can now be rotated and a bunch of other fixes.
Take a look, maybe you can apply something to your version.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3292567962
Gridness 2024 年 8 月 16 日 下午 11:07 
@Fonsa
Yeah, I have the exact same issue
Fonsa 2024 年 8 月 16 日 下午 3:20 
After adding the player into my game, it becomes very laggy, even moving around drops the fps, not sure if it is the player or my game, but removing the player resolves the problem
Gridness 2024 年 8 月 14 日 下午 11:36 
For some reason whenever I add the player to my game, game client begins to statter. Is there a solution for this problem?
SleepyTheSlimeKing  [作者] 2024 年 7 月 6 日 下午 5:47 
@mega easiest way to find me on discord is to join the Legend of Sinnoh DISCORD. That's where most of the community discusses expansion projects. I am also in the official tts discord.
MegaTHEshkaF 2024 年 7 月 3 日 上午 2:26 
@sleepytheslimeking, can you please DM me in Discord? Can't find your tag. Mine tag is @megatheshkaf
SleepyTheSlimeKing  [作者] 2024 年 7 月 2 日 下午 7:02 
@megatheshkaF not everyone used my pre-made template when contributing chips, some made their own so yes there are a few that don't match the rest. I'm not sure why the templates are screwy, I use Pixlr for most of my assets and so it might have had an issue when I uploaded it into drive. As for stuttering I've responded before with advice but it's not a problem we can easily solve. Best way to avoid it is to make sure you remove tracks from the player and pausing the track before changing tables.
MegaTHEshkaF 2024 年 6 月 20 日 上午 8:49 
Update: Several chips on the table also have a white frame due to translucent pixels. For example:
- SMT 4
- Soul Hackers 2
- Shin Megami Tensei 3

No Straight Roads Chip has white at bottom right corner.

It looks like everyone used different templates...
MegaTHEshkaF 2024 年 6 月 20 日 上午 8:33 
Chip templates on the Google Drive have:
1) 1045x1044 resolution
2) 1 pixel transparent border

Chips on the table have:
1) 1045x1045 resolution
2) no transparent border

Why? I almost went crazy while looking for why the chips have a white outline when imported. It's because the templates are wrong.

I also have problems with stuttering as people wrote below.
SleepyTheSlimeKing  [作者] 2024 年 5 月 7 日 下午 10:17 
@mc squeeze ill look into it thank you
:Mc squeeze: 2024 年 5 月 1 日 下午 2:22 
i have no idea why but it seems that editing the preset chips and just adding your songs over them seems to make them work more consistently than using the empty chip templates. i had an issue where some songs were stuck on the player no matter what custom chip i put on but a preset chip even one edit with your songs fixes this. i thought i should share this for anyone having the same problem.
Eevyern 2024 年 4 月 30 日 下午 7:42 
Spawning in a new music box (one my partner had saved at least) solved my problem, not really sure what went wrong with the old one, but it's working fine now with the new box spawned in
SleepyTheSlimeKing  [作者] 2024 年 4 月 26 日 下午 1:52 
@Lux and @Slushy Being unable to rotate the player is just a side effect of the way we have the scripting set up, we have it as zone based since that was easier to convert to from the original, to change this we'd just have to change all the script activations to be on snap points, we just haven't done so yet since it'd take a bunch of time.

Dont forget guys there is a video tutorial on setup and tips to make the music box work properly for importing, If you are having trouble make sure you've gone over the steps again.
@Eevyern that is a new one, Ill let you know if I come across a solution, otherwise let me know if you find a fix.
Eevyern 2024 年 4 月 23 日 下午 10:17 
Every so often while I have a song on repeat, it'll stop playing at random, and then I have to reload the entire table in order to skip songs. I'm not sure why it keeps breaking in that way, does anyone know what's up?
Corrosive 2024 年 4 月 23 日 上午 3:37 
Amazing mod! Already got to uploading some albums to listen to :D
Slushy 2024 年 4 月 21 日 下午 5:52 
Thanks to some help from the #scripting channel of the tabletop simulator discord and a fellow named Chr1Z we figured out how to fix it.

You change

local cartridgeSlot = self.getPosition() + Vector(0,0.2,1.6)

to

local cartridgeSlot = self.positionToWorld({ 0, 0.2, -0.533 })

in the Music Box Object's Scripting.

The scale for (x,y,>Z<) is 3 on the object.
1.6 / 3 = 0.533 roughly, the scale acts like a multiplier. 0.533 x 3 = 1.6
And since the Default Rotation the object works off of is 180..
We make it negative, since its already acting in a reverse manner.
Slushy 2024 年 4 月 21 日 下午 3:12 
Yep well, I set the 1.6 to -1.6, and now it only works turned a full 180, so yep, something dumb with that xD
Slushy 2024 年 4 月 21 日 下午 3:09 
If I had to guess..
local cartridgeSlot = self.getPosition() + Vector(0,0.2,1.6)
I'm not a coder, but does this care about the rotation of the object?
Like, does it adjust the Vector based on rotation, or purely its xyz position?
Slushy 2024 年 4 月 21 日 下午 2:41 
I'm having the same issue as Lux, doesn't work when the Music Box is rotated :p
ferb2002 2024 年 4 月 18 日 上午 11:51 
i dont get it, when im loaded in your table, it works, but in all other tables the music box cant read any chips right
Lux 2024 年 4 月 15 日 上午 12:06 
Such an awesome tool! One issue I am having though is the music box wont work if its rotated? Im not sure whats up with it that causes it. Sometimes it will register a chip momentarily and then decide its not going to work until it goes back to the default orientation
BonAdventure The Duns 2024 年 4 月 12 日 下午 8:00 
I can't stop making chips. We need more meme songs for our pathfinder games! MORE!
[FF] leon 2024 年 4 月 11 日 下午 10:48 
i made a custom cartridge with art from a LOTR lofi song if you would like to add it to the table
Dvoktsusai 2024 年 4 月 8 日 下午 8:25 
Whenever i try to make the music play, it simply dont work =/
muffin 2024 年 3 月 30 日 上午 6:08 
the box seem to work on some map but not all map, how to fix it?
King Saxler 2024 年 3 月 29 日 上午 7:27 
The big problem I have with TTS's default music player is that when the GM plays the track, it will start playing at different times for different players, based on how fast they download the music track, does this mod fix that?
SleepyTheSlimeKing  [作者] 2024 年 3 月 28 日 下午 1:51 
@Falc_On not with the current build unfortunately. We'd have to rewrite the scripting location to be a snap point, and it would take alot of script tweaking so we just left it as is. We might fix that in a future update though.
Falc_On 2024 年 3 月 23 日 上午 10:46 
Nice tool. Is it possible to make the bottom of the music player face the back of the room??
SleepyTheSlimeKing  [作者] 2024 年 3 月 14 日 下午 4:46 
@comfort I'm not sure, we've looked into it a few times, but we haven't been able to find a fix yet, and the stuttering is ussually avoidable from our testing if you just make sure to clear the Playlist before changing tables. I will look into this more.
Yao Ming 2024 年 3 月 10 日 下午 2:01 
I have the same issue as comfort I'd love to use this mod it sucks that tts is holding it back as it is the best music mod I've seen for the game.
comfort 2024 年 3 月 3 日 下午 1:23 
It's also present whenever I load into the sample Music Box Mod savegame, even if I do a blank save and only spawn in the music box, I still experience stuttering. Hopefully someone finds a workaround for this because this is by and far my favorite implementation of a music player in this game, but I get sick from the visual stuttering.
comfort 2024 年 3 月 3 日 下午 1:19 
I can't seem to be able to get the stuttering to go away... I've verified my playlist is empty (after having a song put in at first so that the music box can work), or at least I think it is.
SleepyTheSlimeKing  [作者] 2024 年 3 月 2 日 下午 2:33 
@mathew.kale the only way to adjust the songs volume is by changing the volume in the music tab at the top of the screen in tts. Each player must also adjust their volume themselves, just because that's how tts' music playlist function works.
SleepyTheSlimeKing  [作者] 2024 年 3 月 2 日 下午 2:28 
@Ray Maikeru make sure you are manually loading an mp3 file into any new tables that do not already have any mp3s in the Playlist. The Playlist needs to have at least 1 song for the music box to clear in order for it to start working. It can ne any mp3 file it just needs to be uploaded into the tts player.
SleepyTheSlimeKing  [作者] 2024 年 3 月 2 日 下午 2:27 
@Tgamer4 the stuttering issue is mostly due to a tts playlist player script issue. It's a common bug that can happen with uploaded mp3s in the tts player when switching tables. To avoid this, make sure to pause your tracks before leaving the table, or clear the Playlist.
We've looked into a possible solution, but as of now that's a tts bug, not necessarily the music box. I'll let you know if we find a fix
matthew.cale 2024 年 2 月 23 日 下午 6:26 
Is there a way to adjust the volume of the music it plays outside of adjusting the system volume?
Ray Maikeru 2024 年 2 月 23 日 下午 4:18 
I can't seem to get the Music Player to work. I'm trying to play the Antibirth OST chip in the music box in a game of Four Souls, yet it's not working.
Shiro7267 2024 年 2 月 18 日 下午 10:02 
This tool is really cool! It's super useful and does everything as advertised! However... there seems to be a memory issue of sorts. The player seems to cause stuttering while it's loaded. I'm not quite certain what the problem is, but the one on the Legends of Sinnoh table doesn't seem to have this issue. Would it be possible to look into this?
EthanThePhrogTTV 2024 年 2 月 14 日 下午 8:50 
Amazing tool!!!!! Thank you so much
Baryonyx 2024 年 1 月 14 日 下午 5:59 
Made my first custom chip, worked flawlessly. :steamthumbsup:
Stadtjaeger 2024 年 1 月 14 日 下午 12:30 
I was looking for something like this... Great Work !!
SleepyTheSlimeKing  [作者] 2024 年 1 月 9 日 上午 2:57 
@Adil3ter I will run it by Xenonia who does the script for it, but im not certain that would work. Since The player piggy backs off of tts's music player function, even if the player had a mp3 pre loaded onto it, It still wouldnt play unless something populates the playlist. So you would still need to upload an mp3 file on a new table anyway, so it wouldnt really solve anything, its a long shot but maybe Xenonia can think up a work around
Adil3tr 2024 年 1 月 9 日 上午 1:33 
You should make it so the music player itself loads a song, basically an mp3 of 60 seconds of silence, and then when someone puts the chip in it'll load the playlist.