//-	Head
PluginHeader{
	RailSimVersion = 2.11;
	PluginType = Struct;
	PluginName = "[杊岇嶒]僈乕僪儗乕儖01";
	PluginAuthor = "NyahoTaro";
	IconTexture = "../common_nya/icon.png";
	Description = "";
}

StructInfo{
}

DefineSwitch "儌僨儖"{
	Entry = "廔抂_2m_L";
	Entry = "廔抂_2m_R";
	Entry = "拞娫_4m";
	Entry = "拞娫_8m";
	Entry = "拞娫_12m";
	Entry = "拞娫_16m";
}

DefineSwitch "僇儔乕儕儞僌"{
	Entry = "敀怓";
	Entry = "拑怓";
	Entry = "墿怓";
	Entry = "烌怓";
	Entry = "奃怓";
	Entry = "崟怓";
}

DefineSwitch "搚戜"{
	Entry = "ON";
	Entry = "OFF";
}

DefineSwitch "仴梊旛1"{
}

DefineSwitch "仴梊旛2"{
}

DefineSwitch "仴梊旛3"{
}

DefineSwitch "愝抲婎弨"{
	Entry = "弴";
	Entry = "媡";
}

//***************************************************************************************************************
//
//-		埵抲挷愡峔暥偙偙偐傜
//
//***************************************************************************************************************

//-	Y幉埵抲SW
DefineSwitch "亂Y幉埵抲亃"{}
DefineSwitch "丂Y幉埵抲(亇)"{
	Entry = "亂亄亃";
	Entry = "亂亅亃";
}
DefineSwitch "丂Y幉埵抲(仩*.**)"{
	Entry = "0*.**";
	Entry = "1*.**";
	Entry = "2*.**";
	Entry = "3*.**";
	Entry = "4*.**";
	Entry = "5*.**";
}
DefineSwitch "丂Y幉埵抲(*仩.**)"{
	Entry = "*0.**";
	Entry = "*1.**";
	Entry = "*2.**";
	Entry = "*3.**";
	Entry = "*4.**";
	Entry = "*5.**";
	Entry = "*6.**";
	Entry = "*7.**";
	Entry = "*8.**";
	Entry = "*9.**";
}
DefineSwitch "丂Y幉埵抲(**.仩*)"{
	Entry = "**.0*";
	Entry = "**.1*";
	Entry = "**.2*";
	Entry = "**.3*";
	Entry = "**.4*";
	Entry = "**.5*";
	Entry = "**.6*";
	Entry = "**.7*";
	Entry = "**.8*";
	Entry = "**.9*";
}
DefineSwitch "丂Y幉埵抲(**.*仩)"{
	Entry = "**.*0";
	Entry = "**.*1";
	Entry = "**.*2";
	Entry = "**.*3";
	Entry = "**.*4";
	Entry = "**.*5";
	Entry = "**.*6";
	Entry = "**.*7";
	Entry = "**.*8";
	Entry = "**.*9";
}

//-	X幉埵抲SW
DefineSwitch "亂X幉埵抲亃"{}
DefineSwitch "丂X幉埵抲(亇)"{
	Entry = "亂亄亃";
	Entry = "亂亅亃";
}
DefineSwitch "丂X幉埵抲(仩*.**)"{
	Entry = "0*.**";
	Entry = "1*.**";
	Entry = "2*.**";
	Entry = "3*.**";
	Entry = "4*.**";
	Entry = "5*.**";
}
DefineSwitch "丂X幉埵抲(*仩.**)"{
	Entry = "*0.**";
	Entry = "*1.**";
	Entry = "*2.**";
	Entry = "*3.**";
	Entry = "*4.**";
	Entry = "*5.**";
	Entry = "*6.**";
	Entry = "*7.**";
	Entry = "*8.**";
	Entry = "*9.**";
}
DefineSwitch "丂X幉埵抲(**.仩*)"{
	Entry = "**.0*";
	Entry = "**.1*";
	Entry = "**.2*";
	Entry = "**.3*";
	Entry = "**.4*";
	Entry = "**.5*";
	Entry = "**.6*";
	Entry = "**.7*";
	Entry = "**.8*";
	Entry = "**.9*";
}
DefineSwitch "丂X幉埵抲(**.*仩)"{
	Entry = "**.*0";
	Entry = "**.*1";
	Entry = "**.*2";
	Entry = "**.*3";
	Entry = "**.*4";
	Entry = "**.*5";
	Entry = "**.*6";
	Entry = "**.*7";
	Entry = "**.*8";
	Entry = "**.*9";
}

