Willkommen ~Gast!
Registrieren || Einloggen || Hilfe/FAQ || Staff
Probleme mit der Registrierung im Forum? Melde dich unter registerEin Bild.
Autor Beitrag
000
27.11.2006, 23:19
mRofsimpsOn



hi.

ich will an vier verschiedenen stellen jeweils vier sounds im random abspielen lassen.

dazu hab ich bisher nen zentrales env_soundscape gesetzt und an den jeweiligen abspielpunkten info_tatgets gesetzt.

den soundscape mit den info_targets verbunden.

im hammer müsste also alles richtig sein.

ich hab im soundscape.txt bisher folgendes versucht:

"soundtest.target_vögel"
{
"dsp" "1"

"playrandom"
{
"time" "5,10"
"position" "0,1,2,3"
"pitch" "100"
"volume" "0.1,0.4"
"soundlevel" "SNDLVL_NORM"

"rndwave"
{
"wave" "ambient/animal/bird10.wav"
"wave" "ambient/animal/bird11.wav"
"wave" "ambient/animal/bird14.wav"
}
}
}

nun werden aber nur an einer position, also an einem info_target die sounds abgespielt. an den anderen punkten is stille.

wie krieg ich es also hin, dass die 4 sounds an allen vier punkten nach dem script aufgerufen werden?

danke

--

zum Seitenanfang zum Seitenende Profil || Suche
001
28.11.2006, 16:31
Sven Monhof



copy+paste und position abändern:
Ich glaube, anders gehts net
Quellcode:"soundtest.target_vögel"
{
"dsp" "1"

"playrandom"
{
"time" "5,10"
"position" "0"
"pitch" "100"
"volume" "0.1,0.4"
"soundlevel" "SNDLVL_NORM"

"rndwave"
{
"wave" "ambient/animal/bird10.wav"
"wave" "ambient/animal/bird11.wav"
"wave" "ambient/animal/bird14.wav"
}
}

"playrandom"
{
"time" "5,10"
"position" "1"
"pitch" "100"
"volume" "0.1,0.4"
"soundlevel" "SNDLVL_NORM"

"rndwave"
{
"wave" "ambient/animal/bird10.wav"
"wave" "ambient/animal/bird11.wav"
"wave" "ambient/animal/bird14.wav"
}
}

"playrandom"
{
"time" "5,10"
"position" "2"
"pitch" "100"
"volume" "0.1,0.4"
"soundlevel" "SNDLVL_NORM"

"rndwave"
{
"wave" "ambient/animal/bird10.wav"
"wave" "ambient/animal/bird11.wav"
"wave" "ambient/animal/bird14.wav"
}
}

"playrandom"
{
"time" "5,10"
"position" "3"
"pitch" "100"
"volume" "0.1,0.4"
"soundlevel" "SNDLVL_NORM"

"rndwave"
{
"wave" "ambient/animal/bird10.wav"
"wave" "ambient/animal/bird11.wav"
"wave" "ambient/animal/bird14.wav"
}
}

}

--

Starwars: The New Era
Lead-Leveldesigner

zum Seitenanfang zum Seitenende Profil || Suche
002
29.11.2006, 17:55
Night Wolf



Zitat:
"position" "0,1,2,3"
Vielleicht mag er das nicht...

--

Muh sag ich da!
----------------------
All das ist thewall: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

zum Seitenanfang zum Seitenende Profil || Suche
003
29.11.2006, 23:33
mRofsimpsOn



jo ok .. ich hab jezz die sache von sven m. ausprobiert. das hat geklappt. danke dafür.

nu hab ich nur noch probs mit sounds die nich spielen wollen (egal ob ambietn_generic oder als soundscape)

aber das is wohl nen anderes kapitel und scheint mir nen bug in source zu sein.

--

zum Seitenanfang zum Seitenende Profil || Suche