/*
 *	RailSim II Train Plugin
 *	(C) 2009 JUNKFUL
 */

PluginHeader{
	RailSimVersion = 2.01;
	PluginType = Train;
	PluginName = "701系1000番台【4両固定編成】";
	PluginAuthor = "s.sasaki";
	IconTexture = "../701-1000_2/icon.png";
	Description = "【Ver2.10】";
	Description = " 本プラグインは4両を1つにまとめています。1x4両の場合とは動作が若干異なりますのでご注意ください。";
	Description = "";
	Description = " 209系を基本とした1M方式の交流近郊型電車。仙台地区の急行型改造車を置き換えた。";
}

TrainInfo{
	FrontLimit = 40.0;
	TailLimit = -40.0;
	MaxVelocity = 110.0;
	MaxAcceleration = 2.5;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.5;
}

////////////////////////////////////////////////////
DefineSwitch "---基本設定---" {Entry = "※走行するには【電源】を【入】にしてください";}

DefineSwitch "電源(パンタグラフ)" {
	GroupCommon = "701-1000電源";
	Entry = "切";
	Entry = "入";
}

DefineSwitch "方向幕" {
	GroupCommon = "701-4方向幕";
	Entry = "仙台";						//0
	Entry = "岩沼";
	Entry = "白石";
	Entry = "小牛田";
	Entry = "石越";
	Entry = "利府";						//5
	Entry = "松島";
	Entry = "一ノ関";
}

DefineSwitch "サウンド" {
	GroupCommon = "701-1000サウンド";
	Entry = "ON";
	Entry = "OFF";
	Entry = "Powered By SIEMENS";
}

////////////////////////////////////////////////////
DefineSwitch "---拡張設定---" {Entry = "";}

DefineSwitch "車体動揺" {
	GroupCommon = "701車体動揺";
	Entry = "ON";
	Entry = "OFF";
}

DefineSwitch "冬エフェクト" {
	GroupCommon = "701エフェクト";
	Entry = "ON";
	Entry = "OFF";
}

DefineSwitch "連結ホロ" {
	Entry = "自動";
	Entry = "OFF";
}

DefineSwitch "クーラーファン" {
	GroupCommon = "701クーラー";
	Entry = "自動";
	Entry = "ON";
	Entry = "OFF";
}

DefineSwitch "シャドウ" {
	GroupCommon = "701シャドウ";
	Entry = "あり";
	Entry = "なし";
}

DefineSwitch "ヘッドライト" {
	Entry = "自動";
	Entry = "ON";
	Entry = "OFF";
}

DefineSwitch "テールライト" {
	Entry = "自動";
	Entry = "ON";
	Entry = "OFF";
}

DefineSwitch "減光(夜のみ)" {
	Entry = "減光しない";
	Entry = "自動";
}

DefineSwitch "タイフォン" {
	Entry = "鳴らさない";
	Entry = "鳴らす";
	Entry = "接近時に鳴らす【遠】";
	Entry = "接近時に鳴らす【中】";
	Entry = "接近時に鳴らす【近】";
}



/////////////////////////////
// PI設定
/////////////////////////////

PrimaryAssembly{
	Axle "DummyWheel11"{ ModelFileName=""; Diameter = 0.86;
		Symmetric = 12; Coord = (37.95, 0.43); }
	Axle "DummyWheel12"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12;	Coord = (35.85, 0.43); }
	Axle "DummyWheel13"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (24.15, 0.43); }
	Axle "DummyWheel14"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (22.05, 0.43); }

	Axle "DummyWheel21"{ ModelFileName=""; Diameter = 0.86;
		Symmetric = 12; Coord = (17.95, 0.43); }
	Axle "DummyWheel22"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12;	Coord = (15.85, 0.43); }
	Axle "DummyWheel23"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (4.15, 0.43); }
	Axle "DummyWheel24"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (2.05, 0.43); }
	
	Axle "DummyWheel31"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (-2.05, 0.43); }
	Axle "DummyWheel32"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (-4.15, 0.43); }
	Axle "DummyWheel33"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (-15.85, 0.43); }
	Axle "DummyWheel34"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (-17.95, 0.43); }
	
	Axle "DummyWheel41"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (-22.05, 0.43); }
	Axle "DummyWheel42"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (-24.15, 0.43); }
	Axle "DummyWheel43"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (-35.85, 0.43); }
	Axle "DummyWheel44"{ ModelFileName = ""; Diameter = 0.86;
		Symmetric = 12; Coord = (-37.95, 0.43); }
	
	Body "DummyBogie11"{ ModelFileName = "";
		JointZY "DummyWheel11"{ AttachCoord = (0.0, 0.0); LocalCoord = (1.05, 0.0); }
		JointZY "DummyWheel12"{ AttachCoord = (0.0, 0.0); LocalCoord = (-1.05, 0.0); }
	}
	Body "DummyBogie12"{ ModelFileName = "";
		JointZY "DummyWheel13"{ AttachCoord = (0.0, 0.0); LocalCoord = (1.05, 0.0); }
		JointZY "DummyWheel14"{ AttachCoord = (0.0, 0.0); LocalCoord = (-1.05, 0.0); }
	}
	
	Body "DummyBogie21"{ ModelFileName = "";
		JointZY "DummyWheel21"{ AttachCoord = (0.0, 0.0); LocalCoord = (1.05, 0.0); }
		JointZY "DummyWheel22"{ AttachCoord = (0.0, 0.0); LocalCoord = (-1.05, 0.0); }
	}
	Body "DummyBogie22"{ ModelFileName = "";
		JointZY "DummyWheel23"{ AttachCoord = (0.0, 0.0); LocalCoord = (1.05, 0.0); }
		JointZY "DummyWheel24"{ AttachCoord = (0.0, 0.0); LocalCoord = (-1.05, 0.0); }
	}
	
	Body "DummyBogie31"{ ModelFileName = "";
		JointZY "DummyWheel31"{ AttachCoord = (0.0, 0.0); LocalCoord = (1.05, 0.0); }
		JointZY "DummyWheel32"{ AttachCoord = (0.0, 0.0); LocalCoord = (-1.05, 0.0); }
	}
	Body "DummyBogie32"{ ModelFileName = "";
		JointZY "DummyWheel33"{ AttachCoord = (0.0, 0.0); LocalCoord = (1.05, 0.0); }
		JointZY "DummyWheel34"{ AttachCoord = (0.0, 0.0); LocalCoord = (-1.05, 0.0); }
	}
	
	Body "DummyBogie41"{ ModelFileName = "";
		JointZY "DummyWheel41"{ AttachCoord = (0.0, 0.0); LocalCoord = (1.05, 0.0); }
		JointZY "DummyWheel42"{ AttachCoord = (0.0, 0.0); LocalCoord = (-1.05, 0.0); }
	}
	Body "DummyBogie42"{ ModelFileName = "";
		JointZY "DummyWheel43"{ AttachCoord = (0.0, 0.0); LocalCoord = (1.05, 0.0); }
		JointZY "DummyWheel44"{ AttachCoord = (0.0, 0.0); LocalCoord = (-1.05, 0.0); }
	}


//////////////////////
//車体ダミー
//////////////////////
	Body "DummyBody1"{
		ModelFileName = "";
		JointZY "DummyBogie11"{ AttachCoord = (0.0, 0.65); LocalCoord = (6.9, 1.05); }
		JointZY "DummyBogie12"{ AttachCoord = (0.0, 0.65); LocalCoord = (-6.9, 1.05); }
	}
	Body "DummyBody2"{
		ModelFileName = "";
		JointZY "DummyBogie21"{ AttachCoord = (0.0, 0.65); LocalCoord = (6.9, 1.05); }
		JointZY "DummyBogie22"{ AttachCoord = (0.0, 0.65); LocalCoord = (-6.9, 1.05); }
	}
	Body "DummyBody3"{
		ModelFileName = "";
		JointZY "DummyBogie31"{ AttachCoord = (0.0, 0.65); LocalCoord = (6.9, 1.05); }
		JointZY "DummyBogie32"{ AttachCoord = (0.0, 0.65); LocalCoord = (-6.9, 1.05); }
	}
	Body "DummyBody4"{
		ModelFileName = "";
		JointZY "DummyBogie41"{ AttachCoord = (0.0, 0.65); LocalCoord = (6.9, 1.05); }
		JointZY "DummyBogie42"{ AttachCoord = (0.0, 0.65); LocalCoord = (-6.9, 1.05); }
	}
	

//////////////////////
//ホロ
//////////////////////
	Body "Horo1"{
		ModelFileName = "../701-1000_2/horo.x"; AlphaZeroTest = 1, 2; NoCastShadow = 1, 2;
		JointZY "DummyBody1"{ AttachCoord = (-9.5, 0.0); LocalCoord = (0.5, 0.0); }
		JointZY "DummyBody2"{ AttachCoord = (9.5, 0.0); LocalCoord = (-0.5, 0.0); }
	}
	Body "Horo2"{
		ModelFileName = "../701-1000_2/horo.x"; AlphaZeroTest = 1, 2; NoCastShadow = 1, 2;
		JointZY "DummyBody2"{ AttachCoord = (-9.5, 0.0); LocalCoord = (0.5, 0.0); }
		JointZY "DummyBody3"{ AttachCoord = (9.5, 0.0); LocalCoord = (-0.5, 0.0); }
	}
	Body "Horo3"{
		ModelFileName = "../701-1000_2/horo.x"; AlphaZeroTest = 1, 2; NoCastShadow = 1, 2;
		JointZY "DummyBody3"{ AttachCoord = (-9.5, 0.0); LocalCoord = (0.5, 0.0); }
		JointZY "DummyBody4"{ AttachCoord = (9.5, 0.0); LocalCoord = (-0.5, 0.0); }
	}

