Possible to exchange Mining & Walking Sound ?

Place to get help with not working mods / modding interface.
YuokiTani
Smart Inserter
Smart Inserter
Posts: 1037
Joined: Thu May 08, 2014 7:57 pm
Contact:

Possible to exchange Mining & Walking Sound ?

Post 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
User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: Possible to exchange Mining & Walking Sound ?

Post 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.
Post Reply

Return to “Modding help”