sound .scr

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
tuffstuff7
Captain
Posts: 265
Joined: Mon Jan 06, 2003 12:59 am
Contact:

sound .scr

Post by tuffstuff7 »

hi can someone tell me what i am ding wrong with this .scr file i have done one with help that has fog and sound but i just want sound this time and well the sound is not working


// mymapname
// ARCHITECTURE: Tuffstuff7
// SCRIPTING: Tuffstuff7


main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "mympname"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" "Author"
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" "Tuffstuff7"
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "mymapname"

//-----------------------------------------------
// PRESPAWN
//-----------------------------------------------

level waitTill prespawn

//*** Precache Dm Stuff
exec global/DMprecache.scr

level.script = maps/dm/mymapname.scr

//-----------------------------------------------
// SPAWN
//---------------------------------------------

level waittill spawn



exec global/ambient.scr m3l3

end



any help would be appreciated
tuffstuff7
Captain
Posts: 265
Joined: Mon Jan 06, 2003 12:59 am
Contact:

Post by tuffstuff7 »

lol never mind saved it as wrong file ooooooops lol
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Please post this kind of questions in scripting. :wink:
Image
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post by Innkeeper »

Generally you would put "exec global/ambient.scr m3l3" before "level waittill spawn"
Post Reply