This plugin aims to simplify the appearance of PSD BVE sounds without the need to create arrivalSounds and create a Train Structure just for PSD sounds. *Sounds not included, this is just a plugin.
How to use
BveEx.MapPlugin.LoadAssembly('../Plugins/HomeDoorSound.dll');
*If it doesn't work, delete ../
Reading from a map file via XML
XML File Contents
<?xml version="1.0" encoding="utf-8" ?>
<BveExPluginUsing>
<Assembly Path="Plugins\HomeDoorSound.dll" />
</BveExPluginUsing>
Map File Contents
BveEx.MapPlugin.Load('../Plugins/PluginList.xml');
psdopen1, formdooropen1.wav,1
psdclose1, formdoorclose1.wav,1
psdopen2, formdooropen2.wav,1
psdclose2, formdoorclose2.wav,1
psdopen3, formdooropen3.wav,1
psdclose3, formdoorclose3.wav,1
psdopen4, formdooropen4.wav,1
psdclose4, formdoorclose4.wav,1
psdopen5, formdooropen5.wav,1
psdclose5, formdoorclose5.wav,1
If the First station does not have a PSD, you can fill in "BveEx.User.PrsvaTech.HomeDoorSound.Set();" for the coordinates, adjust it to the contents of the map file, for example "(0);"
To add a trigger to play a sound, place it 300 meters before the stopping point, and to stop the sound, place it 100 meters after the stopping point (see example below).
Set Sound inside BveEx.User.PrsvaTech.HomeDoorSound.Set(Here); See below for each value.
Example For File Map
0; (If the First station does not have a PSD)
BveEx.User.PrsvaTech.HomeDoorSound.Set(0);
//PSD Sound
//Station 1
700;
BveEx.User.PrsvaTech.HomeDoorSound.Set(1);
1000;(Don't use this code because it's an example!)
Stop Position
1100;
BveEx.User.PrsvaTech.HomeDoorSound.Set(0);
//Station 2
1700;
BveEx.User.PrsvaTech.HomeDoorSound.Set(2);
2000;(Don't use this code because it's an example!)
Stop Position
2100;
BveEx.User.PrsvaTech.HomeDoorSound.Set(0);
//Station 3
2700;
BveEx.User.PrsvaTech.HomeDoorSound.Set(3);
3000;(Don't use this code because it's an example!)
Stop Position
3100;
BveEx.User.PrsvaTech.HomeDoorSound.Set(0);
//Station 4
3700;
BveEx.User.PrsvaTech.HomeDoorSound.Set(4);
4000;(Don't use this code because it's an example!)
Stop Position
4100;
BveEx.User.PrsvaTech.HomeDoorSound.Set(0);
//Station 5
4700;
BveEx.User.PrsvaTech.HomeDoorSound.Set(5);
5000;(Don't use this code because it's an example!)
Stop Position
5100;
BveEx.User.PrsvaTech.HomeDoorSound.Set(0);
If you don't want to combine it with the Map file, you can use "Include" in the Map File.
include 'HomeDoorSound.txt';
Other
BveEX is required for this plugin to operate.
This plugin may be distributed together with route data without the author's permission. However, route data containing this plugin may only be distributed to those with permission from the author or the route data authors.
Change log
2026.08.14 First Realease
2026.07.15 Start The Project!