//////////////////////
//シャドウ
//////////////////////
	Object3D "Shadow1"{
		ModelFileName = "../701-1000_2/701_shadow.x";	NoShadow = 0; Transparent = 0;
		If "シャドウ" { ChangeModel = "", 0.0; }
		If "_SHADOW" { ChangeModel = "701_shadow_h.x", 1.0; }
		Joint3D "DummyBody1"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "Shadow2"{
		ModelFileName = "../701-1000_2/701_shadow.x";	NoShadow = 0; Transparent = 0;
		ChangeTexture = 0, "701_shadow2.png";
		If "シャドウ" { ChangeModel = "", 0.0; }
		If "_SHADOW" { ChangeModel = "701_shadow_h.x", 1.0; }
		Joint3D "DummyBody2"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "Shadow3"{
		ModelFileName = "../701-1000_2/701_shadow.x";	NoShadow = 0; Transparent = 0;
		ChangeTexture = 0, "701_shadow2.png";
		If "シャドウ" { ChangeModel = "", 0.0; }
		If "_SHADOW" { ChangeModel = "701_shadow_h.x", 1.0; }
		Joint3D "DummyBody3"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "Shadow4"{
		ModelFileName = "../701-1000_2/701_shadow.x";	NoShadow = 0; Transparent = 0;
		If "シャドウ" { ChangeModel = "", 0.0; }
		If "_SHADOW" { ChangeModel = "701_shadow_h.x", 1.0; }
		Joint3D "DummyBody4"{ AttachCoord = (0.0, 0.0, 0.0); AttachDir = (0.0, 0.0, -1.0); }
	}

//////////////////////
//車体動揺
//////////////////////
//ダミーサークル
	Object3D "DummyCircle1"{
		ModelFileName = "";
		StaticRotation{ RotationAxis = (0.0, 1.0, 0.0); RotationAngle = 90; }
		If "車体動揺" == 0{
			If "_VELOCITY" > 10{
				DynamicRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationSpeed = 0.31;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
			If "_VELOCITY" > 45{
				DynamicRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationSpeed = 0.23;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
			If "_VELOCITY" > 85{
				DynamicRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationSpeed = 0.14;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
		}
		Joint3D "DummyBody1"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DummyCircle2"{
		ModelFileName = "";
		StaticRotation{ RotationAxis = (0.0, 1.0, 0.0); RotationAngle = -90; }
		If "車体動揺" == 0{
			If "_VELOCITY" > 8{
				DynamicRotation{ RotationAxis = (-1.0, 0.0, 0.0); RotationSpeed = 0.22;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
			If "_VELOCITY" > 43{
				DynamicRotation{ RotationAxis = (-1.0, 0.0, 0.0); RotationSpeed = 0.33;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
			If "_VELOCITY" > 88{
				DynamicRotation{ RotationAxis = (-1.0, 0.0, 0.0); RotationSpeed = 0.12;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
		}
		Joint3D "DummyBody2"{ AttachCoord = (0.0, 0.0, 0.0);}
	}
	Object3D "DummyCircle3"{
		ModelFileName = "";
		StaticRotation{ RotationAxis = (0.0, 1.0, 0.0); RotationAngle = 90; }
		If "車体動揺" == 0{
			If "_VELOCITY" > 9{
				DynamicRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationSpeed = 0.30;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
			If "_VELOCITY" > 43{
				DynamicRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationSpeed = 0.22;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
			If "_VELOCITY" > 87{
				DynamicRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationSpeed = 0.11;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
		}
		Joint3D "DummyBody3"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DummyCircle4"{
		ModelFileName = "";
		StaticRotation{ RotationAxis = (0.0, 1.0, 0.0); RotationAngle = -90; }
		If "車体動揺" == 0{
			If "_VELOCITY" > 6{
				DynamicRotation{ RotationAxis = (-1.0, 0.0, 0.0); RotationSpeed = 0.14;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
			If "_VELOCITY" > 45{
				DynamicRotation{ RotationAxis = (-1.0, 0.0, 0.0); RotationSpeed = 0.25;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
			If "_VELOCITY" > 80{
				DynamicRotation{ RotationAxis = (-1.0, 0.0, 0.0); RotationSpeed = 0.12;
					Acceleration = 0.1; Deceleration = 0.02; }
			}
		}
		Joint3D "DummyBody4"{ AttachCoord = (0.0, 0.0, 0.0);}
	}
	
	CrankZY{
		Link "Rod1"{
			ModelFileName = "";
			JointZYX "DummyCircle1"{ AttachX = 0.0; AttachCoord = (0.0, 0.011); LocalCoord = (0.0, 0.0); }
			LinkCoord = (-0.5, 0.0);
		}
		Slide "Rod11"{
			ModelFileName = "";
			JointZYX "DummyBody1"{ AttachX = 0.0; AttachCoord = (0.0, 1.1); LocalCoord = (0.0, 0.0); }
			Direction = (1.0, 0.0);
		}
	}
	
	CrankZY{
		Link "Rod2"{
			ModelFileName = "";
			JointZYX "DummyCircle2"{ AttachX = 0.0; AttachCoord = (0.0, 0.01); LocalCoord = (0.0, 0.0); }
			LinkCoord = (-0.5, 0.0);
		}
		Slide "Rod21"{
			ModelFileName = "";
			JointZYX "DummyBody2"{ AttachX = 0.0; AttachCoord = (0.0, 1.1); LocalCoord = (0.0, 0.0); }
			Direction = (1.0, 0.0);
		}
	}
	
	CrankZY{
		Link "Rod3"{
			ModelFileName = "";
			JointZYX "DummyCircle3"{ AttachX = 0.0; AttachCoord = (0.0, 0.011); LocalCoord = (0.0, 0.0); }
			LinkCoord = (-0.5, 0.0);
		}
		Slide "Rod31"{
			ModelFileName = "";
			JointZYX "DummyBody3"{ AttachX = 0.0; AttachCoord = (0.0, 1.1); LocalCoord = (0.0, 0.0); }
			Direction = (1.0, 0.0);
		}
	}
	
	CrankZY{
		Link "Rod4"{
			ModelFileName = "";
			JointZYX "DummyCircle4"{ AttachX = 0.0; AttachCoord = (0.0, 0.01); LocalCoord = (0.0, 0.0); }
			LinkCoord = (-0.5, 0.0);
		}
		Slide "Rod41"{
			ModelFileName = "";
			JointZYX "DummyBody4"{ AttachX = 0.0; AttachCoord = (0.0, 1.1); LocalCoord = (0.0, 0.0); }
			Direction = (1.0, 0.0);
		}
	}

//////////////////////
//ダミー２
//////////////////////
	Object3D "DummyBody12"{
		ModelFileName = "";
		StaticRotation{ RotationAxis = (0.0, 0.0, 1.0); RotationAngle = 90; }
		If "車体動揺" == 0{
			//つんのめる動作
			If "_ACCEL"<0 & "_VELOCITY" <10 & !"_FRONT"{
				StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 0.03;
					AnimationTime = 0.7; ReverseTime = 0.4; }
			}
			If "_ACCEL"<0 & "_VELOCITY" <10 & "_FRONT"{
				StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -0.03;
					AnimationTime = 0.7; ReverseTime = 0.4; }
			}
		}
		Joint3D "Rod1"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody1"; }
	}
	Object3D "DummyBody22"{
		ModelFileName = "";
		StaticRotation{ RotationAxis = (0.0, 0.0, 1.0); RotationAngle = -90; }
		If "車体動揺" == 0{
			If "_ACCEL"<0 & "_VELOCITY" <10 & !"_FRONT"{
				StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 0.03;
					AnimationTime = 0.7; ReverseTime = 0.4; }
			}
			If "_ACCEL"<0 & "_VELOCITY" <10 & "_FRONT"{
				StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -0.03;
					AnimationTime = 0.7; ReverseTime = 0.4; }
			}
		}
		//ドン突き
		If "_ACCEL" > 0 && "_VELOCITY" < 20{
			If !"_FRONT"{
				StaticMove{ Displacement = (0.0, 0.0, 0.015); PreAnimationDelay = 0.0; AnimationTime = 0.2; PreReverseDelay = 0.0; ReverseTime = 0.0; }
				StaticMove{ Displacement = (0.0, 0.0, -0.015); PreAnimationDelay = 0.2; AnimationTime = 1.0; PreReverseDelay = 0.0; ReverseTime = 0.0; }
			}Else{
				StaticMove{ Displacement = (0.0, 0.0, -0.015); PreAnimationDelay = 0.0; AnimationTime = 0.2; PreReverseDelay = 0.0; ReverseTime = 0.0; }
				StaticMove{ Displacement = (0.0, 0.0, 0.015); PreAnimationDelay = 0.2; AnimationTime = 1.0; PreReverseDelay = 0.0; ReverseTime = 0.0; }
			}
		}
		Joint3D "Rod2"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody2"; }
	}
	Object3D "DummyBody32"{
		ModelFileName = "";
		StaticRotation{ RotationAxis = (0.0, 0.0, 1.0); RotationAngle = 90; }
		If "車体動揺" == 0{
			//つんのめる動作
			If "_ACCEL"<0 & "_VELOCITY" <10 & !"_FRONT"{
				StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 0.03;
					AnimationTime = 0.7; ReverseTime = 0.4; }
			}
			If "_ACCEL"<0 & "_VELOCITY" <10 & "_FRONT"{
				StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -0.03;
					AnimationTime = 0.7; ReverseTime = 0.4; }
			}
		}
		Joint3D "Rod3"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody3"; }
	}
	Object3D "DummyBody42"{
		ModelFileName = "";
		StaticRotation{ RotationAxis = (0.0, 0.0, 1.0); RotationAngle = -90; }
		If "車体動揺" == 0{
			If "_ACCEL"<0 & "_VELOCITY" <10 & !"_FRONT"{
				StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 0.03;
					AnimationTime = 0.7; ReverseTime = 0.4; }
			}
			If "_ACCEL"<0 & "_VELOCITY" <10 & "_FRONT"{
				StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -0.03;
					AnimationTime = 0.7; ReverseTime = 0.4; }
			}
		}
		//ドン突き
		If "_ACCEL" > 0{
			If !"_FRONT"{
				StaticMove{ Displacement = (0.0, 0.0, 0.015); PreAnimationDelay = 0.0; AnimationTime = 0.2; PreReverseDelay = 0.0; ReverseTime = 0.0; }
				StaticMove{ Displacement = (0.0, 0.0, -0.015); PreAnimationDelay = 0.2; AnimationTime = 1.0; PreReverseDelay = 0.0; ReverseTime = 0.0; }
			}Else{
				StaticMove{ Displacement = (0.0, 0.0, -0.015); PreAnimationDelay = 0.0; AnimationTime = 0.2; PreReverseDelay = 0.0; ReverseTime = 0.0; }
				StaticMove{ Displacement = (0.0, 0.0, 0.015); PreAnimationDelay = 0.2; AnimationTime = 1.0; PreReverseDelay = 0.0; ReverseTime = 0.0; }
			}
		}
		Joint3D "Rod4"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody4"; }
	}

//////////////////////
//車側表示灯
//////////////////////
	Object3D "車側表示灯-左1"{
		ModelFileName = "../701-1000_2/side_lamp.x";
		If "_DOOR1" && "電源(パンタグラフ)"!=0 && !(("方向幕" >= 8 && "方向幕" <= 12) && "_FRONT"){
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationAngle = 180.0;
				PreAnimationDelay = 0.5;	AnimationTime = 0.0;
				PreReverseDelay = 4.8;
			}
		}
		Joint3D "DummyBody12"{	AttachCoord = (-1.35, 0.0, -1.785);	}
	}
	Object3D "車側表示灯-右1"{
		ModelFileName = "../701-1000_2/side_lamp.x";
		StaticRotation{ RotationAxis = (0.0, 1.0, 0.0); RotationAngle = 180.0; AnimationTime = 0.0; }
		If "_DOOR2" & "電源(パンタグラフ)"!=0 && !(("方向幕" >= 8 && "方向幕" <= 12) && "_FRONT"){
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationAngle = 180.0;
				PreAnimationDelay = 0.5;	AnimationTime = 0.0;
				PreReverseDelay = 4.8;
			}
		}
		Joint3D "DummyBody12"{	AttachCoord = (1.35, 0.0, 1.785);	}
	}
	Object3D "車側表示灯-左2"{
		ModelFileName = "../701-1000_2/side_lamp.x";
		If "_DOOR1" && "電源(パンタグラフ)"!=0{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationAngle = 180.0;
				PreAnimationDelay = 0.5;	AnimationTime = 0.0;
				PreReverseDelay = 5.0;
			}
		}
		Joint3D "DummyBody22"{	AttachCoord = (-1.35, 0.0, -1.785);	}
	}
	Object3D "車側表示灯-右2"{
		ModelFileName = "../701-1000_2/side_lamp.x";
		StaticRotation{ RotationAxis = (0.0, 1.0, 0.0); RotationAngle = 180.0; AnimationTime = 0.0; }
		If "_DOOR2" && "電源(パンタグラフ)"!=0{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationAngle = 180.0;
				PreAnimationDelay = 0.5;	AnimationTime = 0.0;
				PreReverseDelay = 5.0;
			}
		}
		Joint3D "DummyBody22"{	AttachCoord = (1.35, 0.0, 1.785);	}
	}
	Object3D "車側表示灯-左3"{
		ModelFileName = "../701-1000_2/side_lamp.x";
		If "_DOOR1" && "電源(パンタグラフ)"!=0{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationAngle = 180.0;
				PreAnimationDelay = 0.5;	AnimationTime = 0.0;
				PreReverseDelay = 4.8;
			}
		}
		Joint3D "DummyBody32"{	AttachCoord = (-1.35, 0.0, -1.785);	}
	}
	Object3D "車側表示灯-右3"{
		ModelFileName = "../701-1000_2/side_lamp.x";
		StaticRotation{ RotationAxis = (0.0, 1.0, 0.0); RotationAngle = 180.0; AnimationTime = 0.0; }
		If "_DOOR2" & "電源(パンタグラフ)"!=0 && !(("方向幕" >= 8 && "方向幕" <= 12) && "_FRONT"){
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationAngle = 180.0;
				PreAnimationDelay = 0.5;	AnimationTime = 0.0;
				PreReverseDelay = 4.8;
			}
		}
		Joint3D "DummyBody32"{	AttachCoord = (1.35, 0.0, 1.785);	}
	}
	Object3D "車側表示灯-左4"{
		ModelFileName = "../701-1000_2/side_lamp.x";
		If "_DOOR1" && "電源(パンタグラフ)"!=0{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationAngle = 180.0;
				PreAnimationDelay = 0.5;	AnimationTime = 0.0;
				PreReverseDelay = 5.0;
			}
		}
		Joint3D "DummyBody42"{	AttachCoord = (-1.35, 0.0, -1.785);	}
	}
	Object3D "車側表示灯-右4"{
		ModelFileName = "../701-1000_2/side_lamp.x";
		StaticRotation{ RotationAxis = (0.0, 1.0, 0.0); RotationAngle = 180.0; AnimationTime = 0.0; }
		If "_DOOR2" && "電源(パンタグラフ)"!=0{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationAngle = 180.0;
				PreAnimationDelay = 0.5;	AnimationTime = 0.0;
				PreReverseDelay = 5.0;
			}
		}
		Joint3D "DummyBody42"{	AttachCoord = (1.35, 0.0, 1.785);	}
	}
	
//////////////////////
//前面方向幕
//////////////////////
	Object3D "Maku-Front1"{
		ModelFileName = "maku_front.x";
		NoCastShadow = 0, 1;
		ApplySwitch "方向幕"{
			Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
			Case 1:		ShiftTexture = 0, 0.0, 0.0625;	ShiftTexture = 1, 0.0, 0.0625;
			Case 2:		ShiftTexture = 0, 0.0, 0.125;	ShiftTexture = 1, 0.0, 0.125;
			Case 3:		ShiftTexture = 0, 0.0, 0.1875;	ShiftTexture = 1, 0.0, 0.1875;
			Case 4:		ShiftTexture = 0, 0.0, 0.25;	ShiftTexture = 1, 0.0, 0.25;
			Case 5:		ShiftTexture = 0, 0.0, 0.3125;	ShiftTexture = 1, 0.0, 0.3125;
			Case 6:		ShiftTexture = 0, 0.0, 0.375;	ShiftTexture = 1, 0.0, 0.375;
			Case 7:		ShiftTexture = 0, 0.0, 0.4375;	ShiftTexture = 1, 0.0, 0.4375;
		}
		If "電源(パンタグラフ)" {
			StaticRotation{	RotationAxis = (1.0, 0.0, 0.0);	RotationAngle = 180.0;	}
		}
		Joint3D "DummyBody12"{
			AttachCoord = (0.815, 3.18, 9.66);	DirLink = "DummyBody12";
		}
	}
	Object3D "Maku-Front2"{
		ModelFileName = "maku_front.x";
		NoCastShadow = 0, 1;
		ApplySwitch "方向幕"{
			Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
			Case 1:		ShiftTexture = 0, 0.0, 0.0625;	ShiftTexture = 1, 0.0, 0.0625;
			Case 2:		ShiftTexture = 0, 0.0, 0.125;	ShiftTexture = 1, 0.0, 0.125;
			Case 3:		ShiftTexture = 0, 0.0, 0.1875;	ShiftTexture = 1, 0.0, 0.1875;
			Case 4:		ShiftTexture = 0, 0.0, 0.25;	ShiftTexture = 1, 0.0, 0.25;
			Case 5:		ShiftTexture = 0, 0.0, 0.3125;	ShiftTexture = 1, 0.0, 0.3125;
			Case 6:		ShiftTexture = 0, 0.0, 0.375;	ShiftTexture = 1, 0.0, 0.375;
			Case 7:		ShiftTexture = 0, 0.0, 0.4375;	ShiftTexture = 1, 0.0, 0.4375;
		}
		If "電源(パンタグラフ)" {
			StaticRotation{	RotationAxis = (1.0, 0.0, 0.0);	RotationAngle = 180.0;	}
		}
		Joint3D "DummyBody42"{
			AttachCoord = (-0.815, 3.18, -9.66);	DirLink = "DummyBody42";	AttachDir = (0.0, 0.0, -1.0); 
		}
	}
	
//////////////////////
//側面方向幕
//////////////////////
	Object3D "Maku-Side1"{
		ModelFileName = "maku_side.x";
		NoCastShadow = 0, 1;
		ApplySwitch "方向幕"{
			Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
			Case 1:		ShiftTexture = 0, 0.0, 0.0625;	ShiftTexture = 1, 0.0, 0.0625;
			Case 2:		ShiftTexture = 0, 0.0, 0.125;	ShiftTexture = 1, 0.0, 0.125;
			Case 3:		ShiftTexture = 0, 0.0, 0.1875;	ShiftTexture = 1, 0.0, 0.1875;
			Case 4:		ShiftTexture = 0, 0.0, 0.25;	ShiftTexture = 1, 0.0, 0.25;
			Case 5:		ShiftTexture = 0, 0.0, 0.3125;	ShiftTexture = 1, 0.0, 0.3125;
			Case 6:		ShiftTexture = 0, 0.0, 0.375;	ShiftTexture = 1, 0.0, 0.375;
			Case 7:		ShiftTexture = 0, 0.0, 0.4375;	ShiftTexture = 1, 0.0, 0.4375;
		}
		If "電源(パンタグラフ)" {
			StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);	RotationAngle = 180.0;	}
		}
		Joint3D "DummyBody22"{
			AttachCoord = (-1.38, 3.218, 9.02);	DirLink = "DummyBody22";
		}
	}
	Object3D "Maku-Side2"{
		ModelFileName = "maku_side.x";
		NoCastShadow = 0, 1;
		ApplySwitch "方向幕"{
			Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
			Case 1:		ShiftTexture = 0, 0.0, 0.0625;	ShiftTexture = 1, 0.0, 0.0625;
			Case 2:		ShiftTexture = 0, 0.0, 0.125;	ShiftTexture = 1, 0.0, 0.125;
			Case 3:		ShiftTexture = 0, 0.0, 0.1875;	ShiftTexture = 1, 0.0, 0.1875;
			Case 4:		ShiftTexture = 0, 0.0, 0.25;	ShiftTexture = 1, 0.0, 0.25;
			Case 5:		ShiftTexture = 0, 0.0, 0.3125;	ShiftTexture = 1, 0.0, 0.3125;
			Case 6:		ShiftTexture = 0, 0.0, 0.375;	ShiftTexture = 1, 0.0, 0.375;
			Case 7:		ShiftTexture = 0, 0.0, 0.4375;	ShiftTexture = 1, 0.0, 0.4375;
		}
		If "電源(パンタグラフ)" {
			StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);	RotationAngle = 180.0;	}
		}
		Joint3D "DummyBody22"{
			AttachCoord = (1.38, 3.218, 9.02);	DirLink = "DummyBody22";	AttachDir = (0.0, 0.0, -1.0); 
		}
	}
	Object3D "Maku-Side3"{
		ModelFileName = "maku_side.x";
		NoCastShadow = 0, 1;
		ApplySwitch "方向幕"{
			Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
			Case 1:		ShiftTexture = 0, 0.0, 0.0625;	ShiftTexture = 1, 0.0, 0.0625;
			Case 2:		ShiftTexture = 0, 0.0, 0.125;	ShiftTexture = 1, 0.0, 0.125;
			Case 3:		ShiftTexture = 0, 0.0, 0.1875;	ShiftTexture = 1, 0.0, 0.1875;
			Case 4:		ShiftTexture = 0, 0.0, 0.25;	ShiftTexture = 1, 0.0, 0.25;
			Case 5:		ShiftTexture = 0, 0.0, 0.3125;	ShiftTexture = 1, 0.0, 0.3125;
			Case 6:		ShiftTexture = 0, 0.0, 0.375;	ShiftTexture = 1, 0.0, 0.375;
			Case 7:		ShiftTexture = 0, 0.0, 0.4375;	ShiftTexture = 1, 0.0, 0.4375;
		}
		If "電源(パンタグラフ)" {
			StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);	RotationAngle = 180.0;	}
		}
		Joint3D "DummyBody42"{
			AttachCoord = (-1.38, 3.218, 9.02);	DirLink = "DummyBody42";
		}
	}
	Object3D "Maku-Side4"{
		ModelFileName = "maku_side.x";
		NoCastShadow = 0, 1;
		ApplySwitch "方向幕"{
			Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
			Case 1:		ShiftTexture = 0, 0.0, 0.0625;	ShiftTexture = 1, 0.0, 0.0625;
			Case 2:		ShiftTexture = 0, 0.0, 0.125;	ShiftTexture = 1, 0.0, 0.125;
			Case 3:		ShiftTexture = 0, 0.0, 0.1875;	ShiftTexture = 1, 0.0, 0.1875;
			Case 4:		ShiftTexture = 0, 0.0, 0.25;	ShiftTexture = 1, 0.0, 0.25;
			Case 5:		ShiftTexture = 0, 0.0, 0.3125;	ShiftTexture = 1, 0.0, 0.3125;
			Case 6:		ShiftTexture = 0, 0.0, 0.375;	ShiftTexture = 1, 0.0, 0.375;
			Case 7:		ShiftTexture = 0, 0.0, 0.4375;	ShiftTexture = 1, 0.0, 0.4375;
		}
		If "電源(パンタグラフ)" {
			StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);	RotationAngle = 180.0;	}
		}
		Joint3D "DummyBody42"{
			AttachCoord = (1.38, 3.218, 9.02);	DirLink = "DummyBody42";	AttachDir = (0.0, 0.0, -1.0); 
		}
	}

