tengo dos archivos SMS, de mi autoría, nomás que uno (el que funciona) es viejo y el que estoy haciendo ahora, tiene el siguiente problema: al ir alejándose el tren, el sonido no disminuye paulatinamente, sino, de una, al cumplirse la distancia de desactivación.
El que funciona correctamente:
- Código: Seleccionar todo
SIMISA@@@@@@@@@@JINX0x1t______
Tr_SMS (
ScalabiltyGroup( 0
Activation (
ExternalCam ()
PassengerCam ()
CabCam ()
Distance ( 500 )
)
Deactivation (
Distance ( 500 )
)
Streams ( 5
Stream(
Priority ( 6 )
VOLUME ( 1.9 )
Triggers( 4
Discrete_Trigger ( 6 PlayOneShot ( 1 File ( "m41_wiper_start.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 6 StartLoopRelease ( 1 File ( "m41_wiper.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 7 ReleaseLoopRelease() )
Discrete_Trigger ( 7 PlayOneShot ( 1 File ( "m41_wiper_stop.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
)
)
Stream (
Priority ( 5 )
Triggers ( 2
Discrete_Trigger ( 105 PlayOneShot ( 1 File ( "x_puerta_abre.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 106 PlayOneShot ( 1 File ( "x_puerta_cierra.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
)
)
Stream (
Priority ( 5 )
Triggers ( 3
Discrete_Trigger ( 53 PlayOneShot ( 1 File ( "x_freno.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 54 PlayOneShot ( 1 File ( "x_freno.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 22 PlayOneShot ( 1 File ( "x_freno.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
)
)
Stream (
Priority ( 6 )
VOLUME ( 0.5 )
Triggers ( 1
Initial_Trigger ( StartLoop ( 1 File ( "x_R19.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
)
FrequencyCurve (
SpeedControlled CurvePoints ( 11
0.000 11000
0.001 9000
2.778 16000
2.779 10500
6.944 17500
6.945 12500
11.111 19500
11.112 15000
18.056 22000
18.057 18000
33.611 25000
)
Granularity ( 0.001 )
)
)
Stream (
Priority ( 6 )
VOLUME ( 0.5 )
Triggers ( 2
Discrete_Trigger ( 8 StartLoopRelease ( 1 File ( "x_Horn.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 9 ReleaseLoopReleaseWithJump () )
)
)
)
)
)
El que no va como debiera:
- Código: Seleccionar todo
SIMISA@@@@@@@@@@JINX0x1t______
Tr_SMS (
ScalabiltyGroup ( 0
Activation (
Distance ( 600 )
ExternalCam ()
)
Deactivation (
Distance ( 600 )
PassengerCam ()
CabCam ()
)
Stereo ()
Streams ( 11
Stream ( Priority ( 6 ) Triggers ( 1 Variable_Trigger ( Speed_Inc_Past 0.01 PlayOneShot ( 1 File ( "x-CAMPANA.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) ) )
Stream ( Priority ( 6 ) Triggers ( 1 Variable_Trigger ( Speed_Inc_Past 0.01 PlayOneShot ( 1 File ( "ARRANQUE.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) ) )
Stream ( Priority ( 6 )
Triggers ( 1
Initial_Trigger ( StartLoop ( 1 File ( "CRUCERO.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
)
FrequencyCurve (
SpeedControlled CurvePoints ( 2
0.000 6000
50.000 12000
)
Granularity ( 0.001 )
)
VolumeCurve (
SpeedControlled CurvePoints ( 3
0.000 0
0.001 0.1
50.000 1
)
Granularity ( 0.001 )
)
)
Stream ( Priority ( 6 )
Triggers ( 2
Discrete_Trigger ( 6 StartLoopRelease ( 1 File ( "x-LIMPIAPARABRISAS.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 7 ReleaseLoopReleaseWithJump () )
)
)
Stream ( Priority ( 6 )
Triggers ( 2
Discrete_Trigger ( 8 StartLoopRelease ( 1 File ( "x-BOCINA.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 9 ReleaseLoopReleaseWithJump () )
)
)
Stream ( Priority ( 6 ) Triggers ( 1 Discrete_Trigger ( 10 PlayOneShot ( 1 File ( "x-CAMPANA.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) ) )
Stream ( Priority ( 6 ) Triggers ( 1 Discrete_Trigger ( 11 PlayOneShot ( 1 File ( "x-CAMPANA.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) ) )
Stream ( Priority ( 6 )
Triggers ( 2
Discrete_Trigger ( 45 PlayOneShot ( 1 File ( "PANTO-SUBE.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Discrete_Trigger ( 46 PlayOneShot ( 1 File ( "PANTO-BAJA.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
)
)
Stream ( Priority ( 6 ) Triggers ( 1 Discrete_Trigger ( 105 PlayOneShot ( 1 File ( "PUERTA-ABRE.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) ) )
Stream ( Priority ( 6 ) Triggers ( 1 Discrete_Trigger ( 106 PlayOneShot ( 1 File ( "PUERTA-CIERRA.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) ) )
Stream ( Priority ( 6 ) Triggers ( 1 Variable_Trigger ( Distance_Dec_Past 50 PlayOneShot ( 1 File ( "x-CAMPANA.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) ) )
)
)
)
¿Qué es lo que estoy haciendo mal? No logro encontrar el error.
¡Gracias!