mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-10 07:30:36 +01:00
LMAO YES WE CAN
This commit is contained in:
@@ -72,7 +72,7 @@ SUBSYSTEM_DEF(jukeboxes)
|
||||
var/list/L = splittext(S,"+")
|
||||
T.song_name = L[1]
|
||||
T.song_length = text2num(L[2])*10 //We multiply it by ten because the system requires it in deciseconds
|
||||
T.song_beat = text2num(L[3])/6 //We divide it by six because it requires the Beats per seconds value, but in deciseconds. (Result/60) * 10)
|
||||
T.song_beat = round(text2num(L[3])/6) //We divide it by six because it requires the Beats per seconds value, but in deciseconds. (Result/60) * 10)
|
||||
T.song_associated_id = songID
|
||||
songs |= T
|
||||
songID++
|
||||
|
||||
@@ -12,6 +12,4 @@ Every sound you add must have a unique name. Avoid using the plus sign "+" and t
|
||||
|
||||
Sound names must be in the format of [song name]+[length in seconds]+[beats per minute].ogg
|
||||
|
||||
A three minute song title "SS13" that lasted 3 minutes and had a BPM value of 120 would need the file name SS13+180+120.ogg
|
||||
|
||||
A final note: BPM divided by 6 must NEVER result in a decimal value. If a song has a BPM that results in a decimal when divided by 6, it will outright not work.
|
||||
A three minute song title "SS13" that lasted 3 minutes and had a BPM value of 120 would need the file name SS13+180+120.ogg
|
||||
Reference in New Issue
Block a user