/*
 *	RailSim II Struct Plugin
 *	Copyright (c) 2006 C^[lbg◯
 */

PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "tFX";
	PluginAuthor = "";
	IconTexture = "..\..\Train\Aizentranza01\Icon.png";
	Description = "eXgɂ铧ߏ̃eXgłB";
}

StructInfo{
}

DefineSwitch "texture"{
	Entry = "AlphaChannel";
	Entry = "ColorKeyWhite";
	Entry = "ColorKeyBlack";
}

PrimaryAssembly{
	Object3D "Main"{
		ModelFileName = "Fence.x";
		ModelScale = 1.0;
		NoCastShadow = 0;
		AlphaZeroTest = 0;
		ApplySwitch "texture"{
		Case 1:
			ChangeTexture = 0, "FenceTrans#w.png";
		Case 2:
			ChangeTexture = 0, "FenceTrans#b.png";
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
}