//-	Z幉埵抲SW
DefineSwitch "亂Z幉埵抲亃"{}
DefineSwitch "丂Z幉埵抲(亇)"{
	Entry = "亂亄亃";
	Entry = "亂亅亃";
}
DefineSwitch "丂Z幉埵抲(仩*.**)"{
	Entry = "0*.**";
	Entry = "1*.**";
	Entry = "2*.**";
	Entry = "3*.**";
	Entry = "4*.**";
	Entry = "5*.**";
}
DefineSwitch "丂Z幉埵抲(*仩.**)"{
	Entry = "*0.**";
	Entry = "*1.**";
	Entry = "*2.**";
	Entry = "*3.**";
	Entry = "*4.**";
	Entry = "*5.**";
	Entry = "*6.**";
	Entry = "*7.**";
	Entry = "*8.**";
	Entry = "*9.**";
}
DefineSwitch "丂Z幉埵抲(**.仩*)"{
	Entry = "**.0*";
	Entry = "**.1*";
	Entry = "**.2*";
	Entry = "**.3*";
	Entry = "**.4*";
	Entry = "**.5*";
	Entry = "**.6*";
	Entry = "**.7*";
	Entry = "**.8*";
	Entry = "**.9*";
}
DefineSwitch "丂Z幉埵抲(**.*仩)"{
	Entry = "**.*0";
	Entry = "**.*1";
	Entry = "**.*2";
	Entry = "**.*3";
	Entry = "**.*4";
	Entry = "**.*5";
	Entry = "**.*6";
	Entry = "**.*7";
	Entry = "**.*8";
	Entry = "**.*9";
}

//-	Y幉夞揮SW
DefineSwitch "亂Y幉夞揮亃"{}
DefineSwitch "丂Y幉夞揮(亇)"{
	Entry = "亂亄亃";
	Entry = "亂亅亃";
}
DefineSwitch "丂Y幉夞揮(仩*.**)"{
	Entry = "0*.**";
	Entry = "1*.**";
	Entry = "2*.**";
	Entry = "3*.**";
	Entry = "4*.**";
	Entry = "5*.**";
	Entry = "6*.**";
	Entry = "7*.**";
	Entry = "8*.**";
	Entry = "9*.**";
}
DefineSwitch "丂Y幉夞揮(*仩.**)"{
	Entry = "*0.**";
	Entry = "*1.**";
	Entry = "*2.**";
	Entry = "*3.**";
	Entry = "*4.**";
	Entry = "*5.**";
	Entry = "*6.**";
	Entry = "*7.**";
	Entry = "*8.**";
	Entry = "*9.**";
}
DefineSwitch "丂Y幉夞揮(**.仩*)"{
	Entry = "**.0*";
	Entry = "**.1*";
	Entry = "**.2*";
	Entry = "**.3*";
	Entry = "**.4*";
	Entry = "**.5*";
	Entry = "**.6*";
	Entry = "**.7*";
	Entry = "**.8*";
	Entry = "**.9*";
}
DefineSwitch "丂Y幉夞揮(**.*仩)"{
	Entry = "**.*0";
	Entry = "**.*1";
	Entry = "**.*2";
	Entry = "**.*3";
	Entry = "**.*4";
	Entry = "**.*5";
	Entry = "**.*6";
	Entry = "**.*7";
	Entry = "**.*8";
	Entry = "**.*9";
}

//-	X幉孹偒SW
DefineSwitch "亂X幉孹偒亃"{}
DefineSwitch "丂X幉孹偒(亇)"{
	Entry = "亂亄亃";
	Entry = "亂亅亃";
}
DefineSwitch "丂X幉孹偒(仩*.**)"{
	Entry = "0*.**";
	Entry = "1*.**";
	Entry = "2*.**";
	Entry = "3*.**";
	Entry = "4*.**";
}
DefineSwitch "丂X幉孹偒(*仩.**)"{
	Entry = "*0.**";
	Entry = "*1.**";
	Entry = "*2.**";
	Entry = "*3.**";
	Entry = "*4.**";
	Entry = "*5.**";
	Entry = "*6.**";
	Entry = "*7.**";
	Entry = "*8.**";
	Entry = "*9.**";
}
DefineSwitch "丂X幉孹偒(**.仩*)"{
	Entry = "**.0*";
	Entry = "**.1*";
	Entry = "**.2*";
	Entry = "**.3*";
	Entry = "**.4*";
	Entry = "**.5*";
	Entry = "**.6*";
	Entry = "**.7*";
	Entry = "**.8*";
	Entry = "**.9*";
}
DefineSwitch "丂X幉孹偒(**.*仩)"{
	Entry = "**.*0";
	Entry = "**.*1";
	Entry = "**.*2";
	Entry = "**.*3";
	Entry = "**.*4";
	Entry = "**.*5";
	Entry = "**.*6";
	Entry = "**.*7";
	Entry = "**.*8";
	Entry = "**.*9";
}

