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

PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Pier;
	PluginName = "Single brick pier";
	PluginAuthor = "Okadu";
	IconTexture = "..\..\Train\Aizentranza01\Icon.png";
	Description = "Old style brick pier.";
}

PierInfo{
	Interval = 20.0;
	BuildMinAlt = 1.0;
	TaperX = 0.1;
	TaperY = 0.1;
}

Joint{
	ModelFileName = "Joint.x";
	ModelScale = 1.0;
	JointToHeadLocal = (0.0, -0.2, 0.0);
}

Head{
	ModelFileName = "Head.x";
	ModelScale = 1.0;
	HeadToPierLocal = (0.0, -0.2, 0.0);
}

Base{
	ModelFileName = "";
	BaseToPierLocal = (0.0, -0.2, 0.0);
}

/*
 *	’f–Ê’è‹`
 */
Profile{
	Material{
		UseTexture = yes;
		TexFileName = "Brick.png";
		TexVPerMeter = 2.0;
	}
	Face{
		Vertex{
			Coord = (-0.5, -0.5);
			Normal = (0.0, -1.0);
			TexU = 0.0;
		}
		Vertex{
			Coord = (-0.793893, -0.404509);
			Normal = (-1.0, -1.0);
			TexU = 0.6;
		}
		Vertex{
			Coord = (-0.975528, -0.154509);
			Normal = (-1.0, 0.0);
			TexU = 1.2;
		}
		Vertex{
			Coord = (-0.975528, 0.154509);
			Normal = (-1.0, 0.0);
			TexU = 1.8;
		}
		Vertex{
			Coord = (-0.793893, 0.404509);
			Normal = (-1.0, 1.0);
			TexU = 2.4;
		}
		Vertex{
			Coord = (-0.5, 0.5);
			Normal = (0.0, 1.0);
			TexU = 3.0;
		}
		Vertex{
			Coord = (0.5, 0.5);
			Normal = (0.0, 1.0);
			TexU = 5.0;
		}
		Vertex{
			Coord = (0.793893, 0.404509);
			Normal = (1.0, 1.0);
			TexU = 5.6;
		}
		Vertex{
			Coord = (0.975528, 0.154509);
			Normal = (1.0, 0.0);
			TexU = 6.2;
		}
		Vertex{
			Coord = (0.975528, -0.154509);
			Normal = (1.0, 0.0);
			TexU = 6.8;
		}
		Vertex{
			Coord = (0.793893, -0.404509);
			Normal = (1.0, -1.0);
			TexU = 7.4;
		}
		Vertex{
			Coord = (0.5, -0.5);
			Normal = (0.0, -1.0);
			TexU = 8.0;
		}
		Vertex{
			Coord = (-0.5, -0.5);
			Normal = (0.0, -1.0);
			TexU = 10.0;
		}
	}
}
