• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Sound Add/edit custom music on int file

zhidd

Grizzled Veteran
Mar 24, 2012
51
1
I'm frustrated when creating/editing music in .int file for custom maps. It's a hit & miss, some are working and some don't.


Here's a sample:
Code:
[KFMusicTrigger0]
CombatSong="beelzeboss"
WaveBasedSongs=((CombatSong="beelzeboss",CalmSong="carrie"),

(CombatSong="beelzeboss",CalmSong="carrie"),(CombatSong="guerillaradio",CalmSong="carrie"),

(CombatSong="guerillaradio",CalmSong="carrie"),(CombatSong="facedown",CalmSong="carrie"),

(CombatSong="guerillaradio",CalmSong="icanttellyouwhy"),

(CombatSong="beelzeboss",CalmSong="carrie"),(CombatSong="facedown",CalmSong="icanttellyouwhy"),

(CombatSong="guerillaradio",CalmSong="icanttellyouwhy"),

(CombatSong="beelzeboss",CalmSong="icanttellyouwhy"))

[KFUseTrigger0]
Message="Press USE Key"

[KFUseTrigger1]
Message="Press USE Key"

[KFUseTrigger10]
Message="Press USE Key"

[KFUseTrigger14]
Message="Press USE Key"

[KFUseTrigger15]
Message="Press USE Key"

[KFUseTrigger16]
Message="Press USE Key"

[KFUseTrigger17]
Message="Press USE Key"

[KFUseTrigger18]
Message="Press USE Key"

[KFUseTrigger19]
Message="Press USE Key"

[KFUseTrigger2]
Message="Press USE Key"

[KFUseTrigger20]
Message="Press USE Key"

[KFUseTrigger21]
Message="Press USE Key"

[KFUseTrigger22]
Message="Press USE Key"

[KFUseTrigger23]
Message="Press USE Key"

[KFUseTrigger24]
Message="Press USE Key"

[KFUseTrigger25]
Message="Press USE Key"

[KFUseTrigger26]
Message="Press USE Key"

[KFUseTrigger27]
Message="Press USE Key"

[KFUseTrigger28]
Message="Press USE Key"

[KFUseTrigger3]
Message="Press USE Key"

[KFUseTrigger31]
Message="Press USE Key"

[KFUseTrigger33]
Message="Press USE Key"

[KFUseTrigger35]
Message="Press USE Key"

[KFUseTrigger37]
Message="Press USE Key"

[KFUseTrigger39]
Message="Press USE Key"

[KFUseTrigger4]
Message="Press USE Key"

[KFUseTrigger5]
Message="Press USE Key"

[KFUseTrigger6]
Message="Press USE Key"

[KFUseTrigger7]
Message="Press USE Key"

[KFUseTrigger8]
Message="Press USE Key"

[KFUseTrigger9]
Message="Press USE Key"

[LevelInfo0]
Title="KF-Backtrack"

[LevelSummary]
Title="KF-Backtrack"
Description="KF-Backtrack"

What did I miss? It doesn't work
 
Few things:
ogg
*Is the music ogg (actually encoded as ogg, not just renamed from another extension)?
*Are they alphanumeric, no spaces or dashes?
*Do they actually work in game (test them in another map)?
KFMusicTrigger
*Does the map have a KFMusicTrigger?
*Has KFMusicTrigger\MusicTrigger\Song been populated (different section than KFMusicTrigger\KFMusicTrigger\Song)?
int
*Does the KFMusicTrigger declaration match the instance used in the map (KFMusicTrigger0 wont work if the map is using KFMusicTrigger1)?
*Are there any syntax errors (format, spelling, etc..)?
 
Upvote 0
Thanks!

Few things:
ogg
*Is the music ogg (actually encoded as ogg, not just renamed from another extension)?
*Are they alphanumeric, no spaces or dashes?
*Do they actually work in game (test them in another map)?

Yes, yes and yes. Tested working in KF-SecretPassage.

KFMusicTrigger
*Does the map have a KFMusicTrigger?
*Has KFMusicTrigger\MusicTrigger\Song been populated (different section than KFMusicTrigger\KFMusicTrigger\Song)?
I don't know if the map has music trigger. I don't have SDK/Map editor. Is there a way to know this without SDK?

int
*Does the KFMusicTrigger declaration match the instance used in the map (KFMusicTrigger0 wont work if the map is using KFMusicTrigger1)?
*Are there any syntax errors (format, spelling, etc..)?

I'll go with trial & error with KFMusicTrigger0 or 1 on every custom map?

If there is no music trigger?How to add custom music?
 
Last edited:
Upvote 0