//-	Z幉孹偒SW
DefineSwitch "亂Z幉孹偒亃"{}
DefineSwitch "丂Z幉孹偒(亇)"{
	Entry = "亂亄亃";
	Entry = "亂亅亃";
}
DefineSwitch "丂Z幉孹偒(仩*.**)"{
	Entry = "0*.**";
	Entry = "1*.**";
	Entry = "2*.**";
	Entry = "3*.**";
	Entry = "4*.**";
}
DefineSwitch "丂Z幉孹偒(*仩.**)"{
	Entry = "*0.**";
	Entry = "*1.**";
	Entry = "*2.**";
	Entry = "*3.**";
	Entry = "*4.**";
	Entry = "*5.**";
	Entry = "*6.**";
	Entry = "*7.**";
	Entry = "*8.**";
	Entry = "*9.**";
}
DefineSwitch "丂Z幉孹偒(**.仩*)"{
	Entry = "**.0*";
	Entry = "**.1*";
	Entry = "**.2*";
	Entry = "**.3*";
	Entry = "**.4*";
	Entry = "**.5*";
	Entry = "**.6*";
	Entry = "**.7*";
	Entry = "**.8*";
	Entry = "**.9*";
}
DefineSwitch "丂Z幉孹偒(**.*仩)"{
	Entry = "**.*0";
	Entry = "**.*1";
	Entry = "**.*2";
	Entry = "**.*3";
	Entry = "**.*4";
	Entry = "**.*5";
	Entry = "**.*6";
	Entry = "**.*7";
	Entry = "**.*8";
	Entry = "**.*9";
}

//***************************************************************************************************************
//
//-		埵抲挷愡峔暥偙偙傑偱
//
//***************************************************************************************************************


//////////////////////
//-	Base
//////////////////////
PrimaryAssembly{
	Object3D "Base"{
		ModelFileName = "";
		If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		If !"搚戜"{
			ApplySwitch "儌僨儖"{
			Case 0,1,2:		ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Base_1m.x", 100.0;
			Case 3:			ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Base_4m.x", 100.0;
			Case 4:			ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Base_8m.x", 100.0;
			Case 5:			ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Base_12m.x", 100.0;
			}
		}
		ApplySwitch "愝抲婎弨"{
			Case 0:		StaticMove{		Displacement = (0.0, 0.0, 0.0);	}
			Case 1:
			ApplySwitch "儌僨儖"{
			Case 3:		StaticMove{		Displacement = (0.0, 0.0, -4.0);	}
			Case 4:		StaticMove{		Displacement = (0.0, 0.0, -8.0);	}
			Case 5:		StaticMove{		Displacement = (0.0, 0.0, -12.0);	}
			}
		}

//***************************************************************************************************************
//
//-		埵抲挷愡峔暥偙偙偐傜
//
//***************************************************************************************************************

//////////////////////
//-	Y幉埵抲
//////////////////////
		ApplySwitch "丂Y幉埵抲(亇)"{
			Case 0://(+)
			ApplySwitch "丂Y幉埵抲(仩*.**)"{
				Case 1:		StaticMove{		Displacement = (0.0, 10.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, 20.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, 30.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, 40.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, 50.0, 0.0);	}
			}
			ApplySwitch "丂Y幉埵抲(*仩.**)"{
				Case 1:		StaticMove{		Displacement = (0.0, 1.0, 0.0);		}
				Case 2:		StaticMove{		Displacement = (0.0, 2.0, 0.0);		}
				Case 3:		StaticMove{		Displacement = (0.0, 3.0, 0.0);		}
				Case 4:		StaticMove{		Displacement = (0.0, 4.0, 0.0);		}
				Case 5:		StaticMove{		Displacement = (0.0, 5.0, 0.0);		}
				Case 6:		StaticMove{		Displacement = (0.0, 6.0, 0.0);		}
				Case 7:		StaticMove{		Displacement = (0.0, 7.0, 0.0);		}
				Case 8:		StaticMove{		Displacement = (0.0, 8.0, 0.0);		}
				Case 9:		StaticMove{		Displacement = (0.0, 9.0, 0.0);		}
			}
			ApplySwitch "丂Y幉埵抲(**.仩*)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.1, 0.0);		}
				Case 2:		StaticMove{		Displacement = (0.0, 0.2, 0.0);		}
				Case 3:		StaticMove{		Displacement = (0.0, 0.3, 0.0);		}
				Case 4:		StaticMove{		Displacement = (0.0, 0.4, 0.0);		}
				Case 5:		StaticMove{		Displacement = (0.0, 0.5, 0.0);		}
				Case 6:		StaticMove{		Displacement = (0.0, 0.6, 0.0);		}
				Case 7:		StaticMove{		Displacement = (0.0, 0.7, 0.0);		}
				Case 8:		StaticMove{		Displacement = (0.0, 0.8, 0.0);		}
				Case 9:		StaticMove{		Displacement = (0.0, 0.9, 0.0);		}
			}
			ApplySwitch "丂Y幉埵抲(**.*仩)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.01, 0.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, 0.02, 0.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, 0.03, 0.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, 0.04, 0.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, 0.05, 0.0);	}
				Case 6:		StaticMove{		Displacement = (0.0, 0.06, 0.0);	}
				Case 7:		StaticMove{		Displacement = (0.0, 0.07, 0.0);	}
				Case 8:		StaticMove{		Displacement = (0.0, 0.08, 0.0);	}
				Case 9:		StaticMove{		Displacement = (0.0, 0.09, 0.0);	}
			}
			Case 1://(-)
			ApplySwitch "丂Y幉埵抲(仩*.**)"{
				Case 1:		StaticMove{		Displacement = (0.0, -10.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, -20.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, -30.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, -40.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, -50.0, 0.0);	}
			}
			ApplySwitch "丂Y幉埵抲(*仩.**)"{
				Case 1:		StaticMove{		Displacement = (0.0, -1.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, -2.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, -3.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, -4.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, -5.0, 0.0);	}
				Case 6:		StaticMove{		Displacement = (0.0, -6.0, 0.0);	}
				Case 7:		StaticMove{		Displacement = (0.0, -7.0, 0.0);	}
				Case 8:		StaticMove{		Displacement = (0.0, -8.0, 0.0);	}
				Case 9:		StaticMove{		Displacement = (0.0, -9.0, 0.0);	}
			}
			ApplySwitch "丂Y幉埵抲(**.仩*)"{
				Case 1:		StaticMove{		Displacement = (0.0, -0.1, 0.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, -0.2, 0.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, -0.3, 0.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, -0.4, 0.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, -0.5, 0.0);	}
				Case 6:		StaticMove{		Displacement = (0.0, -0.6, 0.0);	}
				Case 7:		StaticMove{		Displacement = (0.0, -0.7, 0.0);	}
				Case 8:		StaticMove{		Displacement = (0.0, -0.8, 0.0);	}
				Case 9:		StaticMove{		Displacement = (0.0, -0.9, 0.0);	}
			}
			ApplySwitch "丂Y幉埵抲(**.*仩)"{
				Case 1:		StaticMove{		Displacement = (0.0, -0.01, 0.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, -0.02, 0.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, -0.03, 0.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, -0.04, 0.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, -0.05, 0.0);	}
				Case 6:		StaticMove{		Displacement = (0.0, -0.06, 0.0);	}
				Case 7:		StaticMove{		Displacement = (0.0, -0.07, 0.0);	}
				Case 8:		StaticMove{		Displacement = (0.0, -0.08, 0.0);	}
				Case 9:		StaticMove{		Displacement = (0.0, -0.09, 0.0);	}
			}
		}