//////////////////////
//クーラーファン
//////////////////////
	Object3D "Fan1-1"{
		ModelFileName = "../701-1000_2/fan.x";	AlphaZeroTest = 0;	NoShadow = 0;
		If "電源(パンタグラフ)" && "_SEASON" == 1 || "クーラーファン" == 1{
			DynamicRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationSpeed = -2.1;
				Acceleration = 0.3;				Deceleration = 0.1;
			}
		}
		Joint3D "DummyBody12"{AttachCoord = (0.0, 0.015, 1.21);}
	}
	Object3D "Fan1-2"{
		ModelFileName = "../701-1000_2/fan.x";	AlphaZeroTest = 0;	NoShadow = 0;
		If "電源(パンタグラフ)" && "_SEASON" == 1 || "クーラーファン" == 1{
			DynamicRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationSpeed = -2.0;
				Acceleration = 0.3;				Deceleration = 0.1;
			}
		}
		Joint3D "DummyBody12"{AttachCoord = (0.0, 0.015, -1.21);}
	}
	
	Object3D "Fan2-1"{
		ModelFileName = "../701-1000_2/fan.x";	AlphaZeroTest = 0;	NoShadow = 0;
		If "電源(パンタグラフ)" && "_SEASON" == 1 || "クーラーファン" == 1{
			DynamicRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationSpeed = -2.1;
				Acceleration = 0.3;				Deceleration = 0.1;
			}
		}
		Joint3D "DummyBody22"{AttachCoord = (0.0, 0.015, 1.21);}
	}
	Object3D "Fan2-2"{
		ModelFileName = "../701-1000_2/fan.x";	AlphaZeroTest = 0;	NoShadow = 0;
		If "電源(パンタグラフ)" && "_SEASON" == 1 || "クーラーファン" == 1{
			DynamicRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationSpeed = -2.0;
				Acceleration = 0.3;				Deceleration = 0.1;
			}
		}
		Joint3D "DummyBody22"{AttachCoord = (0.0, 0.015, -1.21);}
	}
	
	Object3D "Fan3-1"{
		ModelFileName = "../701-1000_2/fan.x";	AlphaZeroTest = 0;	NoShadow = 0;
		If "電源(パンタグラフ)" && "_SEASON" == 1 || "クーラーファン" == 1{
			DynamicRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationSpeed = -2.1;
				Acceleration = 0.3;				Deceleration = 0.1;
			}
		}
		Joint3D "DummyBody32"{AttachCoord = (0.0, 0.015, 1.21);}
	}
	Object3D "Fan3-2"{
		ModelFileName = "../701-1000_2/fan.x";	AlphaZeroTest = 0;	NoShadow = 0;
		If "電源(パンタグラフ)" && "_SEASON" == 1 || "クーラーファン" == 1{
			DynamicRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationSpeed = -2.0;
				Acceleration = 0.3;				Deceleration = 0.1;
			}
		}
		Joint3D "DummyBody32"{AttachCoord = (0.0, 0.015, -1.21);}
	}
	
	Object3D "Fan4-1"{
		ModelFileName = "../701-1000_2/fan.x";	AlphaZeroTest = 0;	NoShadow = 0;
		If "電源(パンタグラフ)" && "_SEASON" == 1 || "クーラーファン" == 1{
			DynamicRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationSpeed = -2.1;
				Acceleration = 0.3;				Deceleration = 0.1;
			}
		}
		Joint3D "DummyBody42"{AttachCoord = (0.0, 0.015, 1.21);}
	}
	Object3D "Fan4-2"{
		ModelFileName = "fan.x";	AlphaZeroTest = 0;	NoShadow = 0;
		If "電源(パンタグラフ)" && "_SEASON" == 1 || "クーラーファン" == 1{
			DynamicRotation{
				RotationAxis = (0.0, 1.0, 0.0);	RotationSpeed = -2.0;
				Acceleration = 0.3;				Deceleration = 0.1;
			}
		}
		Joint3D "DummyBody42"{AttachCoord = (0.0, 0.015, -1.21);}
	}

