/*
 *	RailSim II Station Plugin
 *	Copyright (c) 2006 Intaanetto Teiryuujo
 */

PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Station;
	PluginName = "Middle size station 02";
	PluginAuthor = "Okadu";
	IconTexture = "..\..\Train\Aizentranza01\Icon.png";
	Description = "20m 12cars capable";
}

StationInfo{
}

Platform{
	OpenDoor = yes, no;
	GirderPlugin = "";
	PierPlugin = "";
	PolePlugin = "";
	Coord = (-4.5, 0.0, -115.0);
	Coord = (-4.5, 0.0, 135.0);
}

Platform{
	Stoppable = no;
	Coord = (-0.5, 0.0, -115.0);
	Coord = (-0.5, 0.0, 135.0);
}

Platform{
	OpenDoor = no, yes;
	Coord = (3.5, 0.0, -115.0);
	Coord = (3.5, 0.0, 135.0);
}

Platform{
	OpenDoor = yes, no;
	Coord = (11.5, 0.0, -115.0);
	Coord = (11.5, 0.0, 135.0);
}

DefineSwitch "Pole interval"{
	Entry = "40m for simple catenary";
	Entry = "60m for compound catenary";
	Entry = "No pole";
}

DefineAnimation "Escalator"{
	SlideUVFrame = "Escalator.png", 0.0, 0.0, 0.0, 0.0625, 16, 1;
}

PrimaryAssembly{
	Object3D "Main"{
		ModelFileName = "Model.x";
		ModelScale = 1.0;
		NoShadow = 0, 1, 4, 5, 6, 7;
		NoReceiveShadow = 12, 13;
		Transparent = 2, 3;
		ChangeAlpha = 4, NightAlpha;
		ChangeAlpha = 5, NightAlpha;
		ChangeAlpha = 6, NightAlpha;
		ChangeAlpha = 7, 1.0;
		SetAnimation = 14, "Escalator";
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}
	Object3D "Pole interval"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch "Pole interval"{
		Case 0:
			ChangeModel = "Pole1.x", 1.0;
		Case 1:
			ChangeModel = "Pole2.x", 1.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 6.09, 0.0);
		}
	}
}