//////////////////////
//-	X幉埵抲
//////////////////////
		ApplySwitch "丂X幉埵抲(亇)"{
			Case 0://(+)
			ApplySwitch "丂X幉埵抲(仩*.**)"{
				Case 1:		StaticMove{		Displacement = (10.0, 0.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (20.0, 0.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (30.0, 0.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (40.0, 0.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (50.0, 0.0, 0.0);	}
			}
			ApplySwitch "丂X幉埵抲(*仩.**)"{
				Case 1:		StaticMove{		Displacement = (1.0, 0.0, 0.0);		}
				Case 2:		StaticMove{		Displacement = (2.0, 0.0, 0.0);		}
				Case 3:		StaticMove{		Displacement = (3.0, 0.0, 0.0);		}
				Case 4:		StaticMove{		Displacement = (4.0, 0.0, 0.0);		}
				Case 5:		StaticMove{		Displacement = (5.0, 0.0, 0.0);		}
				Case 6:		StaticMove{		Displacement = (6.0, 0.0, 0.0);		}
				Case 7:		StaticMove{		Displacement = (7.0, 0.0, 0.0);		}
				Case 8:		StaticMove{		Displacement = (8.0, 0.0, 0.0);		}
				Case 9:		StaticMove{		Displacement = (9.0, 0.0, 0.0);		}
			}
			ApplySwitch "丂X幉埵抲(**.仩*)"{
				Case 1:		StaticMove{		Displacement = (0.1, 0.0, 0.0);		}
				Case 2:		StaticMove{		Displacement = (0.2, 0.0, 0.0);		}
				Case 3:		StaticMove{		Displacement = (0.3, 0.0, 0.0);		}
				Case 4:		StaticMove{		Displacement = (0.4, 0.0, 0.0);		}
				Case 5:		StaticMove{		Displacement = (0.5, 0.0, 0.0);		}
				Case 6:		StaticMove{		Displacement = (0.6, 0.0, 0.0);		}
				Case 7:		StaticMove{		Displacement = (0.7, 0.0, 0.0);		}
				Case 8:		StaticMove{		Displacement = (0.8, 0.0, 0.0);		}
				Case 9:		StaticMove{		Displacement = (0.9, 0.0, 0.0);		}
			}
			ApplySwitch "丂X幉埵抲(**.*仩)"{
				Case 1:		StaticMove{		Displacement = (0.01, 0.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (0.02, 0.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (0.03, 0.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (0.04, 0.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (0.05, 0.0, 0.0);	}
				Case 6:		StaticMove{		Displacement = (0.06, 0.0, 0.0);	}
				Case 7:		StaticMove{		Displacement = (0.07, 0.0, 0.0);	}
				Case 8:		StaticMove{		Displacement = (0.08, 0.0, 0.0);	}
				Case 9:		StaticMove{		Displacement = (0.09, 0.0, 0.0);	}
			}
			Case 1://(-)
			ApplySwitch "丂X幉埵抲(仩*.**)"{
				Case 1:		StaticMove{		Displacement = (-10.0, 0.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (-20.0, 0.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (-30.0, 0.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (-40.0, 0.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (-50.0, 0.0, 0.0);	}
			}
			ApplySwitch "丂X幉埵抲(*仩.**)"{
				Case 1:		StaticMove{		Displacement = (-1.0, 0.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (-2.0, 0.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (-3.0, 0.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (-4.0, 0.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (-5.0, 0.0, 0.0);	}
				Case 6:		StaticMove{		Displacement = (-6.0, 0.0, 0.0);	}
				Case 7:		StaticMove{		Displacement = (-7.0, 0.0, 0.0);	}
				Case 8:		StaticMove{		Displacement = (-8.0, 0.0, 0.0);	}
				Case 9:		StaticMove{		Displacement = (-9.0, 0.0, 0.0);	}
			}
			ApplySwitch "丂X幉埵抲(**.仩*)"{
				Case 1:		StaticMove{		Displacement = (-0.1, 0.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (-0.2, 0.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (-0.3, 0.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (-0.4, 0.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (-0.5, 0.0, 0.0);	}
				Case 6:		StaticMove{		Displacement = (-0.6, 0.0, 0.0);	}
				Case 7:		StaticMove{		Displacement = (-0.7, 0.0, 0.0);	}
				Case 8:		StaticMove{		Displacement = (-0.8, 0.0, 0.0);	}
				Case 9:		StaticMove{		Displacement = (-0.9, 0.0, 0.0);	}
			}
			ApplySwitch "丂X幉埵抲(**.*仩)"{
				Case 1:		StaticMove{		Displacement = (-0.01, 0.0, 0.0);	}
				Case 2:		StaticMove{		Displacement = (-0.02, 0.0, 0.0);	}
				Case 3:		StaticMove{		Displacement = (-0.03, 0.0, 0.0);	}
				Case 4:		StaticMove{		Displacement = (-0.04, 0.0, 0.0);	}
				Case 5:		StaticMove{		Displacement = (-0.05, 0.0, 0.0);	}
				Case 6:		StaticMove{		Displacement = (-0.06, 0.0, 0.0);	}
				Case 7:		StaticMove{		Displacement = (-0.07, 0.0, 0.0);	}
				Case 8:		StaticMove{		Displacement = (-0.08, 0.0, 0.0);	}
				Case 9:		StaticMove{		Displacement = (-0.09, 0.0, 0.0);	}
			}
		}

//////////////////////
//-	Z幉埵抲
//////////////////////
		ApplySwitch "丂Z幉埵抲(亇)"{
			Case 0://(+)
			ApplySwitch "丂Z幉埵抲(仩*.**)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.0, 10.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, 0.0, 20.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, 0.0, 30.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, 0.0, 40.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, 0.0, 50.0);	}
			}
			ApplySwitch "丂Z幉埵抲(*仩.**)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.0, 1.0);		}
				Case 2:		StaticMove{		Displacement = (0.0, 0.0, 2.0);		}
				Case 3:		StaticMove{		Displacement = (0.0, 0.0, 3.0);		}
				Case 4:		StaticMove{		Displacement = (0.0, 0.0, 4.0);		}
				Case 5:		StaticMove{		Displacement = (0.0, 0.0, 5.0);		}
				Case 6:		StaticMove{		Displacement = (0.0, 0.0, 6.0);		}
				Case 7:		StaticMove{		Displacement = (0.0, 0.0, 7.0);		}
				Case 8:		StaticMove{		Displacement = (0.0, 0.0, 8.0);		}
				Case 9:		StaticMove{		Displacement = (0.0, 0.0, 9.0);		}
			}
			ApplySwitch "丂Z幉埵抲(**.仩*)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.0, 0.1);		}
				Case 2:		StaticMove{		Displacement = (0.0, 0.0, 0.2);		}
				Case 3:		StaticMove{		Displacement = (0.0, 0.0, 0.3);		}
				Case 4:		StaticMove{		Displacement = (0.0, 0.0, 0.4);		}
				Case 5:		StaticMove{		Displacement = (0.0, 0.0, 0.5);		}
				Case 6:		StaticMove{		Displacement = (0.0, 0.0, 0.6);		}
				Case 7:		StaticMove{		Displacement = (0.0, 0.0, 0.7);		}
				Case 8:		StaticMove{		Displacement = (0.0, 0.0, 0.8);		}
				Case 9:		StaticMove{		Displacement = (0.0, 0.0, 0.9);		}
			}
			ApplySwitch "丂Z幉埵抲(**.*仩)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.0, 0.01);	}
				Case 2:		StaticMove{		Displacement = (0.0, 0.0, 0.02);	}
				Case 3:		StaticMove{		Displacement = (0.0, 0.0, 0.03);	}
				Case 4:		StaticMove{		Displacement = (0.0, 0.0, 0.04);	}
				Case 5:		StaticMove{		Displacement = (0.0, 0.0, 0.05);	}
				Case 6:		StaticMove{		Displacement = (0.0, 0.0, 0.06);	}
				Case 7:		StaticMove{		Displacement = (0.0, 0.0, 0.07);	}
				Case 8:		StaticMove{		Displacement = (0.0, 0.0, 0.08);	}
				Case 9:		StaticMove{		Displacement = (0.0, 0.0, 0.09);	}
			}
			Case 1://(-)
			ApplySwitch "丂Z幉埵抲(仩*.**)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.0, -10.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, 0.0, -20.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, 0.0, -30.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, 0.0, -40.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, 0.0, -50.0);	}
			}
			ApplySwitch "丂Z幉埵抲(*仩.**)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.0, -1.0);	}
				Case 2:		StaticMove{		Displacement = (0.0, 0.0, -2.0);	}
				Case 3:		StaticMove{		Displacement = (0.0, 0.0, -3.0);	}
				Case 4:		StaticMove{		Displacement = (0.0, 0.0, -4.0);	}
				Case 5:		StaticMove{		Displacement = (0.0, 0.0, -5.0);	}
				Case 6:		StaticMove{		Displacement = (0.0, 0.0, -6.0);	}
				Case 7:		StaticMove{		Displacement = (0.0, 0.0, -7.0);	}
				Case 8:		StaticMove{		Displacement = (0.0, 0.0, -8.0);	}
				Case 9:		StaticMove{		Displacement = (0.0, 0.0, -9.0);	}
			}
			ApplySwitch "丂Z幉埵抲(**.仩*)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.0, -0.1);	}
				Case 2:		StaticMove{		Displacement = (0.0, 0.0, -0.2);	}
				Case 3:		StaticMove{		Displacement = (0.0, 0.0, -0.3);	}
				Case 4:		StaticMove{		Displacement = (0.0, 0.0, -0.4);	}
				Case 5:		StaticMove{		Displacement = (0.0, 0.0, -0.5);	}
				Case 6:		StaticMove{		Displacement = (0.0, 0.0, -0.6);	}
				Case 7:		StaticMove{		Displacement = (0.0, 0.0, -0.7);	}
				Case 8:		StaticMove{		Displacement = (0.0, 0.0, -0.8);	}
				Case 9:		StaticMove{		Displacement = (0.0, 0.0, -0.9);	}
			}
			ApplySwitch "丂Z幉埵抲(**.*仩)"{
				Case 1:		StaticMove{		Displacement = (0.0, 0.0, -0.01);	}
				Case 2:		StaticMove{		Displacement = (0.0, 0.0, -0.02);	}
				Case 3:		StaticMove{		Displacement = (0.0, 0.0, -0.03);	}
				Case 4:		StaticMove{		Displacement = (0.0, 0.0, -0.04);	}
				Case 5:		StaticMove{		Displacement = (0.0, 0.0, -0.05);	}
				Case 6:		StaticMove{		Displacement = (0.0, 0.0, -0.06);	}
				Case 7:		StaticMove{		Displacement = (0.0, 0.0, -0.07);	}
				Case 8:		StaticMove{		Displacement = (0.0, 0.0, -0.08);	}
				Case 9:		StaticMove{		Displacement = (0.0, 0.0, -0.09);	}
			}
		}

//////////////////////
//-	Y幉夞揮
//////////////////////
		ApplySwitch "丂Y幉夞揮(亇)"{
			Case 0://(+)
			ApplySwitch "丂Y幉夞揮(仩*.**)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 10.0;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 20.0;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 30.0;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 40.0;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 50.0;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 60.0;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 70.0;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 80.0;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 90.0;	}
			}
			ApplySwitch "丂Y幉夞揮(*仩.**)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 1.0;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 2.0;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 3.0;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 4.0;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 5.0;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 6.0;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 7.0;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 8.0;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 9.0;	}
			}
			ApplySwitch "丂Y幉夞揮(**.仩*)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.1;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.2;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.3;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.4;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.5;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.6;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.7;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.8;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.9;	}
			}
			ApplySwitch "丂Y幉夞揮(**.*仩)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.01;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.02;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.03;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.04;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.05;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.06;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.07;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.08;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 1.0, 0.0);		RotationAngle = 0.09;	}
			}
			Case 1://(-)
			ApplySwitch "丂Y幉夞揮(仩*.**)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 10.0;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 20.0;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 30.0;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 40.0;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 50.0;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 60.0;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 70.0;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 80.0;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 90.0;	}
			}
			ApplySwitch "丂Y幉夞揮(*仩.**)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 1.0;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 2.0;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 3.0;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 4.0;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 5.0;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 6.0;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 7.0;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 8.0;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 9.0;	}
			}
			ApplySwitch "丂Y幉夞揮(**.仩*)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.1;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.2;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.3;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.4;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.5;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.6;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.7;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.8;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.9;	}
			}
			ApplySwitch "丂Y幉夞揮(**.*仩)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.01;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.02;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.03;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.04;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.05;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.06;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.07;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.08;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, -1.0, 0.0);		RotationAngle = 0.09;	}
			}
		}

//////////////////////
//-	X幉孹偒
//////////////////////
		ApplySwitch "丂X幉孹偒(亇)"{
			Case 0://(+)
			ApplySwitch "丂X幉孹偒(仩*.**)"{
				Case 1:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 10.0;	}
				Case 2:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 20.0;	}
				Case 3:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 30.0;	}
				Case 4:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 40.0;	}
			}
			ApplySwitch "丂X幉孹偒(*仩.**)"{
				Case 1:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 1.0;	}
				Case 2:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 2.0;	}
				Case 3:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 3.0;	}
				Case 4:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 4.0;	}
				Case 5:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 5.0;	}
				Case 6:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 6.0;	}
				Case 7:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 7.0;	}
				Case 8:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 8.0;	}
				Case 9:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 9.0;	}
			}
			ApplySwitch "丂X幉孹偒(**.仩*)"{
				Case 1:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.1;	}
				Case 2:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.2;	}
				Case 3:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.3;	}
				Case 4:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.4;	}
				Case 5:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.5;	}
				Case 6:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.6;	}
				Case 7:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.7;	}
				Case 8:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.8;	}
				Case 9:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.9;	}
			}
			ApplySwitch "丂X幉孹偒(**.*仩)"{
				Case 1:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.01;	}
				Case 2:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.02;	}
				Case 3:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.03;	}
				Case 4:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.04;	}
				Case 5:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.05;	}
				Case 6:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.06;	}
				Case 7:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.07;	}
				Case 8:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.08;	}
				Case 9:		StaticRotation{		RotationAxis = (1.0, 0.0, 0.0);		RotationAngle = 0.09;	}
			}
			Case 1://(-)
			ApplySwitch "丂X幉孹偒(仩*.**)"{
				Case 1:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 10.0;	}
				Case 2:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 20.0;	}
				Case 3:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 30.0;	}
				Case 4:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 40.0;	}
			}
			ApplySwitch "丂X幉孹偒(*仩.**)"{
				Case 1:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 1.0;	}
				Case 2:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 2.0;	}
				Case 3:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 3.0;	}
				Case 4:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 4.0;	}
				Case 5:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 5.0;	}
				Case 6:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 6.0;	}
				Case 7:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 7.0;	}
				Case 8:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 8.0;	}
				Case 9:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 9.0;	}
			}
			ApplySwitch "丂X幉孹偒(**.仩*)"{
				Case 1:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.1;	}
				Case 2:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.2;	}
				Case 3:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.3;	}
				Case 4:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.4;	}
				Case 5:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.5;	}
				Case 6:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.6;	}
				Case 7:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.7;	}
				Case 8:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.8;	}
				Case 9:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.9;	}
			}
			ApplySwitch "丂X幉孹偒(**.*仩)"{
				Case 1:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.01;	}
				Case 2:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.02;	}
				Case 3:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.03;	}
				Case 4:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.04;	}
				Case 5:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.05;	}
				Case 6:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.06;	}
				Case 7:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.07;	}
				Case 8:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.08;	}
				Case 9:		StaticRotation{		RotationAxis = (-1.0, 0.0, 0.0);		RotationAngle = 0.09;	}
			}
		}

