Author Topic: menu change question  (Read 388 times)

Offline The_Undertaker

  • Rank: Private
  • *
  • Posts: 31
    • http://www.majorbums.net
menu change question
« on: August 30, 2011, 06:14:39 am »
ok guys here is a question for those who knows the way within the code

is it possible to change the mouse_over (ui_over_v1.wav) and the mouse_click (ui_select_v1.wav) to something more suitable the the stock sounds?

btw i hope some of you know what i am speaking of

Offline PatmanSan

  • Administrator
  • Rank: Private
  • *****
  • Posts: 2527
Re: menu change question
« Reply #1 on: August 30, 2011, 09:17:58 am »
Copy code.csv from COD4 raw files (raw/soundaliases) to your X4 raw files (raw/ff/soundaliases)

Edit the copied code.csv, and remove all aliases except mouse_over and mouse_click.

Change the alias' wav file names to match your new sounds (do not use the stock names; I added "new_" to them):

Quote
name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage,center percentage,platform,envelop_min,envelop_max,envelop percentage

mouse_over,,user_interface/new_ui_over_v1.wav,0.21,,interface,,,,,menu,,,,,menu,,,,,,,nowetlevel fulldrylevel,,
mouse_click,,user_interface/new_ui_select_v1.wav,0.12,,interface,,,,,menu,,,,,menu,,,,,,,nowetlevel fulldrylevel,,

Open X4 mod.csv (raw/ff/mod.csv), and add following line:

sound,code,,all_mp

Copy you new sounds to the X4 raw files (raw/iwd)):

/sound/user_interface/new_ui_over_v1.wav
/sound/user_interface/new_ui_select_v1.wav

Recompile FF and IWD

Offline The_Undertaker

  • Rank: Private
  • *
  • Posts: 31
    • http://www.majorbums.net
Re: menu change question
« Reply #2 on: August 30, 2011, 03:24:58 pm »
thumbs up PatmanSan i hope this will work cause i spend three maybe four days to get this to work. I will let you know if it does. Thanks again

Offline The_Undertaker

  • Rank: Private
  • *
  • Posts: 31
    • http://www.majorbums.net
Re: menu change question
« Reply #3 on: August 30, 2011, 05:59:17 pm »
works like a charme thank you for the tut