/*
 *	RailSim II Struct Plugin - By enno 2012 
 */

PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "低層ビル-120403";
	PluginAuthor = "enno";
	IconTexture = "Icon.png";
	Description = "高さ13m以下。2〜3階の商業ビルもしくは個人商店";
}

StructInfo{
}

DefineSwitch "モデル"{
	Entry = "1";
	Entry = "2";
	Entry = "3";
	Entry = "4";
	Entry = "5";
	Entry = "6";
	Entry = "7";
}

PrimaryAssembly{
	Object3D "Main"{
		ModelFileName = "model1.x";
		ModelScale = 1;
		ChangeAlpha = 5,NightAlpha;
		ChangeAlpha = 6,NightAlpha;
		ChangeAlpha = 7,NightAlpha;
		ChangeAlpha = 8,NightAlpha;
		ChangeAlpha = 9,NightAlpha;
		ChangeAlpha = 10,NightAlpha;
		ApplySwitch "モデル"{
		Case 0:		ChangeModel = "model1.x", 1.0;
		Case 1:		ChangeModel = "model2.x", 1.0;
		Case 2:		ChangeModel = "model3.x", 1.0;
		Case 3:		ChangeModel = "model4.x", 1.0;
		Case 4:		ChangeModel = "model5.x", 1.0;
		Case 5:		ChangeModel = "model6.x", 1.0;
		Case 6:		ChangeModel = "model7.x", 1.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
}