//////////////////////
//-	Z幉孹偒
//////////////////////
		ApplySwitch "丂Z幉孹偒(亇)"{
			Case 0://(+)
			ApplySwitch "丂Z幉孹偒(仩*.**)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 10.0;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 20.0;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 30.0;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 40.0;	}
			}
			ApplySwitch "丂Z幉孹偒(*仩.**)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 1.0;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 2.0;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 3.0;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 4.0;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 5.0;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 6.0;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 7.0;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 8.0;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 9.0;	}
			}
			ApplySwitch "丂Z幉孹偒(**.仩*)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.1;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.2;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.3;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.4;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.5;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.6;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.7;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.8;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.9;	}
			}
			ApplySwitch "丂Z幉孹偒(**.*仩)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.01;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.02;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.03;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.04;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.05;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.06;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.07;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.08;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 0.09;	}
			}
			Case 1://(-)
			ApplySwitch "丂Z幉孹偒(仩*.**)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 10.0;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 20.0;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 30.0;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 40.0;	}
			}
			ApplySwitch "丂Z幉孹偒(*仩.**)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 1.0;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 2.0;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 3.0;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 4.0;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 5.0;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 6.0;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 7.0;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 8.0;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 9.0;	}
			}
			ApplySwitch "丂Z幉孹偒(**.仩*)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.1;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.2;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.3;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.4;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.5;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.6;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.7;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.8;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.9;	}
			}
			ApplySwitch "丂Z幉孹偒(**.*仩)"{
				Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.01;	}
				Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.02;	}
				Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.03;	}
				Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.04;	}
				Case 5:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.05;	}
				Case 6:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.06;	}
				Case 7:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.07;	}
				Case 8:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.08;	}
				Case 9:		StaticRotation{		RotationAxis = (0.0, 0.0, -1.0);		RotationAngle = 0.09;	}
			}
		}

