PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "[ビル]高層ホテル風ビル";
	PluginAuthor = "n";
}

StructInfo{}

DefineSwitch "建物"{
	Entry = "ホテル";
	Entry = "雑居ビル";
}

DefineSwitch "照明時間"{
	Entry = "自動1 (17:00〜23:00)";
	Entry = "常時";
	Entry = "消灯";
}

PrimaryAssembly{
	　　　　Object3D "model"{
		ModelFileName = "model.x";
		ModelScale = 1.0;
		ChangeAlpha = 2, 0.0;
		ChangeAlpha = 3, 0.0;
		ChangeAlpha = 4, 0.0;
		ChangeAlpha = 5, 0.0;
		ChangeAlpha = 6, 0.0;
		ApplySwitch "建物"{
		Case 1:ChangeModel = "model1.x", 1.0;
}
		If "照明時間"==0&&"_HOUR"<23&&"_HOUR">=17{
			ChangeAlpha = 2, 1.0;
			ChangeAlpha = 3, 1.0;
			ChangeAlpha = 4, 1.0;
			ChangeAlpha = 5, 1.0;
			ChangeAlpha = 6, 1.0;
		}
		If "照明時間"==1{
			ChangeAlpha = 2, 1.0;
			ChangeAlpha = 3, 1.0;
			ChangeAlpha = 4, 1.0;
			ChangeAlpha = 5, 1.0;
			ChangeAlpha = 6, 1.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}