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

Members Online

»
0 Active | 77 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 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: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Monday, Dec. 24, 2012 01:19 pm
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 16, 2016
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Monday, Dec. 24, 2012 05:34 pm
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

»