Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 60 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: sound
dave8489
General Member
Since: Jan 30, 2008
Posts: 6
Last: Jan 31, 2008
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Wednesday, Jan. 30, 2008 08:05 pm
can someone pls help me i m trying to get my rain to sound like rain. i have the rain in my map but no sound and i cant find the sound file any where pls help me tell me what file i need to edit to get my sound to work i have the
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 Scripting
Posted: Wednesday, Jan. 30, 2008 08:57 pm
I have the.... ??

you do not need to edit any file.. All you need to do is play the sound from the same place you're calling the effect from (if you're using the rain tutorial that is).
Share |
pooranimator
General Member
Since: Jan 24, 2008
Posts: 66
Last: Feb 8, 2008
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Wednesday, Jan. 30, 2008 09:45 pm
dave8489 writes...
Quote:
can someone pls help me i m trying to get my rain to sound like rain. i have the rain in my map but no sound and i cant find the sound file any where pls help me tell me what file i need to edit to get my sound to work i have the

I've uploaded my gsc file so u can make a copy (backup) of your gsc file then try mine out. I've got the sound to work but no rain. since u got the rain to work so u might know how to put rain. anyways here is the link: http://rapidshare.com/files/87919792/mp_maze.gsc.html
btw if u plan to try my gsc out then don't 4get to rename mp_maze.gsc to yourmap.gsc. i've told ya mine has no rain, only sound. so u might fig out something. incase u do fig out let me know coz i need rain. and incase u don't fig out still lemme know how u got rain. thanx[thumbs_up]
Share |
dave8489
General Member
Since: Jan 30, 2008
Posts: 6
Last: Jan 31, 2008
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Wednesday, Jan. 30, 2008 10:01 pm
i have sound for like guns and stuff but i dont have sound for the rain and lightning it says failed to find sound alias 'elm_thunder_distant' and so on with the fx i put in
but my normal sound works and there is nothing after what i said i have the lol i was going to say somthing but didnt

edited on Jan. 30, 2008 05:06 pm by dave8489

edited on Jan. 30, 2008 05:08 pm by dave8489
Share |
dave8489
General Member
Since: Jan 30, 2008
Posts: 6
Last: Jan 31, 2008
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Thursday, Jan. 31, 2008 04:51 pm
anything i think i found the file where the sound comes from it the soundalias/common file i see what files i need in there but they dont work here is my files i have

my gsc file
main()
{
maps\dave_fx::main();
maps\_load::main();





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


}


my gsc fx file

main()
{

level._effect["rain"] = loadfx ("weather/rain_mp_farm");
maps\_fx::loopfx("rain", (-320, -320, 192), 1);
level._effect["lightning"] = loadfx("weather/lightning_mp_farm");
maps\_fx::loopfx("lightning", (-320, -320, 192), 1);


}


my csv file

ignore code_post_gfx
ignore common
col_map_sp maps/dave.d3dbsp
impactfx dave
rawfile maps/dave.gsc
sound common dave !all_sp
sound generic dave !all_sp
sound voiceovers dave !all_sp
sound multiplayer dave !all_sp
rawfile maps/dave.gsc
fx weather/lightning_mp_farm
fx weather/rain_mp_farm
weapon sp/m203
weapon sp/mp5
xmodel viewmodel_base_viewhands


like i said all works but the sound from my fx like my ligntning and rain noise
pls help

edited on Jan. 31, 2008 11:52 am by dave8489
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 Scripting
Posted: Thursday, Jan. 31, 2008 05:06 pm
elm_thunder_distant is a soundalias which, in coD4 can only be used in mp_farm and mp_cargoship (taken from the multiplayer.csv file in the raw/soundaliases folder).

You'll have to make your own soundalias file with the correct alias in it (there is a CoD tutorial on how to do this. Take a look at the multiplayer.csv file for the filenames).
Share |
dave8489
General Member
Since: Jan 30, 2008
Posts: 6
Last: Jan 31, 2008
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Thursday, Jan. 31, 2008 06:42 pm
can you ge me a link for the tut i cant find it pls ive search and still nothing
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»