//////////////////////
//クーラー
//////////////////////
	Object3D "Cooler1"{
		ModelFileName = "../701-1000_2/cooler.x";	AlphaZeroTest = 2; NoCastShadow = 0, 1, 2;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 2, "701_1_s.png";}
		Joint3D "DummyBody12"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Cooler2"{
		ModelFileName = "../701-1000_2/cooler.x";	AlphaZeroTest = 2; NoCastShadow = 0, 1, 2;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 2, "701_1_s.png";}
		Joint3D "DummyBody22"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Cooler3"{
		ModelFileName = "../701-1000_2/cooler.x";	AlphaZeroTest = 2; NoCastShadow = 0, 1, 2;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 2, "701_1_s.png";}
		Joint3D "DummyBody32"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Cooler4"{
		ModelFileName = "../701-1000_2/cooler.x";	AlphaZeroTest = 2; NoCastShadow = 0, 1, 2;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 2, "701_1_s.png";}
		Joint3D "DummyBody42"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

//////////////////////
// 室内
//////////////////////
	Object3D "Inside1"{
		ModelFileName = "../701-1000_2/inside_kuha.x";	AlphaZeroTest = 0; NoShadow = 0;
		ChangeTexture = 0, "701_2.png";
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If !"電源(パンタグラフ)"{
			ChangeMaterial{MaterialID =0; Emissive = 0, 0, 0;}
		}
		Joint3D "DummyBody12"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Inside2"{
		ModelFileName = "inside_saha.x";	AlphaZeroTest = 0; NoShadow = 0;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If !"電源(パンタグラフ)"{
			ChangeMaterial{MaterialID =0; Emissive = 0, 0, 0;}
		}
		Joint3D "DummyBody22"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Inside3"{
		ModelFileName = "inside_saha.x";	AlphaZeroTest = 0; NoShadow = 0;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If !"電源(パンタグラフ)"{
			ChangeMaterial{MaterialID =0; Emissive = 0, 0, 0;}
		}
		Joint3D "DummyBody32"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Inside4"{
		ModelFileName = "../701-1000_2/inside_kuha.x";	AlphaZeroTest = 0; NoShadow = 0;
		ChangeTexture = 0, "701_2.png";
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If !"電源(パンタグラフ)"{
			ChangeMaterial{MaterialID =0; Emissive = 0, 0, 0;}
		}
		Joint3D "DummyBody42"{
			AttachCoord = (0.0, 0.0, 0.0);DirLink ="DummyBody42"; AttachDir = (0.0, 0.0, -1.0); 
		}
	}

//////////////////////
// 床下
//////////////////////
	Object3D "Yuka1"{
		ModelFileName = "../701-1000_2/yuka_kuha.x";	AlphaZeroTest = 0; NoCastShadow = 0;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "yuka_s.png";}
		Joint3D "DummyBody12"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Yuka2"{
		ModelFileName = "../701-1000_2/yuka_kumoha.x";	AlphaZeroTest = 0; NoCastShadow = 0;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "yuka_s.png";}
		Joint3D "DummyBody22"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Yuka3"{
		ModelFileName = "yuka_saha.x";	AlphaZeroTest = 0; NoCastShadow = 0;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "yuka_s.png";}
		Joint3D "DummyBody32"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Yuka4"{
		ModelFileName = "../701-1000_2/yuka_kumoha.x";	AlphaZeroTest = 0; NoCastShadow = 0;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "yuka_s.png";}
		Joint3D "DummyBody42"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	
//////////////////////
//ライト
//////////////////////

	Object3D "HeadLight1"{
		ModelFileName = "../701-1000_2/light_h.x";
		If "電源(パンタグラフ)" && ((!"_FRONT" & !"_CONNECT1" && "ヘッドライト"==0) || "ヘッドライト" == 1){
			ChangeModel = "../701-1000_2/light_hl.x", 1.0;
		}
		Joint3D "DummyBody12"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody12"; }
	}
	Object3D "HeadLight2"{
		ModelFileName = "../701-1000_2/light_h.x";
		If "電源(パンタグラフ)" && (("_FRONT" & !"_CONNECT2" && "ヘッドライト"==0) || "ヘッドライト" == 1){
			ChangeModel = "../701-1000_2/light_hl.x", 1.0;
		}
		Joint3D "DummyBody42"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody42"; AttachDir = (0.0, 0.0, -1.0); }
	}
	Object3D "TailLight1"{
		ModelFileName = "../701-1000_2/light_t.x"; NoCastShadow = 0, 1;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "../701-1000_2/light_s.png";}
		If "電源(パンタグラフ)" && (("_FRONT" & !"_CONNECT1" && "テールライト"==0) || "テールライト" == 1){
			ChangeModel = "../701-1000_2/light_tl.x", 1.0;
		}
		Joint3D "DummyBody12"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody12"; }
	}
	Object3D "TailLight2"{
		ModelFileName = "../701-1000_2/light_t.x"; NoCastShadow = 0, 1;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "../701-1000_2/light_s.png";}
		If "電源(パンタグラフ)" && ((!"_FRONT" & !"_CONNECT2" && "テールライト"==0) || "テールライト" == 1){
			ChangeModel = "../701-1000_2/light_tl.x", 1.0;
		}
		Joint3D "DummyBody42"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody42"; AttachDir = (0.0, 0.0, -1.0); }
	}

	
//////////////////////
//スカート
//////////////////////

	Object3D "SkirtBase1"{
		ModelFileName = "../701-1000_2/skirt_r.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "701_1_s.png";}
		Joint3D "DummyBody12"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody12"; }
	}
	Object3D "SkirtBase2"{
		ModelFileName = "../701-1000_2/skirt.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "701_1_s.png";}
		Joint3D "DummyBody42"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody42"; AttachDir = (0.0, 0.0, -1.0); }
	}
	
	Object3D "Skirt11"{
		ModelFileName = "../701-1000_2/skirt1.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "701_1_s.png";}
		Joint3D "DummyBody12"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody12"; }
	}
	Object3D "Skirt12"{
		ModelFileName = "../701-1000_2/skirt1.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 0, "701_1_s.png";}
		Joint3D "DummyBody42"{ AttachCoord = (0.0, 0.0, 0.0); LocalCoord = (0.0, 0.0, 0.0); DirLink = "DummyBody42"; AttachDir = (0.0, 0.0, -1.0); }
	}

