Page 1 of 1

Basic sound

Posted: Thu Jun 12, 2003 2:40 am
by Robse
Hi, I'm a beginner and I'm kind of stuck, maybe this should be posted
in the Mapping section...don't know...anyway, I did a basic map with
a door and a breaking window. Then I put a very basic script with it
and pk3'd these two. But there is no sound at all? Like walking, the
door opening etc...I put a doortype/wood key/value pair for the
door too...???

The map is named "1stmap". I used Nemesis' basic script:

Code: Select all

// 1stmap

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "" 
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "none" 


level waitTill prespawn

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

level.script = "maps/1stmap.scr"

level waittill spawn

end

Posted: Thu Jun 12, 2003 2:41 am
by Alcoholic
well to start you off, you have to put a "test_" prefix. put a test_ prefix to it and it'll work. there are more productive ways, but that should do for now.

dm folder

Posted: Thu Jun 12, 2003 2:45 am
by tltrude
Move your bsp and scr files from the maps folder to maps/dm and it will work.

Posted: Thu Jun 12, 2003 3:39 am
by Robse
Ahh very nice, very nice. It works! It works!
Learned something today :)
Thanks a lot Tom. And Alcoholic for the effort!