Page 1 of 1

Adding a moon, custom sounds

Posted: October 29th, 2009, 9:07 pm
by TTTT
hi guys, im working on a zombie map and i wonder how the **** do you add a moon? i know how to add a sun but no idea how to add a moon :D .

Also another question, how do i put in custom music into my map? default ones sux :!:

ill give a cookie to anyone who helps :!:

Re: Adding a moon, custom sounds

Posted: October 29th, 2009, 10:32 pm
by Soviet
Just use a night time skybox.

Re: Adding a moon, custom sounds

Posted: October 29th, 2009, 10:34 pm
by TTTT
i use the singleplayer "hunted" skybox (its night), but there is still sun, this is my sun file settings ;
r_sunsprite_shader "sun"
r_sunsprite_size "28.8433"
r_sunflare_shader "sun_flare_icbm"
r_sunflare_min_size "237.8"
r_sunflare_min_angle "40.869"
r_sunflare_max_size "669.9"
r_sunflare_max_angle "2.14669"
r_sunflare_max_alpha "0.62536"
r_sunflare_fadein "0.2604"
r_sunflare_fadeout "0.2992"
r_sunblind_min_angle "33.9543"
r_sunblind_max_angle "9.9647"
r_sunblind_max_darken "0.20934"
r_sunblind_fadein "0.5"
r_sunblind_fadeout "1"
r_sunglare_min_angle "10.6101"
r_sunglare_max_angle "48.2526"
r_sunglare_max_lighten "0.21569"
r_sunglare_fadein "2.263"
r_sunglare_fadeout "3"
r_sun_fx_position "-40 49 0"

Re: Adding a moon, custom sounds

Posted: October 29th, 2009, 11:34 pm
by Soviet
You don't need a custom sun file, but when you set your worldspawn settings, just make sure you use the right ones for your skybox. If there isn't any available info for that skybox's settings either choose another skybox or use another nighttime map's worldspawn settings (like Bog).

Re: Adding a moon, custom sounds

Posted: October 30th, 2009, 2:36 pm
by TTTT
Cookie for you Soviet :D , now when thats solved, how do you put in custom music?

Re: Adding a moon, custom sounds

Posted: October 30th, 2009, 10:32 pm
by Soviet
I'd search modsonline.com for a tutorial. Either that or go into the iwd's, find the file settings for the ambient music, put the same settings (bitrate, filetype, etc) on the file you want, then go into your .gsc and change the link to the ambient music to your custom file (which of course you will be accessing through the file structure you created for your file within your main folder).

Re: Adding a moon, custom sounds

Posted: October 31st, 2009, 3:06 pm
by waywaaaard
if you want to add and custom ambient sound use modsonline if you want to play a sound due to an event have a look in our cod tutorial section. there's a great tutorial by nightmare

Re: Adding a moon, custom sounds

Posted: November 3rd, 2009, 3:07 pm
by TTTT
Thx guys, Nightmares tutorial did the job well :D cookies for yo all !