
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "_ːV1000^ 擪";
	PluginAuthor = "n";
	Description = "ZbCi[";
}

TrainInfo{
	FrontLimit = 4.0;
	TailLimit = -4.0;
	MaxVelocity = 62.5;
	MaxAcceleration = 3.5;
	MaxDeceleration = 3.5;
	DoorClosingTime = 3.0;
}
DefineSwitch "ԗ"{
	Entry = "1100";
	Entry = "1600(])";
}
DefineSwitch "Ґ"{
GroupCommon = "KNT1000Ґ";
	Entry = "1101";
	Entry = "1102";
	Entry = "1103";
	Entry = "1104";
	Entry = "1105";
	Entry = "1106";
	Entry = "1107";
	Entry = "1108";
	Entry = "1109";
	Entry = "1110";
	Entry = "1111";
}
DefineSwitch "Cg"{
	Entry = "";
	Entry = "";
}
DefineSwitch ""{
GroupCommon = "KNT1000";
	Entry = "";
	Entry = "";
}
PrimaryAssembly{
	Axle "FrontDummyWheel"{
		ModelFileName = "";
		ModelScale = 1.0;
		Diameter = 1.0;
		Symmetric = 12;
		Coord = (2.45, 0.45);
	}
	Axle "TailDummyWheel"{
		ModelFileName = "";
		ModelScale = 1.0;
		Diameter = 1.0;
		Symmetric = 12;
		Coord = (-2.45, 0.45);
	}
	//	{fB[
	Body "Dummy"{
		ModelFileName = "";
		ModelScale = 1.0;
		JointZY "FrontDummyWheel"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (2.45, 0.45);
		}
		JointZY "TailDummyWheel"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-2.45, 0.45);
		}
	}
	//	O (E)
	Object3D "FrontRightWheel"{
		ModelFileName = "Wheel.x";
		ModelScale = 1.0;
		Joint3D "Dummy"{
			AttachCoord = (0.8, 0.45, 2.45);
			DirLink = "FrontDummyWheel";
			AttachDir = (5.0, 0.0, 0.0);
			UpLink = "FrontDummyWheel";
			AttachUp = (0.0, 0.0, 1.0);
		}
	}
	//	O ()
	Object3D "FrontLeftWheel"{
		ModelFileName = "Wheel.x";
		ModelScale = 1.0;
		Joint3D "Dummy"{
			AttachCoord = (-0.8, 0.45, 2.45);
			DirLink = "FrontDummyWheel";
			AttachDir = (-1.0, 0.0, 0.0);
			UpLink = "FrontDummyWheel";
			AttachUp = (0.0, 0.0, 1.0);
		}
	}
	//	 (E)
	Object3D "TailRightWheel"{
		ModelFileName = "Wheel.x";
		ModelScale = 1.0;
		Joint3D "Dummy"{
			AttachCoord = (0.8, 0.45, -2.45);
			DirLink = "Dummy";
			AttachDir = (1.0, 0.0, 0.0);
			UpLink = "FrontDummyWheel";
			AttachUp = (0.0, 0.0, 1.0);
		}
	}
	//	 ()
	Object3D "TailLeftWheel"{
		ModelFileName = "Wheel.x";
		ModelScale = 1.0;
		Joint3D "Dummy"{
			AttachCoord = (-0.8, 0.45, -2.45);
			DirLink = "Dummy";
			AttachDir = (-1.0, 0.0, 0.0);
			UpLink = "FrontDummyWheel";
			AttachUp = (0.0, 0.0, 1.0);
		}
	}
	Object3D "Doorll"{
		ModelFileName = "Doorll.x";
		Transparent = 0;
		If !""{
			ChangeMaterial{
				MaterialID = 3;
				Emissive = 0.5, 0.5, 0.5; 
			}
@@@@@@@@}
		If "_DOOR1"{
			StaticMove{
				Displacement = (0.0, 0.0, 0.67);
				PreAnimationDelay = 0.6;
				AnimationTime = 3;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorlr"{
		ModelFileName = "Doorlr.x";
		Transparent = 0;
		If !""{
			ChangeMaterial{
				MaterialID = 3;
				Emissive = 0.5, 0.5, 0.5; 
			}
@@@@@@@@}
		If "_DOOR1"{
				StaticMove{
				Displacement = (0.0, 0.0, -0.67);
				PreAnimationDelay = 0.6;
				AnimationTime = 3;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "Doorrl.x";
		Transparent = 0;
		If !""{
			ChangeMaterial{
				MaterialID = 3;
				Emissive = 0.5, 0.5, 0.5; 
			}
@@@@@@@@}
		If "_DOOR2"{
				StaticMove{
				Displacement = (0.0, 0.0, 0.67);
				PreAnimationDelay = 0.6;
				AnimationTime = 3;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorrr"{
		ModelFileName = "Doorrr.x";
		Transparent = 0;
		If !""{
			ChangeMaterial{
				MaterialID = 3;
				Emissive = 0.5, 0.5, 0.5; 
			}
@@@@@@@@}
		If "_DOOR2"{
				StaticMove{
				Displacement = (0.0, 0.0, -0.67);
				PreAnimationDelay = 0.6;
				AnimationTime = 3;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "inbody"{
		ModelFileName = "inBody.x";
		If !""{
			ChangeMaterial{
				MaterialID = 0,1,2,3;
				Emissive = 0.5, 0.5, 0.5; 
			}
@@@@@@@@}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Mainbody"{
		ModelFileName = "Body.x";
		NoCastShadow = 5;
		ApplySwitch "ԗ"{
		Case 0:
			ApplySwitch "Ґ"{
			Case 0:ChangeTexture = 5, "tex/Ԕ/1101.png";
			Case 1:ChangeTexture = 5, "tex/Ԕ/1102.png";
			Case 2:ChangeTexture = 5, "tex/Ԕ/1103.png";
			Case 3:ChangeTexture = 5, "tex/Ԕ/1104.png";
			Case 4:ChangeTexture = 5, "tex/Ԕ/1105.png";
			Case 5:ChangeTexture = 5, "tex/Ԕ/1106.png";
			Case 6:ChangeTexture = 5, "tex/Ԕ/1107.png";
			Case 7:ChangeTexture = 5, "tex/Ԕ/1108.png";
			Case 8:ChangeTexture = 5, "tex/Ԕ/1109.png";
			Case 9:ChangeTexture = 5, "tex/Ԕ/1110.png";
			Case 10:ChangeTexture = 5, "tex/Ԕ/1111.png";
		}
		Case 1:
			ApplySwitch "Ґ"{
			Case 0:ChangeTexture = 5, "tex/Ԕ/1601.png";
			Case 1:ChangeTexture = 5, "tex/Ԕ/1602.png";
			Case 2:ChangeTexture = 5, "tex/Ԕ/1603.png";
			Case 3:ChangeTexture = 5, "tex/Ԕ/1604.png";
			Case 4:ChangeTexture = 5, "tex/Ԕ/1605.png";
			Case 5:ChangeTexture = 5, "tex/Ԕ/1606.png";
			Case 6:ChangeTexture = 5, "tex/Ԕ/1607.png";
			Case 7:ChangeTexture = 5, "tex/Ԕ/1608.png";
			Case 8:ChangeTexture = 5, "tex/Ԕ/1609.png";
			Case 9:ChangeTexture = 5, "tex/Ԕ/1610.png";
			Case 10:ChangeTexture = 5, "tex/Ԕ/1611.png";
			}
		}
If "Cg"==0 &&(!"_FRONT")&&(!"_CONNECT1"){
		ChangeAlpha = 1, 1.0;
		ChangeAlpha = 2, 0.0;
}
If "Cg" ==0 && ("_FRONT")&&(!"_CONNECT1"){	
		ChangeAlpha = 1, 0.0;
		ChangeAlpha = 2, 1.0;
}
If "Cg" ==1 {	
		ChangeAlpha = 1, 0.0;
		ChangeAlpha = 2, 0.0;
}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "horo"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch "ԗ"{
		Case 0:ChangeModel = "horo.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	FrontCabin{
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}
