How to add music in your map:D by hyper
Moderator: Core Staff
-
- CJ Wannabe
- Posts: 11
- Joined: March 13th, 2010, 9:22 pm
How to add music in your map:D by hyper
First you go to your IWD file of map.
In IWD file make maps sound and soundaliases
in map sound make one map more called ambient.
In map sound/ambient copy your music:D
Than open new text document and copy this
name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage
#Ambiance
ambient_mp_yourmapname,,ambient/yourmusic name.mp3,0.99,,,,,,,local,streamed,,looping,,mp_yourmapname
and save as mp_yourmapname.csv
This document add to map soundaliases.
Now scripting:
Go to your map .gsc file and add this
ambientPlay("ambient_mp_yourmapname");
it's look like this
main()
{
maps\mp\_load::main();
ambientPlay("ambient_mp_yourmapname");
game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "normandy";
game["german_soldiertype"] = "normandy";
}
AND THIS IS IT:D if you have any guestions ask
my xfire: cod2hyper
In IWD file make maps sound and soundaliases
in map sound make one map more called ambient.
In map sound/ambient copy your music:D
Than open new text document and copy this
name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage
#Ambiance
ambient_mp_yourmapname,,ambient/yourmusic name.mp3,0.99,,,,,,,local,streamed,,looping,,mp_yourmapname
and save as mp_yourmapname.csv
This document add to map soundaliases.
Now scripting:
Go to your map .gsc file and add this
ambientPlay("ambient_mp_yourmapname");
it's look like this
main()
{
maps\mp\_load::main();
ambientPlay("ambient_mp_yourmapname");
game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "normandy";
game["german_soldiertype"] = "normandy";
}
AND THIS IS IT:D if you have any guestions ask
my xfire: cod2hyper
Re: How to add music in your map:D by hyper
lolish xD
__________________________________________________________
THE MAPPER
__________________________________________________________
THE MAPPER
__________________________________________________________
-
- Core Staff
- Posts: 2214
- Joined: February 6th, 2006, 3:18 pm
- Location: Germany/Bayern
Re: How to add music in your map:D by hyper
please review your tutorials. Make steps with 1. 2. 3. and add formatting and explain all better
THAT HANDS WERE NOT TRACED!
visit my blog: Link
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality
-
- CJ Wannabe
- Posts: 11
- Joined: March 13th, 2010, 9:22 pm
Re: How to add music in your map:D by hyper
Those are my first tutorialsLev!athan wrote:please review your tutorials. Make steps with 1. 2. 3. and add formatting and explain all better
Re: How to add music in your map:D by hyper
Congrats. Do it.hyper(slo) wrote:Those are my first tutorialsLev!athan wrote:please review your tutorials. Make steps with 1. 2. 3. and add formatting and explain all better
Re: How to add music in your map:D by hyper
hmm thats very simple tnx hyp xD
__________________________________________________________
THE MAPPER
__________________________________________________________
THE MAPPER
__________________________________________________________
-
- CJ Wannabe
- Posts: 11
- Joined: March 13th, 2010, 9:22 pm
Re: How to add music in your map:D by hyper
NpLevcek wrote:hmm thats very simple tnx hyp xD
Re: How to add music in your map:D by hyper
Weird to see ppl are still active after all those time with only 7 posts
-=[[CoDJumper.com Movies]]=-
[[Ambush]] || [[Backlot]] || [[Bloc]] || [[Bog]] || [[Broadcast]] || [[Chinatown]] || [[Countdown]]
[[Crash]] || [[Creek]] || [[Crossfire]] || [[District]] || [[Downpour]] || [[Killhouse]] || [[Overgrown]]
[[Pipeline]] || [[Shipment & Wetwork]] || [[Showdown]] || [[Strike]] || [[Vacant]]
A woman can fake an orgasm, but a man can fake an entire relationship
[[Ambush]] || [[Backlot]] || [[Bloc]] || [[Bog]] || [[Broadcast]] || [[Chinatown]] || [[Countdown]]
[[Crash]] || [[Creek]] || [[Crossfire]] || [[District]] || [[Downpour]] || [[Killhouse]] || [[Overgrown]]
[[Pipeline]] || [[Shipment & Wetwork]] || [[Showdown]] || [[Strike]] || [[Vacant]]
A woman can fake an orgasm, but a man can fake an entire relationship
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: How to add music in your map:D by hyper
"Notify me when a reply is posted"Hoogie wrote:Weird to see ppl are still active after all those time with only 7 posts
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: How to add music in your map:D by hyper
well ofcourse we are active because thats the best tutorial and cool forum i ever seen in my life!!!!!!!
I LOVE YOU CODJUMPER.COM!!!!!!
I LOVE YOU CODJUMPER.COM!!!!!!
__________________________________________________________
THE MAPPER
__________________________________________________________
THE MAPPER
__________________________________________________________
Who is online
Users browsing this forum: No registered users and 0 guests