Page 1 of 1

[MOD 0.14] Detached Gun Sounds

Posted: Sat Dec 10, 2016 10:31 am
by Earendel
Title: Detached Gun Sounds
Short Description: A modding utility that generates sound-only effects from any in-game gun entity types so that lua scripts can play gun sounds independently. The effects are explosion-type entities with no visual component.
Name: detached-gun-sounds
Factorio Version: 0.14
Mod State: Released
Dependencies: Base
Author: Earendel
Downloads: Mod Portal
Licence: See below

Instructions
The naming convention is "gunsound-"..gun.name.
Looping sounds are also supported but have a -begin_sound, -middle_sound, and -end_sound suffix.

Example

Code: Select all

game.player.surface.create_entity{name="gunsound-shotgun", position=game.player.position}
Licence