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:
wavogg
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_01notSFX_Ambience_Indoor_Casino_Loop_01.ogg.
The following supported file types are for sprites:
pngjpgjpeg
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
*_stripXXand extension name is stripped out entirely on load. If you need to reference the sprite, please usespr_playerand notspr_player_strip32.pngorspr_player_strip32.
Images in addition also support supplying extra metadata via Images.