///////////////////////	
// モハ屋根
///////////////////////
	Object3D "YaneMoha1"{
		ModelFileName = "../701-1000_2/yane_moha.x";
		AlphaZeroTest = 0, 1;
		NoCastShadow = 0, 1;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If "冬エフェクト"==0 && "_SEASON"==3{
			ChangeTexture = 0, "701_1_s.png";
			ChangeTexture = 1, "701_2_s.png";
			ChangeTexture = 4, "701_2_s.png";
		}
		Joint3D "DummyBody22"{
			AttachCoord = (0.0, 0.0, 0.0);	LocalCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "YaneMoha2"{
		ModelFileName = "../701-1000_2/yane_moha.x";
		AlphaZeroTest = 0, 1;
		NoCastShadow = 0, 1;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If "冬エフェクト"==0 && "_SEASON"==3{
			ChangeTexture = 0, "701_1_s.png";
			ChangeTexture = 1, "701_2_s.png";
			ChangeTexture = 4, "701_2_s.png";
		}
		Joint3D "DummyBody42"{
			AttachCoord = (0.0, 0.0, 0.0);	LocalCoord = (0.0, 0.0, 0.0);
		}
	}

///////////////////////	
// やっと車体本体
///////////////////////	
	Object3D "MainBody1"{
		ModelFileName = "body_kuha.x";
		AlphaZeroTest = 1, 2, 3;
		NoCastShadow = 1, 2, 3;
		ChangeAlpha = 6, NightAlpha;
		ChangeAlpha = 7, NightAlpha;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If"電源(パンタグラフ)"==0{
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 0.0;
		}
		If"冬エフェクト"==0 && "_SEASON"==3{
			ChangeTexture = 1, "701_1_s.png"; ChangeTexture = 2, "701_1_s.png";
			ChangeTexture = 3, "701_2_s.png"; ChangeTexture = 4, "701_2_s.png"; ChangeTexture = 5, "701_3_s.png";
		}
		Joint3D "DummyBody12"{
			AttachCoord = (0.0, 0.0, 0.0);
			LocalCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "MainBody2"{
		ModelFileName = "body_moha.x";
		AlphaZeroTest = 1;
		NoCastShadow = 1	;
		ChangeAlpha = 4, NightAlpha;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If"電源(パンタグラフ)"==0{
			ChangeAlpha = 4, 0.0;
		}
		If"冬エフェクト"==0 && "_SEASON"==3{
			ChangeTexture = 1, "701_4_s.png"; ChangeTexture = 2, "701_4_s.png"; ChangeTexture = 3, "701_3_s.png";
		}
		Joint3D "DummyBody22"{
			AttachCoord = (0.0, 0.0, 0.0);
			LocalCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "MainBody3"{
		ModelFileName = "body_saha.x";
		AlphaZeroTest = 1;
		NoCastShadow = 1	;
		ChangeAlpha = 4, NightAlpha;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If"電源(パンタグラフ)"==0{
			ChangeAlpha = 4, 0.0;
		}
		If"冬エフェクト"==0 && "_SEASON"==3{
			ChangeTexture = 1, "701_4_s.png"; ChangeTexture = 2, "701_4_s.png"; ChangeTexture = 3, "701_3_s.png";
		}
		Joint3D "DummyBody32"{
			AttachCoord = (0.0, 0.0, 0.0);
			LocalCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "MainBody4"{
		ModelFileName = "body_kumoha.x";
		AlphaZeroTest = 1, 2, 3;
		NoCastShadow = 1, 2, 3;
		ChangeAlpha = 6, NightAlpha;
		ChangeAlpha = 7, NightAlpha;
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		If"電源(パンタグラフ)"==0{
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 0.0;
		}
		If"冬エフェクト"==0 && "_SEASON"==3{
			ChangeTexture = 1, "701_1_s.png"; ChangeTexture = 2, "701_1_s.png";
			ChangeTexture = 3, "701_2_s.png"; ChangeTexture = 4, "701_2_s.png"; ChangeTexture = 5, "701_3_s.png";
		}
		Joint3D "DummyBody42"{
			AttachCoord = (0.0, 0.0, 0.0);
			LocalCoord = (0.0, 0.0, 0.0);
		}
	}

//////////////////////
//前面ホロ
//////////////////////
	Object3D "HoroFront"{
		ModelFileName = "../701-1000_2/horo_front.x";	AlphaZeroTest = 1; NoCastShadow = 1;
		If !"_CONNECT2" && "冬エフェクト"==0 && "_SEASON"==3{ ChangeTexture = 1, "701_2_s.png"; }
		If "_CONNECT2" && "連結ホロ" == 0{ ChangeModel = "../701-1000_2/horo_connect.x", 1.0; }
		If "_CABINVIEW"{ ChangeModel = "", 1.0; }
		Joint3D "MainBody4"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

///////////////////////	
//ドア
///////////////////////
	//1
	Object3D "DOOR1_L1"{		//中
		ModelFileName = "doorL1.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR1" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, 0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody1"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR1_L2"{
		ModelFileName = "doorL2.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR1" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, -0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody1"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR1_R1"{		//中
		ModelFileName = "doorR1.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR2" && !("方向幕" >= 8 && "方向幕" <= 12){
			StaticMove{ Displacement = (0.0, 0.0, 0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody1"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR1_R2"{
		ModelFileName = "doorR2.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR2" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, -0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody1"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	//2
	Object3D "DOOR2_L1"{		//中
		ModelFileName = "doorL1.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR1" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, 0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody2"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR2_L2"{
		ModelFileName = "doorL2.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR1" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, -0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody2"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR2_R1"{		//中
		ModelFileName = "doorR1.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR2" && !("方向幕" >= 8 && "方向幕" <= 12){
			StaticMove{ Displacement = (0.0, 0.0, 0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody2"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR2_R2"{
		ModelFileName = "doorR2.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR2" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, -0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody2"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	//3
	Object3D "DOOR3_L1"{		//中
		ModelFileName = "doorL1.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR1" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, 0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody3"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR3_L2"{
		ModelFileName = "doorL2.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR1" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, -0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody3"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR3_R1"{		//中
		ModelFileName = "doorR1.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR2" && !("方向幕" >= 8 && "方向幕" <= 12){
			StaticMove{ Displacement = (0.0, 0.0, 0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody3"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR3_R2"{
		ModelFileName = "doorR2.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR2" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, -0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody3"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	//4
	Object3D "DOOR4_L1"{		//中
		ModelFileName = "doorL1.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR1" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, 0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody4"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR4_L2"{
		ModelFileName = "doorL2.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR1" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, -0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody4"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR4_R1"{		//中
		ModelFileName = "doorR1.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR2" && !("方向幕" >= 8 && "方向幕" <= 12){
			StaticMove{ Displacement = (0.0, 0.0, 0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody4"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "DOOR4_R2"{
		ModelFileName = "doorR2.x";	ChangeAlpha = 1, NightAlpha; If"電源(パンタグラフ)"==0{ChangeAlpha = 1, 0.0;}
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_2_s.png";}
		If "_DOOR2" && !("方向幕" >= 8 && "方向幕" <= 12) && "電源(パンタグラフ)"==1{
			StaticMove{ Displacement = (0.0, 0.0, -0.7); PreAnimationDelay = 2.0; AnimationTime = 2.8; PreReverseDelay = 2.0; }
		}
		Joint3D "MainBody4"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	
//////////////////////
// 車輪本体
//////////////////////
	Object3D "Wheel11"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel11"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel11";}
	}
	Object3D "Wheel12"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel12"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel12";}
	}
	Object3D "Wheel13"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel13"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel13";}
	}
	Object3D "Wheel14"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel14"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel14";}
	}
	
	Object3D "Wheel21"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel21"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel21";}
	}
	Object3D "Wheel22"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel22"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel22";}
	}
	Object3D "Wheel23"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel23"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel23";}
	}
	Object3D "Wheel24"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel24"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel24";}
	}
	
	Object3D "Wheel31"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel31"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel31";}
	}
	Object3D "Wheel32"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel32"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel32";}
	}
	Object3D "Wheel33"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel33"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel33";}
	}
	Object3D "Wheel34"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel34"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel34";}
	}
	
	Object3D "Wheel41"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel41"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel41";}
	}
	Object3D "Wheel42"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel42"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel42";}
	}
	Object3D "Wheel43"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel43"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel43";}
	}
	Object3D "Wheel44"{
		ModelFileName = "../701-1000_2/wheel.x";	AlphaZeroTest = 0, 1; NoCastShadow = 0, 1, 2, 3; EnvMap = 3;
		If !"冬エフェクト" & "_SEASON" == 3{ ChangeTexture = 0, "../701-1000_2/dt61_s.png"; ChangeTexture = 1, "../701-1000_2/dt61_s.png"; }
		Joint3D "DummyWheel44"{ AttachCoord = (0.0, 0.0, 0.0); DirLink="DummyWheel44";}
	}
	
//////////////////////
// 台 車
//////////////////////
	Object3D "Bogie11"{
		ModelFileName = "../701-1000_2/dt61a_1.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If !"冬エフェクト" & "_SEASON" == 3{ChangeTexture = 0, "../701-1000_2/dt61_s.png";}
		Joint3D "DummyBogie11"{ AttachCoord = (0.0, 0.0, 0.0); AttachDir = (0.0, 0.0, -1.0); }
	}
	Object3D "Bogie12"{
		ModelFileName = "../701-1000_2/dt61a_2.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If !"冬エフェクト" & "_SEASON" == 3{ChangeTexture = 0, "../701-1000_2/dt61_s.png";}
		Joint3D "DummyBogie12"{ AttachCoord = (0.0, 0.0, 0.0);}
	}
	
	Object3D "Bogie21"{
		ModelFileName = "../701-1000_2/dt61a_2.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If !"冬エフェクト" & "_SEASON" == 3{ChangeTexture = 0, "../701-1000_2/dt61_s.png";}
		Joint3D "DummyBogie21"{ AttachCoord = (0.0, 0.0, 0.0); AttachDir = (0.0, 0.0, -1.0); }
	}
	Object3D "Bogie22"{
		ModelFileName = "../701-1000_2/dt61a_2.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If !"冬エフェクト" & "_SEASON" == 3{ChangeTexture = 0, "../701-1000_2/dt61_s.png";}
		Joint3D "DummyBogie22"{ AttachCoord = (0.0, 0.0, 0.0);}
	}
	
	Object3D "Bogie31"{
		ModelFileName = "../701-1000_2/dt61a_2.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If !"冬エフェクト" & "_SEASON" == 3{ChangeTexture = 0, "../701-1000_2/dt61_s.png";}
		Joint3D "DummyBogie31"{ AttachCoord = (0.0, 0.0, 0.0); AttachDir = (0.0, 0.0, -1.0); }
	}
	Object3D "Bogie32"{
		ModelFileName = "../701-1000_2/dt61a_2.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If !"冬エフェクト" & "_SEASON" == 3{ChangeTexture = 0, "../701-1000_2/dt61_s.png";}
		Joint3D "DummyBogie32"{ AttachCoord = (0.0, 0.0, 0.0);}
	}
	
	Object3D "Bogie41"{
		ModelFileName = "../701-1000_2/dt61a_2.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If !"冬エフェクト" & "_SEASON" == 3{ChangeTexture = 0, "../701-1000_2/dt61_s.png";}
		Joint3D "DummyBogie41"{ AttachCoord = (0.0, 0.0, 0.0);}
	}
	Object3D "Bogie42"{
		ModelFileName = "../701-1000_2/dt61a_1.x"; NoCastShadow = 0, 1; AlphaZeroTest = 0, 1;
		If !"冬エフェクト" & "_SEASON" == 3{ChangeTexture = 0, "../701-1000_2/dt61_s.png";}
		Joint3D "DummyBogie42"{ AttachCoord = (0.0, 0.0, 0.0);}
	}

//////////////////////
// 連 結 器 
//////////////////////
	Object3D "連結器1"{
		ModelFileName = "../701-1000_2/connector1.x";
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_1_s.png";}
		Joint3D "MainBody1"{
			AttachCoord = (0.0, 0.0, 9.5);
			DirLink = "Bogie11";
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "連結器2"{
		ModelFileName = "../701-1000_2/connector1.x";
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "701_1_s.png";}
		Joint3D "MainBody4"{
			AttachCoord = (0.0, 0.0, -9.5);
			DirLink = "Bogie42";
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

//////////////////////	
// パンタグラフ 
//////////////////////
	Object3D "パンタ台座-1"{
		ModelFileName = "../701-1000_2/ps105/ps105_1.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		Joint3D "MainBody2"{ AttachCoord = (0.0, 3.65, 5.5); }
	}
	Object3D "パンタ台座-1-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_1_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		Joint3D "パンタ台座-1"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "パンタ下-1-1"{
		ModelFileName = "../701-1000_2/ps105/ps105_2-1.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -32;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ台座-1"{ AttachCoord = (0.0, 0.3, 0.5); }
	}
	Object3D "パンタ下-1-1-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_2-1_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -32;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ台座-1"{ AttachCoord = (0.0, 0.3, 0.5); }
	}
	Object3D "パンタ下-1-2"{
		ModelFileName = "../701-1000_2/ps105/ps105_2-2.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 32;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ台座-1"{ AttachCoord = (0.0, 0.3, -0.5); }
	}
	Object3D "パンタ下-1-2-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_2-2_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 32; 
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ台座-1"{ AttachCoord = (0.0, 0.3, -0.5); }
	}
	Object3D "パンタ上-1-1"{
		ModelFileName = "../701-1000_2/ps105/ps105_3-1.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 60.0;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ下-1-1"{ AttachCoord = (0.0, 0.02, 0.8); }
	}
	Object3D "パンタ上-1-1-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_3-1_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 60.0;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ下-1-1"{ AttachCoord = (0.0, 0.02, 0.8); }
	}
	Object3D "パンタ上-1-2"{
		ModelFileName = "../701-1000_2/ps105/ps105_3-2.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -60.0;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ下-1-2"{ AttachCoord = (0.0, 0.02, -0.8); }
	}
	Object3D "パンタ上-1-2-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_3-2_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -60.0;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ下-1-2"{ AttachCoord = (0.0, 0.02, -0.8); }
	}
	Object3D "パンタすり-1"{
		ModelFileName = "../701-1000_2/ps105/ps105_4.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		Joint3D "パンタ上-1-1"{ AttachCoord = (0.0, 0.0, -1.2); LocalCoord = (0.0, 0.0, 0.1);
			DirLink = "パンタ台座-1"; UpLink = "パンタ台座-1"; }
	}
	
	Object3D "パンタすり-1-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_4_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		Joint3D "パンタすり-1"{ AttachCoord = (0.0, 0.0, 0.0);}
	}
	
	//2
	Object3D "パンタ台座-2"{
		ModelFileName = "../701-1000_2/ps105/ps105_1.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		Joint3D "MainBody4"{ AttachCoord = (0.0, 3.65, 5.5); }
	}
	Object3D "パンタ台座-2-透明"{
		ModelFileName = "ps105/ps105_1_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		Joint3D "パンタ台座-2"{ AttachCoord = (0.0, 0.0, 0.0); }
	}
	Object3D "パンタ下-2-1"{
		ModelFileName = "../701-1000_2/ps105/ps105_2-1.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -32;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ台座-2"{ AttachCoord = (0.0, 0.3, 0.5); }
	}
	Object3D "パンタ下-2-1-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_2-1_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -32;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ台座-2"{ AttachCoord = (0.0, 0.3, 0.5); }
	}
	Object3D "パンタ下-2-2"{
		ModelFileName = "../701-1000_2/ps105/ps105_2-2.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 32;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ台座-2"{ AttachCoord = (0.0, 0.3, -0.5); }
	}
	Object3D "パンタ下-2-2-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_2-2_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 32; 
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ台座-2"{ AttachCoord = (0.0, 0.3, -0.5); }
	}
	Object3D "パンタ上-2-1"{
		ModelFileName = "../701-1000_2/ps105/ps105_3-1.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 60.0;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ下-2-1"{ AttachCoord = (0.0, 0.02, 0.8); }
	}
	Object3D "パンタ上-2-1-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_3-1_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 60.0;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ下-2-1"{ AttachCoord = (0.0, 0.02, 0.8); }
	}
	Object3D "パンタ上-2-2"{
		ModelFileName = "../701-1000_2/ps105/ps105_3-2.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -60.0;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ下-2-2"{ AttachCoord = (0.0, 0.02, -0.8); }
	}
	Object3D "パンタ上-2-2-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_3-2_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		If "電源(パンタグラフ)" {
			StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -60.0;
				AnimationTime = 0.8; ReverseTime = 1.2; }
		}
		Joint3D "パンタ下-2-2"{ AttachCoord = (0.0, 0.02, -0.8); }
	}
	Object3D "パンタすり-2"{
		ModelFileName = "../701-1000_2/ps105/ps105_4.x"; AlphaZeroTest = 0; NoCastShadow = 0;
		If"冬エフェクト"==0 && "_SEASON"==3{ChangeTexture = 0, "../701-1000_2/ps105/ps105_s.png";}
		Joint3D "パンタ上-2-1"{ AttachCoord = (0.0, 0.0, -1.2); LocalCoord = (0.0, 0.0, 0.1);
			DirLink = "パンタ台座-2"; UpLink = "パンタ台座-2"; }
	}
	
	Object3D "パンタすり-2-透明"{
		ModelFileName = "../701-1000_2/ps105/ps105_4_.x"; AlphaZeroTest = 2; NoReceiveShadow = 2;
		Joint3D "パンタすり-2"{ AttachCoord = (0.0, 0.0, 0.0);}
	}
	
