PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "[建物]一戸建て住宅一括セット";
	PluginAuthor = "n";
}

StructInfo{}

DefineSwitch "配置"{
	Entry = "一括1";
	Entry = "一括2";
	Entry = "一括3";
	Entry = "一括99";
}
DefineSwitch "地面"{
	Entry = "1";
	Entry = "2";
	Entry = "3";
	Entry = "無";
}
DefineSwitch "照明時間"{
	Entry = "自動";
	Entry = "常時";
	Entry = "消灯";
}

PrimaryAssembly{
	　　　　Object3D "model"{
		ModelFileName = "model.x";
		ModelScale = 10.0;
		ChangeAlpha = 5, 0.0;
		ChangeAlpha = 7, 0.0;
		ApplySwitch "配置"{
		Case 1:ChangeModel = "model1.x", 10.0;
		Case 2:ChangeModel = "model2.x", 10.0;
		Case 3:ChangeModel = "model99.x", 10.0;
}
		If "照明時間"==0&&"_HOUR"<22&&"_HOUR">=17{
			ChangeAlpha = 5, 1.0;
			ChangeAlpha = 7, 1.0;
		}
		If "照明時間"==1{
			ChangeAlpha = 5, 1.0;
			ChangeAlpha = 7, 1.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	　　　　Object3D "base"{
		ModelFileName = "base.x";
		ModelScale = 10.0;
		ChangeAlpha = 5, 0.0;
		ChangeAlpha = 7, 0.0;
		ApplySwitch "地面"{
		Case 1:ChangeModel = "base1.x", 10.0;
		Case 2:ChangeModel = "base2.x", 10.0;
		Case 3:ChangeModel = "", 10.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}