[MOD 0.14] Detached Gun Sounds

Topics and discussion about specific mods
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 716
Joined: Sun Nov 23, 2014 11:57 am
Contact:

[MOD 0.14] Detached Gun Sounds

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

Return to “Mods”