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

Members Online

»
0 Active | 51 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 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: i want amb sound outside only not entire map how????
coolguyty
General Member
Since: Jan 25, 2008
Posts: 148
Last: Mar 27, 2009
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, May. 6, 2008 10:23 pm
i have a night time map . i got citystreets night amb sound to work but i only want it for out doors. how do i do this??? also how do i add wind sound to roof top only???? please help...
Share |
coolguyty
General Member
Since: Jan 25, 2008
Posts: 148
Last: Mar 27, 2009
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, May. 6, 2008 10:26 pm
do i have to change something in the raw/maps/amb.gsc folder???
Share |
Nemo06c
General Member
Since: Jul 23, 2006
Posts: 303
Last: Feb 9, 2010
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Tuesday, May. 6, 2008 11:35 pm
Can't be done.
Share |
coolguyty
General Member
Since: Jan 25, 2008
Posts: 148
Last: Mar 27, 2009
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Wednesday, May. 7, 2008 12:02 am
ok. then how about a wav file with a custom sound, wind ,crickets,etc,etc. in diferent areas..
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Wednesday, May. 7, 2008 12:48 am
Nemo06c writes...
Quote:
Can't be done.


AH AH AH [duh]

Of course it can be done, place script_origin in your map, assign a targetname to them (say wind for example)

Then Use this in your Map GSC:

Code:

main()
{
	maps\mp\_load::main();
	
	ambientPlay("ambient_backlot_ext");
	
	game["allies"] = "usmc";
	game["axis"] = "opfor";
	game["attackers"] = "axis";
	game["defenders"] = "allies";
	game["allies_soldiertype"] = "desert";
	game["axis_soldiertype"] = "desert";
	
	setdvar( "r_specularcolorscale", "1" );
	
	setdvar("r_glowbloomintensity0",".25");
	setdvar("r_glowbloomintensity1",".25");
	setdvar("r_glowskybleedintensity0",".3");
	//setdvar("compassmaxrange","1800");
	
    thread alert_sound1();
}

alert_sound1()
{
    alerts = getentarray ("wind", "targetname");
    while (1)
    {
              {
            for (i=1;i<alerts.size;i++)
                alerts[0] playsound("elm_wind_leafy");

            alerts[0] playsound("elm_wind_leafy");
            
            wait (15.0); // Time before playing again

     self thread alert_sound1();

     return;
        }
        }

}
Share |
coolguyty
General Member
Since: Jan 25, 2008
Posts: 148
Last: Mar 27, 2009
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Wednesday, May. 7, 2008 09:28 am
thanks zeroy for your reply.. tried it and got error. script run time?any ideas?
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Wednesday, May. 7, 2008 12:03 pm
coolguyty writes...
Quote:
thanks zeroy for your reply.. tried it and got error. script run time?any ideas?


Please post the error from Console log or a screenshot of the error - even better, post your map GSC :)
Share |
Nemo06c
General Member
Since: Jul 23, 2006
Posts: 303
Last: Feb 9, 2010
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Wednesday, May. 7, 2008 12:41 pm
zeroy writes...
Quote:
Nemo06c writes...
Quote:
Can't be done.


AH AH AH [duh]


There's a difference between ambient sounds and localized sounds... If a question is correctly ask then it will be correctly answered.
Share |
Mr_T
General Member
Since: Nov 8, 2006
Posts: 10
Last: Nov 21, 2008
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Wednesday, May. 7, 2008 04:15 pm
Nemo06c writes...
Quote:
zeroy writes...
Quote:
Nemo06c writes...
Quote:
Can't be done.


AH AH AH [duh]


There's a difference between ambient sounds and localized sounds... If a question is correctly ask then it will be correctly answered.


And not everyones a expert so take the c**k out your ass and be friendly.
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 MP Mapping
Posted: Wednesday, May. 7, 2008 04:38 pm
Stop this flaming and get back on topic.
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

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

»