Un-ignored: the dev drive is the ground truth the restoration and emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio content). Kept in-repo for the pod-owner community. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
520 lines
12 KiB
Plaintext
520 lines
12 KiB
Plaintext
#
|
|
###################################################################
|
|
# Mech Engine Internal Audio Script
|
|
###################################################################
|
|
#
|
|
|
|
[macro]
|
|
IdleMotorTopSpeed=20
|
|
MotorTopSpeed=40
|
|
AccelerationMotorTopAcceleration=25
|
|
DamagedMotorTopSpeed=40
|
|
|
|
#
|
|
###################################################################
|
|
# EngineWindUp component
|
|
###################################################################
|
|
#
|
|
|
|
[DirectPatchSource]
|
|
location=OriginLocation
|
|
resource=EngineWindUp01
|
|
position=RearDirectPatchPosition
|
|
priority=4
|
|
mix_presence=2
|
|
volume_mix_level=EngineWindUpVolume
|
|
pitch_mix_offset=0.0
|
|
brightness_mix_level=1.0
|
|
use_brightness_scale=False
|
|
use_attack_time_scale=False
|
|
has_compression_curve=True
|
|
compression_duration=5.0
|
|
name=EngineWindUpComponent
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
[AudioControlSend]
|
|
audio_component=EngineWindUpComponent
|
|
control_ID=StartAudioControlID
|
|
control_value=6.0
|
|
|
|
#
|
|
###################################################################
|
|
# IdleMotor component
|
|
###################################################################
|
|
#
|
|
|
|
[DirectPatchSource]
|
|
location=OriginLocation
|
|
resource=EnginePower01
|
|
position=RearDirectPatchPosition
|
|
priority=0
|
|
mix_presence=4
|
|
volume_mix_level=IdleMotorVolume
|
|
pitch_mix_offset=0.0
|
|
brightness_mix_level=1.0
|
|
use_brightness_scale=False
|
|
use_attack_time_scale=False
|
|
has_compression_curve=False
|
|
compression_duration=0.0
|
|
name=IdleMotorComponent
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# amplitude smoother -> amplitude
|
|
#
|
|
|
|
[AudioControlSmoother]
|
|
audio_component=IdleMotorComponent
|
|
number_of_samples=Sample0.5Sec
|
|
control_ID=VolumeAudioControlID
|
|
initial_fill_value=1.0
|
|
name=IdleMotorAmplitudeSmoother
|
|
|
|
#
|
|
# linear velocity -> amplitude smoother
|
|
#
|
|
|
|
[AudioMotionScale]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=LinearMotionType
|
|
motion_value=LengthMotionValue
|
|
audio_component=IdleMotorAmplitudeSmoother
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=IdleMotorTopSpeed
|
|
control_ID=VolumeAudioControlID
|
|
control_value_boundary1=1.0
|
|
control_value_boundary2=0.0
|
|
exponent=2.0
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# pitch smoother -> pitch
|
|
#
|
|
|
|
[AudioControlSmoother]
|
|
audio_component=IdleMotorComponent
|
|
number_of_samples=Sample0.5Sec
|
|
control_ID=PitchAudioControlID
|
|
name=IdleMotorPitchSmoother
|
|
|
|
#
|
|
# linear velocity -> pitch smoother
|
|
#
|
|
|
|
[AudioMotionScale]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=0
|
|
motion_value=3
|
|
audio_component=IdleMotorPitchSmoother
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=IdleMotorTopSpeed
|
|
control_ID=PitchAudioControlID
|
|
control_value_boundary1=-400
|
|
control_value_boundary2=-200
|
|
exponent=0.5
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
[AudioMotionTrigger]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=LinearMotionType
|
|
motion_value=LengthMotionValue
|
|
audio_component=IdleMotorComponent
|
|
attribute_value_threshold=IdleMotorTopSpeed
|
|
control_ID_on=StartAudioControlID
|
|
control_ID_off=StopAudioControlID
|
|
control_value_on=0.0
|
|
control_value_off=0.0
|
|
inverse_trigger=True
|
|
dump_value=False
|
|
|
|
[AudioControlSend]
|
|
audio_component=IdleMotorComponent
|
|
control_ID=StartAudioControlID
|
|
control_value=0.0
|
|
|
|
#
|
|
###################################################################
|
|
# Motor component
|
|
###################################################################
|
|
#
|
|
|
|
[DirectPatchSource]
|
|
location=OriginLocation
|
|
resource=EngineMotor01
|
|
position=RearDirectPatchPosition
|
|
priority=1
|
|
mix_presence=4
|
|
volume_mix_level=MotorVolume
|
|
pitch_mix_offset=0.0
|
|
brightness_mix_level=1.0
|
|
use_brightness_scale=False
|
|
use_attack_time_scale=False
|
|
has_compression_curve=False
|
|
compression_duration=0.0
|
|
name=MotorComponent
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# amplitude smoother -> amplitude
|
|
#
|
|
|
|
[AudioControlSmoother]
|
|
audio_component=MotorComponent
|
|
number_of_samples=Sample0.5Sec
|
|
control_ID=VolumeAudioControlID
|
|
name=MotorComponentAmplitudeSmoother
|
|
|
|
#
|
|
# linear velocity -> amplitude smoother
|
|
#
|
|
|
|
[AudioMotionScale]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=LinearMotionType
|
|
motion_value=LengthMotionValue
|
|
audio_component=MotorComponentAmplitudeSmoother
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=MotorTopSpeed
|
|
control_ID=VolumeAudioControlID
|
|
control_value_boundary1=0.0
|
|
control_value_boundary2=1.0
|
|
exponent=0.3
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# pitch smoother -> pitch
|
|
#
|
|
|
|
[AudioControlSmoother]
|
|
audio_component=MotorComponent
|
|
number_of_samples=Sample0.5Sec
|
|
control_ID=PitchAudioControlID
|
|
name=MotorComponentPitchSmoother
|
|
|
|
#
|
|
# linear velocity -> pitch smoother
|
|
#
|
|
|
|
[AudioMotionScale]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=0
|
|
motion_value=3
|
|
audio_component=MotorComponentPitchSmoother
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=MotorTopSpeed
|
|
control_ID=PitchAudioControlID
|
|
control_value_boundary1=-500
|
|
control_value_boundary2=200
|
|
exponent=0.3
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
[AudioMotionTrigger]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=LinearMotionType
|
|
motion_value=LengthMotionValue
|
|
audio_component=MotorComponent
|
|
attribute_value_threshold=1.0
|
|
control_ID_on=StartAudioControlID
|
|
control_ID_off=StopAudioControlID
|
|
control_value_on=0.0
|
|
control_value_off=0.0
|
|
inverse_trigger=False
|
|
dump_value=False
|
|
|
|
#
|
|
###################################################################
|
|
# AccelerationMotor component
|
|
###################################################################
|
|
#
|
|
|
|
[DirectPatchSource]
|
|
location=OriginLocation
|
|
resource=EngineAcceleration07
|
|
position=RearDirectPatchPosition
|
|
priority=2
|
|
mix_presence=4
|
|
volume_mix_level=AccelerationMotorVolume
|
|
pitch_mix_offset=0
|
|
brightness_mix_level=1.0
|
|
use_brightness_scale=False
|
|
use_attack_time_scale=False
|
|
has_compression_curve=False
|
|
compression_duration=0.0
|
|
name=AccelerationMotorComponent
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# amplitude smoother1 -> amplitude
|
|
#
|
|
|
|
[AudioControlSmoother]
|
|
audio_component=AccelerationMotorComponent
|
|
number_of_samples=Sample0.5Sec
|
|
control_ID=VolumeAudioControlID
|
|
name=AccelerationMotorAmplitudeSmoother1
|
|
|
|
#
|
|
# unstable -> amplitude smoother1
|
|
#
|
|
|
|
[AudioScalarScale]
|
|
subsystem=Entity
|
|
attribute=UnstablePercentage
|
|
audio_component=AccelerationMotorAmplitudeSmoother1
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=1.0
|
|
control_ID=VolumeAudioControlID
|
|
control_value_boundary1=0.0
|
|
control_value_boundary2=1.0
|
|
exponent=0.75
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# pitch smoother1 -> pitch
|
|
#
|
|
|
|
[AudioControlSmoother]
|
|
audio_component=AccelerationMotorComponent
|
|
number_of_samples=Sample1Sec
|
|
control_ID=PitchAudioControlID
|
|
name=AccelerationMotorPitchSmoother1
|
|
|
|
#
|
|
# linear velocity -> pitch smoother
|
|
#
|
|
|
|
[AudioMotionScale]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=LinearMotionType
|
|
motion_value=LengthMotionValue
|
|
audio_component=AccelerationMotorPitchSmoother1
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=MotorTopSpeed
|
|
control_ID=PitchAudioControlID
|
|
control_value_boundary1=-1400
|
|
control_value_boundary2=800
|
|
exponent=1.0
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
[AudioScalarTrigger]
|
|
subsystem=Entity
|
|
attribute=UnstablePercentage
|
|
audio_component=AccelerationMotorComponent
|
|
attribute_value_threshold=0.01
|
|
control_ID_on=StartAudioControlID
|
|
control_ID_off=StopAudioControlID
|
|
control_value_on=0.0
|
|
control_value_off=0.0
|
|
inverse_trigger=False
|
|
dump_value=False
|
|
|
|
#
|
|
###################################################################
|
|
# DamagedMotor component
|
|
###################################################################
|
|
#
|
|
|
|
[DirectPatchSource]
|
|
location=OriginLocation
|
|
resource=EngineDamage01
|
|
position=RearDirectPatchPosition
|
|
priority=0
|
|
mix_presence=4
|
|
volume_mix_level=DamagedMotorVolume
|
|
pitch_mix_offset=0.0
|
|
brightness_mix_level=1.0
|
|
use_brightness_scale=True
|
|
use_attack_time_scale=False
|
|
has_compression_curve=False
|
|
compression_duration=0.0
|
|
name=DamagedMotorComponent
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# amplitude multiplier -> amplitude
|
|
#
|
|
|
|
[AudioControlMultiplier]
|
|
audio_component=DamagedMotorComponent
|
|
first_input_control_ID=100
|
|
last_input_control_ID=101
|
|
output_control_ID=VolumeAudioControlID
|
|
name=DamagedMotorAmplitudeMultiplier
|
|
|
|
#
|
|
# myomer damage -> amplitude multiplier
|
|
#
|
|
|
|
[AudioScalarScale]
|
|
subsystem=Myomers
|
|
attribute=SpeedEffect
|
|
audio_component=DamagedMotorAmplitudeMultiplier
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=1.0
|
|
control_ID=100
|
|
control_value_boundary1=1.0
|
|
control_value_boundary2=0.0
|
|
exponent=5.0
|
|
dump_value=False
|
|
|
|
#
|
|
# linear velocity -> amplitude smoother
|
|
#
|
|
|
|
[AudioMotionScale]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=LinearMotionType
|
|
motion_value=LengthMotionValue
|
|
audio_component=DamagedMotorAmplitudeMultiplier
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=DamagedMotorTopSpeed
|
|
control_ID=101
|
|
control_value_boundary1=0.0
|
|
control_value_boundary2=1.0
|
|
exponent=0.1
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# pitch smoother -> pitch
|
|
#
|
|
|
|
[AudioControlSmoother]
|
|
audio_component=DamagedMotorComponent
|
|
number_of_samples=Sample0.25Sec
|
|
control_ID=PitchAudioControlID
|
|
name=DamagedMotorPitchSmoother
|
|
|
|
#
|
|
# linear velocity -> pitch smoother
|
|
#
|
|
|
|
[AudioMotionScale]
|
|
subsystem=Entity
|
|
attribute=LocalVelocity
|
|
motion_type=0
|
|
motion_value=3
|
|
audio_component=DamagedMotorPitchSmoother
|
|
attribute_value_boundary1=0.0
|
|
attribute_value_boundary2=DamagedMotorTopSpeed
|
|
control_ID=PitchAudioControlID
|
|
control_value_boundary1=-4800
|
|
control_value_boundary2=-1200
|
|
exponent=1.0
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
#
|
|
# myomer damage -> filter
|
|
#
|
|
|
|
[AudioScalarScale]
|
|
subsystem=Myomers
|
|
attribute=SpeedEffect
|
|
audio_component=DamagedMotorComponent
|
|
attribute_value_boundary1=0.2
|
|
attribute_value_boundary2=1.0
|
|
control_ID=BrightnessAudioControlID
|
|
control_value_boundary1=1.0
|
|
control_value_boundary2=0.2
|
|
exponent=5.0
|
|
dump_value=False
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
[AudioScalarTrigger]
|
|
subsystem=Myomers
|
|
attribute=SpeedEffect
|
|
audio_component=DamagedMotorComponent
|
|
attribute_value_threshold=0.9
|
|
control_ID_on=StartAudioControlID
|
|
control_ID_off=StopAudioControlID
|
|
control_value_on=0.0
|
|
control_value_off=0.0
|
|
inverse_trigger=True
|
|
dump_value=False
|
|
|
|
#
|
|
###################################################################
|
|
# LegDamagedWarning component
|
|
###################################################################
|
|
#
|
|
|
|
[DirectPatchSource]
|
|
location=OriginLocation
|
|
resource=Warnings01
|
|
position=FrontDirectPatchPosition
|
|
priority=3
|
|
mix_presence=2
|
|
volume_mix_level=WarningVolume
|
|
pitch_mix_offset=0.0
|
|
brightness_mix_level=1.0
|
|
use_brightness_scale=False
|
|
use_attack_time_scale=False
|
|
has_compression_curve=False
|
|
compression_duration=0.0
|
|
name=LegDamagedWarningComponent
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
[AudioControlSequence]
|
|
audio_component=LegDamagedWarningComponent
|
|
tempo=160
|
|
midi_file=audio\legwrn01.mid
|
|
is_looped=False
|
|
dump_value=False
|
|
name=LegDamagedWarningSequence
|
|
|
|
[AudioIdleWatcher]
|
|
audio_component=LegDamagedWarningSequence
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
[AudioStateTrigger]
|
|
subsystem=Entity
|
|
attribute=SimulationState
|
|
audio_component=LegDamagedWarningSequence
|
|
trigger_state=Mech::GimpLeftLegState
|
|
inverse_trigger=False
|
|
control_ID=StartAudioControlID
|
|
control_value=0.0
|
|
dump_value=False
|
|
|
|
[AudioStateTrigger]
|
|
subsystem=Entity
|
|
attribute=SimulationState
|
|
audio_component=LegDamagedWarningSequence
|
|
trigger_state=Mech::GimpRightLegState
|
|
inverse_trigger=False
|
|
control_ID=StartAudioControlID
|
|
control_value=0.0
|
|
dump_value=False
|
|
|