Adding images and sounds


Images and sounds can be put under /mods/mod_name/sounds for audio, and /mods/mod_name/images for sprites.

The following supported file types are for audio:

  • wav
  • ogg

Keep Driving only supports 16bit or 8bit sample wav sounds. Any other sample is not supported.

Keep Driving only supports sounds between 8kHz to 48kHz.

When referencing the sound, please exclude the extension from the name. i.e. SFX_Ambience_Indoor_Casino_Loop_01 not SFX_Ambience_Indoor_Casino_Loop_01.ogg.

The following supported file types are for sprites:

  • png
  • jpg
  • jpeg

Simply applying the name of the same asset as one in-game will replace it. In addition, external sprites do support _strip*, where the * is the number of frames. i.e. spr_player_strip32.png -> spr_player divided into 32 frames.

The *_stripXX and extension name is stripped out entirely on load. If you need to reference the sprite, please use spr_player and not spr_player_strip32.png or spr_player_strip32.

Images in addition also support supplying extra metadata via Images.