The Dink Network

Reply to Re: Sound question

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
March 11th 2010, 11:14 AM
pq_knight.gif
ExDeathEvn
Peasant He/Him New Zealand rumble
"Skinny Legend" 
.wav files should work so long as they're declared in start.c and given a playback number. Then you just have to tell Dink to play that sound number, making sure the sound is in the sound folder.
For example:
void main(void)
{
debug("Loading Sounds..");
  //Woman Screaming loadsound, since it isn't loaded by default to a DMod
 load_sound("WSCREAM.WAV", 53);

That particular one loads directly from the Dink sound folder, however, rather than a Dmod's sound folder unless theres a file there with that name.