Table of Contents

Sound Effects

The immersion of the game is not only supported by the graphics but also by an appealing sound design. It is therefore possible to specify a large number of sound effects in Transport Fever 2.

Sound Files

All sound files used by Transport Fever 2 are located in res/audio/effects/. They have several technical requirements:

The sound files may either be referenced in soundsets or directly in the metadata of vehicles or constructions.

Sound Effect Mapping

The mapping of soundfiles to sound effect events is located in 3 different places:

General Sound Effects

The general sound effects are read from the res/config/sound_effects.lua. Per default, it requests the sound mapping from the soundeffectsutil.lua in the res/scripts/.

Each of the keys is a property with a list of file references relative to res/audio/effects/. When there is more than one reference in the list, one of the references is randomly chosen when the effect should be played.

Mouse Interaction

The keys for mouse interaction are:

Selections

The keys for selections are:

Bulldozing and Constructing

The keys for bulldozing and construction effects are:

Management

Game Progress

Street Sound Effects

The street.lua file in the res/config/construction_sound/ folder contains the track construction related sound effect mappings:

Track Sound Effects

The track.lua file in the res/config/construction_sound/ folder contains the track construction related sound effect mappings:

Terrain Sound Effects

The terrain.lua file in the res/config/construction_sound/ folder contains the terrain tool related sound effect mappings: