Adding Audiofile, not possible?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Adding Audiofile, not possible?

Post by Delphinio »

hi all,
i always get this error if i try to add a new audio file.
fatal |xx:xx:xx: [statsGetAudioIDFromString] statsGetAudioIDFromString: couldn't get ID -1 for sound filename.ogg

audio.cfg
audio "filename.ogg" oneshot 100 1800
audio.wrf
directory "audio/sfx/weapons" (path is correct)
file WAV "filename.ogg"
weaponsounds.txt
weaponname,filename.ogg,smlexpl.ogg, randomnumber

-- Delphinio

Edit: thanks cybersphinx
Last edited by Delphinio on 11 Nov 2010, 18:06, edited 1 time in total.
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Adding Audiofile, not possible?

Post by cybersphinx »

Without recompiling you can only change sounds, not add them.