PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Station;
	PluginName = "ポートアイランド線風単式駅(53m)";
	PluginAuthor = "n";
	IconTexture = "..//..//Icon/n/n_knt0.png";
	Description = "複線化前のポートアイランド線向けの単式ホームです。";
	Description = "ホーム_53m 線路長_53m 停車属性あり";
	Description = "地上から10mで設置してください。";
}

StationInfo{
}
Platform{
	OpenDoor = no, yes;
	Coord = (0.0, 0.0, 26.5);
	Coord = (0.0, 0.0, -26.5);
}


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


PrimaryAssembly{
	Object3D "form"{
		ModelFileName = "form.x";
		ModelScale = 1.0;
		AlphaZeroTest = 0;
		ChangeAlpha = 19, 0.0;
		If "照明時間"==0&&"_HOUR"<24&&"_HOUR">=4{
		ChangeAlpha = 19, 1.0;
		ChangeMaterial{
		MaterialID = 0,1,2;
		Emissive = 0.5, 0.5, 0.5; 
		}
		}
		If "照明時間"==1{
		ChangeAlpha = 19, 1.0;
		ChangeMaterial{
		MaterialID = 0,1,2;
		Emissive = 0.5, 0.5, 0.5; 
		}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.3, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "doorl.x";
		ModelScale = 1.0;
		If "_STOPPING"{
				StaticMove{
				Displacement = (0.0, 0.0, 1.08);
				PreAnimationDelay = 0.6;
				AnimationTime = 3;
			}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.3, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}
	Object3D "Doorr"{
		ModelFileName = "doorr.x";
		ModelScale = 1.0;
		If "_STOPPING"{
				StaticMove{
				Displacement = (0.0, 0.0, -1.08);
				PreAnimationDelay = 0.6;
				AnimationTime = 3;
			}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.3, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}
}