//////////////////////
// ドア音ダミー
//////////////////////
	Object3D "ドア音ダミー1"{
		ModelFileName = "";
		If "_DOOR2" | "_DOOR1"{
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 0.0;	AnimationTime = 0.0;
				PreReverseDelay = 5.0;		ReverseTime = 0.0;
			}
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 5.0;	AnimationTime = 0.0;
				PreReverseDelay = 0.0;		ReverseTime = 0.0;
			}
		}
		Joint3D "DummyBody12"{	AttachCoord = (0.0, 3000.0, 0.0);	DirLink = "DummyBody12"; }
	}
	Object3D "ドア音ダミー2"{
		ModelFileName = "";
		If "_DOOR2" | "_DOOR1"{
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 0.0;	AnimationTime = 0.0;
				PreReverseDelay = 5.0;		ReverseTime = 0.0;
			}
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 5.0;	AnimationTime = 0.0;
				PreReverseDelay = 0.0;		ReverseTime = 0.0;
			}
		}
		Joint3D "DummyBody22"{	AttachCoord = (0.0, 3000.0, 0.0);	DirLink = "DummyBody22"; }
	}
	Object3D "ドア音ダミー3"{
		ModelFileName = "";
		If "_DOOR2" | "_DOOR1"{
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 0.0;	AnimationTime = 0.0;
				PreReverseDelay = 5.0;		ReverseTime = 0.0;
			}
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 5.0;	AnimationTime = 0.0;
				PreReverseDelay = 0.0;		ReverseTime = 0.0;
			}
		}
		Joint3D "DummyBody32"{	AttachCoord = (0.0, 3000.0, 0.0);	DirLink = "DummyBody32"; }
	}
	Object3D "ドア音ダミー4"{
		ModelFileName = "";
		If "_DOOR2" | "_DOOR1"{
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 0.0;	AnimationTime = 0.0;
				PreReverseDelay = 5.0;		ReverseTime = 0.0;
			}
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 5.0;	AnimationTime = 0.0;
				PreReverseDelay = 0.0;		ReverseTime = 0.0;
			}
		}
		Joint3D "DummyBody42"{	AttachCoord = (0.0, 3000.0, 0.0);	DirLink = "DummyBody42"; }
	}

	
