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

Members Online

»
0 Active | 9 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 subscribe
Author Topic: help looping a sound
maximus1964
General Member
Since: Oct 15, 2011
Posts: 17
Last: Dec 5, 2011
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Friday, Dec. 2, 2011 01:12 pm
can someone please help me i am trying to loop a sound with a trigger can anyone give me some advise on this as i have found no information anywhere in the forums only looping the sound within the allias files thanks in advance.......
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Friday, Dec. 2, 2011 10:18 pm
name,sequence,file,vol_min,vol_max,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,...

try a value of 1 in your alias' row for this column
Share |
maximus1964
General Member
Since: Oct 15, 2011
Posts: 17
Last: Dec 5, 2011
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 3, 2011 04:41 pm
have tried the tutorial on sound alliases and i dont understand it very well i spent 2 days trying to get a sound to loop in the soundalias so i thought i would try another way around it by spawning a sound through a trigger linking to a thread that is what i was realy asking for help on i have only been messing with
code for a week or so i am getting the hang of it a little but thanks anyway for the help....
Share |
odilasa1
General Member
Since: Nov 7, 2010
Posts: 66
Last: Dec 24, 2011
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Dec. 4, 2011 01:29 am
Hey maximus are you trying to use a stock sound or custom sound? Also do you want it to play throughout the entire map or just in a certain area?
Share |
maximus1964
General Member
Since: Oct 15, 2011
Posts: 17
Last: Dec 5, 2011
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Monday, Dec. 5, 2011 10:01 am
i am trying to use a stock sound i have got the sound to run from a trigger but i sounds really bad and only plays once i have tried the trigger multiple infact most of the triggers i have tried, and also i just want the sound to be local to the area of the fire ....
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Monday, Dec. 5, 2011 01:16 pm
If you wanna combine a fire effect + sound, read this:

http://wiki.modsrepository.com/index.php/Call_of_Duty_4:_Sounds
http://wiki.modsrepository.com/index.php/Call_of_Duty_4:_Using_GSCs_scripts

Quote:
try a value of 1 in your alias' row for this column

it's rather looping
http://wiki.modsrepository.com/index.php/Call_of_Duty_5:_Audio_System_Parameters%23The_basics
Share |
sam_fisher3000
General Member
Since: Apr 18, 2007
Posts: 816
Last: Jul 16, 2016
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Monday, Dec. 5, 2011 04:09 pm
A loop sound should be rather easy to do. Sevenz has the right idea.

In your sound alias, put "loop" with the line of your sound.

Something like

name,sequence,file,vol_min,vol_max,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,...

sound1,,sound1.mp3,10,10,5,5,10,10,radio,,loop,

So in your line for the sound (Forgot the name), put loop. If I remember correctly. When I get home tonight, I can look up my soundalias file and give you a proper example.

The loop should not be a 1. It should be loop or non-loop.

To make it local, change the radio to local or announcement. Can't remember which. I will check my soundalias file and show you. You can also change the volume and distance.

You can also check out voidsource's youtube tutorial on sound. He covers looping, local, annoucement, etc.

Here

For the trigger, just create it and in script, use the playsound function. So it will play the soundalias in the map soundaliases file. And all the characteristics of the sound is in there, like the looping that you wanted.

Hope this helps.

Share |
maximus1964
General Member
Since: Oct 15, 2011
Posts: 17
Last: Dec 5, 2011
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Monday, Dec. 5, 2011 07:10 pm
ok thanks guys i will try that thanks again
Share |
sam_fisher3000
General Member
Since: Apr 18, 2007
Posts: 816
Last: Jul 16, 2016
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Tuesday, Dec. 6, 2011 04:30 am
Example.

Code:
name,sequence,file,vol_mod,vol_min,vol_max,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speak


chargemusic,,heroes7part3/chargemusic.mp3,,1,1,,,360,6000,local,streamed,,looping,master,heli_b2,,,,,,radio




Try editing the channel, loop, type, etc. So change the local, streamed, etc. It's all in there. Be sure to change the file to the stock file. I am sure you know this. As for looping, default is non-looping so don't put anything in there. If you want looping, just put looping.

Hope this helps! Be sure to check out voidsource's tut. In the video, he has the description of each of those characteristics. I forgot what they are called. You get the idea, try it!


edited on Dec. 5, 2011 09:30 pm by sam_fisher3000


EDIT: Did not think the post would be long. Can an admin please fix this? Thanks. If you're around...
Share |
Larrabee
General Member
Since: Feb 5, 2010
Posts: 113
Last: Aug 23, 2012
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 24, 2011 05:52 pm
Here ya go:

ftp://gangsterdave.dyndns.org/Tutorial_map_with_sound.zip

A small map with a broken pipe in the center. Walk up to it and you'll hear the steam escaping. Walk away and it fades.
Look at all of the files, especially my soundalias. You'll have your sound going no problem.
Share |
Restricted Access Topic is Locked 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

»