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

PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Rail;
	PluginName = "Default JR-standard";
	PluginAuthor = "Okadu";
	IconTexture = "..\..\Train\Aizentranza01\Icon.png";
	Description = "World standard, Shinkansen compatible.";
}

/*
 *	Ql: 60kg [
 *	O: 1435[mm]
 *	[ꕔő啝: 145[mm]
 *	[ő啝: 65[mm]
 *	[: 174[mm]
 */
RailInfo{
	Gauge = 1.435;
	Height = 0.174;
	SurfaceAlt = 0.4;
	CantRatio = 180.0;
	MaxCant = 7.0;
}

SoundInfo{
	WheelSoundFile = "..\Default_JR_Narrow\Wheel.wav";
	JointInterval = 200.0;
}

/*
 *	ʃ|S`
 */
Profile{
	Material{
		UseTexture = yes;
		TexFileName = "..\Default_JR_Narrow\Side.png";
		TexVPerMeter = 1.0;
	}
	//	
	Face{
		Vertex{
			Coord = (-0.8225, -0.174);
			Normal = (-1.0, 1.0);
			TexU = 0.0;
		}
		Vertex{
			Coord = (-0.7825, 0.0);
			Normal = (-1.0, 0.0);
			TexU = 1.0;
		}
	}
	Face{
		Vertex{
			Coord = (-0.7175, 0.0);
			Normal = (1.0, 0.0);
			TexU = 1.0;
		}
		Vertex{
			Coord = (-0.6775, -0.174);
			Normal = (1.0, 1.0);
			TexU = 0.0;
		}
	}
	//	E
	Face{
		Vertex{
			Coord = (0.6775, -0.174);
			Normal = (-1.0, 1.0);
			TexU = 0.0;
		}
		Vertex{
			Coord = (0.7175, 0.0);
			Normal = (-1.0, 0.0);
			TexU = 1.0;
		}
	}
	Face{
		Vertex{
			Coord = (0.7825, 0.0);
			Normal = (1.0, 0.0);
			TexU = 1.0;
		}
		Vertex{
			Coord = (0.8225, -0.174);
			Normal = (1.0, 1.0);
			TexU = 0.0;
		}
	}
}

/*
 *	ʃ|S`
 */
Profile{
	Material{
		UseTexture = yes;
		TexFileName = "..\Default_JR_Narrow\Top.png";
		TexVPerMeter = 1.0;
	}
	//	
	Face{
		Vertex{
			Coord = (-0.7825, 0.0);
			Normal = (-0.5, 1.0);
			TexU = 0.0;
		}
		Vertex{
			Coord = (-0.7175, 0.0);
			Normal = (0.5, 1.0);
			TexU = 1.0;
		}
	}
	//	E
	Face{
		Vertex{
			Coord = (0.7175, 0.0);
			Normal = (-0.5, 1.0);
			TexU = 0.0;
		}
		Vertex{
			Coord = (0.7825, 0.0);
			Normal = (0.5, 1.0);
			TexU = 1.0;
		}
	}
}