//////////////////////
//サウンド
//////////////////////
	If "サウンド"!=1{
		//緩解音
		If "_ACCEL">0 & "_VELOCITY" < 5{
			If "サウンド"==0{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b_zero.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -500;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b_zero.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 0.5, -10.1);
					Volume = -500;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b_zero.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -500;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b_zero.wav";
					AttachObject = "DummyBody3";
					SourceCoord = (0.0, 0.5, -10.1);
					Volume = -500;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b_zero.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -500;
					Loop = no;
				}
			}Else{
				SoundEffect{
					WaveFileName = "../701-1000_2/kq2100_b_zero.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -1000;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../701-1000_2/kq2100_b_zero.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 0.5, -10.1);
					Volume = -1000;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../701-1000_2/kq2100_b_zero.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -1000;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../701-1000_2/kq2100_b_zero.wav";
					AttachObject = "DummyBody3";
					SourceCoord = (0.0, 0.5, -10.1);
					Volume = -1000;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../701-1000_2/kq2100_b_zero.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -1000;
					Loop = no;
				}
			}
		}
		
		//ブレーキ
		If "_ACCEL"<0 & "_VELOCITY" < 5{
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/brake/701b.wav";
				AttachObject = "DummyBody1";
				SourceCoord = (0.0, 1.0, 6.9);
				Volume = 0;
				Loop = no;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/brake/701b.wav";
				AttachObject = "DummyBody1";
				SourceCoord = (0.0, 1.0, -10.1);
				Volume = 0;
				Loop = no;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/brake/701b.wav";
				AttachObject = "DummyBody2";
				SourceCoord = (0.0, 1.0, -6.9);
				Volume = 0;
				Loop = no;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/brake/701b.wav";
				AttachObject = "DummyBody3";
				SourceCoord = (0.0, 1.0, -10.1);
				Volume = 0;
				Loop = no;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/brake/701b.wav";
				AttachObject = "DummyBody4";
				SourceCoord = (0.0, 1.0, -6.9);
				Volume = 0;
				Loop = no;
			}
		}
		//ブレーキループ
		If "_ACCEL"<0 & "_VELOCITY" >3 & "_VELOCITY" < 30{
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/701/b1.wav";
				AttachObject = "DummyBody1";
				SourceCoord = (0.0, 0.5, 6.9);
				Volume = 0;
				Loop = yes;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/701/b1.wav";
				AttachObject = "DummyBody1";
				SourceCoord = (0.0, 0.5, -10.25);
				Volume = 0;
				Loop = yes;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/701/b1.wav";
				AttachObject = "DummyBody2";
				SourceCoord = (0.0, 0.5, -6.9);
				Volume = 0;
				Loop = yes;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/701/b1.wav";
				AttachObject = "DummyBody3";
				SourceCoord = (0.0, 0.5, -10.25);
				Volume = 0;
				Loop = yes;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/701/b1.wav";
				AttachObject = "DummyBody4";
				SourceCoord = (0.0, 0.5, -6.9);
				Volume = 0;
				Loop = yes;
			}
		}
		
		If  "電源(パンタグラフ)"!=0{
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/701/loop.wav";
				AttachObject = "DummyBody2";
				SourceCoord = (0.0, 1.0, 0.0);
				Volume = -2000;
				Loop = yes;
			}
			SoundEffect{
				WaveFileName = "../common_ss_t2/sound/701/loop.wav";
				AttachObject = "DummyBody4";
				SourceCoord = (0.0, 1.0, 0.0);
				Volume = -2000;
				Loop = yes;
			}
			
			//滑走音
			If "_VELOCITY" >10 & "_VELOCITY" <= 20{
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -2000 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -2000 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -2000 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -2000 ; Loop=yes;}
			}If "_VELOCITY" >20 & "_VELOCITY" <= 30{
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -1600 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -1600 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -1600 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -1600 ; Loop=yes;}
			}If "_VELOCITY" >30 & "_VELOCITY" <= 40{
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -1200 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -1200 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -1200 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -1200 ; Loop=yes;}
			}If "_VELOCITY" >40 & "_VELOCITY" <= 60{
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -1000 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -1000 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -1000 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -1000 ; Loop=yes;}
			}If "_VELOCITY" >60{
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -500 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody1";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -500 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, -6.9); Volume= -500 ; Loop=yes;}
				SoundEffect{WaveFileName= "../common_ss_t2/sound/701/run_loop.wav"; AttachObject="DummyBody3";
					SourceCoord=(0.0, 0.0, 6.9); Volume= -500 ; Loop=yes;}
			}
			
			//加速音
			If "サウンド" == 0 && "_CAMDIST" < 800{
				If "_ACCEL">0 & "_VELOCITY" >1 & "_VELOCITY" < 12{
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in1.wav";
						AttachObject = "DummyBody2";
						SourceCoord = (0.0, 0.5, 6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in1.wav";
						AttachObject = "DummyBody2";
						SourceCoord = (0.0, 0.5, -6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in1.wav";
						AttachObject = "DummyBody4";
						SourceCoord = (0.0, 0.5, 6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in1.wav";
						AttachObject = "DummyBody4";
						SourceCoord = (0.0, 0.5, -6.9);
						Volume = 0;
						Loop = no;
					}
				}			
				If "_ACCEL">0 & "_VELOCITY" >8 & "_VELOCITY" < 17{
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in2.wav";
						AttachObject = "DummyBody2";
						SourceCoord = (0.0, 0.5, 6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in2.wav";
						AttachObject = "DummyBody2";
						SourceCoord = (0.0, 0.5, -6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in2.wav";
						AttachObject = "DummyBody4";
						SourceCoord = (0.0, 0.5, 6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in2.wav";
						AttachObject = "DummyBody4";
						SourceCoord = (0.0, 0.5, -6.9);
						Volume = 0;
						Loop = no;
					}
				}
				If "_ACCEL">0 & "_VELOCITY" >13 & "_VELOCITY" < 30{
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in3.wav";
						AttachObject = "DummyBody2";
						SourceCoord = (0.0, 0.5, 6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in3.wav";
						AttachObject = "DummyBody2";
						SourceCoord = (0.0, 0.5, -6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in3.wav";
						AttachObject = "DummyBody4";
						SourceCoord = (0.0, 0.5, 6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/in3.wav";
						AttachObject = "DummyBody4";
						SourceCoord = (0.0, 0.5, -6.9);
						Volume = 0;
						Loop = no;
					}
				}
			}Else{
				If "_ACCEL">0 & "_VELOCITY" >1 & "_VELOCITY" < 28{
					SoundEffect{
						WaveFileName = "../701-1000_2/in.wav";
						AttachObject = "DummyBody2";
						SourceCoord = (0.0, 0.5, 6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../701-1000_2/in.wav";
						AttachObject = "DummyBody2";
						SourceCoord = (0.0, 0.5, -6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../701-1000_2/in.wav";
						AttachObject = "DummyBody4";
						SourceCoord = (0.0, 0.5, 6.9);
						Volume = 0;
						Loop = no;
					}
					SoundEffect{
						WaveFileName = "../701-1000_2/in.wav";
						AttachObject = "DummyBody4";
						SourceCoord = (0.0, 0.5, -6.9);
						Volume = 0;
						Loop = no;
					}
				}
			}
			If "_ACCEL">0 & "_VELOCITY" >26 & "_VELOCITY" < 65{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/in4.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/in4.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/in4.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/in4.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
			}
			If "_ACCEL">0 & "_VELOCITY" >50 & "_VELOCITY" < 90{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/in5.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/in5.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/in5.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/in5.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
			}
			
			//減速音
			If "_ACCEL"<0 & "_VELOCITY" >35 & "_VELOCITY" < 90{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/out4.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/out4.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/out4.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/out4.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
			}
			If "_ACCEL"<0 & "_VELOCITY" >15 & "_VELOCITY" < 40{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/out3.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/out3.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/out3.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/out3.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
			}
			If "サウンド" == 2 && "_ACCEL"<0 & "_VELOCITY" >2 & "_VELOCITY" < 32{
				SoundEffect{
					WaveFileName = "../701-1000_2/out.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../701-1000_2/out.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../701-1000_2/out.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../701-1000_2/out.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = no;
				}
			}
			
			//走行ループ
			If "_VELOCITY" > 25 && "_VELOCITY" <= 40{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop1.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -500;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop1.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -500;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop1.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -500;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop1.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -500;
					Loop = yes;
				}
			}
			If "_VELOCITY" > 40 && "_VELOCITY" <= 55{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop2.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -500;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop2.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -500;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop2.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -500;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop2.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -500;
					Loop = yes;
				}
			}
			If "_VELOCITY" > 55 && "_VELOCITY" <= 75{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop3.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -0;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop3.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -0;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop3.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -0;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop3.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -0;
					Loop = yes;
				}
			}
			If "_VELOCITY" > 75{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop4.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop4.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop4.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = 0;
					Loop = yes;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/run_loop4.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = 0;
					Loop = yes;
				}
			}
			
			//電制失効時
			If "_ACCEL"<0 & "_VELOCITY" < 30 & "_VELOCITY" > 20{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/701b2.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 1.0, 6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b2.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 1.0, -10.1);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b2.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 1.0, -6.9);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b2.wav";
					AttachObject = "DummyBody3";
					SourceCoord = (0.0, 1.0, -10.1);
					Volume = 0;
					Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/b2.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 1.0, -6.9);
					Volume = 0;
					Loop = no;
				}
			}
			
			//エアサス
			If "_ACCEL"<=0 && "_VELOCITY" < 10 && "_VELOCITY" > 5{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus1.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 14 && "_VELOCITY" > 5{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus2.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 0.5, -10.25);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 12 && "_VELOCITY" > 5{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus1.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 14 && "_VELOCITY" > 5{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus2.wav";
					AttachObject = "DummyBody3";
					SourceCoord = (0.0, 0.5, -10.25);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 12 && "_VELOCITY" > 5{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus1.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 3{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus1.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 0.5, 6.9);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 1{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus2.wav";
					AttachObject = "DummyBody1";
					SourceCoord = (0.0, 0.5, -10.25);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 4{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus1.wav";
					AttachObject = "DummyBody2";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 1{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus2.wav";
					AttachObject = "DummyBody3";
					SourceCoord = (0.0, 0.5, -10.25);
					Volume = -1000;
					Loop = no;
				}
			}
			If "_ACCEL"<=0 && "_VELOCITY" < 4{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/air_sus1.wav";
					AttachObject = "DummyBody4";
					SourceCoord = (0.0, 0.5, -6.9);
					Volume = -1000;
					Loop = no;
				}
			}
			
			//ドア
			If "_DOOR1" || "_DOOR2"{
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/701_door_2.wav";
					AttachObject = "ドア音ダミー1";
					SourceCoord = (0.0, 3.0 ,0.0);	Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/701_door_2.wav";
					AttachObject = "ドア音ダミー2";
					SourceCoord = (0.0, 3.0 ,0.0);	Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/701_door_2.wav";
					AttachObject = "ドア音ダミー3";
					SourceCoord = (0.0, 3.0 ,0.0);	Loop = no;
				}
				SoundEffect{
					WaveFileName = "../common_ss_t2/sound/701/701_door_2.wav";
					AttachObject = "ドア音ダミー4";
					SourceCoord = (0.0, 3.0 ,0.0);	Loop = no;
				}
			}Else{
				If "_VELOCITY" == 0{
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/701_door_2.wav";
						AttachObject = "ドア音ダミー1";
						SourceCoord = (0.0, 3.0 ,0.0);	Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/701_door_2.wav";
						AttachObject = "ドア音ダミー2";
						SourceCoord = (0.0, 3.0 ,0.0);	Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/701_door_2.wav";
						AttachObject = "ドア音ダミー3";
						SourceCoord = (0.0, 3.0 ,0.0);	Loop = no;
					}
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/701_door_2.wav";
						AttachObject = "ドア音ダミー4";
						SourceCoord = (0.0, 3.0 ,0.0);	Loop = no;
					}
				}
			}

		
			//タイフォン
			If "タイフォン" == 1 | ("タイフォン" == 2 & "_CAMDIST"<50) | ("タイフォン" == 3 & "_CAMDIST"<35) | ("タイフォン" == 4 & "_CAMDIST"<20){
				If !"_FRONT" && !"_CONNECT1"{
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/phone.wav";
						AttachObject = "DummyBody1"; SourceCoord = (0.0, 3.9, 10.0);
						Volume = 0; Loop = no;
					}
					If "_CAMDIST"<=35 && !"_CABINVIEW"{
						SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody1"; SourceCoord = (0.0, 3.9, 10.0);
							Volume = 0; Loop = no;
						}
						SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody1"; SourceCoord = (0.0, 3.9, 10.0);
							Volume = 0; Loop = no;
						}
					}
					If "_CAMDIST"<=50 && !"_CABINVIEW"{
						SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody1"; SourceCoord = (0.0, 3.9, 10.0);
							Volume = 0; Loop = no;
						}SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody1"; SourceCoord = (0.0, 3.9, 10.0);
							Volume = 0; Loop = no;
						}SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody1"; SourceCoord = (0.0, 3.9, 10.0);
							Volume = 0; Loop = no;
						}SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody1"; SourceCoord = (0.0, 3.9, 10.0);
							Volume = 0; Loop = no;
						}
					}
				}
				If "_FRONT" && !"_CONNECT2"{
					SoundEffect{
						WaveFileName = "../common_ss_t2/sound/701/phone.wav";
						AttachObject = "DummyBody4"; SourceCoord = (0.0, 3.9, -10.0);
						Volume = 0; Loop = no;
					}
					If "_CAMDIST"<=35 && !"_CABINVIEW"{
						SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody4"; SourceCoord = (0.0, 3.9, -10.0);
							Volume = 0; Loop = no;
						}
						SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody4"; SourceCoord = (0.0, 3.9, -10.0);
							Volume = 0; Loop = no;
						}
					}
					If "_CAMDIST"<=50 && !"_CABINVIEW"{
						SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody4"; SourceCoord = (0.0, 3.9, -10.0);
							Volume = 0; Loop = no;
						}SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody4"; SourceCoord = (0.0, 3.9, -10.0);
							Volume = 0; Loop = no;
						}SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody4"; SourceCoord = (0.0, 3.9, -10.0);
							Volume = 0; Loop = no;
						}SoundEffect{
							WaveFileName = "../common_ss_t2/sound/701/phone.wav";
							AttachObject = "DummyBody4"; SourceCoord = (0.0, 3.9, -10.0);
							Volume = 0; Loop = no;
						}
					}
				}
			}	
		}
	}
	
	
