Difference between revisions of "Forum:Help to configure defaults.nh file to add sounds to the game"

From NetHackWiki
Jump to navigation Jump to search
(Setting up sounds in NetHack (what is the correct syntax ?))
 
 
Line 8: Line 8:
 
a)  SOUND=MESG "The door resists!" "door1.wav" 100
 
a)  SOUND=MESG "The door resists!" "door1.wav" 100
 
b)  SOUND=MESG "*You kill the*" "hit2.wav" 100
 
b)  SOUND=MESG "*You kill the*" "hit2.wav" 100
 +
 +
EDIT : found my answer. removing the *s did the trick.
  
 
Thanks
 
Thanks

Latest revision as of 07:36, 18 April 2016


line a can be read properly by the game but not line b. What is the correct syntax ?


a) SOUND=MESG "The door resists!" "door1.wav" 100 b) SOUND=MESG "*You kill the*" "hit2.wav" 100

EDIT : found my answer. removing the *s did the trick.

Thanks