//***************************************************************************************************************
//
//-		埵抲挷愡峔暥偙偙傑偱
//
//***************************************************************************************************************

		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

//////////////////////
//-	Main
//////////////////////
	Object3D "Main"{
		ModelFileName = "";	ModelScale = 100.0;
		ApplySwitch "儌僨儖"{
		Case 0:		If "_CAMDIST"<81{					ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_EndL_2m.x", 100.0;	}
					If "_CAMDIST">80 & "_CAMDIST"<601 {	ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_EndL_2m@LOD.x", 100.0;	}
					If "_CAMDIST">600{					ChangeModel = "", 100.0;	}
		Case 1:		If "_CAMDIST"<81{					ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_EndR_2m.x", 100.0;	}
					If "_CAMDIST">80 & "_CAMDIST"<601 {	ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_EndR_2m@LOD.x", 100.0;	}
					If "_CAMDIST">600{					ChangeModel = "", 100.0;	}
		Case 2:		If "_CAMDIST"<81{					ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Main_4m.x", 100.0;	}
					If "_CAMDIST">80 & "_CAMDIST"<601 {	ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Main_4m@LOD.x", 100.0;	}
					If "_CAMDIST">600{					ChangeModel = "", 100.0;	}
		Case 3:		If "_CAMDIST"<81{					ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Main_8m.x", 100.0;	}
					If "_CAMDIST">80 & "_CAMDIST"<601 {	ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Main_8m@LOD.x", 100.0;	}
					If "_CAMDIST">600{					ChangeModel = "", 100.0;	}
		Case 4:		If "_CAMDIST"<81{					ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Main_12m.x", 100.0;	}
					If "_CAMDIST">80 & "_CAMDIST"<601 {	ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Main_12m@LOD.x", 100.0;	}
					If "_CAMDIST">600{					ChangeModel = "", 100.0;	}
		Case 5:		If "_CAMDIST"<81{					ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Main_16m.x", 100.0;	}
					If "_CAMDIST">80 & "_CAMDIST"<601 {	ChangeModel = "../../Struct/nya_Road-Ver1_cm/GuardRail/GR_Main_16m@LOD.x", 100.0;	}
					If "_CAMDIST">600{					ChangeModel = "", 100.0;	}	
		}
		ApplySwitch "僇儔乕儕儞僌"{
		Case 0://敀怓
			ChangeMaterial{
				MaterialID = 0,1,2,3;
				Diffuse = 1.00, 1.00, 1.00, 1.0;
				Ambient = 1.00, 1.00, 1.00;
			}
		Case 1://拑怓
			ChangeMaterial{
				MaterialID = 0,1,2,3;
				Diffuse = 0.25, 0.21, 0.18, 1.0;
				Ambient = 0.25, 0.21, 0.18;
			}
		Case 2://墿怓
			ChangeMaterial{
				MaterialID = 0,1,2,3;
				Diffuse = 0.75, 0.52, 0.06, 1.0;
				Ambient = 0.75, 0.52, 0.06;
			}
		Case 3://烌怓
			ChangeMaterial{
				MaterialID = 0,1,2,3;
				Diffuse = 0.63, 0.23, 0.07, 1.0;
				Ambient = 0.63, 0.23, 0.07;
			}
		Case 4://奃怓
			ChangeMaterial{
				MaterialID = 0,1,2,3;
				Diffuse = 0.50, 0.50, 0.50, 1.0;
				Ambient = 0.50, 0.50, 0.50;
			}
		Case 5://崟怓
			ChangeMaterial{
				MaterialID = 0,1,2,3;
				Diffuse = 0.10, 0.10, 0.10, 1.0;
				Ambient = 0.10, 0.10, 0.10;
			}
		}
		Joint3D "Base"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}


//=============================================================================
//-	亂儊儌亃
//		丒帇揰偐傜80m埲忋600m埲撪偺応崌丄LOD儌僨儖傊丅
//		丒帇揰偐傜600m埲忋棧傟偨応崌旕昞帵偵丅
//		丒僥僋僗僠儍偼尦僼傽僀儖偐傜50%弅彫偟偨忋偱DDS(DXT1)偱曐懚丅
//		丒"//-"偼傾僂僩儔僀儞梡丅
//
//=============================================================================
