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

Members Online

»
0 Active | 52 Guests
Online:

LATEST FORUM THREADS

»
Good Servers on PC
CoDBO General
Using Teamspeak
Teamspeak Servers

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 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Soundaliases? whats that?
SPi
General Member
Since: Jul 4, 2012
Posts: 530
Last: Oct 17, 2018
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Monday, Dec. 24, 2012 06:19 am
attachment: application(2.3Kb)
Well i got a bit bussy with sounds and i got this problem with the soundaliases.
well i made a music testmap witch i uploaded and all the source files.
I made a testmap.csv and placed it in the soundaliases raw foilder then called it from zone file.

Thats the testmap.gsc

Code:
main() {	 	maps\_load::main(); 	thread music(); }  music() { trigger = GetEnt( "music_trigg", "targetname" ); trigger waittill( "trigger" ); MusicPlay( "HGW_Scoutsniper_Surrounded_v7.mp3", true ); }


I am sure that there is something wrong and I please want to know how to make a sound alias of an mp3 file work.
Take a look and tell me if u know please [cry]

Merry Christmas [tongue][thumbs_up]

edited on Dec. 24, 2012 06:20 am by SPi
Share |
sam_fisher3000
General Member
Since: Apr 18, 2007
Posts: 816
Last: Jul 15, 2016
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Monday, Dec. 24, 2012 10:34 am
Easiest way is to do this. No need to use the true. And I am not using code to make it easier to see.

main()
{

maps\_load::main();

thread music();

}

music()
{
trigger = GetEnt( "music_trigg", "targetname" );
trigger waittill( "trigger" );
MusicPlay( "HGW_Scoutsniper_Surrounded_v7.mp3");
}

To keep it simple, make sure the name of the musicplay is one word or so. Like music. So MusicPlay("music");

In your soundalias file, make sure you have the same name.


Follow this parameter for the soundalias/csv file.

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 speakermap reverb lfe percentage center percentage platform envelop_min envelop_max envelop percentage

music sound/soundname.wav voiceover 1 1 announcer loaded map mapsubtitle

So something like this.

Merry Christmas to you too!

Hope this helps.



Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP 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

»