November 23, 2026, 07:37:19 am
Username:

Password:

Topic: 8. Adding sound/modifying effects.  (Read 2514 times)

Slowhand

  • Posts: 282
  • Go for the eye, Boo! Go for the eyes!
    • View Profile
8. Adding sound/modifying effects.
« on: January 22, 2016, 05:29:57 pm »
- work in progress -

Modifying sound a effect - drinking nuka cola:
  • Download and convert a sound to .ogg format.
    • Search youtube for a sound effect that suits you. (Example: - Opening bottle sound effect - Blopp )
    • Go to an online youtube downloader to download the sound in .mp3 format.  (Example: video grabby[/ulr] )
    • Use an audio converter to convert from .mp3 to .ogg format. (Example: I used VLC, you can follow "" this tutorial for it.)
  • Once you got the .ogg file, test it with Winamp or VLC, and copy it into the "client/Dara/faction.zip/sound/sfx" folder. (note: I used TotalCommander to copy files into .zip archives, it's easy with it, just browse the .zip file and copy the stuff into it, just like you would to a normal folder.)
  • Edit the file "drugs.fos", change the line 91 from "cr.PlaySound("nukacola.ogg", true);" to "cr.PlaySound("blopp.ogg", true);"
  • Test.
Note on testing:
  • Once you logged in with your admin character, type the command: ~getaccess admin admin (In case you changed the admin password, use different password, if in doubt check the [rul=http://fodev.net/forum/index.php/topic,29382.0.html]GM abuse tutorial[/url] at fodev.net questions and answer section)
  • You should get a message on top of the screen stating: "Mercenaries don't die - they just go to hell to regroup.
  • Type "`give PID_NUKA_COLA 5 -p AdminCharName -legit" - this will give you 5 nuka colas. (Make sure you replace AdminCharName with your character's name)
  • Drink a nuka cola and listen. The new blopping sound should be in effect.





« Last Edit: January 22, 2016, 05:32:06 pm by Slowhand »