PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "[建物]ラジオ放送局社屋1";
	PluginAuthor = "n";
	IconTexture = "";
	Description = "聞いちゃった　聞いちゃった";
	Description = "ドラマに ニュースに ミュージック";
}

StructInfo{}

DefineSwitch "電灯"{
	Entry = "夜間点灯";
	Entry = "常時点灯";
	Entry = "消灯";
}

DefineSwitch "地面"{
	Entry = "1";
	Entry = "2";
	Entry = "無";
}

DefineSwitch "外壁"{
	Entry = "1";
	Entry = "2";
}

DefineSwitch "屋根"{
	Entry = "有";
	Entry = "無";
}

DefineSwitch "屋上構造物"{
	Entry = "有";
	Entry = "無";
}

DefineSwitch "屋上塔"{
	Entry = "有";
	Entry = "無";
}

PrimaryAssembly{
	　　　　Object3D "model"{
		ModelFileName = "model.x";
		ModelScale = 10.0;
		ApplySwitch "電灯"{
		Case 0:
		ApplySwitch "_NIGHT"{
		Case 1:ChangeTexture = 1, "tex1.png";
		ChangeMaterial{
		MaterialID = 1;
		Emissive = 0.5, 0.5, 0.5;
		}
		}  
		Case 1:ChangeTexture = 1, "tex1.png";
		ChangeMaterial{
		MaterialID = 1;
		Emissive = 0.5, 0.5, 0.5;
		}
		}   
		ApplySwitch "外壁"{
		Case 1:ChangeTexture = 0, "tex1.png";
		}  
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	　　　　Object3D "ground"{
		ModelFileName = "ground.x";
		ModelScale = 10.0;
		ApplySwitch "地面"{
		Case 1:ChangeModel = "ground1.x", 10.0;
		Case 2:ChangeModel = "", 1.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	　　　　Object3D "roof"{
		ModelFileName = "roof.x";
		ModelScale = 10.0;
		ApplySwitch "外壁"{
		Case 1:ChangeTexture = 0, "tex1.png";
		}  
		ApplySwitch "屋根"{
		Case 1:ChangeModel = "", 1.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	　　　　Object3D "rooftop"{
		ModelFileName = "rooftop.x";
		ModelScale = 10.0;
		ApplySwitch "外壁"{
		Case 1:ChangeTexture = 0, "tex1.png";
		}  
		ApplySwitch "屋上構造物"{
		Case 1:ChangeModel = "", 1.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	　　　　Object3D "rooftower"{
		ModelFileName = "rooftower.x";
		ModelScale = 10.0;
		ApplySwitch "外壁"{
		Case 1:ChangeTexture = 0, "tex1.png";
		}  
		ApplySwitch "屋上塔"{
		Case 1:ChangeModel = "", 1.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}