|
|
@ -164,6 +164,16 @@ void CBasePlatTrain::KeyValue( KeyValueData *pkvd ) |
|
|
|
m_bStopSnd = atoi( pkvd->szValue ); |
|
|
|
m_bStopSnd = atoi( pkvd->szValue ); |
|
|
|
pkvd->fHandled = TRUE; |
|
|
|
pkvd->fHandled = TRUE; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else if( FStrEq( pkvd->szKeyName, "custommovesnd" ) ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
pev->noise = ALLOC_STRING( pkvd->szValue ); |
|
|
|
|
|
|
|
pkvd->fHandled = TRUE; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else if( FStrEq( pkvd->szKeyName, "customstopsnd" ) ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
pev->noise1 = ALLOC_STRING(pkvd->szValue); |
|
|
|
|
|
|
|
pkvd->fHandled = TRUE; |
|
|
|
|
|
|
|
} |
|
|
|
else if( FStrEq( pkvd->szKeyName, "volume" ) ) |
|
|
|
else if( FStrEq( pkvd->szKeyName, "volume" ) ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
m_volume = atof( pkvd->szValue ); |
|
|
|
m_volume = atof( pkvd->szValue ); |
|
|
|