Machinist wrote:Hi railfan, if I got it right, do you wanna listen to each one separated? or mixed, as Chacal got it?
Doc.
Machinist wrote:So... in this case you can add three (or more) horns and also different bells separetely, but the steps are not easy:
1- Create the horns sounds samples (at least three, for each horn model) and the related scripts files. I have a slight idea of how it works, but don't know how to do. A sounds' expert on here could help you.
2- Modify the Input Mapper to assign the other horns to unused controls. This I know how to do, I can provided the formula at the time being, when you have the horns working.
Good luck,![]()
Doc.
<iInputMapper-cInputMapEntry d:id="19631840">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_N</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">IncreaseControlStart</Name>
<Parameter d:type="cDeltaString">Blower</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="19634384">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_N</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">IncreaseControlStop</Name>
<Parameter d:type="cDeltaString">Blower</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="19932832">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_N</Button>
<ShiftButton d:type="cDeltaString">Shift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStart</Name>
<Parameter d:type="cDeltaString">Blower</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="20021880">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_N</Button>
<ShiftButton d:type="cDeltaString">Shift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStop</Name>
<Parameter d:type="cDeltaString">Blower</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="20345520">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_M</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">IncreaseControlStart</Name>
<Parameter d:type="cDeltaString">Damper</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="20099344">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_M</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">IncreaseControlStop</Name>
<Parameter d:type="cDeltaString">Damper</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="20101888">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_M</Button>
<ShiftButton d:type="cDeltaString">Shift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStart</Name>
<Parameter d:type="cDeltaString">Damper</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="20121176">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_M</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStop</Name>
<Parameter d:type="cDeltaString">Damper</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="19111108">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_N</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">IncreaseControlStart</Name>
<Parameter d:type="cDeltaString">Horn2</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="20222260">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_N</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStart</Name>
<Parameter d:type="cDeltaString">Horn2</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="19333308">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_M</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">IncreaseControlStart</Name>
<Parameter d:type="cDeltaString">Horn3</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="20444460">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_M</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStart</Name>
<Parameter d:type="cDeltaString">Horn3</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<cControlContainerBlueprint-cControlValue d:id="53562752">
<ControlName d:type="cDeltaString">Horn</ControlName>
<DefaultValue d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</DefaultValue>
<MinimumValue d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</MinimumValue>
<MaximumValue d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</MaximumValue>
<BriefDescription d:type="cDeltaString">Horn</BriefDescription>
<DetailedDescription d:type="cDeltaString">Horn</DetailedDescription>
<ApplyToConsist d:type="cDeltaString">eFalse</ApplyToConsist>
<InterfaceElements>
<cControlContainerBlueprint-cInteriorNotchedLever d:id="53560448">
<ElementName d:type="cDeltaString">Horn</ElementName>
<DifficultyType d:type="cDeltaString">StopGo</DifficultyType>
<PickTransformName d:type="cDeltaString">horn</PickTransformName>
<MovementType d:type="cDeltaString">MoveDownUp</MovementType>
<AnalogInputSensitivity d:type="sFloat32" d:alt_encoding="0000000000000040" d:precision="string">2</AnalogInputSensitivity>
<DigitalInputSensitivity d:type="sFloat32" d:alt_encoding="0000000000000040" d:precision="string">2</DigitalInputSensitivity>
<AnimationName d:type="cDeltaString">Kuju\RailSimulatorUS\RailVehicles\Diesel\SD40-2\Default\CabView\horn</AnimationName>
<RestInNotchedPosition d:type="cDeltaString">eTrue</RestInNotchedPosition>
<NumberOfNotches d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</NumberOfNotches>
</cControlContainerBlueprint-cInteriorNotchedLever>
</InterfaceElements>
</cControlContainerBlueprint-cControlValue>
<AnimationName d:type="cDeltaString"></AnimationName>
<cEntityContainerBlueprint-sChild d:id="73239648">
<ChildName d:type="cDeltaString">Horn</ChildName>
<BlueprintID>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">Kuju</Provider>
<Product d:type="cDeltaString">RailSimulatorUS</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">Audio\RailVehicles\Diesel\SD40\Cab\Class SD40 Horn Sound.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</BlueprintID>
<Matrix>
<cHcRMatrix4x4>
<Element>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
</Element>
</cHcRMatrix4x4>
</Matrix>
<ParentNodeName d:type="cDeltaString"></ParentNodeName>
</cEntityContainerBlueprint-sChild>
Users browsing this forum: No registered users and 1 guest