
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "神戸新交通1000型 中間車";
	PluginAuthor = "n";
	Description = "六甲ライナー";
}

TrainInfo{
	FrontLimit = 4.0;
	TailLimit = -4.0;
	MaxVelocity = 62.5;
	MaxAcceleration = 3.5;
	MaxDeceleration = 3.5;
	DoorClosingTime = 3.0;
}
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);
	}
	//	ボディー
	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);
		}
	}
	//	前輪 (右)
	Object3D "FrontRightWheel"{
		ModelFileName = "../n_knt1100/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);
		}
	}
	//	前輪 (左)
	Object3D "FrontLeftWheel"{
		ModelFileName = "../n_knt1100/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);
		}
	}
	//	後輪 (右)
	Object3D "TailRightWheel"{
		ModelFileName = "../n_knt1100/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 = "../n_knt1100/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 = "../n_knt1100/Doorll.x";
		ModelScale = 1.0;
		Transparent = 0;
		ApplySwitch "室内灯"{
		Case 0:
		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 = "../n_knt1100/Doorlr.x";
		ModelScale = 1.0;
		Transparent = 0;
		ApplySwitch "室内灯"{
		Case 0:
		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 = "../n_knt1100/Doorrl.x";
		ModelScale = 1.0;
		Transparent = 0;
		ApplySwitch "室内灯"{
		Case 0:
		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 = "../n_knt1100/Doorrr.x";
		ModelScale = 1.0;
		Transparent = 0;
		ApplySwitch "室内灯"{
		Case 0:
		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 = "../n_knt1100/inBody1.x";
		ModelScale = 1.0;
		ApplySwitch "室内灯"{
		Case 0:
		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 = "../n_knt1100/Body1.x";
		ModelScale = 1.0;
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "horo"{
		ModelFileName = "../n_knt1100/horo.x";
		ModelScale = 1.0;
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	FrontCabin{
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}
