mapsoundreset command
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2919 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -553,6 +553,7 @@ texture 0 "./drunkenM/rock_wall1.jpg" // Texture #249
|
||||
|
||||
|
||||
// Ambient Sounds
|
||||
mapsoundreset
|
||||
|
||||
mapsound "./ambience/cavedrip.ogg" 170 -1 // 0
|
||||
mapsound "./ambience/distant_cars.ogg" 170 -1 // 1
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ alias context_prompt 2 // command prompt
|
||||
alias context_mapcfg 3 // map configs, we don't trust them
|
||||
|
||||
// set allowed commands for the map config context
|
||||
alias mapcfgidents [ alias loadnotexture loadsky mapmodelreset mapmodel texturereset texture fog fogcolour mapsound watercolour shadowyaw ]
|
||||
alias mapcfgidents [ alias loadnotexture loadsky mapmodelreset mapmodel texturereset texture fog fogcolour mapsoundreset mapsound watercolour shadowyaw ]
|
||||
loop i (listlen $mapcfgidents) [
|
||||
scriptcontext $context_mapcfg (at $mapcfgidents $i)
|
||||
]
|
||||
|
||||
@@ -80,7 +80,9 @@ mapmodel 0 0 0 0 "wires/4x8a" //59
|
||||
mapmodel 0 0 0 0 "wires/4x8" //60
|
||||
mapmodel 0 0 0 0 "drainpipe" //61
|
||||
|
||||
mapsound "ambience/hum01.wav" 100 -1 //0
|
||||
mapsoundreset
|
||||
|
||||
mapsound "ambience/hum01.ogg" 100 -1 //0
|
||||
|
||||
// skybox for this map - check /packages/skymaps/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user