Page 1 of 1

Possible to exchange Mining & Walking Sound ?

Posted: Mon May 25, 2015 9:34 am
by YuokiTani
because i have made a different Power-Armor (ok looks like a mech) and the pick-axe sound not really fits anymore.

function all same only sound i want to change.
Image

Re: Possible to exchange Mining & Walking Sound ?

Posted: Mon May 25, 2015 3:20 pm
by L0771
walking sounds are in
data.raw.tile[tile_name].walking_sound
i think with this can change all

Code: Select all

for _,value in pairs(data.raw["tile"]) do
	if value.walking_sound then
		for _,sound in pairs(value.walking_sound) do
			sound.filename = "whatever"
		end
	end
end
Mining sound are in Factorio\data\core\sound but i don't found in the code.