Author Topic: Can I associate a sound with specific game events?  (Read 2221 times)

rakshak

  • Hydlaa Resident
  • *
  • Posts: 74
    • View Profile
    • How to host websites on any computer
Can I associate a sound with specific game events?
« on: May 13, 2008, 01:45:39 am »
[I don't know if this is the right place to ask, or this is the right question to begin with, so mods please moderate as needed]

I would like PS client to play a sound file after an in-game event is completed. Specifically, can the PS client play a sound file on successful or failed mining?

I know how to change music and some other sounds (explored the zip files in PS install directory) but not some other events like mining.

neko kyouran

  • Guest
Re: Can I associate a sound with specific game events?
« Reply #1 on: May 13, 2008, 01:47:37 am »
I would think it would take server side code additions to play sound file XXXXXX when successful/unsuccessful attempt to mine/ whatever you want to do.

rakshak

  • Hydlaa Resident
  • *
  • Posts: 74
    • View Profile
    • How to host websites on any computer
Re: Can I associate a sound with specific game events?
« Reply #2 on: May 13, 2008, 02:27:06 am »
I thought it would be possible by the local client itself? Just like it can play the sound files for the battles, can't it do the same for mining? Sorry if I sound too noobish but I'm not a developer :(

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Can I associate a sound with specific game events?
« Reply #3 on: May 13, 2008, 02:46:52 am »
Thought I  would mention that there is no progression event for playing sounds on the server.  Also, I looked through the DB on SVN and noticed that there's a sound attribute in the item_stats table, but I have no idea what it does.

svuun

  • Hydlaa Resident
  • *
  • Posts: 70
    • View Profile
Re: Can I associate a sound with specific game events?
« Reply #4 on: June 10, 2008, 08:12:00 pm »
http://hydlaa.com/smf/index.php?topic=25473.msg351439#msg351439

its an external program, but you could use it to load your systems log file and add sounds to found ore or failed attempts at mining.  works great on chat logs, so tells greets don't get missed.