Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: PotzUK on August 02, 2006, 09:22:53 am
-
The FRED hints say to use the sound's reference from the sounds.tbl file - which I assume is the unique sound signature. The problem is the sounds are broken up into sections, and within each section the identifier resets. The only way I can play sounds is to use the play-sound-from-file.
If I reference a sound by filename, will it use the one from the [V] .vp files, or do I have to include my own with a mod, with my own sounds.tbl file?
-
gah, sorted it. But I can't remove my own post!
-
I cant let it die, WWe must fill it with useful fred tips from Kaj's FAQ.....
1- Make a weapon with negative damage to create healy/magic/repair blasters..... ;7
-
lol
Well, after re-reading the fred tip, it does actually say "from the game sounds section" or words to that effect :)
-
Hmm
I still can't get my custom .wav to play.
The weird part is that I am using the same method to play a .wav file earlier in the mission. Despite me listing it in my sounds.tbl file and putting it in the same folder as the earlier wav?
-
Axem may hae a clue to this, he uses a few music files in his "Just another day series"
Is it in te right sound folder respective, IE 22khz etc?
-
Aye, I've tried both 16b11k and 8b22k folders with the appropriate bitrates but no joy. I'll keep cracking at it, I've found the reference in the JAD missions to the wav file, and mine's the same so it's gotta be something simple :)
-
I've never tried play-sound-from-table, just play-sound-from file, so I don't know how it exactly works. If its not a retail sound, I would just use play-sound-from-file. It'll save you from having to redistributing a modified sounds.tbl later on.
-
Hey Axem - thanks for the tips.
I've tried both methods... what's a little frustrating at hte moment is that it (paly sound from file) is working earlier in the mission!
-
If you read the instructions at the bottom,
Important: Only one sound at a time can be played with this sexp!
So trying to use a different sound later won't work. So you use close-sound-from-file to unload the current sound so you can use a different one.
-
hmm - correction. What I'm doing earlier in the game is playing one of the retail .wavs - which works, so the play-from-file sexp doesn't appear to be working at all.
I don't think it's my file either. If I put a file called warp_x.wav (copied from warp_1.wav - retail) that doesn't work either... this is in a completely blank mission.
Just a time elapsed, then play file event...
-
lol - I knew it would be something simple...
I had the wav files in \data\16b11k / 8b22k - I forgot the \data\sounds folder...
Ohh the happy days of FRED learning curve!
-
I expect flawless results by your 75th post............ :pimp:
WEll done m8 :D when you posting the missions/campaign?
-
I expect flawless results by your 75th post............ :pimp:
WEll done m8 :D when you posting the missions/campaign?
lol - no pressure then! :) It's not as bad as I thought it would be really, a lot came flooding back from the early days of FREDing which is handy :)
I'll post it when it's finished :P Although I am very tempted to go the whole hog and get some voice actors in, but that's a long way off me thinks.