Thunder/Lightning, rain Sound Problem

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Thunder/Lightning, rain Sound Problem

Post by steveuk » May 5th, 2011, 2:44 pm

Im working on a new map over the last week, and have decided to put Thunder/Lightning, rain ,but i have a Sound Problem..
There is no sound for Thunder, lightning or raint...lol Im using Cargo ship , here my scripts, can someone help.?

MY GSC FILE:
main()
{
maps\mp\_load::main();
maps\mp\_explosive_barrels::main();
ambientPlay("ambient_backlot_ext");

game["allies"] = "sas";
game["axis"] = "opfor";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "woodland";
game["axis_soldiertype"] = "woodland";

setdvar( "r_specularcolorscale", "1" );

setdvar("r_glowbloomintensity0",".25");
setdvar("r_glowbloomintensity1",".25");
setdvar("r_glowskybleedintensity0",".3");
setdvar("compassmaxrange","1800");
level._effect[ "rain_heavy_mist" ] = loadfx( "weather/rain_mp_farm" );
maps\mp\_fx::loopfx("rain_heavy_mist", (531.5, -411.9, 0.0), 3);
level._effect[ "lightning" ] = loadfx( "weather/lightning_mp_farm" );
maps\mp\_fx::loopfx("lightning", (531.5, -411.9, 0.0), 10);

}
MY FX.gsc File.
Code:main()

{
level._effect[ "rain_heavy_mist" ] = loadfx( "weather/rain_mp_farm" );
level._effect[ "lightning" ] = loadfx( "weather/lightning_mp_farm" );

//ambient runners
level._effect[ "water_noise_ud" ] = loadfx( "ambient_runners/mp_farm_water_noise_ud01" );
level._effect[ "water_noise" ] = loadfx( "ambient_runners/mp_farm_water_noise01" );

/#
if ( getdvar( "clientSideEffects" ) != "1" )
maps\createfx\mp_barrel_fx::main();
maps\mp\_explosive_barrels::main();
#/
}

my other fx file.
main()
{
maps\mp\_load::main();

{

maps\mp\mp_barrel_fx::main();
maps\createfx\mp_barrel_fx::main();
maps\mp\_explosive_barrels::main();

maps\mp\_load::main();
game["allies"] = "marines";
game["axis"] = "opfor";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "desert";
game["axis_soldiertype"] = "desert";

setdvar( "r_specularcolorscale", "1" );

setdvar("r_glowbloomintensity0",".1");
setdvar("r_glowbloomintensity1",".1");
setdvar("r_glowskybleedintensity0",".1");
setdvar("compassmaxrange","1500");

}
my zone File.
ignore code_post_gfx_mp
ignore common_mp
ignore localized_code_post_gfx_mp
ignore localized_common_mp
col_map_mp maps/mp/mp_cavens1.d3dbsp
rawfile maps/mp/mp_cavens1.gsc
impactfx mp_cavens1
sound common mp_cavens1 !all_mp
sound generic mp_cavens1 !all_mp
sound voiceovers mp_cavens1 !all_mp
sound multiplayer mp_cavens1 !all_mp
weapon mp/remington700
weapon mp/brick_blaster
xmodel body_mp_usmc_specops
xmodel head_mp_usmc_tactical_mich_stripes_nomex
xmodel body_mp_usmc_sniper
xmodel head_mp_usmc_tactical_baseball_cap
xmodel body_mp_usmc_recon
xmodel head_mp_usmc_nomex
xmodel body_mp_usmc_assault
xmodel head_mp_usmc_tactical_mich
xmodel body_mp_usmc_support
xmodel head_mp_usmc_shaved_head
xmodel body_mp_arab_regular_cqb
xmodel head_mp_arab_regular_headwrap
xmodel viewhands_desert_opfor
xmodel body_mp_arab_regular_sniper
xmodel head_mp_arab_regular_sadiq
xmodel body_mp_arab_regular_engineer
xmodel head_mp_arab_regular_ski_mask
xmodel body_mp_arab_regular_assault
xmodel head_mp_arab_regular_suren
xmodel body_mp_arab_regular_support
xmodel head_mp_arab_regular_asad
fx fire/firelp_barrel_pm
fx fire/firelp_med_pm_nodistort
fx weather/rain_mp_farm
fx weather/lightning_mp_farm
fx misc/cgoshp_drips
fx misc/cgoshp_drips_a
fx weather/rain_mp_farm
fx weather/lightning_mp_farm
rawfile maps/mp/mp_cavens1_fx.gsc
rawfile maps/createfx/mp_cavens1_fx.gsc
rawfile maps/mp/_explosive_barrels.gsc
prefabs/interactable_objects/prop_barrel_benzin.map
xmodel com_barrel_piece
xmodel com_barrel_piece2
fx props/barrel_ignite
fx props/barrel_fire_top

Should i use something else other than Cargo ship ,if so what.??? and could someone help me with the scripting.?

You can see a preview of the map im working on here.

Manics-Cavens X-Fire
http://www.xfire.com/video/462453/
No sound on the VIDEO, a Xfire problems i have to fix later, and i did'nt do any jumps realy as i wanted to keep video short.lol

Map based on 2 large cavens, not thought of an ending yet, loads of work to do and will take a while to do, this wont be done in 2 weeks like my last map, this will proberly take 1-2 months......

Check my other tread on my other help requests.

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Thunder/Lightning, rain Sound Problem

Post by <LT>YosemiteSam[NL] » May 5th, 2011, 3:59 pm

check your vid m8
You do not have the required permissions to view the files attached to this post.

steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Re: Thunder/Lightning, rain Sound Problem

Post by steveuk » May 5th, 2011, 4:05 pm

yea i know but im not sure why that is, so need help in fixing it or use a differnt thunder/lightning/rain from another map? with working sound, but dont know which ones will work?

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: Thunder/Lightning, rain Sound Problem

Post by <LT>YosemiteSam[NL] » May 5th, 2011, 5:44 pm

post your sound and soundalias files the sound(s) should be in there.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests