Terran Starcraft Music

by Krell

Adds the three Terran themes from SC1 to Factorio

Tweaks
6 years ago
0.16
5

g i found why it did not work and fixed it.

5 years ago
(updated 5 years ago)

rename the file :"Starcraft1TerranMusic_1.0.0"

Edit the info.json

"name": "Starcraft1TerranMusic",

(was "name": "Starcraft1Terranmusic",)

create folders and rename the main one.

Starcraft1TerranMusic\sound\ambient\

put the songs in folder ambient

Edit data.lua

data:extend(
{
{
type = "ambient-sound",
name = "1",
track_type = "main-track",
sound =
{
filename = "Starcraft1TerranMusic/sound/ambient/1.ogg"
}
},
{
type = "ambient-sound",
name = "2",
track_type = "main-track",
sound =
{
filename = "Starcraft1TerranMusic/sound/ambient/2.ogg"
}
},
{
type = "ambient-sound",
name = "3",
track_type = "main-track",
sound =
{
filename = "Starcraft1TerranMusic/sound/ambient/3.ogg"
}
},
}
)

this will let the mod load and add the songs normally. (folder structures appears to be important and the mods are case sensitive. i learned all that just in this 30 minutes with google and trial and error.)

EDIT the under score does not work because of stupid formatting so it should be:

"Under score, Underscore"Starcraft1TerranMusic"Underscore, Underscore"

so if Underscore would be the minus sign it would be --Starcraft1TerranMusic--

New response