BveTs Map 2.02

//雨の音と水滴調整
//トンネルの部分は音が出ないように処理

//雨粒の早さ
$rs = 4;

0;
	Train.Add('rain', 'sound\rain.txt','rainTR', 1);
	Track['rainTR'].Y.Interpolate(0);

//雨の音を対向列車の恒常音に指定
//トンネル部分などでrainTRを自線から離すことによって音量の調整

33550;
	Train['rain'].Stop(0, 1, 0, 0);
	Beacon.Put(130,0,$rs);


$Tin = 34175;
$Tout = 34325;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 34350;
$Tout = 34380;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 36450;
$Tout = 36510;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 38190;
$Tout = 38460;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //曲線用
	distance + 50;
		Fog.Interpolate($fogD/5);
	distance - 150;
		Fog.Interpolate($fogD);

	$Tout; //曲線用
	distance - 200;
		Fog.Interpolate($fogD/5);
	distance + 150;
		Fog.Interpolate($fogD);

40220; //半家バイパス
	Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,1);
	distance + 5; 	Track['rainTR'].Y.Interpolate(10);
40235;
	Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
	distance - 5; 	Track['rainTR'].Y.Interpolate(10);


$Tin = 41180;
$Tout = 41990;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //曲線用
	distance + 50;
		Fog.Interpolate($fogD/5);
	distance - 150;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 400;
		Fog.Interpolate($fogD/5);
	distance + 300;
		Fog.Interpolate($fogD);


$Tin = 42230;
$Tout =43125;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //直線用
	distance + 20;
		Fog.Interpolate($fogD/5);
	distance - 50;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 400;
		Fog.Interpolate($fogD/5);
	distance + 300;
		Fog.Interpolate($fogD);

$Tin = 44950;
$Tout = 45020;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 45550;
$Tout = 45690;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 45725;
$Tout = 45800;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 45895;
$Tout = 46125;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 47075;
$Tout = 47150;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


$Tin = 47320;
$Tout = 48190;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


	$Tin; //曲線用
	distance + 100;
		Fog.Interpolate($fogD/5);
	distance - 150;
		Fog.Interpolate($fogD);

	$Tout; //曲線用
	distance - 200;
		Fog.Interpolate($fogD/5);
	distance + 150;
		Fog.Interpolate($fogD);



$Tin = 48775;
$Tout = 48930;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 49400;
$Tout = 49435;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 49465;
$Tout = 49545;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);
$Tin = 49635;
$Tout = 49735;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 49950;
$Tout = 50455;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin;
	distance + 50;
		Fog.Interpolate($fogD/5);
	distance - 100;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 200;
		Fog.Interpolate($fogD/5);
	distance + 150;
		Fog.Interpolate($fogD);

$Tin = 50905;
$Tout = 51965;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //直線用
	distance + 20;
		Fog.Interpolate($fogD/5);
	distance - 50;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 400;
		Fog.Interpolate($fogD/5);
	distance + 300;
		Fog.Interpolate($fogD);


$Tin = 55555;
$Tout = 55970;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //直線用
	distance + 20;
		Fog.Interpolate($fogD/5);
	distance - 50;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 400;
		Fog.Interpolate($fogD/5);
	distance + 300;
		Fog.Interpolate($fogD);

$Tin = 56255;
$Tout = 56800;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //直線用
	distance + 20;
		Fog.Interpolate($fogD/5);
	distance - 50;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 400;
		Fog.Interpolate($fogD/5);
	distance + 300;
		Fog.Interpolate($fogD);

$Tin = 57000;
$Tout = 57225;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

$Tin = 57390;
$Tout = 58125;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


	$Tin; //直線用
	distance + 20;
		Fog.Interpolate($fogD/5);
	distance - 50;
		Fog.Interpolate($fogD);

	$Tout; //曲線用
	distance - 200;
		Fog.Interpolate($fogD/5);
	distance + 150;
		Fog.Interpolate($fogD);


$Tin = 58970;
$Tout = 59855;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //曲線用
	distance + 50;
		Fog.Interpolate($fogD/5);
	distance - 150;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 400;
		Fog.Interpolate($fogD/5);
	distance + 300;
		Fog.Interpolate($fogD);


$Tin = 60075;
$Tout = 60325;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


$Tin = 62385;
$Tout = 62765;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


$Tin = 63460;
$Tout = 63610;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


$Tin = 63680;
$Tout = 63860;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


$Tin = 67195;
$Tout = 67800;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);



$Tin = 70285;
$Tout = 70340;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


$Tin = 71055;
$Tout = 72230;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //曲線用
	distance + 50;
		Fog.Interpolate($fogD/5);
	distance - 150;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 400;
		Fog.Interpolate($fogD/5);
	distance + 300;
		Fog.Interpolate($fogD);


$Tin = 72300;
$Tout = 72360;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);


$Tin = 73000;
$Tout = 75135;
	$Tin; //in
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,0);
		distance + 5; 	Track['rainTR'].Y.Interpolate(50); Adhesion.Change(0.351, 0, 0.009496677);
	$Tout; //out
		Track['rainTR'].Y.Interpolate(0); Beacon.Put(130,0,$rs);
		Adhesion.Change(0.221, 0, 0.01508296);
		distance - 5; 	Track['rainTR'].Y.Interpolate(50); distance + 10; Adhesion.Change(0.2418, 0, 0.0137855);

	$Tin; //曲線用
	distance + 50;
		Fog.Interpolate($fogD/5);
	distance - 150;
		Fog.Interpolate($fogD);

	$Tout;
	distance - 400;
		Fog.Interpolate($fogD/5);
	distance + 300;
		Fog.Interpolate($fogD);