//////////////////////
//ライトフレア
//////////////////////

	//昼用
	//前
	If !"_FRONT" & !"_CONNECT1" & !"_NIGHT" & ("減光(夜のみ)"==0 | "_CAMDIST">50 | "_ACCEL">0) & "ヘッドライト"!=2 & "電源(パンタグラフ)"!=0{
		Headlight{
			AttachObject = "MainBody1";
			SourceCoord = (0.16, 3.4, 10.05);
			Direction = (0.0, 0.0, 1.0);
			MaxDistance = 0.01;
			LensFlare{
				StartAngle = 30;
				Texture{
					Distance = 0.0;
					Radius = 0.5;
					TexFileName = "../701-1000_2/flare.png";
				}
			}
		}
		Headlight{
			AttachObject = "MainBody1";
			SourceCoord = (-0.16, 3.4, 10.05);
			Direction = (0.0, 0.0, 1.0);
			MaxDistance = 0.01;
			LensFlare{
				StartAngle = 30;
				Texture{
					Distance = 0.0;
					Radius = 0.5;
					TexFileName = "../701-1000_2/flare.png";
				}
			}
		}
	}
	//後
	If "_FRONT" & !"_CONNECT2" & !"_NIGHT" & ("減光(夜のみ)"==0 | "_CAMDIST">50 | "_ACCEL">0) & "ヘッドライト"!=2 & "電源(パンタグラフ)"!=0{
		Headlight{
			AttachObject = "MainBody4";
			SourceCoord = (0.16, 3.4, -10.05);
			Direction = (0.0, 0.0, -1.0);
			MaxDistance = 0.01;
			LensFlare{
				StartAngle = 30;
				Texture{
					Distance = 0.0;
					Radius = 0.5;
					TexFileName = "../701-1000_2/flare.png";
				}
			}
		}
		Headlight{
			AttachObject = "MainBody4";
			SourceCoord = (-0.16, 3.4, -10.05);
			Direction = (0.0, 0.0, -1.0);
			MaxDistance = 0.01;
			LensFlare{
				StartAngle = 30;
				Texture{
					Distance = 0.0;
					Radius = 0.5;
					TexFileName = "../701-1000_2/flare.png";
				}
			}
		}
	}
	//夜用
	//前
	If !"_FRONT" & !"_CONNECT1" & "_NIGHT" & ("減光(夜のみ)"==0 | "_CAMDIST">50 | "_ACCEL">0) & "ヘッドライト"!=2 & "電源(パンタグラフ)"!=0{
		Headlight{
			AttachObject = "MainBody1";
			SourceCoord = (0.16, 3.4, 10.05);
			Direction = (0.0, 0.0, 1.0);
			MaxDistance = 0.01;
			LensFlare{
				StartAngle = 30;
				Texture{
					Distance = 0.0;
					Radius = 0.8;
					TexFileName = "../701-1000_2/flare.png";
				}
			}
		}
		Headlight{
			AttachObject = "MainBody1";
			SourceCoord = (-0.16, 3.4, 10.05);
			Direction = (0.0, 0.0, 1.0);
			MaxDistance = 0.01;
			LensFlare{
				StartAngle = 30;
				Texture{
					Distance = 0.0;
					Radius = 0.8;
					TexFileName = "../701-1000_2/flare.png";
				}
			}
		}
	}
	//後
	If "_FRONT" & !"_CONNECT2" & "_NIGHT" & ("減光(夜のみ)"==0 | "_CAMDIST">50 | "_ACCEL">0) & "ヘッドライト"!=2 & "電源(パンタグラフ)"!=0{
		Headlight{
			AttachObject = "MainBody4";
			SourceCoord = (0.16, 3.4, -10.05);
			Direction = (0.0, 0.0, -1.0);
			MaxDistance = 0.01;
			LensFlare{
				StartAngle = 30;
				Texture{
					Distance = 0.0;
					Radius = 0.8;
					TexFileName = "../701-1000_2/flare.png";
				}
			}
		}
		Headlight{
			AttachObject = "MainBody4";
			SourceCoord = (-0.16, 3.4, -10.05);
			Direction = (0.0, 0.0, -1.0);
			MaxDistance = 0.01;
			LensFlare{
				StartAngle = 30;
				Texture{
					Distance = 0.0;
					Radius = 0.8;
					TexFileName = "../701-1000_2/flare.png";
				}
			}
		}
	}
	
///////////////////////	
//雪煙
///////////////////////
	
	If !"冬エフェクト" & "_SEASON" == 3{
		If"_FRONT" == 0{
			Particle{
				TextureFileName = "../701-1000_2/snow.png";	AttachObject = "MainBody1";
				SourceCoord = (0.0, 0.0, 9.0);
				MinQty = -3.0;					MaxQty = 15.0;
				VelocityRel = 0.11;				Lifetime = 1.0, 4.0;
				Direction = (1.0, 0.5, 0.5), (1.0, 0.5, 0.6);
				InitialRadius = 0.1, 0.5;		FinalRadius = 5.0, 8.0;
				Color = #ffffffff, #ffeeeeee;
				BlendMode = Alpha;				AirResistance = 0.2;
				Gravity = 0.05;					Turbulence = 4.0;
			}
			Particle{
				TextureFileName = "../701-1000_2/snow.png";	AttachObject = "MainBody1";
				SourceCoord = (0.0, 0.0, 9.0);
				MinQty = -3.0;					MaxQty = 15.0;
				VelocityRel = 0.11;				Lifetime = 1.0, 4.0;
				Direction = (-1.0, 0.5, 0.5), (-1.0, 0.5, 0.6);
				InitialRadius = 0.1, 0.5;		FinalRadius = 5.0, 8.0;
				Color = #ffffffff, #ffeeeeee;
				BlendMode = Alpha;				AirResistance = 0.2;
				Gravity = 0.05;					Turbulence = 4.0;
			}
			
			Particle{
				TextureFileName = "../701-1000_2/snow.png";	AttachObject = "MainBody4";
				SourceCoord = (0.0, 0.0, -9.0);
				MinQty = -4.0;					MaxQty = 15.0;
				VelocityRel = 0.11;				Lifetime = 3.0, 6.0;
				Direction = (0.0, 0.5, 0.0), (0.0, 0.5, 0.3);
				InitialRadius = 0.1, 0.5;		FinalRadius = 5.0, 8.0;
				Color = #ffffffff, #ffeeeeee;
				BlendMode = Alpha;				AirResistance = 0.2;
				Gravity = 0.0;					Turbulence = 4.0;
			}
		}Else{
			Particle{
				TextureFileName = "../701-1000_2/snow.png";	AttachObject = "MainBody4";
				SourceCoord = (0.0, 0.0, -9.0);
				MinQty = -3.0;					MaxQty = 15.0;
				VelocityRel = 0.11;				Lifetime = 1.0, 4.0;
				Direction = (1.0, 0.5, -0.5), (1.0, 0.5, -0.6);
				InitialRadius = 0.1, 0.5;		FinalRadius = 5.0, 8.0;
				Color = #ffffffff, #ffeeeeee;
				BlendMode = Alpha;				AirResistance = 0.2;
				Gravity = 0.05;					Turbulence = 4.0;
			}
			Particle{
				TextureFileName = "../701-1000_2/snow.png";	AttachObject = "MainBody4";
				SourceCoord = (0.0, 0.0, -9.0);
				MinQty = -3.0;					MaxQty = 15.0;
				VelocityRel = 0.11;				Lifetime = 1.0, 4.0;
				Direction = (-1.0, 0.5, -0.5), (-1.0, 0.5, -0.6);
				InitialRadius = 0.1, 0.5;		FinalRadius = 5.0, 8.0;
				Color = #ffffffff, #ffeeeeee;
				BlendMode = Alpha;				AirResistance = 0.2;
				Gravity = 0.05;					Turbulence = 4.0;
			}
			
			Particle{
				TextureFileName = "../701-1000_2/snow.png";	AttachObject = "MainBody1";
				SourceCoord = (0.0, 0.0, 9.0);
				MinQty = -4.0;					MaxQty = 15.0;
				VelocityRel = 0.11;				Lifetime = 3.0, 6.0;
				Direction = (0.0, 0.5, 0.0), (0.0, 0.5, -0.3);
				InitialRadius = 0.1, 0.5;		FinalRadius = 5.0, 8.0;
				Color = #ffffffff, #ffeeeeee;
				BlendMode = Alpha;				AirResistance = 0.2;
				Gravity = 0.0;					Turbulence = 4.0;
			}
		}
		
		Particle{
			TextureFileName = "../701-1000_2/snow.png";		AttachObject = "Horo1";
			SourceCoord = (0.0, 0.1, 0.0);
			MinQty = -4.0;						MaxQty = 10.0;
			VelocityRel = 0.11;					Lifetime = 3.0, 6.0;
			Direction = (0.0, 0.5, 0.0), (0.0, 0.5, 0.0);
			InitialRadius = 0.3, 1.0;			FinalRadius = 5.0, 8.0;
			Color = #ffffffff, #ffeeeeee;
			BlendMode = Alpha;					AirResistance = 0.1;
			Gravity = 0.0;						Turbulence = 4.0;
		}
		Particle{
			TextureFileName = "../701-1000_2/snow.png";		AttachObject = "Horo2";
			SourceCoord = (0.0, 0.1, 0.0);
			MinQty = -4.0;						MaxQty = 10.0;
			VelocityRel = 0.11;					Lifetime = 3.0, 6.0;
			Direction = (0.0, 0.5, 0.0), (0.0, 0.5, 0.0);
			InitialRadius = 0.3, 1.0;			FinalRadius = 5.0, 8.0;
			Color = #ffffffff, #ffeeeeee;
			BlendMode = Alpha;					AirResistance = 0.1;
			Gravity = 0.0;						Turbulence = 4.0;
		}
		Particle{
			TextureFileName = "../701-1000_2/snow.png";		AttachObject = "Horo3";
			SourceCoord = (0.0, 0.1, 0.0);
			MinQty = -4.0;						MaxQty = 10.0;
			VelocityRel = 0.11;					Lifetime = 3.0, 6.0;
			Direction = (0.0, 0.5, 0.0), (0.0, 0.5, 0.0);
			InitialRadius = 0.3, 1.0;			FinalRadius = 5.0, 8.0;
			Color = #ffffffff, #ffeeeeee;
			BlendMode = Alpha;					AirResistance = 0.1;
			Gravity = 0.0;						Turbulence = 4.0;
		}
	}


//////////////////////
//視点
//////////////////////

	FrontCabin{
		Joint3D "MainBody1"{
			AttachCoord = (-0.7, 2.5, 8.8);
			DirLink = "MainBody1";
		}
	}
	TailCabin{
		Joint3D "MainBody4"{
			AttachCoord = (0.7, 2.5, -8.8);
			DirLink = "MainBody4";
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
}
