/*------------------------------------------------------*
 *	RailSim II Plugin				*
 *	Copyright (c) 2012 DegitalEarth    		*
 *	URL:http://www.usamimi.info/~wataw/		*
 *							*
 *	JR東日本キハ113形200番台			*
 *							*
 *					Ver1.0		*
 *							*
 *------------------------------------------------------*/


PluginHeader{
	RailSimVersion = 2.10;
	PluginType = Train;
	PluginName = "JR東日本キハ113形200番台(架空)";
	PluginAuthor = "NyahoTaro";
	IconTexture = "../nya_kiha110/icon.png";
	IconRect = 0.0, 0.5, 1.0, 0.5;
	Description = "";
	Description = "このプラグインは2次車以降のタイプをモデルとしており、1次車と2次車以降の車体長違いは再現しておりません。";
	Description = "所属、定員表記等はできる限り実際と同じように作っておりますが、資料不足のため実際と異なる場合がございます。";

}

TrainInfo{
	FrontLimit = 10.25;
	TailLimit = -10.25;
	MaxVelocity = 100.0;
	MaxAcceleration = 2.5;//2.5
	MaxDeceleration = 3.5;//3.5
	DoorClosingTime = 10.0;//開:2.9 閉:5.5
}

DefineSwitch "===【基本設定】==="{}
DefineSwitch "機関"{
	GroupCommon = "rs2c085";
	Entry = "停止";
	Entry = "運転";
}
DefineSwitch "ドア"{	
	GroupCommon = "rs2c087";
	Entry = "自動";
	Entry = "右開";
	Entry = "左開";
	Entry = "締切";
}
DefineSwitch "ワンマンドア切換"{
	GroupCommon = "nya_oneman-door-sw";
	Entry = "全車";
	Entry = "自車";
}
DefineSwitch "前面方向幕(前進時)"{
	GroupCommon = "dc-110_前面方向幕@前進";
	Entry = "----";				//0
	Entry = "白幕";
	Entry = "ワンマン";
	Entry = "ﾜﾝﾏﾝ普通";
	Entry = "ﾜﾝﾏﾝ快速";
	Entry = "普通【黒】";			//5
	Entry = "普通";
	Entry = "快速";
	Entry = "急行";
	Entry = "回送";
	Entry = "試運転";			//10
	Entry = "臨時";
	Entry = "団体";
	Entry = "特急 秋田リレー号";
	Entry = "特急";
	Entry = "快特";
	Entry = "黒幕";
}
DefineSwitch "前面方向幕(後進時)"{
	GroupCommon = "dc-110_前面方向幕@後進";
	Entry = "[前進スイッチに同じ]";
	Entry = "白幕";				//0
	Entry = "ワンマン";
	Entry = "ﾜﾝﾏﾝ普通";
	Entry = "ﾜﾝﾏﾝ快速";
	Entry = "普通【黒】";			//5
	Entry = "普通";
	Entry = "快速";
	Entry = "急行";
	Entry = "回送";
	Entry = "試運転";			//10
	Entry = "臨時";
	Entry = "団体";
	Entry = "特急 秋田リレー号";
	Entry = "特急";
	Entry = "快特";
	Entry = "黒幕";
}
DefineSwitch "側面方向幕(前進時)"{
	GroupCommon = "dc-110_側面方向幕@前進";
	Entry = "----";				//0
	Entry = "回送";
	Entry = "試運転";
	Entry = "臨時";
	Entry = "団体";
	Entry = "普通";				//5
	Entry = "快速";
	Entry = "白幕";
	Entry = "新潟";
	Entry = "【快速】新潟";
	Entry = "【ﾜﾝﾏﾝ快速】新潟";		//10
	Entry = "新津";
	Entry = "【ﾜﾝﾏﾝ快速】新津";
	Entry = "五泉";
	Entry = "馬下";
	Entry = "津川";				//15
	Entry = "野沢";
	Entry = "会津若松";
	Entry = "【快速】会津若松";
	Entry = "新発田";
	Entry = "【ﾜﾝﾏﾝ快速】五泉";		//20
	Entry = "【ﾜﾝﾏﾝ快速】馬下";
	Entry = "坂町";
	Entry = "村上";
	Entry = "鼠ヶ関";
	Entry = "鶴岡";				//25
	Entry = "酒田";
	Entry = "【快速】米沢";
	Entry = "小国";
	Entry = "羽前椿";
	Entry = "今泉";				//30
	Entry = "米沢";
	Entry = "【ﾜﾝﾏﾝ快速】鶴岡";			//2行
	Entry = "【ﾜﾝﾏﾝ快速】酒田";
	Entry = "【ﾜﾝﾏﾝ】新潟";
	Entry = "【ﾜﾝﾏﾝ】新津";			//35
	Entry = "【ﾜﾝﾏﾝ】五泉";
	Entry = "【ﾜﾝﾏﾝ】馬下";
	Entry = "【ﾜﾝﾏﾝ】新発田";
	Entry = "【ﾜﾝﾏﾝ】鶴岡";
	Entry = "【ﾜﾝﾏﾝ】酒田";			//40
	Entry = "【ﾜﾝﾏﾝ】坂町";
	Entry = "あつみ温泉";
	Entry = "【ﾜﾝﾏﾝ快速】米沢";
	Entry = "水原";
	Entry = "【ﾜﾝﾏﾝ】小国";			//45
	Entry = "【ﾜﾝﾏﾝ】羽前椿";
	Entry = "【ﾜﾝﾏﾝ】今泉";
	Entry = "【ﾜﾝﾏﾝ】米沢";
	Entry = "↓";
	Entry = "↓";				//50
	Entry = "↓";
	Entry = "【ﾜﾝﾏﾝ】長野";
	Entry = "【ﾜﾝﾏﾝ】豊野";
	Entry = "【ﾜﾝﾏﾝ】飯山";
	Entry = "【ﾜﾝﾏﾝ】戸狩野沢温泉";		//55
	Entry = "【ﾜﾝﾏﾝ】森宮野原";
	Entry = "【ﾜﾝﾏﾝ】十日町";
	Entry = "【ﾜﾝﾏﾝ】越後川口";
	Entry = "【ﾜﾝﾏﾝ】長岡";
	Entry = "長野";				//60
	Entry = "豊野";
	Entry = "飯山";
	Entry = "戸狩野沢温泉";
	Entry = "森宮野原";
	Entry = "十日町";			//65	3行
	Entry = "長岡";
	Entry = "上諏訪";
	Entry = "小淵沢";
	Entry = "清里";
	Entry = "野辺山";			//70
	Entry = "中込";
	Entry = "↓";
	Entry = "↓";
	Entry = "↓";
	Entry = "【特急ﾘﾚｰ号】秋田";		//75
	Entry = "【特急ﾘﾚｰ号】北上";
	Entry = "【特急ﾘﾚｰ号】大曲";
	Entry = "【特急ﾘﾚｰ号】横手";
	Entry = "【快速】秋田";
	Entry = "【快速】北上";			//80
	Entry = "【快速】大曲";
	Entry = "【快速】横手";
	Entry = "↓";
	Entry = "↓";
	Entry = "↓";				//85
	Entry = "酒田";
	Entry = "余目";
	Entry = "新庄";
	Entry = "鳴子温泉";
	Entry = "小牛田";			//90
	Entry = "古川";
	Entry = "最上";
	Entry = "堺田";
	Entry = "【ﾜﾝﾏﾝ】酒田";
	Entry = "【ﾜﾝﾏﾝ】余目";			//95
	Entry = "【ﾜﾝﾏﾝ】新庄";
	Entry = "【ﾜﾝﾏﾝ】鳴子温泉";			//4行
	Entry = "【ﾜﾝﾏﾝ】小牛田";
	Entry = "【ﾜﾝﾏﾝ】古川";
	Entry = "【ﾜﾝﾏﾝ】最上";			//100
	Entry = "【ﾜﾝﾏﾝ】堺田";
	Entry = "【快速】余目";
	Entry = "【快速】酒田";
	Entry = "【快速】新庄";
	Entry = "【快速】小牛田";		//105
	Entry = "【快速】鳴子温泉";
	Entry = "【ﾜﾝﾏﾝ快速】余目";
	Entry = "【ﾜﾝﾏﾝ快速】酒田";
	Entry = "【ﾜﾝﾏﾝ快速】新庄";
	Entry = "【ﾜﾝﾏﾝ快速】小牛田";		//110
	Entry = "【ﾜﾝﾏﾝ快速】鳴子温泉";
	Entry = "真室川";
	Entry = "【ﾜﾝﾏﾝ】真室川";
	Entry = "【快速】仙台";
	Entry = "【快速】最上";			//115
	Entry = "仙台";
	Entry = "↓";
	Entry = "↓";
	Entry = "↓";
	Entry = "高崎";				//120
	Entry = "児玉";
	Entry = "寄居";
	Entry = "小川町";
	Entry = "高麗川";
	Entry = "東飯能";			//125
	Entry = "拝島";
	Entry = "八王子";
	Entry = "【快速】高崎";
	Entry = "【快速】寄居";				//5行
	Entry = "【快速】小川町";		//130
	Entry = "【快速】高麗川";
	Entry = "【ﾜﾝﾏﾝ】高崎";
	Entry = "【ﾜﾝﾏﾝ】児玉";
	Entry = "【ﾜﾝﾏﾝ】寄居";
	Entry = "【ﾜﾝﾏﾝ】小川町";		//135
	Entry = "【ﾜﾝﾏﾝ】高麗川";
	Entry = "【ﾜﾝﾏﾝ快速】高崎";
	Entry = "【ﾜﾝﾏﾝ快速】寄居";
	Entry = "【ﾜﾝﾏﾝ快速】小川町";
	Entry = "【ﾜﾝﾏﾝ快速】高麗川";		//140
	Entry = "↓";
	Entry = "↓";
	Entry = "↓";
	Entry = "非表示【LED】";
	Entry = "回送【LED】";
	Entry = "試運転【LED】";
	Entry = "臨時【LED】";
	Entry = "団体【LED】";			//165
	Entry = "普通【LED】";
	Entry = "快速【LED】";
	Entry = "酒田【LED】";
	Entry = "余目【LED】";
	Entry = "新庄【LED】";			//170
	Entry = "鳴子温泉【LED】";
	Entry = "小牛田【LED】";
	Entry = "古川【LED】";
	Entry = "最上【LED】";
	Entry = "堺田【LED】";			//175
	Entry = "【ﾜﾝﾏﾝ】酒田【LED】";
	Entry = "【ﾜﾝﾏﾝ】余目【LED】";
	Entry = "【ﾜﾝﾏﾝ】新庄【LED】";			//6行
	Entry = "【ﾜﾝﾏﾝ】鳴子温泉【LED】";
	Entry = "【ﾜﾝﾏﾝ】小牛田【LED】";	//180
	Entry = "【ﾜﾝﾏﾝ】古川【LED】";
	Entry = "【ﾜﾝﾏﾝ】最上【LED】";
	Entry = "【ﾜﾝﾏﾝ】堺田【LED】";
	Entry = "【快速】余目【LED】";
	Entry = "【快速】酒田【LED】";		//185
	Entry = "【快速】新庄【LED】";
	Entry = "【快速】小牛田【LED】";
	Entry = "【快速】鳴子温泉【LED】";
	Entry = "【ﾜﾝﾏﾝ快速】余目【LED】";
	Entry = "【ﾜﾝﾏﾝ快速】酒田【LED】";	//190
	Entry = "【ﾜﾝﾏﾝ快速】新庄【LED】";
	Entry = "【ﾜﾝﾏﾝ快速】小牛田【LED】";
	Entry = "【ﾜﾝﾏﾝ快速】鳴子温泉【LED】";
	Entry = "真室川【LED】";
	Entry = "【ﾜﾝﾏﾝ】真室川【LED】";	//195
	Entry = "【快速】仙台【LED】";
	Entry = "【快速】最上【LED】";
	Entry = "仙台【LED】";
	Entry = "↓";
	Entry = "女川【LED】";			//200
	Entry = "石巻【LED】";
	Entry = "前谷地【LED】";
	Entry = "気仙沼【LED】";
	Entry = "【快速】気仙沼【LED】";
	Entry = "本吉【LED】";			//205
	Entry = "志津川【LED】";
	Entry = "【快速-南三陸】仙台【LED】";
	Entry = "【快速-南三陸】気仙沼【LED】";
	Entry = "【ﾜﾝﾏﾝ】気仙沼【LED】";
	Entry = "【ﾜﾝﾏﾝ】女川【LED】";		//210	7行
	Entry = "【ﾜﾝﾏﾝ】石巻【LED】";
	Entry = "【ﾜﾝﾏﾝ】前谷地【LED】";
	Entry = "【ﾜﾝﾏﾝ】志津川【LED】";
	Entry = "【ﾜﾝﾏﾝ】本吉【LED】";
	Entry = "柳津【LED】";			//215
	Entry = "【ﾜﾝﾏﾝ】柳津【LED】";
	Entry = "矢本【LED】";
	Entry = "渡波【LED】";
	Entry = "陸前小野【LED】";
	Entry = "【直通快速】仙台【LED】";	//220
	Entry = "【直通快速】石巻【LED】";
	Entry = "【ﾜﾝﾏﾝ】渡波【LED】";
	Entry = "【ﾜﾝﾏﾝ】陸前小野【LED】";
	Entry = "【快速】石巻【LED】";
	Entry = "【ﾜﾝﾏﾝ】矢本【LED】";		//225
	Entry = "陸前横山【LED】";
	Entry = "万石浦【LED】";
	Entry = "陸前戸倉【LED】";
	Entry = "浦宿【LED】";
	Entry = "【ﾜﾝﾏﾝ】陸前横山【LED】";	//230
	Entry = "【ﾜﾝﾏﾝ】万石浦【LED】";
	Entry = "【ﾜﾝﾏﾝ】陸前戸倉【LED】";
	Entry = "【ﾜﾝﾏﾝ】浦宿【LED】";
	Entry = "↓";
	Entry = "高崎【LED】";			//235
	Entry = "児玉【LED】";
	Entry = "寄居【LED】";
	Entry = "小川町【LED】";
	Entry = "高麗川【LED】";
	Entry = "東飯能【LED】";		//240
	Entry = "拝島【LED】";
	Entry = "八王子【LED】";			//8行
	Entry = "【ﾜﾝﾏﾝ】高崎【LED】";
	Entry = "【ﾜﾝﾏﾝ】児玉【LED】";
	Entry = "【ﾜﾝﾏﾝ】寄居【LED】";		//245
	Entry = "【ﾜﾝﾏﾝ】小川町【LED】";
	Entry = "【ﾜﾝﾏﾝ】高麗川【LED】";
}
DefineSwitch "側面方向幕(後進時)"{
	GroupCommon = "dc-110_側面方向幕@後進";
	Entry = "[前進スイッチに同じ]";
	Entry = "回送";
	Entry = "試運転";
	Entry = "臨時";
	Entry = "団体";
	Entry = "普通";				//5
	Entry = "快速";
	Entry = "白幕";
	Entry = "新潟";
	Entry = "【快速】新潟";
	Entry = "【ﾜﾝﾏﾝ快速】新潟";		//10
	Entry = "新津";
	Entry = "【ﾜﾝﾏﾝ快速】新津";
	Entry = "五泉";
	Entry = "馬下";
	Entry = "津川";				//15
	Entry = "野沢";
	Entry = "会津若松";
	Entry = "【快速】会津若松";
	Entry = "新発田";
	Entry = "【ﾜﾝﾏﾝ快速】五泉";		//20
	Entry = "【ﾜﾝﾏﾝ快速】馬下";
	Entry = "坂町";
	Entry = "村上";
	Entry = "鼠ヶ関";
	Entry = "鶴岡";				//25
	Entry = "酒田";
	Entry = "【快速】米沢";
	Entry = "小国";
	Entry = "羽前椿";
	Entry = "今泉";				//30
	Entry = "米沢";
	Entry = "【ﾜﾝﾏﾝ快速】鶴岡";			//2行
	Entry = "【ﾜﾝﾏﾝ快速】酒田";
	Entry = "【ﾜﾝﾏﾝ】新潟";
	Entry = "【ﾜﾝﾏﾝ】新津";			//35
	Entry = "【ﾜﾝﾏﾝ】五泉";
	Entry = "【ﾜﾝﾏﾝ】馬下";
	Entry = "【ﾜﾝﾏﾝ】新発田";
	Entry = "【ﾜﾝﾏﾝ】鶴岡";
	Entry = "【ﾜﾝﾏﾝ】酒田";			//40
	Entry = "【ﾜﾝﾏﾝ】坂町";
	Entry = "あつみ温泉";
	Entry = "【ﾜﾝﾏﾝ快速】米沢";
	Entry = "水原";
	Entry = "【ﾜﾝﾏﾝ】小国";			//45
	Entry = "【ﾜﾝﾏﾝ】羽前椿";
	Entry = "【ﾜﾝﾏﾝ】今泉";
	Entry = "【ﾜﾝﾏﾝ】米沢";
	Entry = "↓";
	Entry = "↓";				//50
	Entry = "↓";
	Entry = "【ﾜﾝﾏﾝ】長野";
	Entry = "【ﾜﾝﾏﾝ】豊野";
	Entry = "【ﾜﾝﾏﾝ】飯山";
	Entry = "【ﾜﾝﾏﾝ】戸狩野沢温泉";		//55
	Entry = "【ﾜﾝﾏﾝ】森宮野原";
	Entry = "【ﾜﾝﾏﾝ】十日町";
	Entry = "【ﾜﾝﾏﾝ】越後川口";
	Entry = "【ﾜﾝﾏﾝ】長岡";
	Entry = "長野";				//60
	Entry = "豊野";
	Entry = "飯山";
	Entry = "戸狩野沢温泉";
	Entry = "森宮野原";
	Entry = "十日町";			//65	3行
	Entry = "長岡";
	Entry = "上諏訪";
	Entry = "小淵沢";
	Entry = "清里";
	Entry = "野辺山";			//70
	Entry = "中込";
	Entry = "↓";
	Entry = "↓";
	Entry = "↓";
	Entry = "【特急ﾘﾚｰ号】秋田";		//75
	Entry = "【特急ﾘﾚｰ号】北上";
	Entry = "【特急ﾘﾚｰ号】大曲";
	Entry = "【特急ﾘﾚｰ号】横手";
	Entry = "【快速】秋田";
	Entry = "【快速】北上";			//80
	Entry = "【快速】大曲";
	Entry = "【快速】横手";
	Entry = "↓";
	Entry = "↓";
	Entry = "↓";				//85
	Entry = "酒田";
	Entry = "余目";
	Entry = "新庄";
	Entry = "鳴子温泉";
	Entry = "小牛田";			//90
	Entry = "古川";
	Entry = "最上";
	Entry = "堺田";
	Entry = "【ﾜﾝﾏﾝ】酒田";
	Entry = "【ﾜﾝﾏﾝ】余目";			//95
	Entry = "【ﾜﾝﾏﾝ】新庄";
	Entry = "【ﾜﾝﾏﾝ】鳴子温泉";			//4行
	Entry = "【ﾜﾝﾏﾝ】小牛田";
	Entry = "【ﾜﾝﾏﾝ】古川";
	Entry = "【ﾜﾝﾏﾝ】最上";			//100
	Entry = "【ﾜﾝﾏﾝ】堺田";
	Entry = "【快速】余目";
	Entry = "【快速】酒田";
	Entry = "【快速】新庄";
	Entry = "【快速】小牛田";		//105
	Entry = "【快速】鳴子温泉";
	Entry = "【ﾜﾝﾏﾝ快速】余目";
	Entry = "【ﾜﾝﾏﾝ快速】酒田";
	Entry = "【ﾜﾝﾏﾝ快速】新庄";
	Entry = "【ﾜﾝﾏﾝ快速】小牛田";		//110
	Entry = "【ﾜﾝﾏﾝ快速】鳴子温泉";
	Entry = "真室川";
	Entry = "【ﾜﾝﾏﾝ】真室川";
	Entry = "【快速】仙台";
	Entry = "【快速】最上";			//115
	Entry = "仙台";
	Entry = "↓";
	Entry = "↓";
	Entry = "↓";
	Entry = "高崎";				//120
	Entry = "児玉";
	Entry = "寄居";
	Entry = "小川町";
	Entry = "高麗川";
	Entry = "東飯能";			//125
	Entry = "拝島";
	Entry = "八王子";
	Entry = "【快速】高崎";
	Entry = "【快速】寄居";				//5行
	Entry = "【快速】小川町";		//130
	Entry = "【快速】高麗川";
	Entry = "【ﾜﾝﾏﾝ】高崎";
	Entry = "【ﾜﾝﾏﾝ】児玉";
	Entry = "【ﾜﾝﾏﾝ】寄居";
	Entry = "【ﾜﾝﾏﾝ】小川町";		//135
	Entry = "【ﾜﾝﾏﾝ】高麗川";
	Entry = "【ﾜﾝﾏﾝ快速】高崎";
	Entry = "【ﾜﾝﾏﾝ快速】寄居";
	Entry = "【ﾜﾝﾏﾝ快速】小川町";
	Entry = "【ﾜﾝﾏﾝ快速】高麗川";		//140
	Entry = "↓";
	Entry = "↓";
	Entry = "↓";
	Entry = "非表示【LED】";
	Entry = "回送【LED】";
	Entry = "試運転【LED】";
	Entry = "臨時【LED】";
	Entry = "団体【LED】";			//165
	Entry = "普通【LED】";
	Entry = "快速【LED】";
	Entry = "酒田【LED】";
	Entry = "余目【LED】";
	Entry = "新庄【LED】";			//170
	Entry = "鳴子温泉【LED】";
	Entry = "小牛田【LED】";
	Entry = "古川【LED】";
	Entry = "最上【LED】";
	Entry = "堺田【LED】";			//175
	Entry = "【ﾜﾝﾏﾝ】酒田【LED】";
	Entry = "【ﾜﾝﾏﾝ】余目【LED】";
	Entry = "【ﾜﾝﾏﾝ】新庄【LED】";			//6行
	Entry = "【ﾜﾝﾏﾝ】鳴子温泉【LED】";
	Entry = "【ﾜﾝﾏﾝ】小牛田【LED】";	//180
	Entry = "【ﾜﾝﾏﾝ】古川【LED】";
	Entry = "【ﾜﾝﾏﾝ】最上【LED】";
	Entry = "【ﾜﾝﾏﾝ】堺田【LED】";
	Entry = "【快速】余目【LED】";
	Entry = "【快速】酒田【LED】";		//185
	Entry = "【快速】新庄【LED】";
	Entry = "【快速】小牛田【LED】";
	Entry = "【快速】鳴子温泉【LED】";
	Entry = "【ﾜﾝﾏﾝ快速】余目【LED】";
	Entry = "【ﾜﾝﾏﾝ快速】酒田【LED】";	//190
	Entry = "【ﾜﾝﾏﾝ快速】新庄【LED】";
	Entry = "【ﾜﾝﾏﾝ快速】小牛田【LED】";
	Entry = "【ﾜﾝﾏﾝ快速】鳴子温泉【LED】";
	Entry = "真室川【LED】";
	Entry = "【ﾜﾝﾏﾝ】真室川【LED】";	//195
	Entry = "【快速】仙台【LED】";
	Entry = "【快速】最上【LED】";
	Entry = "仙台【LED】";
	Entry = "↓";
	Entry = "女川【LED】";			//200
	Entry = "石巻【LED】";
	Entry = "前谷地【LED】";
	Entry = "気仙沼【LED】";
	Entry = "【快速】気仙沼【LED】";
	Entry = "本吉【LED】";			//205
	Entry = "志津川【LED】";
	Entry = "【快速-南三陸】仙台【LED】";
	Entry = "【快速-南三陸】気仙沼【LED】";
	Entry = "【ﾜﾝﾏﾝ】気仙沼【LED】";
	Entry = "【ﾜﾝﾏﾝ】女川【LED】";		//210	7行
	Entry = "【ﾜﾝﾏﾝ】石巻【LED】";
	Entry = "【ﾜﾝﾏﾝ】前谷地【LED】";
	Entry = "【ﾜﾝﾏﾝ】志津川【LED】";
	Entry = "【ﾜﾝﾏﾝ】本吉【LED】";
	Entry = "柳津【LED】";			//215
	Entry = "【ﾜﾝﾏﾝ】柳津【LED】";
	Entry = "矢本【LED】";
	Entry = "渡波【LED】";
	Entry = "陸前小野【LED】";
	Entry = "【直通快速】仙台【LED】";	//220
	Entry = "【直通快速】石巻【LED】";
	Entry = "【ﾜﾝﾏﾝ】渡波【LED】";
	Entry = "【ﾜﾝﾏﾝ】陸前小野【LED】";
	Entry = "【快速】石巻【LED】";
	Entry = "【ﾜﾝﾏﾝ】矢本【LED】";		//225
	Entry = "陸前横山【LED】";
	Entry = "万石浦【LED】";
	Entry = "陸前戸倉【LED】";
	Entry = "浦宿【LED】";
	Entry = "【ﾜﾝﾏﾝ】陸前横山【LED】";	//230
	Entry = "【ﾜﾝﾏﾝ】万石浦【LED】";
	Entry = "【ﾜﾝﾏﾝ】陸前戸倉【LED】";
	Entry = "【ﾜﾝﾏﾝ】浦宿【LED】";
	Entry = "↓";
	Entry = "高崎【LED】";			//235
	Entry = "児玉【LED】";
	Entry = "寄居【LED】";
	Entry = "小川町【LED】";
	Entry = "高麗川【LED】";
	Entry = "東飯能【LED】";		//240
	Entry = "拝島【LED】";
	Entry = "八王子【LED】";			//8行
	Entry = "【ﾜﾝﾏﾝ】高崎【LED】";
	Entry = "【ﾜﾝﾏﾝ】児玉【LED】";
	Entry = "【ﾜﾝﾏﾝ】寄居【LED】";		//245
	Entry = "【ﾜﾝﾏﾝ】小川町【LED】";
	Entry = "【ﾜﾝﾏﾝ】高麗川【LED】";
}
DefineSwitch "ワイパー【運転席側】"{
	GroupCommon = "rs2c08B";
	Entry = "OFF";
	Entry = "LOW";
	Entry = "HI";
	Entry = "--インターバル機能【Beta】--";
	Entry = "INT(24H)";
	Entry = "INT(4H)";
	Entry = "INT(1H)";
	Entry = "INT(30M)";
	Entry = "";
	Entry = "※10秒間隔でワイパーが動作します。";
	Entry = "※ワイパーが初期位置でない場合、正しく動作しません。";
	Entry = "※括弧内の数値を時間軸スケール設定に合わせてください。";
	Entry = "※20分〜30秒には対応しておりません。";
}
DefineSwitch "ワイパー【助手席側】"{
	GroupCommon = "nya_Wip2";
	Entry = "OFF";
	Entry = "LOW";
	Entry = "HI";
	Entry = "--インターバル機能【Beta】--";
	Entry = "INT(24H)";
	Entry = "INT(4H)";
	Entry = "INT(1H)";
	Entry = "INT(30M)";
	Entry = "";
	Entry = "※10秒間隔でワイパーが動作します。";
	Entry = "※ワイパーが初期位置でない場合、正しく動作しません。";
	Entry = "※括弧内の数値を時間軸スケール設定に合わせてください。";
	Entry = "※20分〜30秒には対応しておりません。";
}
DefineSwitch "ライト"{
	GroupCommon = "rs2c080";
	Entry = "自動";
	Entry = "消灯";
	Entry = "入換";
}
DefineSwitch "室内灯"{
	GroupCommon = "rs2c081";
	Entry = "自動";
	Entry = "消灯";
	Entry = "点灯(25%)";
	Entry = "点灯(50%)";
	Entry = "点灯(75%)";
	Entry = "点灯(100%)";
}
DefineSwitch "ワンマンNFB"{	
	GroupCommon = "nya_oneman-nfb";
	Entry = "切";
	Entry = "入";
	Entry = "";
	Entry = "ワンマン運転の場合は必ず『入』にセットしてください。";
}
DefineSwitch "===【外観設定】==="{}
DefineSwitch "車両番号"{
	Entry = "ｷﾊ113-201【新ニツ】";				//0
	Entry = "ｷﾊ113-202【新ニツ】";
	Entry = "ｷﾊ113-203【新ニツ】";
	Entry = "ｷﾊ113-204【高タカ】";
	Entry = "ｷﾊ113-205【高タカ】";
	Entry = "ｷﾊ113-206【高タカ】";				//5
	Entry = "ｷﾊ113-207【高タカ】";
	Entry = "ｷﾊ113-208【高タカ】";
	Entry = "ｷﾊ113-209【高タカ】";
	Entry = "ｷﾊ113-210【長ナノ】";
	Entry = "ｷﾊ113-211【長ナノ】";				//10
	Entry = "ｷﾊ113-212【長ナノ】";
	Entry = "ｷﾊ113-213【仙ココ】【陸羽色】";
	Entry = "ｷﾊ113-214【仙ココ】【陸羽色】";
	Entry = "ｷﾊ113-215【仙ココ】【陸羽色】";
	Entry = "ｷﾊ113-216【仙ココ】【陸羽色】";			//15
	Entry = "ｷﾊ113-217【仙ココ】【陸羽色】";
	Entry = "ｷﾊ113-218【仙ココ】【陸羽色】";
	Entry = "ｷﾊ113-219【仙ココ】【陸羽色】";
	Entry = "ｷﾊ113-220【仙ココ】【陸羽色】";
	Entry = "ｷﾊ113-221【仙ココ】【陸羽色】";			//20
	Entry = "ｷﾊ113-301【秋アキ】【秋田リレー色】";
	Entry = "ｷﾊ113-302【秋アキ】【秋田リレー色】";
	Entry = "ｷﾊ113-303【秋アキ】【秋田リレー色】";
	Entry = "ｷﾊ113-200【試テス】";
}
DefineSwitch "塗装"{	
	Entry = "自動";
	Entry = "標準色";							//Skin01
	Entry = "標準色(トイレ妻面寄-長野車)";					//Skin01
	Entry = "陸羽色";							//Skin02
	Entry = "秋田リレー色";							//Skin03
	Entry = "赤鬼色(架空)";							//Skin04
	Entry = "国鉄(架空)色";							//Skin05
	Entry = "旧国鉄色(架空)";						//Skin06
	Entry = "タラコ色(架空)";						//Skin07
	Entry = "無塗装";							//Skin08
	Entry = "09";								//Skin09
	Entry = "10";								//Skin10
}
DefineSwitch "サボ1(HM)"{
	Entry = "自動";		//0
	Entry = "なし";
}
DefineSwitch "サボ2(号車)"{
	Entry = "なし";		//0
	Entry = "1号車";
	Entry = "2号車";
	Entry = "3号車";
	Entry = "4号車";
	Entry = "5号車";	//5
	Entry = "6号車";
	Entry = "7号車";
	Entry = "8号車";
	Entry = "9号車";
	Entry = "10号車";	//10
	Entry = "11号車";
	Entry = "12号車";
	Entry = "増";
	Entry = "増1";
	Entry = "増2";		//15
	Entry = "増3";
	Entry = "1";
	Entry = "2";
	Entry = "3";
	Entry = "4";		//20
	Entry = "5";
	Entry = "6";
	Entry = "1【指定席】";
	Entry = "2【指定席】";
	Entry = "3【指定席】";	//25	
	Entry = "4【指定席】";
	Entry = "5【指定席】";
	Entry = "6【指定席】";
//	Entry = "null";
}
DefineSwitch "サボ3"{
	Entry = "なし";		//0
	Entry = "01";
/*	Entry = "02";
	Entry = "03";
	Entry = "04";
	Entry = "05";		//5
	Entry = "06";
	Entry = "07";
	Entry = "08";
	Entry = "09";
	Entry = "10";		//10
	Entry = "11";
	Entry = "12";
	Entry = "13";	*/
}
DefineSwitch "電気連結器"{
	Entry = "自動";
	Entry = "標準タイプ";
	Entry = "三相タイプ";
}
DefineSwitch "連結器カバー"{
	GroupCommon = "nya@連結器カバー";
	Entry = "自動";
	Entry = "オン";
	Entry = "オフ";
}
DefineSwitch "窓テクスチャ"{
	GroupCommon = "dc-110_窓テクスチャ";
	Entry = "01";
	Entry = "02";
}
DefineSwitch "===【拡張設定】==="{}
DefineSwitch "車体動揺"{
	GroupCommon = "nya@車体動揺";
	Entry = "オン";
	Entry = "オフ";
}
DefineSwitch "動揺タイプ"{
	Entry = "A";
	Entry = "B";
	Entry = "";
	Entry = "キハ111+112のみの編成であれば特に設定する必要はありません。";
	Entry = "キハ110との混成編成の場合はA,B交互になるようセットしてください";
}
DefineSwitch "連結器の首振り(前位側)"{
	Entry = "オフ";
	Entry = "自動";
}
DefineSwitch "連結器の首振り(後位側)"{
	Entry = "オフ";
	Entry = "自動";
}
DefineSwitch "排煙"{
	GroupCommon = "nya@排煙";
	Entry = "オン";
	Entry = "オフ";
}
DefineSwitch "フレームレート"{
	GroupCommon = "nya@fps";
	Entry = "30fps";
	Entry = "60fps";
}
DefineSwitch "シャドウ"{
	GroupCommon = "rs2c00D";
	Entry = "オン";
	Entry = "オフ";
}
DefineSwitch "===【冬季設定】==="{}
DefineSwitch "冬エフェクト"{
	GroupCommon = "rs2c00A";
	Entry = "自動";
	Entry = "オフ";
	Entry = "オン";
}
DefineSwitch "雪付着テクスチャ"{
	GroupCommon = "nya_snowtex";
	Entry = "オン";
	Entry = "オフ";
}
DefineSwitch "雪煙"{
	GroupCommon = "nya_snowsmoke";
	Entry = "オン";
	Entry = "オフ";
}
DefineSwitch "===【サウンド設定】==="{}
DefineSwitch "サウンド"{
	GroupCommon = "rs2c00C";
	Entry = "切";
	Entry = "入";
}
DefineSwitch "警笛"{
	GroupCommon = "警笛";
	Entry = "鳴らさない";
	Entry = "鳴らす";
	Entry = "接近時に鳴らす【遠】";
	Entry = "接近時に鳴らす【中】";
	Entry = "接近時に鳴らす【近】";
}
DefineSwitch "-===【軽量化設定】==="{
	Entry = "プラグインの軽量化に関する設定です。";
}
DefineSwitch "フェードアウト"{
	GroupCommon = "_fadeout";
	Entry = "なし";
	Entry = "1000m";
	Entry = "800m";
	Entry = "600m";
}

DefineAnimation "MakuLED-218@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.750, 0.78125;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.18750;	}
DefineAnimation "MakuLED-219@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.750, 0.81250;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.21875;	}
DefineAnimation "MakuLED-220@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.750, 0.84375;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.25000;	}
DefineAnimation "MakuLED-221@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.750, 0.87500;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.28125;	}
DefineAnimation "MakuLED-222@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.750, 0.90625;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.31250;	}
DefineAnimation "MakuLED-223@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.750, 0.93750;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.34375;	}
DefineAnimation "MakuLED-224@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.750, 0.96875;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.37500;	}
DefineAnimation "MakuLED-225@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.00000;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.40625;	}
DefineAnimation "MakuLED-226@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.03125;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.43750;	}
DefineAnimation "MakuLED-227@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.06250;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.46875;	}
DefineAnimation "MakuLED-228@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.09375;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.50000;	}
DefineAnimation "MakuLED-229@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.12500;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.53125;	}
DefineAnimation "MakuLED-230@30"{	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.15625;	Frame = "../nya_kiha110/maku_s01.png", 120;	ShiftTexture = 0.875, 0.56250;	}
DefineAnimation "MakuLED-218@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.750, 0.78125;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.18750;	}
DefineAnimation "MakuLED-219@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.750, 0.81250;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.21875;	}
DefineAnimation "MakuLED-220@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.750, 0.84375;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.25000;	}
DefineAnimation "MakuLED-221@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.750, 0.87500;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.28125;	}
DefineAnimation "MakuLED-222@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.750, 0.90625;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.31250;	}
DefineAnimation "MakuLED-223@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.750, 0.93750;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.34375;	}
DefineAnimation "MakuLED-224@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.750, 0.96875;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.37500;	}
DefineAnimation "MakuLED-225@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.875, 0.00000;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.40625;	}
DefineAnimation "MakuLED-226@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.875, 0.03125;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.43750;	}
DefineAnimation "MakuLED-227@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.875, 0.06250;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.46875;	}
DefineAnimation "MakuLED-228@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.875, 0.09375;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.50000;	}
DefineAnimation "MakuLED-229@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.875, 0.12500;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.53125;	}
DefineAnimation "MakuLED-230@60"{	Frame = "../nya_kiha110/maku_s01.png", 480;	ShiftTexture = 0.875, 0.15625;	Frame = "../nya_kiha110/maku_s01.png", 240;	ShiftTexture = 0.875, 0.56250;	}

PrimaryAssembly{

//////////////////////////////
//
//	車輪
//
//////////////////////////////

	Axle "Wheel1-1"{
		ModelFileName = "../nya_kiha110/Wheel.x";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		EnvMap = 0;		AlphaZeroTest = 1;		NoCastShadow = 0, 1;
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 1, "../nya_kiha110/Wheel_Snow.png";
		}
		Diameter = 0.86;	Symmetric = 12;
		Coord = (7.95, 0.43);
	}

	Axle "Wheel1-2"{
		ModelFileName = "../nya_kiha110/Wheel.x";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		EnvMap = 0;		AlphaZeroTest = 1;		NoCastShadow = 0, 1;
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 1, "../nya_kiha110/Wheel_Snow.png";
		}
		Diameter = 0.86;	Symmetric = 12;
		Coord = (5.85, 0.43);
	}

	Axle "Wheel1-3"{
		ModelFileName = "../nya_kiha110/Wheel.x";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		EnvMap = 0;		AlphaZeroTest = 1;		NoCastShadow = 0, 1;
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 1, "../nya_kiha110/Wheel_Snow.png";
		}
		Diameter = 0.86;	Symmetric = 12;
		Coord = (-5.85, 0.43);
	}

	Axle "Wheel1-4"{
		ModelFileName = "../nya_kiha110/Wheel.x";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		EnvMap = 0;		AlphaZeroTest = 1;		NoCastShadow = 0, 1;
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 1, "../nya_kiha110/Wheel_Snow.png";
		}
		Diameter = 0.86;	Symmetric = 12;
		Coord = (-7.95, 0.43);
	}


//////////////////////////////
//
//	ダミー車輪
//
//////////////////////////////

	Axle "DummyWheelF_1" {
		ModelFileName = "";		ModelScale = 1.0;		Diameter = 0.2;
		Symmetric = 6;			Coord = (10.25, 0.1);		WheelSound = no;
	}
	Axle "DummyWheelF_2"{
		ModelFileName = "";		ModelScale = 1.0;		Diameter = 0.2;
		Symmetric = 6;			Coord = (10.24, 0.1);		WheelSound = no;
	}
	Axle "DummyWheelR_1"{
		ModelFileName = "";		ModelScale = 1.0;		Diameter = 0.2;
		Symmetric = 6;			Coord = (-10.24, 0.1);		WheelSound = no;
	}
	Axle "DummyWheelR_2"{
		ModelFileName = "";		ModelScale = 1.0;		Diameter = 0.2;
		Symmetric = 6;			Coord = (-10.25, 0.1);		WheelSound = no;
	}


//////////////////////////////
//
//	ダミー車輪組立
//
//////////////////////////////

	Body "DummyCoupler1"{
		ModelFileName = "";	ModelScale = 1.0;
		JointZY "DummyWheelF_1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (0.0, 0.1);
		}
		JointZY "DummyWheelF_2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-0.01, 0.1);
		}
	}

	Body "DummyCoupler2"{
		ModelFileName = "";	ModelScale = 1.0;	Turn = yes;
		JointZY "DummyWheelR_1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-0.01, 0.1);
		}
		JointZY "DummyWheelR_2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (0.0, 0.1);
		}
	}


//////////////////////////////
//
//	台車
//
//////////////////////////////

	Body "Bogie1-1"{
		ModelFileName = "../nya_kiha110/Truck1.x";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Truck_Snow.png";
		}
		JointZY "Wheel1-1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (1.05, 0.0);
		}
		JointZY "Wheel1-2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-1.05, 0.0);
		}
	}

	Body "Bogie1-2"{
		ModelFileName = "../nya_kiha110/Truck1.x";	ModelScale = 100.0;	Turn = yes;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Truck_Snow.png";
		}
		JointZY "Wheel1-3"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-1.05, 0.0);
		}
		JointZY "Wheel1-4"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (1.05, 0.0);
		}
	}


//////////////////////////////
//
//	ダミー車体
//
//////////////////////////////

	Body "DummyBody_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		JointZY "Bogie1-1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (6.9, 0.43);
		}
		JointZY "Bogie1-2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-6.9, 0.43);
		}
	}


//////////////////////////////
//
//	車体動揺@DC113
//
//////////////////////////////

	Object3D "DummyCircle_F_DC113"{
		ModelFileName = "";
		StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 90;
		}
		If "車体動揺" == 0 {
			If "動揺タイプ"==1{
				If "_VELOCITY" > 5{
					DynamicRotation{
						RotationAxis = (1.0, 0.0, 0.0);
						RotationSpeed = 0.25;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
				If "_VELOCITY" > 30{
					DynamicRotation{
						RotationAxis = (1.0, 0.0, 0.0);
						RotationSpeed = 0.2;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
				If "_VELOCITY" > 60{
					DynamicRotation{
						RotationAxis = (1.0, 0.0, 0.0);
						RotationSpeed = 0.1;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
			}
			If "動揺タイプ"==2{
				If "_VELOCITY" > 5{
					DynamicRotation{
						RotationAxis = (-1.0, 0.0, 0.0);
						RotationSpeed = 0.25;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
				If "_VELOCITY" > 30{
					DynamicRotation{
						RotationAxis = (-1.0, 0.0, 0.0);
						RotationSpeed = 0.2;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
				If "_VELOCITY" > 60{
					DynamicRotation{
						RotationAxis = (-1.0, 0.0, 0.0);
						RotationSpeed = 0.1;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
			}
		}
		Joint3D "DummyBody_DC113"{
			AttachCoord = (0.0, 0.0, 6.9);
		}
	}

	Object3D "DummyCircle_R_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 90;
		}
		If "車体動揺" == 0 {
			If "動揺タイプ"==1{
				If "_VELOCITY" > 5{
					DynamicRotation{
						RotationAxis = (1.0, 0.0, 0.0);
						RotationSpeed = 0.25;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
				If "_VELOCITY" > 30{
					DynamicRotation{
						RotationAxis = (1.0, 0.0, 0.0);
						RotationSpeed = 0.2;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
				If "_VELOCITY" > 60{
					DynamicRotation{
						RotationAxis = (1.0, 0.0, 0.0);
						RotationSpeed = 0.1;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
					StaticRotation{
						RotationAxis = (1.0, 0.0, 0.0);
						RotationAngle = -180;
						AnimationTime = 6.0;
					}
				}
			}
			If "動揺タイプ"==2{
				If "_VELOCITY" > 5{
					DynamicRotation{
						RotationAxis = (-1.0, 0.0, 0.0);
						RotationSpeed = 0.25;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
				If "_VELOCITY" > 30{
					DynamicRotation{
						RotationAxis = (-1.0, 0.0, 0.0);
						RotationSpeed = 0.2;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
				}
				If "_VELOCITY" > 60{
					DynamicRotation{
						RotationAxis = (-1.0, 0.0, 0.0);
						RotationSpeed = 0.1;
						Acceleration = 0.1;
						Deceleration = 0.02;
					}
					StaticRotation{
						RotationAxis = (1.0, 0.0, 0.0);
						RotationAngle = 180;
						AnimationTime = 6.0;
					}
				}
			}
		}
		Joint3D "DummyBody_DC113"{
			AttachCoord = (0.0, 0.0, -6.9);
		}
	}

	CrankZY{
		Link "DummyRod0_F_DC113"{
			ModelFileName = "";	ModelScale = 1.0;
			JointZYX "DummyCircle_F_DC113"{
				AttachX = 0.0;
				AttachCoord = (0.0, 0.01);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (-0.5, 0.0);
		}
		Slide "DummyRod1_F_DC113"{
			ModelFileName = "";	ModelScale = 1.0;
			JointZYX "DummyBody_DC113"{
				AttachX = 0.0;
				AttachCoord = (0.0, 1.1);
				LocalCoord = (0.0, 0.0);
			}
			Direction = (1.0, 0.0);
		}
	}

	CrankZY{
		Link "DummyRod0_R_DC113"{
			ModelFileName = "";		ModelScale = 1.0;
			JointZYX "DummyCircle_R_DC113"{
				AttachX = 0.0;
				AttachCoord = (0.0, 0.01);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (-0.5, 0.0);
		}
		Slide "DummyRod1_R_DC113"{
			ModelFileName = "";		ModelScale = 1.0;
			JointZYX "DummyBody_DC113"{
				AttachX = 0.0;
				AttachCoord = (0.0, 1.1);
				LocalCoord = (0.0, 0.0);
			}
			Direction = (1.0, 0.0);
		}
	}

	ObjectZY "DummyMain_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		FixPosition = 0.0;
		FixRight = 0.0;
		JointZYX "DummyRod0_F_DC113"{
			AttachX = 0.0;
			AttachCoord = (0.0, 0.0);
			LocalCoord = (6.9, 0.0);
		}
		JointZYX "DummyRod0_R_DC113"{
			AttachX = 0.0;
			AttachCoord = (-0.0, 0.0);
			LocalCoord = (-6.9, 0.0);
		}
	}


//////////////////////////////
//
//	電装@DC113
//
//////////////////////////////

	Object3D "Elc_DC113"{
		ModelFileName = "../nya_kiha110/Elc_DC113_01.x";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ApplySwitch "塗装"{
		Case 0:
			If "車両番号" >11 & "車両番号" <21 {	//陸羽色
				ChangeModel = "../nya_kiha110/Elc_DC113_02.x", 100.0;
			}
		Case 3:		ChangeModel = "../nya_kiha110/Elc_DC113_02.x", 100.0;	//陸羽色
		}
		If "機関"==1 {
			ApplySwitch "ライト"{
			Case 0,2:
				If ("_FRONT"==0 && "_CONNECT1"==0) {
					ShiftTexture = 0, 0.5, 0.0;	ChangeMaterial{	MaterialID = 0;		Emissive = 0.6, 0.6, 0.6;	}
				}
				If ("_FRONT"==1 && "_CONNECT2"==0) {
					ShiftTexture = 1, 0.5, 0.0;	ChangeMaterial{	MaterialID = 1;		Emissive = 0.6, 0.6, 0.6;	}
				}
				If ("_FRONT"==1 && "_CONNECT1"==0) {
					ShiftTexture = 2, 0.5, 0.0;	ChangeMaterial{	MaterialID = 2;		Emissive = 1.0, 1.0, 1.0;	}
				}
				If ("_FRONT"==0 && "_CONNECT2"==0) {
					ShiftTexture = 3, 0.5, 0.0;	ChangeMaterial{	MaterialID = 3;		Emissive = 1.0, 1.0, 1.0;	}
				}
			Case 2:
				If ("_FRONT"==0 && "_CONNECT1"==0) {
					ShiftTexture = 2, 0.5, 0.0;	ChangeMaterial{	MaterialID = 2;		Emissive = 1.0, 1.0, 1.0;	}
				}
				If ("_FRONT"==1 && "_CONNECT2"==0) {
					ShiftTexture = 3, 0.5, 0.0;	ChangeMaterial{	MaterialID = 3;		Emissive = 1.0, 1.0, 1.0;	}
				}
			}
			ChangeMaterial{	MaterialID = 5,6;	Emissive = 1.0, 1.0, 1.0;	}//方向幕バックライト
		}//機関END
		If !"_FRONT" & "側面方向幕(前進時)">143 | "_FRONT" & "側面方向幕(前進時)">143 & "側面方向幕(後進時)"==0 | "_FRONT" & "側面方向幕(後進時)">143  {
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 1.0;
			ChangeAlpha = 8, 1.0;
			ChangeAlpha = 9, 0.5;
			ChangeAlpha =10, 1.0;
			AlphaZeroTest = 10;
		}Else{
			ChangeAlpha = 7, 0.0;
			ChangeAlpha = 8, 0.0;
			ChangeAlpha = 9, 0.0;
			ChangeAlpha =10, 0.0;
		}
		If "機関"==0 {
			ChangeAlpha = 8, 0.0;	//機関停止中LED消灯
		}
		If !"_FRONT" & "側面方向幕(前進時)">=0 | "側面方向幕(後進時)"==0{
			ApplySwitch "側面方向幕(前進時)"{
			Case 1:		ShiftTexture = 6, 0.000, 0.00000;	Case 2:		ShiftTexture = 6, 0.000, 0.03125;
			Case 3:		ShiftTexture = 6, 0.000, 0.06250;	Case 4:		ShiftTexture = 6, 0.000, 0.09375;
			Case 5:		ShiftTexture = 6, 0.000, 0.12500;	Case 6:		ShiftTexture = 6, 0.000, 0.15625;
			Case 7:		ShiftTexture = 6, 0.000, 0.18750;	Case 8:		ShiftTexture = 6, 0.000, 0.21875;
			Case 9:		ShiftTexture = 6, 0.000, 0.25000;	Case 10:	ShiftTexture = 6, 0.000, 0.28125;
			Case 11:	ShiftTexture = 6, 0.000, 0.31250;	Case 12:	ShiftTexture = 6, 0.000, 0.34375;
			Case 13:	ShiftTexture = 6, 0.000, 0.37500;	Case 14:	ShiftTexture = 6, 0.000, 0.40625;
			Case 15:	ShiftTexture = 6, 0.000, 0.43750;	Case 16:	ShiftTexture = 6, 0.000, 0.46875;
			Case 17:	ShiftTexture = 6, 0.000, 0.50000;	Case 18:	ShiftTexture = 6, 0.000, 0.53125;
			Case 19:	ShiftTexture = 6, 0.000, 0.56250;	Case 20:	ShiftTexture = 6, 0.000, 0.59375;
			Case 21:	ShiftTexture = 6, 0.000, 0.62500;	Case 22:	ShiftTexture = 6, 0.000, 0.65625;
			Case 23:	ShiftTexture = 6, 0.000, 0.68750;	Case 24:	ShiftTexture = 6, 0.000, 0.71875;
			Case 25:	ShiftTexture = 6, 0.000, 0.75000;	Case 26:	ShiftTexture = 6, 0.000, 0.78125;
			Case 27:	ShiftTexture = 6, 0.000, 0.81250;	Case 28:	ShiftTexture = 6, 0.000, 0.84375;
			Case 29:	ShiftTexture = 6, 0.000, 0.87500;	Case 30:	ShiftTexture = 6, 0.000, 0.90625;
			Case 31:	ShiftTexture = 6, 0.000, 0.93750;	Case 32:	ShiftTexture = 6, 0.000, 0.96875;
			Case 33:	ShiftTexture = 6, 0.125, 0.00000;	Case 34:	ShiftTexture = 6, 0.125, 0.03125;
			Case 35:	ShiftTexture = 6, 0.125, 0.06250;	Case 36:	ShiftTexture = 6, 0.125, 0.09375;
			Case 37:	ShiftTexture = 6, 0.125, 0.12500;	Case 38:	ShiftTexture = 6, 0.125, 0.15625;
			Case 39:	ShiftTexture = 6, 0.125, 0.18750;	Case 40:	ShiftTexture = 6, 0.125, 0.21875;
			Case 41:	ShiftTexture = 6, 0.125, 0.25000;	Case 42:	ShiftTexture = 6, 0.125, 0.28125;
			Case 43:	ShiftTexture = 6, 0.125, 0.31250;	Case 44:	ShiftTexture = 6, 0.125, 0.34375;
			Case 45:	ShiftTexture = 6, 0.125, 0.37500;	Case 46:	ShiftTexture = 6, 0.125, 0.40625;
			Case 47:	ShiftTexture = 6, 0.125, 0.43750;	Case 48:	ShiftTexture = 6, 0.125, 0.46875;
			Case 49:	ShiftTexture = 6, 0.125, 0.50000;	Case 50:	ShiftTexture = 6, 0.125, 0.53125;
			Case 51:	ShiftTexture = 6, 0.125, 0.56250;	Case 52:	ShiftTexture = 6, 0.125, 0.59375;
			Case 53:	ShiftTexture = 6, 0.125, 0.62500;	Case 54:	ShiftTexture = 6, 0.125, 0.65625;
			Case 55:	ShiftTexture = 6, 0.125, 0.68750;	Case 56:	ShiftTexture = 6, 0.125, 0.71875;
			Case 57:	ShiftTexture = 6, 0.125, 0.75000;	Case 58:	ShiftTexture = 6, 0.125, 0.78125;
			Case 59:	ShiftTexture = 6, 0.125, 0.81250;	Case 60:	ShiftTexture = 6, 0.125, 0.84375;
			Case 61:	ShiftTexture = 6, 0.125, 0.87500;	Case 62:	ShiftTexture = 6, 0.125, 0.90625;
			Case 63:	ShiftTexture = 6, 0.125, 0.93750;	Case 64:	ShiftTexture = 6, 0.125, 0.96875;
			Case 65:	ShiftTexture = 6, 0.250, 0.00000;	Case 66:	ShiftTexture = 6, 0.250, 0.03125;
			Case 67:	ShiftTexture = 6, 0.250, 0.06250;	Case 68:	ShiftTexture = 6, 0.250, 0.09375;
			Case 69:	ShiftTexture = 6, 0.250, 0.12500;	Case 70:	ShiftTexture = 6, 0.250, 0.15625;
			Case 71:	ShiftTexture = 6, 0.250, 0.18750;	Case 72:	ShiftTexture = 6, 0.250, 0.21875;
			Case 73:	ShiftTexture = 6, 0.250, 0.25000;	Case 74:	ShiftTexture = 6, 0.250, 0.28125;
			Case 75:	ShiftTexture = 6, 0.250, 0.31250;	Case 76:	ShiftTexture = 6, 0.250, 0.34375;
			Case 77:	ShiftTexture = 6, 0.250, 0.37500;	Case 78:	ShiftTexture = 6, 0.250, 0.40625;
			Case 79:	ShiftTexture = 6, 0.250, 0.43750;	Case 80:	ShiftTexture = 6, 0.250, 0.46875;
			Case 81:	ShiftTexture = 6, 0.250, 0.50000;	Case 82:	ShiftTexture = 6, 0.250, 0.53125;
			Case 83:	ShiftTexture = 6, 0.250, 0.56250;	Case 84:	ShiftTexture = 6, 0.250, 0.59375;
			Case 85:	ShiftTexture = 6, 0.250, 0.62500;	Case 86:	ShiftTexture = 6, 0.250, 0.65625;
			Case 87:	ShiftTexture = 6, 0.250, 0.68750;	Case 88:	ShiftTexture = 6, 0.250, 0.71875;
			Case 89:	ShiftTexture = 6, 0.250, 0.75000;	Case 90:	ShiftTexture = 6, 0.250, 0.78125;
			Case 91:	ShiftTexture = 6, 0.250, 0.81250;	Case 92:	ShiftTexture = 6, 0.250, 0.84375;
			Case 93:	ShiftTexture = 6, 0.250, 0.87500;	Case 94:	ShiftTexture = 6, 0.250, 0.90625;
			Case 95:	ShiftTexture = 6, 0.250, 0.93750;	Case 96:	ShiftTexture = 6, 0.250, 0.96875;
			Case 97:	ShiftTexture = 6, 0.375, 0.00000;	Case 98:	ShiftTexture = 6, 0.375, 0.03125;
			Case 99:	ShiftTexture = 6, 0.375, 0.06250;	Case 100:	ShiftTexture = 6, 0.375, 0.09375;
			Case 101:	ShiftTexture = 6, 0.375, 0.12500;	Case 102:	ShiftTexture = 6, 0.375, 0.15625;
			Case 103:	ShiftTexture = 6, 0.375, 0.18750;	Case 104:	ShiftTexture = 6, 0.375, 0.21875;
			Case 105:	ShiftTexture = 6, 0.375, 0.25000;	Case 106:	ShiftTexture = 6, 0.375, 0.28125;
			Case 107:	ShiftTexture = 6, 0.375, 0.31250;	Case 108:	ShiftTexture = 6, 0.375, 0.34375;
			Case 109:	ShiftTexture = 6, 0.375, 0.37500;	Case 110:	ShiftTexture = 6, 0.375, 0.40625;
			Case 111:	ShiftTexture = 6, 0.375, 0.43750;	Case 112:	ShiftTexture = 6, 0.375, 0.46875;
			Case 113:	ShiftTexture = 6, 0.375, 0.50000;	Case 114:	ShiftTexture = 6, 0.375, 0.53125;
			Case 115:	ShiftTexture = 6, 0.375, 0.56250;	Case 116:	ShiftTexture = 6, 0.375, 0.59375;
			Case 117:	ShiftTexture = 6, 0.375, 0.62500;	Case 118:	ShiftTexture = 6, 0.375, 0.65625;
			Case 119:	ShiftTexture = 6, 0.375, 0.68750;	Case 120:	ShiftTexture = 6, 0.375, 0.71875;
			Case 121:	ShiftTexture = 6, 0.375, 0.75000;	Case 122:	ShiftTexture = 6, 0.375, 0.78125;
			Case 123:	ShiftTexture = 6, 0.375, 0.81250;	Case 124:	ShiftTexture = 6, 0.375, 0.84375;
			Case 125:	ShiftTexture = 6, 0.375, 0.87500;	Case 126:	ShiftTexture = 6, 0.375, 0.90625;
			Case 127:	ShiftTexture = 6, 0.375, 0.93750;	Case 128:	ShiftTexture = 6, 0.375, 0.96875;
			Case 129:	ShiftTexture = 6, 0.500, 0.00000;	Case 130:	ShiftTexture = 6, 0.500, 0.03125;
			Case 131:	ShiftTexture = 6, 0.500, 0.06250;	Case 132:	ShiftTexture = 6, 0.500, 0.09375;
			Case 133:	ShiftTexture = 6, 0.500, 0.12500;	Case 134:	ShiftTexture = 6, 0.500, 0.15625;
			Case 135:	ShiftTexture = 6, 0.500, 0.18750;	Case 136:	ShiftTexture = 6, 0.500, 0.21875;
			Case 137:	ShiftTexture = 6, 0.500, 0.25000;	Case 138:	ShiftTexture = 6, 0.500, 0.28125;
			Case 139:	ShiftTexture = 6, 0.500, 0.31250;	Case 140:	ShiftTexture = 6, 0.500, 0.34375;
			Case 141:	ShiftTexture = 6, 0.500, 0.37500;	Case 142:	ShiftTexture = 6, 0.500, 0.40625;
			Case 143:	ShiftTexture = 6, 0.500, 0.43750;	Case 144:	ShiftTexture = 8, 0.500, 0.46875;	//LED!
			Case 145:	ShiftTexture = 8, 0.500, 0.50000;	Case 146:	ShiftTexture = 8, 0.500, 0.53125;
			Case 147:	ShiftTexture = 8, 0.500, 0.56250;	Case 148:	ShiftTexture = 8, 0.500, 0.59375;
			Case 149:	ShiftTexture = 8, 0.500, 0.62500;	Case 150:	ShiftTexture = 8, 0.500, 0.65625;
			Case 151:	ShiftTexture = 8, 0.500, 0.68750;	Case 152:	ShiftTexture = 8, 0.500, 0.71875;
			Case 153:	ShiftTexture = 8, 0.500, 0.75000;	Case 154:	ShiftTexture = 8, 0.500, 0.78125;
			Case 155:	ShiftTexture = 8, 0.500, 0.81250;	Case 156:	ShiftTexture = 8, 0.500, 0.84375;
			Case 157:	ShiftTexture = 8, 0.500, 0.87500;	Case 158:	ShiftTexture = 8, 0.500, 0.90625;
			Case 159:	ShiftTexture = 8, 0.500, 0.93750;	Case 160:	ShiftTexture = 8, 0.500, 0.96875;
			Case 161:	ShiftTexture = 8, 0.625, 0.00000;	Case 162:	ShiftTexture = 8, 0.625, 0.03125;
			Case 163:	ShiftTexture = 8, 0.625, 0.06250;	Case 164:	ShiftTexture = 8, 0.625, 0.09375;
			Case 165:	ShiftTexture = 8, 0.625, 0.12500;	Case 166:	ShiftTexture = 8, 0.625, 0.15625;
			Case 167:	ShiftTexture = 8, 0.625, 0.18750;	Case 168:	ShiftTexture = 8, 0.625, 0.21875;
			Case 169:	ShiftTexture = 8, 0.625, 0.25000;	Case 170:	ShiftTexture = 8, 0.625, 0.28125;
			Case 171:	ShiftTexture = 8, 0.625, 0.31250;	Case 172:	ShiftTexture = 8, 0.625, 0.34375;
			Case 173:	ShiftTexture = 8, 0.625, 0.37500;	Case 174:	ShiftTexture = 8, 0.625, 0.40625;
			Case 175:	ShiftTexture = 8, 0.625, 0.43750;	Case 176:	ShiftTexture = 8, 0.625, 0.46875;
			Case 177:	ShiftTexture = 8, 0.625, 0.50000;	Case 178:	ShiftTexture = 8, 0.625, 0.53125;
			Case 179:	ShiftTexture = 8, 0.625, 0.56250;	Case 180:	ShiftTexture = 8, 0.625, 0.59375;
			Case 181:	ShiftTexture = 8, 0.625, 0.62500;	Case 182:	ShiftTexture = 8, 0.625, 0.65625;
			Case 183:	ShiftTexture = 8, 0.625, 0.68750;	Case 184:	ShiftTexture = 8, 0.625, 0.71875;
			Case 185:	ShiftTexture = 8, 0.625, 0.75000;	Case 186:	ShiftTexture = 8, 0.625, 0.78125;
			Case 187:	ShiftTexture = 8, 0.625, 0.81250;	Case 188:	ShiftTexture = 8, 0.625, 0.84375;
			Case 189:	ShiftTexture = 8, 0.625, 0.87500;	Case 190:	ShiftTexture = 8, 0.625, 0.90625;
			Case 191:	ShiftTexture = 8, 0.625, 0.93750;	Case 192:	ShiftTexture = 8, 0.625, 0.96875;
			Case 193:	ShiftTexture = 8, 0.750, 0.00000;	Case 194:	ShiftTexture = 8, 0.750, 0.03125;
			Case 195:	ShiftTexture = 8, 0.750, 0.06250;	Case 196:	ShiftTexture = 8, 0.750, 0.09375;
			Case 197:	ShiftTexture = 8, 0.750, 0.12500;	Case 198:	ShiftTexture = 8, 0.750, 0.15625;
			Case 199:	ShiftTexture = 8, 0.750, 0.18750;	Case 200:	ShiftTexture = 8, 0.750, 0.21875;
			Case 201:	ShiftTexture = 8, 0.750, 0.25000;	Case 202:	ShiftTexture = 8, 0.750, 0.28125;
			Case 203:	ShiftTexture = 8, 0.750, 0.31250;	Case 204:	ShiftTexture = 8, 0.750, 0.34375;
			Case 205:	ShiftTexture = 8, 0.750, 0.37500;	Case 206:	ShiftTexture = 8, 0.750, 0.40625;
			Case 207:	ShiftTexture = 8, 0.750, 0.43750;	Case 208:	ShiftTexture = 8, 0.750, 0.46875;
			Case 209:	ShiftTexture = 8, 0.750, 0.50000;	Case 210:	ShiftTexture = 8, 0.750, 0.53125;
			Case 211:	ShiftTexture = 8, 0.750, 0.56250;	Case 212:	ShiftTexture = 8, 0.750, 0.59375;
			Case 213:	ShiftTexture = 8, 0.750, 0.62500;	Case 214:	ShiftTexture = 8, 0.750, 0.65625;
			Case 215:	ShiftTexture = 8, 0.750, 0.68750;	Case 216:	ShiftTexture = 8, 0.750, 0.71875;
			Case 217:	ShiftTexture = 8, 0.750, 0.75000;
			}
			ApplySwitch "フレームレート"{
			Case 0:
				ApplySwitch "側面方向幕(前進時)"{
				Case 218:	SetAnimation = 8, "MakuLED-218@30";
				Case 219:	SetAnimation = 8, "MakuLED-219@30";
				Case 220:	SetAnimation = 8, "MakuLED-220@30";
				Case 221:	SetAnimation = 8, "MakuLED-221@30";
				Case 222:	SetAnimation = 8, "MakuLED-222@30";
				Case 223:	SetAnimation = 8, "MakuLED-223@30";
				Case 224:	SetAnimation = 8, "MakuLED-224@30";
				Case 225:	SetAnimation = 8, "MakuLED-225@30";
				Case 226:	SetAnimation = 8, "MakuLED-226@30";
				Case 227:	SetAnimation = 8, "MakuLED-227@30";
				Case 228:	SetAnimation = 8, "MakuLED-228@30";
				Case 229:	SetAnimation = 8, "MakuLED-229@30";
				Case 230:	SetAnimation = 8, "MakuLED-230@30";
				}
			Case 1:
				ApplySwitch "側面方向幕(前進時)"{
				Case 218:	SetAnimation = 8, "MakuLED-218@60";
				Case 219:	SetAnimation = 8, "MakuLED-219@60";
				Case 220:	SetAnimation = 8, "MakuLED-220@60";
				Case 221:	SetAnimation = 8, "MakuLED-221@60";
				Case 222:	SetAnimation = 8, "MakuLED-222@60";
				Case 223:	SetAnimation = 8, "MakuLED-223@60";
				Case 224:	SetAnimation = 8, "MakuLED-224@60";
				Case 225:	SetAnimation = 8, "MakuLED-225@60";
				Case 226:	SetAnimation = 8, "MakuLED-226@60";
				Case 227:	SetAnimation = 8, "MakuLED-227@60";
				Case 228:	SetAnimation = 8, "MakuLED-228@60";
				Case 229:	SetAnimation = 8, "MakuLED-229@60";
				Case 230:	SetAnimation = 8, "MakuLED-230@60";
				}
			}
		}
		If "_FRONT" & "側面方向幕(後進時)">=1{
			ApplySwitch "側面方向幕(後進時)"{
			Case 1:		ShiftTexture = 6, 0.000, 0.00000;	Case 2:		ShiftTexture = 6, 0.000, 0.03125;
			Case 3:		ShiftTexture = 6, 0.000, 0.06250;	Case 4:		ShiftTexture = 6, 0.000, 0.09375;
			Case 5:		ShiftTexture = 6, 0.000, 0.12500;	Case 6:		ShiftTexture = 6, 0.000, 0.15625;
			Case 7:		ShiftTexture = 6, 0.000, 0.18750;	Case 8:		ShiftTexture = 6, 0.000, 0.21875;
			Case 9:		ShiftTexture = 6, 0.000, 0.25000;	Case 10:	ShiftTexture = 6, 0.000, 0.28125;
			Case 11:	ShiftTexture = 6, 0.000, 0.31250;	Case 12:	ShiftTexture = 6, 0.000, 0.34375;
			Case 13:	ShiftTexture = 6, 0.000, 0.37500;	Case 14:	ShiftTexture = 6, 0.000, 0.40625;
			Case 15:	ShiftTexture = 6, 0.000, 0.43750;	Case 16:	ShiftTexture = 6, 0.000, 0.46875;
			Case 17:	ShiftTexture = 6, 0.000, 0.50000;	Case 18:	ShiftTexture = 6, 0.000, 0.53125;
			Case 19:	ShiftTexture = 6, 0.000, 0.56250;	Case 20:	ShiftTexture = 6, 0.000, 0.59375;
			Case 21:	ShiftTexture = 6, 0.000, 0.62500;	Case 22:	ShiftTexture = 6, 0.000, 0.65625;
			Case 23:	ShiftTexture = 6, 0.000, 0.68750;	Case 24:	ShiftTexture = 6, 0.000, 0.71875;
			Case 25:	ShiftTexture = 6, 0.000, 0.75000;	Case 26:	ShiftTexture = 6, 0.000, 0.78125;
			Case 27:	ShiftTexture = 6, 0.000, 0.81250;	Case 28:	ShiftTexture = 6, 0.000, 0.84375;
			Case 29:	ShiftTexture = 6, 0.000, 0.87500;	Case 30:	ShiftTexture = 6, 0.000, 0.90625;
			Case 31:	ShiftTexture = 6, 0.000, 0.93750;	Case 32:	ShiftTexture = 6, 0.000, 0.96875;
			Case 33:	ShiftTexture = 6, 0.125, 0.00000;	Case 34:	ShiftTexture = 6, 0.125, 0.03125;
			Case 35:	ShiftTexture = 6, 0.125, 0.06250;	Case 36:	ShiftTexture = 6, 0.125, 0.09375;
			Case 37:	ShiftTexture = 6, 0.125, 0.12500;	Case 38:	ShiftTexture = 6, 0.125, 0.15625;
			Case 39:	ShiftTexture = 6, 0.125, 0.18750;	Case 40:	ShiftTexture = 6, 0.125, 0.21875;
			Case 41:	ShiftTexture = 6, 0.125, 0.25000;	Case 42:	ShiftTexture = 6, 0.125, 0.28125;
			Case 43:	ShiftTexture = 6, 0.125, 0.31250;	Case 44:	ShiftTexture = 6, 0.125, 0.34375;
			Case 45:	ShiftTexture = 6, 0.125, 0.37500;	Case 46:	ShiftTexture = 6, 0.125, 0.40625;
			Case 47:	ShiftTexture = 6, 0.125, 0.43750;	Case 48:	ShiftTexture = 6, 0.125, 0.46875;
			Case 49:	ShiftTexture = 6, 0.125, 0.50000;	Case 50:	ShiftTexture = 6, 0.125, 0.53125;
			Case 51:	ShiftTexture = 6, 0.125, 0.56250;	Case 52:	ShiftTexture = 6, 0.125, 0.59375;
			Case 53:	ShiftTexture = 6, 0.125, 0.62500;	Case 54:	ShiftTexture = 6, 0.125, 0.65625;
			Case 55:	ShiftTexture = 6, 0.125, 0.68750;	Case 56:	ShiftTexture = 6, 0.125, 0.71875;
			Case 57:	ShiftTexture = 6, 0.125, 0.75000;	Case 58:	ShiftTexture = 6, 0.125, 0.78125;
			Case 59:	ShiftTexture = 6, 0.125, 0.81250;	Case 60:	ShiftTexture = 6, 0.125, 0.84375;
			Case 61:	ShiftTexture = 6, 0.125, 0.87500;	Case 62:	ShiftTexture = 6, 0.125, 0.90625;
			Case 63:	ShiftTexture = 6, 0.125, 0.93750;	Case 64:	ShiftTexture = 6, 0.125, 0.96875;
			Case 65:	ShiftTexture = 6, 0.250, 0.00000;	Case 66:	ShiftTexture = 6, 0.250, 0.03125;
			Case 67:	ShiftTexture = 6, 0.250, 0.06250;	Case 68:	ShiftTexture = 6, 0.250, 0.09375;
			Case 69:	ShiftTexture = 6, 0.250, 0.12500;	Case 70:	ShiftTexture = 6, 0.250, 0.15625;
			Case 71:	ShiftTexture = 6, 0.250, 0.18750;	Case 72:	ShiftTexture = 6, 0.250, 0.21875;
			Case 73:	ShiftTexture = 6, 0.250, 0.25000;	Case 74:	ShiftTexture = 6, 0.250, 0.28125;
			Case 75:	ShiftTexture = 6, 0.250, 0.31250;	Case 76:	ShiftTexture = 6, 0.250, 0.34375;
			Case 77:	ShiftTexture = 6, 0.250, 0.37500;	Case 78:	ShiftTexture = 6, 0.250, 0.40625;
			Case 79:	ShiftTexture = 6, 0.250, 0.43750;	Case 80:	ShiftTexture = 6, 0.250, 0.46875;
			Case 81:	ShiftTexture = 6, 0.250, 0.50000;	Case 82:	ShiftTexture = 6, 0.250, 0.53125;
			Case 83:	ShiftTexture = 6, 0.250, 0.56250;	Case 84:	ShiftTexture = 6, 0.250, 0.59375;
			Case 85:	ShiftTexture = 6, 0.250, 0.62500;	Case 86:	ShiftTexture = 6, 0.250, 0.65625;
			Case 87:	ShiftTexture = 6, 0.250, 0.68750;	Case 88:	ShiftTexture = 6, 0.250, 0.71875;
			Case 89:	ShiftTexture = 6, 0.250, 0.75000;	Case 90:	ShiftTexture = 6, 0.250, 0.78125;
			Case 91:	ShiftTexture = 6, 0.250, 0.81250;	Case 92:	ShiftTexture = 6, 0.250, 0.84375;
			Case 93:	ShiftTexture = 6, 0.250, 0.87500;	Case 94:	ShiftTexture = 6, 0.250, 0.90625;
			Case 95:	ShiftTexture = 6, 0.250, 0.93750;	Case 96:	ShiftTexture = 6, 0.250, 0.96875;
			Case 97:	ShiftTexture = 6, 0.375, 0.00000;	Case 98:	ShiftTexture = 6, 0.375, 0.03125;
			Case 99:	ShiftTexture = 6, 0.375, 0.06250;	Case 100:	ShiftTexture = 6, 0.375, 0.09375;
			Case 101:	ShiftTexture = 6, 0.375, 0.12500;	Case 102:	ShiftTexture = 6, 0.375, 0.15625;
			Case 103:	ShiftTexture = 6, 0.375, 0.18750;	Case 104:	ShiftTexture = 6, 0.375, 0.21875;
			Case 105:	ShiftTexture = 6, 0.375, 0.25000;	Case 106:	ShiftTexture = 6, 0.375, 0.28125;
			Case 107:	ShiftTexture = 6, 0.375, 0.31250;	Case 108:	ShiftTexture = 6, 0.375, 0.34375;
			Case 109:	ShiftTexture = 6, 0.375, 0.37500;	Case 110:	ShiftTexture = 6, 0.375, 0.40625;
			Case 111:	ShiftTexture = 6, 0.375, 0.43750;	Case 112:	ShiftTexture = 6, 0.375, 0.46875;
			Case 113:	ShiftTexture = 6, 0.375, 0.50000;	Case 114:	ShiftTexture = 6, 0.375, 0.53125;
			Case 115:	ShiftTexture = 6, 0.375, 0.56250;	Case 116:	ShiftTexture = 6, 0.375, 0.59375;
			Case 117:	ShiftTexture = 6, 0.375, 0.62500;	Case 118:	ShiftTexture = 6, 0.375, 0.65625;
			Case 119:	ShiftTexture = 6, 0.375, 0.68750;	Case 120:	ShiftTexture = 6, 0.375, 0.71875;
			Case 121:	ShiftTexture = 6, 0.375, 0.75000;	Case 122:	ShiftTexture = 6, 0.375, 0.78125;
			Case 123:	ShiftTexture = 6, 0.375, 0.81250;	Case 124:	ShiftTexture = 6, 0.375, 0.84375;
			Case 125:	ShiftTexture = 6, 0.375, 0.87500;	Case 126:	ShiftTexture = 6, 0.375, 0.90625;
			Case 127:	ShiftTexture = 6, 0.375, 0.93750;	Case 128:	ShiftTexture = 6, 0.375, 0.96875;
			Case 129:	ShiftTexture = 6, 0.500, 0.00000;	Case 130:	ShiftTexture = 6, 0.500, 0.03125;
			Case 131:	ShiftTexture = 6, 0.500, 0.06250;	Case 132:	ShiftTexture = 6, 0.500, 0.09375;
			Case 133:	ShiftTexture = 6, 0.500, 0.12500;	Case 134:	ShiftTexture = 6, 0.500, 0.15625;
			Case 135:	ShiftTexture = 6, 0.500, 0.18750;	Case 136:	ShiftTexture = 6, 0.500, 0.21875;
			Case 137:	ShiftTexture = 6, 0.500, 0.25000;	Case 138:	ShiftTexture = 6, 0.500, 0.28125;
			Case 139:	ShiftTexture = 6, 0.500, 0.31250;	Case 140:	ShiftTexture = 6, 0.500, 0.34375;
			Case 141:	ShiftTexture = 6, 0.500, 0.37500;	Case 142:	ShiftTexture = 6, 0.500, 0.40625;
			Case 143:	ShiftTexture = 6, 0.500, 0.43750;	Case 144:	ShiftTexture = 8, 0.500, 0.46875;	//LED!
			Case 145:	ShiftTexture = 8, 0.500, 0.50000;	Case 146:	ShiftTexture = 8, 0.500, 0.53125;
			Case 147:	ShiftTexture = 8, 0.500, 0.56250;	Case 148:	ShiftTexture = 8, 0.500, 0.59375;
			Case 149:	ShiftTexture = 8, 0.500, 0.62500;	Case 150:	ShiftTexture = 8, 0.500, 0.65625;
			Case 151:	ShiftTexture = 8, 0.500, 0.68750;	Case 152:	ShiftTexture = 8, 0.500, 0.71875;
			Case 153:	ShiftTexture = 8, 0.500, 0.75000;	Case 154:	ShiftTexture = 8, 0.500, 0.78125;
			Case 155:	ShiftTexture = 8, 0.500, 0.81250;	Case 156:	ShiftTexture = 8, 0.500, 0.84375;
			Case 157:	ShiftTexture = 8, 0.500, 0.87500;	Case 158:	ShiftTexture = 8, 0.500, 0.90625;
			Case 159:	ShiftTexture = 8, 0.500, 0.93750;	Case 160:	ShiftTexture = 8, 0.500, 0.96875;
			Case 161:	ShiftTexture = 8, 0.625, 0.00000;	Case 162:	ShiftTexture = 8, 0.625, 0.03125;
			Case 163:	ShiftTexture = 8, 0.625, 0.06250;	Case 164:	ShiftTexture = 8, 0.625, 0.09375;
			Case 165:	ShiftTexture = 8, 0.625, 0.12500;	Case 166:	ShiftTexture = 8, 0.625, 0.15625;
			Case 167:	ShiftTexture = 8, 0.625, 0.18750;	Case 168:	ShiftTexture = 8, 0.625, 0.21875;
			Case 169:	ShiftTexture = 8, 0.625, 0.25000;	Case 170:	ShiftTexture = 8, 0.625, 0.28125;
			Case 171:	ShiftTexture = 8, 0.625, 0.31250;	Case 172:	ShiftTexture = 8, 0.625, 0.34375;
			Case 173:	ShiftTexture = 8, 0.625, 0.37500;	Case 174:	ShiftTexture = 8, 0.625, 0.40625;
			Case 175:	ShiftTexture = 8, 0.625, 0.43750;	Case 176:	ShiftTexture = 8, 0.625, 0.46875;
			Case 177:	ShiftTexture = 8, 0.625, 0.50000;	Case 178:	ShiftTexture = 8, 0.625, 0.53125;
			Case 179:	ShiftTexture = 8, 0.625, 0.56250;	Case 180:	ShiftTexture = 8, 0.625, 0.59375;
			Case 181:	ShiftTexture = 8, 0.625, 0.62500;	Case 182:	ShiftTexture = 8, 0.625, 0.65625;
			Case 183:	ShiftTexture = 8, 0.625, 0.68750;	Case 184:	ShiftTexture = 8, 0.625, 0.71875;
			Case 185:	ShiftTexture = 8, 0.625, 0.75000;	Case 186:	ShiftTexture = 8, 0.625, 0.78125;
			Case 187:	ShiftTexture = 8, 0.625, 0.81250;	Case 188:	ShiftTexture = 8, 0.625, 0.84375;
			Case 189:	ShiftTexture = 8, 0.625, 0.87500;	Case 190:	ShiftTexture = 8, 0.625, 0.90625;
			Case 191:	ShiftTexture = 8, 0.625, 0.93750;	Case 192:	ShiftTexture = 8, 0.625, 0.96875;
			Case 193:	ShiftTexture = 8, 0.750, 0.00000;	Case 194:	ShiftTexture = 8, 0.750, 0.03125;
			Case 195:	ShiftTexture = 8, 0.750, 0.06250;	Case 196:	ShiftTexture = 8, 0.750, 0.09375;
			Case 197:	ShiftTexture = 8, 0.750, 0.12500;	Case 198:	ShiftTexture = 8, 0.750, 0.15625;
			Case 199:	ShiftTexture = 8, 0.750, 0.18750;	Case 200:	ShiftTexture = 8, 0.750, 0.21875;
			Case 201:	ShiftTexture = 8, 0.750, 0.25000;	Case 202:	ShiftTexture = 8, 0.750, 0.28125;
			Case 203:	ShiftTexture = 8, 0.750, 0.31250;	Case 204:	ShiftTexture = 8, 0.750, 0.34375;
			Case 205:	ShiftTexture = 8, 0.750, 0.37500;	Case 206:	ShiftTexture = 8, 0.750, 0.40625;
			Case 207:	ShiftTexture = 8, 0.750, 0.43750;	Case 208:	ShiftTexture = 8, 0.750, 0.46875;
			Case 209:	ShiftTexture = 8, 0.750, 0.50000;	Case 210:	ShiftTexture = 8, 0.750, 0.53125;
			Case 211:	ShiftTexture = 8, 0.750, 0.56250;	Case 212:	ShiftTexture = 8, 0.750, 0.59375;
			Case 213:	ShiftTexture = 8, 0.750, 0.62500;	Case 214:	ShiftTexture = 8, 0.750, 0.65625;
			Case 215:	ShiftTexture = 8, 0.750, 0.68750;	Case 216:	ShiftTexture = 8, 0.750, 0.71875;
			Case 217:	ShiftTexture = 8, 0.750, 0.75000;
			}
			ApplySwitch "フレームレート"{
			Case 0:
				ApplySwitch "側面方向幕(後進時)"{
				Case 218:	SetAnimation = 8, "MakuLED-218@30";
				Case 219:	SetAnimation = 8, "MakuLED-219@30";
				Case 220:	SetAnimation = 8, "MakuLED-220@30";
				Case 221:	SetAnimation = 8, "MakuLED-221@30";
				Case 222:	SetAnimation = 8, "MakuLED-222@30";
				Case 223:	SetAnimation = 8, "MakuLED-223@30";
				Case 224:	SetAnimation = 8, "MakuLED-224@30";
				Case 225:	SetAnimation = 8, "MakuLED-225@30";
				Case 226:	SetAnimation = 8, "MakuLED-226@30";
				Case 227:	SetAnimation = 8, "MakuLED-227@30";
				Case 228:	SetAnimation = 8, "MakuLED-228@30";
				Case 229:	SetAnimation = 8, "MakuLED-229@30";
				Case 230:	SetAnimation = 8, "MakuLED-230@30";
				}
			Case 1:
				ApplySwitch "側面方向幕(後進時)"{
				Case 218:	SetAnimation = 8, "MakuLED-218@60";
				Case 219:	SetAnimation = 8, "MakuLED-219@60";
				Case 220:	SetAnimation = 8, "MakuLED-220@60";
				Case 221:	SetAnimation = 8, "MakuLED-221@60";
				Case 222:	SetAnimation = 8, "MakuLED-222@60";
				Case 223:	SetAnimation = 8, "MakuLED-223@60";
				Case 224:	SetAnimation = 8, "MakuLED-224@60";
				Case 225:	SetAnimation = 8, "MakuLED-225@60";
				Case 226:	SetAnimation = 8, "MakuLED-226@60";
				Case 227:	SetAnimation = 8, "MakuLED-227@60";
				Case 228:	SetAnimation = 8, "MakuLED-228@60";
				Case 229:	SetAnimation = 8, "MakuLED-229@60";
				Case 230:	SetAnimation = 8, "MakuLED-230@60";
				}
			}
		}
		Joint3D "DummyMain_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	戸閉表示灯@DC113
//
//////////////////////////////

	Object3D "DoorLamp_L_DC113"{
		ModelFileName = "../nya_kiha110/DoorLamp.x";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If "機関"==1 {
			If "ワンマンNFB"==0 | ("ワンマンNFB"==1 & ("ワンマンドア切換"==0 | ("ワンマンドア切換"==1 & ("_FRONT"==0 & "_CONNECT1"==0)))) {
				If ("ドア"==0 & "_DOOR1")|("_FRONT"==0 & "ドア"==2)|("_FRONT"==1 & "ドア"==1) {
					StaticRotation{
						RotationAxis = (0.0, 1.0, 0.0);
						RotationAngle = 180;
						PreReverseDelay = 5.9;
					}
				}
			}
		}
		Joint3D "DummyMain_DC113"{
			AttachCoord = (-1.4, 3.11, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "DoorLamp_R_DC113"{
		ModelFileName = "../nya_kiha110/DoorLamp.x";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If "機関"==1 {
			If "ワンマンNFB"==0 | ("ワンマンNFB"==1 & ("ワンマンドア切換"==0 | ("ワンマンドア切換"==1 & ("_FRONT"==0 & "_CONNECT1"==0)))) {
				If ("ドア"==0 & "_DOOR2")|("_FRONT"==0 & "ドア"==1)|("_FRONT"==1 & "ドア"==2) {
					StaticRotation{
						RotationAxis = (0.0, 1.0, 0.0);
						RotationAngle = 180;
						PreReverseDelay = 5.9;
					}
				}
			}
		}
		Joint3D "DummyMain_DC113"{
			AttachCoord = (1.4, 3.11, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}


//////////////////////////////
//
//	窓内側@DC113
//
//////////////////////////////

	Object3D "WindowBack_DC113"{
		ModelFileName = "../nya_kiha110/Window_Back.x";	ModelScale = 100.0;	ChangeAlpha = 1, 0.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoCastShadow = 0;
		Joint3D "DummyMain_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	窓@DC113
//
//////////////////////////////

	Object3D "Window_DC113"{
		ModelFileName = "../nya_kiha110/Window_DC113_01.x";	ModelScale = 100.0;	ChangeAlpha = 1, 0.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoCastShadow = 0,1;		EnvMap = 0;
		ApplySwitch "窓テクスチャ"{
		Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
		Case 1:		ShiftTexture = 0, 0.5, 0.0;		ShiftTexture = 1, 0.5, 0.0;
		}
		If "機関"==1 {
			ApplySwitch "室内灯"{
			Case 0:		ChangeAlpha = 1, NightAlpha;
			Case 2:		ChangeAlpha = 1, 0.25;
			Case 3:		ChangeAlpha = 1, 0.50;
			Case 4:		ChangeAlpha = 1, 0.75;
			Case 5:		ChangeAlpha = 1, 1.00;
			}
		}
		Joint3D "DummyMain_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	車体@DC113
//
//////////////////////////////

	Object3D "MainBody_DC113"{
		ModelFileName = "../nya_kiha110/Body_dc113.x";		ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ApplySwitch "塗装"{
		Case 0:
			If "車両番号" >-1 & "車両番号" <9 {	//標準色
				ChangeTexture = 0, "../nya_kiha110/Skin01/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin01/Door.png";
			}
			If "車両番号" >8 & "車両番号" <12 {	//標準色,長野車
				ChangeTexture = 0, "../nya_kiha110/Skin01/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin01/Door.png";
			}
			If "車両番号" >11 & "車両番号" <21 {	//陸羽色
				ChangeTexture = 0, "../nya_kiha110/Skin02/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin02/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin02/Door.png";
			}
			If "車両番号" >20 & "車両番号" <59 {	//秋田リレー色
				ChangeTexture = 0, "../nya_kiha110/Skin03/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin03/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin03/Door.png";
			}
		Case 1:		//標準色
				ChangeTexture = 0, "../nya_kiha110/Skin01/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin01/Door.png";
		Case 2:		//標準色,長野車
				ChangeTexture = 0, "../nya_kiha110/Skin01/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin01/Door.png";
		Case 3:		//陸羽色
				ChangeTexture = 0, "../nya_kiha110/Skin02/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin02/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin02/Door.png";
		Case 4:		//秋田リレー色
				ChangeTexture = 0, "../nya_kiha110/Skin03/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin03/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin03/Door.png";
		Case 5:		//Skin04
				ChangeTexture = 0, "../nya_kiha110/Skin04/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin04/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin04/Door.png";
		Case 6:		//Skin05
				ChangeTexture = 0, "../nya_kiha110/Skin05/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin05/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin05/Door.png";
		Case 7:		//Skin06
				ChangeTexture = 0, "../nya_kiha110/Skin06/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin06/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin06/Door.png";
		Case 8:		//Skin07
				ChangeTexture = 0, "../nya_kiha110/Skin07/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin07/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin07/Door.png";
		Case 9:		//Skin08
				ChangeTexture = 0, "../nya_kiha110/Skin08/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin08/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin08/Door.png";
		Case 10:	//Skin09
				ChangeTexture = 0, "../nya_kiha110/Skin09/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin09/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin09/Door.png";
		Case 11:	//Skin10
				ChangeTexture = 0, "../nya_kiha110/Skin10/Front01.png";
				ChangeTexture = 1, "../nya_kiha110/Skin10/Body02.png";
				ChangeTexture = 3, "../nya_kiha110/Skin10/Door.png";
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 2, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "DummyMain_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	ドア@DC113
//
//////////////////////////////

	Object3D "Door_L1_DC113"{
		ModelFileName = "../nya_kiha110/Door_FL.x";	ModelScale = 100.0;	ChangeAlpha = 1, 0.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ChangeAlpha = 1, 0.0;		NoCastShadow = 0,1;		NoShadow = 3;
		AlphaZeroTest = 3;		EnvMap = 0;
		If "ワンマンNFB"==0 | ("ワンマンNFB"==1 & ("ワンマンドア切換"==0 | ("ワンマンドア切換"==1 & ("_FRONT"==0 & "_CONNECT1"==0)))) {
			If ("ドア"==0 & "_DOOR1") | ("_FRONT"==0 & "ドア"==2) | ("_FRONT"==1 & "ドア"==1) {
				StaticMove{
					Displacement = (0.0, 0.0, -0.88);
					PreAnimationDelay = 0.0;
					AnimationTime = 1.7;
					PreReverseDelay = 2.0;
					ReverseTime = 2.7;
				}
				StaticMove{
					Displacement = (0.0, 0.0, -0.02);
					PreAnimationDelay = 1.7;
					AnimationTime = 0.6;
					PreReverseDelay = 4.7;
					ReverseTime = 0.6;
				}
				StaticMove{
					Displacement = (0.0, 0.0, -0.085);
					PreAnimationDelay = 2.3;
					AnimationTime = 0.6;
					PreReverseDelay = 5.3;
					ReverseTime = 0.6;
				}
			}
		}
		ApplySwitch "塗装"{
		Case 0:
			If "車両番号" >-1 & "車両番号" <9 {	//標準色
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
			}
			If "車両番号" >8 & "車両番号" <12 {	//標準色,長野車
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
				}
			If "車両番号" >11 & "車両番号" <21 {	//陸羽色
				ChangeTexture = 2, "../nya_kiha110/Skin02/Door.png";
				ShiftTexture = 3, 0.09375, 0.0;
				ShiftTexture = 4, 0.09375, 0.0;
			}
			If "車両番号" >20 & "車両番号" <59 {	//秋田リレー色
				ChangeTexture = 2, "../nya_kiha110/Skin03/Door.png";
			}
		Case 1:		//標準色
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
		Case 2:		//標準色,長野車
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
		Case 3:		//陸羽色
				ChangeTexture = 2, "../nya_kiha110/Skin02/Door.png";
				ShiftTexture = 3, 0.09375, 0.0;
				ShiftTexture = 4, 0.09375, 0.0;
		Case 4:		//秋田リレー色
				ChangeTexture = 2, "../nya_kiha110/Skin03/Door.png";
		Case 5:		//Skin04
				ChangeTexture = 2, "../nya_kiha110/Skin04/Door.png";
		Case 6:		//Skin05
				ChangeTexture = 2, "../nya_kiha110/Skin05/Door.png";
		Case 7:		//Skin06
				ChangeTexture = 2, "../nya_kiha110/Skin06/Door.png";
		Case 8:		//Skin07
				ChangeTexture = 2, "../nya_kiha110/Skin07/Door.png";
		Case 9:		//Skin08
				ChangeTexture = 2, "../nya_kiha110/Skin08/Door.png";
		Case 10:	//Skin09
				ChangeTexture = 2, "../nya_kiha110/Skin09/Door.png";
		Case 11:	//Skin10
				ChangeTexture = 2, "../nya_kiha110/Skin10/Door.png";
		}
		ApplySwitch "窓テクスチャ"{
		Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
		Case 1:		ShiftTexture = 0, 0.5, 0.0;		ShiftTexture = 1, 0.5, 0.0;
		}
		If "機関"==1 {
			ApplySwitch "室内灯"{
			Case 0,2,3,4,5:	ChangeMaterial{		MaterialID = 3;		Emissive = 1.0, 1.0, 1.0;	}
			Case 0:		ChangeAlpha = 1, NightAlpha;
			Case 2:		ChangeAlpha = 1, 0.25;
			Case 3:		ChangeAlpha = 1, 0.50;
			Case 4:		ChangeAlpha = 1, 0.75;
			Case 5:		ChangeAlpha = 1, 1.00;
			}
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Door_L2_DC113"{
		ModelFileName = "../nya_kiha110/Door_RL.x";	ModelScale = 100.0;	ChangeAlpha = 1, 0.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ChangeAlpha = 1, 0.0;		NoCastShadow = 0,1;		NoShadow = 3;
		AlphaZeroTest = 3;		EnvMap = 0;
		If "ワンマンNFB"==0 | ("ワンマンNFB"==1 & ("ワンマンドア切換"==0 | ("ワンマンドア切換"==1 & ("_FRONT"==0 & "_CONNECT1"==0)))) {
			If ("ドア"==0 & "_DOOR1") | ("_FRONT"==0 & "ドア"==2) | ("_FRONT"==1 & "ドア"==1) {
				StaticMove{
					Displacement = (0.0, 0.0, 0.88);
					PreAnimationDelay = 0.0;
					AnimationTime = 1.7;
					PreReverseDelay = 2.0;
					ReverseTime = 2.7;
				}
				StaticMove{
					Displacement = (0.0, 0.0, 0.02);
					PreAnimationDelay = 1.7;
					AnimationTime = 0.6;
					PreReverseDelay = 4.7;
					ReverseTime = 0.6;
				}
				StaticMove{
					Displacement = (0.0, 0.0, 0.085);
					PreAnimationDelay = 2.3;
					AnimationTime = 0.6;
					PreReverseDelay = 5.3;
					ReverseTime = 0.6;
				}
			}
		}
		ApplySwitch "塗装"{
		Case 0:
			If "車両番号" >-1 & "車両番号" <9 {	//標準色
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
			}
			If "車両番号" >8 & "車両番号" <12 {	//標準色,長野車
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
				}
			If "車両番号" >11 & "車両番号" <21 {	//陸羽色
				ChangeTexture = 2, "../nya_kiha110/Skin02/Door.png";
				ShiftTexture = 3, 0.09375, 0.0;
				ShiftTexture = 4, 0.09375, 0.0;
			}
			If "車両番号" >20 & "車両番号" <59 {	//秋田リレー色
				ChangeTexture = 2, "../nya_kiha110/Skin03/Door.png";
			}
		Case 1:		//標準色
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
		Case 2:		//標準色,長野車
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
		Case 3:		//陸羽色
				ChangeTexture = 2, "../nya_kiha110/Skin02/Door.png";
				ShiftTexture = 3, 0.09375, 0.0;
				ShiftTexture = 4, 0.09375, 0.0;
		Case 4:		//秋田リレー色
				ChangeTexture = 2, "../nya_kiha110/Skin03/Door.png";
		Case 5:		//Skin04
				ChangeTexture = 2, "../nya_kiha110/Skin04/Door.png";
		Case 6:		//Skin05
				ChangeTexture = 2, "../nya_kiha110/Skin05/Door.png";
		Case 7:		//Skin06
				ChangeTexture = 2, "../nya_kiha110/Skin06/Door.png";
		Case 8:		//Skin07
				ChangeTexture = 2, "../nya_kiha110/Skin07/Door.png";
		Case 9:		//Skin08
				ChangeTexture = 2, "../nya_kiha110/Skin08/Door.png";
		Case 10:	//Skin09
				ChangeTexture = 2, "../nya_kiha110/Skin09/Door.png";
		Case 11:	//Skin10
				ChangeTexture = 2, "../nya_kiha110/Skin10/Door.png";
		}
		ApplySwitch "窓テクスチャ"{
		Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
		Case 1:		ShiftTexture = 0, 0.5, 0.0;		ShiftTexture = 1, 0.5, 0.0;
		}
		If "機関"==1 {
			ApplySwitch "室内灯"{
			Case 0,2,3,4,5:	ChangeMaterial{		MaterialID = 3;		Emissive = 1.0, 1.0, 1.0;	}
			Case 0:		ChangeAlpha = 1, NightAlpha;
			Case 2:		ChangeAlpha = 1, 0.25;
			Case 3:		ChangeAlpha = 1, 0.50;
			Case 4:		ChangeAlpha = 1, 0.75;
			Case 5:		ChangeAlpha = 1, 1.00;
			}
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Door_R1_DC113"{
		ModelFileName = "../nya_kiha110/Door_FR.x";	ModelScale = 100.0;	ChangeAlpha = 1, 0.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ChangeAlpha = 1, 0.0;		NoCastShadow = 0,1;		NoShadow = 3;
		AlphaZeroTest = 3;		EnvMap = 0;
		If "ワンマンNFB"==0 | ("ワンマンNFB"==1 & ("ワンマンドア切換"==0 | ("ワンマンドア切換"==1 & ("_FRONT"==0 & "_CONNECT1"==0)))) {
			If ("ドア"==0 & "_DOOR2") | ("_FRONT"==0 & "ドア"==1) | ("_FRONT"==1 & "ドア"==2) {
				StaticMove{
					Displacement = (0.0, 0.0, -0.88);
					PreAnimationDelay = 0.0;
					AnimationTime = 1.7;
					PreReverseDelay = 2.0;
					ReverseTime = 2.7;
				}
				StaticMove{
					Displacement = (0.0, 0.0, -0.02);
					PreAnimationDelay = 1.7;
					AnimationTime = 0.6;
					PreReverseDelay = 4.7;
					ReverseTime = 0.6;
				}
				StaticMove{
					Displacement = (0.0, 0.0, -0.085);
					PreAnimationDelay = 2.3;
					AnimationTime = 0.6;
					PreReverseDelay = 5.3;
					ReverseTime = 0.6;
				}
			}
		}
		ApplySwitch "塗装"{
		Case 0:
			If "車両番号" >-1 & "車両番号" <9 {	//標準色
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
			}
			If "車両番号" >8 & "車両番号" <12 {	//標準色,長野車
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
				}
			If "車両番号" >11 & "車両番号" <21 {	//陸羽色
				ChangeTexture = 2, "../nya_kiha110/Skin02/Door.png";
				ShiftTexture = 3, 0.09375, 0.0;
				ShiftTexture = 4, 0.09375, 0.0;
			}
			If "車両番号" >20 & "車両番号" <59 {	//秋田リレー色
				ChangeTexture = 2, "../nya_kiha110/Skin03/Door.png";
			}
		Case 1:		//標準色
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
		Case 2:		//標準色,長野車
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
		Case 3:		//陸羽色
				ChangeTexture = 2, "../nya_kiha110/Skin02/Door.png";
				ShiftTexture = 3, 0.09375, 0.0;
				ShiftTexture = 4, 0.09375, 0.0;
		Case 4:		//秋田リレー色
				ChangeTexture = 2, "../nya_kiha110/Skin03/Door.png";
		Case 5:		//Skin04
				ChangeTexture = 2, "../nya_kiha110/Skin04/Door.png";
		Case 6:		//Skin05
				ChangeTexture = 2, "../nya_kiha110/Skin05/Door.png";
		Case 7:		//Skin06
				ChangeTexture = 2, "../nya_kiha110/Skin06/Door.png";
		Case 8:		//Skin07
				ChangeTexture = 2, "../nya_kiha110/Skin07/Door.png";
		Case 9:		//Skin08
				ChangeTexture = 2, "../nya_kiha110/Skin08/Door.png";
		Case 10:	//Skin09
				ChangeTexture = 2, "../nya_kiha110/Skin09/Door.png";
		Case 11:	//Skin10
				ChangeTexture = 2, "../nya_kiha110/Skin10/Door.png";
		}
		ApplySwitch "窓テクスチャ"{
		Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
		Case 1:		ShiftTexture = 0, 0.5, 0.0;		ShiftTexture = 1, 0.5, 0.0;
		}
		If "機関"==1 {
			ApplySwitch "室内灯"{
			Case 0,2,3,4,5:	ChangeMaterial{		MaterialID = 3;		Emissive = 1.0, 1.0, 1.0;	}
			Case 0:		ChangeAlpha = 1, NightAlpha;
			Case 2:		ChangeAlpha = 1, 0.25;
			Case 3:		ChangeAlpha = 1, 0.50;
			Case 4:		ChangeAlpha = 1, 0.75;
			Case 5:		ChangeAlpha = 1, 1.00;
			}
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Door_R2_DC113"{
		ModelFileName = "../nya_kiha110/Door_RR.x";	ModelScale = 100.0;	ChangeAlpha = 1, 0.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ChangeAlpha = 1, 0.0;		NoCastShadow = 0,1;		NoShadow = 3;
		AlphaZeroTest = 3;		EnvMap = 0;
		If "ワンマンNFB"==0 | ("ワンマンNFB"==1 & ("ワンマンドア切換"==0 | ("ワンマンドア切換"==1 & ("_FRONT"==0 & "_CONNECT1"==0)))) {
			If ("ドア"==0 & "_DOOR2") | ("_FRONT"==0 & "ドア"==1) | ("_FRONT"==1 & "ドア"==2) {
				StaticMove{
					Displacement = (0.0, 0.0, 0.88);
					PreAnimationDelay = 0.0;
					AnimationTime = 1.7;
					PreReverseDelay = 2.0;
					ReverseTime = 2.7;
				}
				StaticMove{
					Displacement = (0.0, 0.0, 0.02);
					PreAnimationDelay = 1.7;
					AnimationTime = 0.6;
					PreReverseDelay = 4.7;
					ReverseTime = 0.6;
				}
				StaticMove{
					Displacement = (0.0, 0.0, 0.085);
					PreAnimationDelay = 2.3;
					AnimationTime = 0.6;
					PreReverseDelay = 5.3;
					ReverseTime = 0.6;
				}
			}
		}
		ApplySwitch "塗装"{
		Case 0:
			If "車両番号" >-1 & "車両番号" <9 {	//標準色
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
			}
			If "車両番号" >8 & "車両番号" <12 {	//標準色,長野車
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
				}
			If "車両番号" >11 & "車両番号" <21 {	//陸羽色
				ChangeTexture = 2, "../nya_kiha110/Skin02/Door.png";
				ShiftTexture = 3, 0.09375, 0.0;
				ShiftTexture = 4, 0.09375, 0.0;
			}
			If "車両番号" >20 & "車両番号" <59 {	//秋田リレー色
				ChangeTexture = 2, "../nya_kiha110/Skin03/Door.png";
			}
		Case 1:		//標準色
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
		Case 2:		//標準色,長野車
				ChangeTexture = 2, "../nya_kiha110/Skin01/Door.png";
		Case 3:		//陸羽色
				ChangeTexture = 2, "../nya_kiha110/Skin02/Door.png";
				ShiftTexture = 3, 0.09375, 0.0;
				ShiftTexture = 4, 0.09375, 0.0;
		Case 4:		//秋田リレー色
				ChangeTexture = 2, "../nya_kiha110/Skin03/Door.png";
		Case 5:		//Skin04
				ChangeTexture = 2, "../nya_kiha110/Skin04/Door.png";
		Case 6:		//Skin05
				ChangeTexture = 2, "../nya_kiha110/Skin05/Door.png";
		Case 7:		//Skin06
				ChangeTexture = 2, "../nya_kiha110/Skin06/Door.png";
		Case 8:		//Skin07
				ChangeTexture = 2, "../nya_kiha110/Skin07/Door.png";
		Case 9:		//Skin08
				ChangeTexture = 2, "../nya_kiha110/Skin08/Door.png";
		Case 10:	//Skin09
				ChangeTexture = 2, "../nya_kiha110/Skin09/Door.png";
		Case 11:	//Skin10
				ChangeTexture = 2, "../nya_kiha110/Skin10/Door.png";
		}
		ApplySwitch "窓テクスチャ"{
		Case 0:		ShiftTexture = 0, 0.0, 0.0;		ShiftTexture = 1, 0.0, 0.0;
		Case 1:		ShiftTexture = 0, 0.5, 0.0;		ShiftTexture = 1, 0.5, 0.0;
		}
		If "機関"==1 {
			ApplySwitch "室内灯"{
			Case 0,2,3,4,5:	ChangeMaterial{		MaterialID = 3;		Emissive = 1.0, 1.0, 1.0;	}
			Case 0:		ChangeAlpha = 1, NightAlpha;
			Case 2:		ChangeAlpha = 1, 0.25;
			Case 3:		ChangeAlpha = 1, 0.50;
			Case 4:		ChangeAlpha = 1, 0.75;
			Case 5:		ChangeAlpha = 1, 1.00;
			}
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	車内@DC113
//
//////////////////////////////

	Object3D "Inner_F_DC113"{
		ModelFileName = "../nya_kiha110/Inner_dc112_01.x";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 0: If "_CAMDIST">100{	ChangeModel = "", 1.0;	}
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If "_VELOCITY" > 30 {	ChangeModel = "", 1.0;	}
		NoShadow = 0;
		If "機関"==1 {
			ApplySwitch "室内灯"{
			Case 0,2,3,4,5:	ChangeMaterial{		MaterialID = 0;		Emissive = 1.0, 1.0, 1.0;	}
			}
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "Inner_R_DC113"{
		ModelFileName = "../nya_kiha110/Inner_dc112_01.x";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 0: If "_CAMDIST">100{	ChangeModel = "", 1.0;	}
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If "_VELOCITY" > 30 {	ChangeModel = "", 1.0;	}
		NoShadow = 0;
		If "機関"==1 {
			ApplySwitch "室内灯"{
			Case 0,2,3,4,5:	ChangeMaterial{		MaterialID = 0;		Emissive = 1.0, 1.0, 1.0;	}
			}
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}


//////////////////////////////
//
//	車番@DC113
//
//////////////////////////////

	Object3D "Number_DC113"{
		ModelFileName = "../nya_kiha110/Number_DC111.x";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoCastShadow = 0,1;
		ChangeTexture = 0, "../nya_kiha110/NumST_DC113_01.png";
		ApplySwitch "車両番号"{
		Case 0:		ShiftTexture = 0, 0.00, 0.0000;
		Case 1:		ShiftTexture = 0, 0.00, 0.0625;
		Case 2:		ShiftTexture = 0, 0.00, 0.1250;
		Case 3:		ShiftTexture = 0, 0.00, 0.1875;
		Case 4:		ShiftTexture = 0, 0.00, 0.2500;
		Case 5:		ShiftTexture = 0, 0.00, 0.3125;
		Case 6:		ShiftTexture = 0, 0.00, 0.3750;
		Case 7:		ShiftTexture = 0, 0.00, 0.4375;
		Case 8:		ShiftTexture = 0, 0.00, 0.5000;
		Case 9:		ShiftTexture = 0, 0.00, 0.5625;
		Case 10:	ShiftTexture = 0, 0.00, 0.6250;
		Case 11:	ShiftTexture = 0, 0.00, 0.6875;
		Case 12:	ShiftTexture = 0, 0.00, 0.7500;
		Case 13:	ShiftTexture = 0, 0.00, 0.8125;
		Case 14:	ShiftTexture = 0, 0.00, 0.8750;
		Case 15:	ShiftTexture = 0, 0.00, 0.9375;
		Case 16:	ShiftTexture = 0, 0.50, 0.0000;
		Case 17:	ShiftTexture = 0, 0.50, 0.0625;
		Case 18:	ShiftTexture = 0, 0.50, 0.1250;
		Case 19:	ShiftTexture = 0, 0.50, 0.1875;
		Case 20:	ShiftTexture = 0, 0.50, 0.2500;
		Case 21:	ShiftTexture = 0, 0.50, 0.3125;
		Case 22:	ShiftTexture = 0, 0.50, 0.3750;
		Case 23:	ShiftTexture = 0, 0.50, 0.4375;
		Case 24:	ShiftTexture = 0, 0.50, 0.5000;
		Case 25:	ShiftTexture = 0, 0.50, 0.5625;
		Case 26:	ShiftTexture = 0, 0.50, 0.6250;
		Case 27:	ShiftTexture = 0, 0.50, 0.6875;
		Case 28:	ShiftTexture = 0, 0.50, 0.7500;
		Case 29:	ShiftTexture = 0, 0.50, 0.8125;
		Case 30:	ShiftTexture = 0, 0.50, 0.8750;
		Case 31:	ShiftTexture = 0, 0.50, 0.9375;
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	雨どい@DC113
//
//	車番204以降雨樋延長
//
//////////////////////////////

	Object3D "Amadoi_F_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoCastShadow = 1;
		If "車両番号" >-1 & "車両番号" <3 {
			ChangeModel = "../nya_kiha110/Amadoi01.x", 100.0;
		}
		If "車両番号" >2 {
			ChangeModel = "../nya_kiha110/Amadoi02.x", 100.0;
		}
		ApplySwitch "塗装"{
		Case 0:
			If "車両番号" >-1 & "車両番号" <9 {	//標準色
				ChangeTexture = 0, "../nya_kiha110/Skin01/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Door.png";
			}
			If "車両番号" >8 & "車両番号" <12 {	//標準色,長野車
				ChangeTexture = 0, "../nya_kiha110/Skin01/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Door.png";
				}
			If "車両番号" >11 & "車両番号" <21 {	//陸羽色
				ChangeTexture = 0, "../nya_kiha110/Skin02/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin02/Door.png";
			}
			If "車両番号" >20 & "車両番号" <59 {	//秋田リレー色
				ChangeTexture = 0, "../nya_kiha110/Skin03/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin03/Door.png";
			}
		Case 1:		//標準色
				ChangeTexture = 0, "../nya_kiha110/Skin01/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Door.png";
		Case 2:		//標準色,長野車
				ChangeTexture = 0, "../nya_kiha110/Skin01/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Door.png";
		Case 3:		//陸羽色
				ChangeTexture = 0, "../nya_kiha110/Skin02/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin02/Door.png";
		Case 4:		//秋田リレー色
				ChangeTexture = 0, "../nya_kiha110/Skin03/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin03/Door.png";
		Case 5:		//Skin04
				ChangeTexture = 0, "../nya_kiha110/Skin04/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin04/Door.png";
		Case 6:		//Skin05
				ChangeTexture = 0, "../nya_kiha110/Skin05/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin05/Door.png";
		Case 7:		//Skin06
				ChangeTexture = 0, "../nya_kiha110/Skin06/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin06/Door.png";
		Case 8:		//Skin07
				ChangeTexture = 0, "../nya_kiha110/Skin07/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin07/Door.png";
		Case 9:		//Skin08
				ChangeTexture = 0, "../nya_kiha110/Skin08/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin08/Door.png";
		Case 10:	//Skin09
				ChangeTexture = 0, "../nya_kiha110/Skin09/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin09/Door.png";
		Case 11:	//Skin10
				ChangeTexture = 0, "../nya_kiha110/Skin10/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin10/Door.png";
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "Amadoi_R_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoCastShadow = 1;
		If "車両番号" >-1 {
			ChangeModel = "../nya_kiha110/Amadoi01.x", 100.0;
		}
		ApplySwitch "塗装"{
		Case 0:
			If "車両番号" >-1 & "車両番号" <9 {	//標準色
				ChangeTexture = 0, "../nya_kiha110/Skin01/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Door.png";
			}
			If "車両番号" >8 & "車両番号" <12 {	//標準色,長野車
				ChangeTexture = 0, "../nya_kiha110/Skin01/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Door.png";
				}
			If "車両番号" >11 & "車両番号" <21 {	//陸羽色
				ChangeTexture = 0, "../nya_kiha110/Skin02/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin02/Door.png";
			}
			If "車両番号" >20 & "車両番号" <59 {	//秋田リレー色
				ChangeTexture = 0, "../nya_kiha110/Skin03/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin03/Door.png";
			}
		Case 1:		//標準色
				ChangeTexture = 0, "../nya_kiha110/Skin01/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Door.png";
		Case 2:		//標準色,長野車
				ChangeTexture = 0, "../nya_kiha110/Skin01/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin01/Door.png";
		Case 3:		//陸羽色
				ChangeTexture = 0, "../nya_kiha110/Skin02/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin02/Door.png";
		Case 4:		//秋田リレー色
				ChangeTexture = 0, "../nya_kiha110/Skin03/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin03/Door.png";
		Case 5:		//Skin04
				ChangeTexture = 0, "../nya_kiha110/Skin04/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin04/Door.png";
		Case 6:		//Skin05
				ChangeTexture = 0, "../nya_kiha110/Skin05/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin05/Door.png";
		Case 7:		//Skin06
				ChangeTexture = 0, "../nya_kiha110/Skin06/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin06/Door.png";
		Case 8:		//Skin07
				ChangeTexture = 0, "../nya_kiha110/Skin07/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin07/Door.png";
		Case 9:		//Skin08
				ChangeTexture = 0, "../nya_kiha110/Skin08/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin08/Door.png";
		Case 10:	//Skin09
				ChangeTexture = 0, "../nya_kiha110/Skin09/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin09/Door.png";
		Case 11:	//Skin10
				ChangeTexture = 0, "../nya_kiha110/Skin10/Door.png";
				ChangeTexture = 1, "../nya_kiha110/Skin10/Door.png";
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}


//////////////////////////////
//
//	床下機器@DC113
//
//////////////////////////////

	Object3D "Bottom_DC113"{
		ModelFileName = "../nya_kiha110/Bottom_DC113_01.x";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Bottom_Snow.png";
			ChangeTexture = 1, "../nya_kiha110/Bottom_Snow.png";
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	サボ1(HM)@DC113
//
//////////////////////////////

	Object3D "Sabo1_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ApplySwitch "サボ1(HM)"{
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}


//////////////////////////////
//
//	サボ2(号車)@DC113
//
//////////////////////////////

	Object3D "Sabo2-L_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoShadow = 1;
		If "サボ2(号車)">0 { 	ChangeModel = "../nya_kiha110/Sabo-Num.x", 1.0;	}
		ApplySwitch "サボ2(号車)"{
		Case 1:		ShiftTexture = 0, 0.000, 0.00;
		Case 2:		ShiftTexture = 0, 0.125, 0.00;
		Case 3:		ShiftTexture = 0, 0.250, 0.00;
		Case 4:		ShiftTexture = 0, 0.375, 0.00;
		Case 5:		ShiftTexture = 0, 0.500, 0.00;
		Case 6:		ShiftTexture = 0, 0.625, 0.00;
		Case 7:		ShiftTexture = 0, 0.750, 0.00;
		Case 8:		ShiftTexture = 0, 0.875, 0.00;
		Case 9:		ShiftTexture = 0, 0.000, 0.25;
		Case 10:	ShiftTexture = 0, 0.125, 0.25;
		Case 11:	ShiftTexture = 0, 0.250, 0.25;
		Case 12:	ShiftTexture = 0, 0.375, 0.25;
		Case 13:	ShiftTexture = 0, 0.500, 0.25;
		Case 14:	ShiftTexture = 0, 0.625, 0.25;
		Case 15:	ShiftTexture = 0, 0.750, 0.25;
		Case 16:	ShiftTexture = 0, 0.875, 0.25;
		Case 17:	ShiftTexture = 0, 0.000, 0.50;
		Case 18:	ShiftTexture = 0, 0.125, 0.50;
		Case 19:	ShiftTexture = 0, 0.250, 0.50;
		Case 20:	ShiftTexture = 0, 0.375, 0.50;
		Case 21:	ShiftTexture = 0, 0.500, 0.50;
		Case 22:	ShiftTexture = 0, 0.625, 0.50;
		Case 23:	ShiftTexture = 0, 0.750, 0.50;
		Case 24:	ShiftTexture = 0, 0.875, 0.50;
		Case 25:	ShiftTexture = 0, 0.000, 0.75;
		Case 26:	ShiftTexture = 0, 0.125, 0.75;
		Case 27:	ShiftTexture = 0, 0.250, 0.75;
		Case 28:	ShiftTexture = 0, 0.375, 0.75;
		Case 29:	ShiftTexture = 0, 0.500, 0.75;
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (-1.405, 2.96, 8.045);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "Sabo2-R_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoShadow = 1;
		If "サボ2(号車)">0 { 	ChangeModel = "../nya_kiha110/Sabo-Num.x", 1.0;	}
		ApplySwitch "サボ2(号車)"{
		Case 1:		ShiftTexture = 0, 0.000, 0.00;
		Case 2:		ShiftTexture = 0, 0.125, 0.00;
		Case 3:		ShiftTexture = 0, 0.250, 0.00;
		Case 4:		ShiftTexture = 0, 0.375, 0.00;
		Case 5:		ShiftTexture = 0, 0.500, 0.00;
		Case 6:		ShiftTexture = 0, 0.625, 0.00;
		Case 7:		ShiftTexture = 0, 0.750, 0.00;
		Case 8:		ShiftTexture = 0, 0.875, 0.00;
		Case 9:		ShiftTexture = 0, 0.000, 0.25;
		Case 10:	ShiftTexture = 0, 0.125, 0.25;
		Case 11:	ShiftTexture = 0, 0.250, 0.25;
		Case 12:	ShiftTexture = 0, 0.375, 0.25;
		Case 13:	ShiftTexture = 0, 0.500, 0.25;
		Case 14:	ShiftTexture = 0, 0.625, 0.25;
		Case 15:	ShiftTexture = 0, 0.750, 0.25;
		Case 16:	ShiftTexture = 0, 0.875, 0.25;
		Case 17:	ShiftTexture = 0, 0.000, 0.50;
		Case 18:	ShiftTexture = 0, 0.125, 0.50;
		Case 19:	ShiftTexture = 0, 0.250, 0.50;
		Case 20:	ShiftTexture = 0, 0.375, 0.50;
		Case 21:	ShiftTexture = 0, 0.500, 0.50;
		Case 22:	ShiftTexture = 0, 0.625, 0.50;
		Case 23:	ShiftTexture = 0, 0.750, 0.50;
		Case 24:	ShiftTexture = 0, 0.875, 0.50;
		Case 25:	ShiftTexture = 0, 0.000, 0.75;
		Case 26:	ShiftTexture = 0, 0.125, 0.75;
		Case 27:	ShiftTexture = 0, 0.250, 0.75;
		Case 28:	ShiftTexture = 0, 0.375, 0.75;
		Case 29:	ShiftTexture = 0, 0.500, 0.75;
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (1.405, 2.96, -8.045);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}


//////////////////////////////
//
//	サボ3@DC113
//
//////////////////////////////

	Object3D "Sabo3-FL_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoShadow = 1;
		If "サボ3">0 { 	ChangeModel = "../nya_kiha110/Sabo-Sub.x", 1.0;	}
		ApplySwitch "サボ3"{
		Case 1:		ShiftTexture = 0, 0.000, 0.00;
		Case 2:		ShiftTexture = 0, 0.125, 0.00;
		Case 3:		ShiftTexture = 0, 0.250, 0.00;
		Case 4:		ShiftTexture = 0, 0.375, 0.00;
		Case 5:		ShiftTexture = 0, 0.500, 0.00;
		Case 6:		ShiftTexture = 0, 0.625, 0.00;
		Case 7:		ShiftTexture = 0, 0.750, 0.00;
		Case 8:		ShiftTexture = 0, 0.875, 0.00;
		Case 9:		ShiftTexture = 0, 0.000, 0.50;
		Case 10:	ShiftTexture = 0, 0.125, 0.50;
		Case 11:	ShiftTexture = 0, 0.250, 0.50;
		Case 12:	ShiftTexture = 0, 0.375, 0.50;
		Case 13:	ShiftTexture = 0, 0.500, 0.50;
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (-1.405, 2.43, 8.045);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "Sabo3-RL_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoShadow = 1;
		If "サボ3">0 { 	ChangeModel = "../nya_kiha110/Sabo-Sub.x", 1.0;	}
		ApplySwitch "サボ3"{
		Case 1:		ShiftTexture = 0, 0.000, 0.00;
		Case 2:		ShiftTexture = 0, 0.125, 0.00;
		Case 3:		ShiftTexture = 0, 0.250, 0.00;
		Case 4:		ShiftTexture = 0, 0.375, 0.00;
		Case 5:		ShiftTexture = 0, 0.500, 0.00;
		Case 6:		ShiftTexture = 0, 0.625, 0.00;
		Case 7:		ShiftTexture = 0, 0.750, 0.00;
		Case 8:		ShiftTexture = 0, 0.875, 0.00;
		Case 9:		ShiftTexture = 0, 0.000, 0.50;
		Case 10:	ShiftTexture = 0, 0.125, 0.50;
		Case 11:	ShiftTexture = 0, 0.250, 0.50;
		Case 12:	ShiftTexture = 0, 0.375, 0.50;
		Case 13:	ShiftTexture = 0, 0.500, 0.50;
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (-1.405, 2.43, -8.045);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "Sabo3-FR_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoShadow = 1;
		If "サボ3">0 { 	ChangeModel = "../nya_kiha110/Sabo-Sub.x", 1.0;	}
		ApplySwitch "サボ3"{
		Case 1:		ShiftTexture = 0, 0.000, 0.00;
		Case 2:		ShiftTexture = 0, 0.125, 0.00;
		Case 3:		ShiftTexture = 0, 0.250, 0.00;
		Case 4:		ShiftTexture = 0, 0.375, 0.00;
		Case 5:		ShiftTexture = 0, 0.500, 0.00;
		Case 6:		ShiftTexture = 0, 0.625, 0.00;
		Case 7:		ShiftTexture = 0, 0.750, 0.00;
		Case 8:		ShiftTexture = 0, 0.875, 0.00;
		Case 9:		ShiftTexture = 0, 0.000, 0.50;
		Case 10:	ShiftTexture = 0, 0.125, 0.50;
		Case 11:	ShiftTexture = 0, 0.250, 0.50;
		Case 12:	ShiftTexture = 0, 0.375, 0.50;
		Case 13:	ShiftTexture = 0, 0.500, 0.50;
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (1.405, 2.43, 8.045);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

	Object3D "Sabo3-RR_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		NoShadow = 1;
		If "サボ3">0 { 	ChangeModel = "../nya_kiha110/Sabo-Sub.x", 1.0;	}
		ApplySwitch "サボ3"{
		Case 1:		ShiftTexture = 0, 0.000, 0.00;
		Case 2:		ShiftTexture = 0, 0.125, 0.00;
		Case 3:		ShiftTexture = 0, 0.250, 0.00;
		Case 4:		ShiftTexture = 0, 0.375, 0.00;
		Case 5:		ShiftTexture = 0, 0.500, 0.00;
		Case 6:		ShiftTexture = 0, 0.625, 0.00;
		Case 7:		ShiftTexture = 0, 0.750, 0.00;
		Case 8:		ShiftTexture = 0, 0.875, 0.00;
		Case 9:		ShiftTexture = 0, 0.000, 0.50;
		Case 10:	ShiftTexture = 0, 0.125, 0.50;
		Case 11:	ShiftTexture = 0, 0.250, 0.50;
		Case 12:	ShiftTexture = 0, 0.375, 0.50;
		Case 13:	ShiftTexture = 0, 0.500, 0.50;
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (1.405, 2.43, -8.045);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}


//////////////////////////////
//
//	貫通幌-ユニット間接続
//
//////////////////////////////

	Object3D "Horo_joint_CF"{
		ModelFileName = "";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		AlphaZeroTest = 1;	NoCastShadow = 1;
		If "_CONNECT1"{
			ChangeModel = "../nya_kiha110/Horo03.x", 100.0;
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Horo_snow.png";
			ChangeTexture = 1, "../nya_kiha110/Horo_jt_snow.png";
		}
		Joint3D "DummyCoupler1"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Horo_joint_CR"{
		ModelFileName = "";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		AlphaZeroTest = 1;	NoCastShadow = 1;
		If "_CONNECT2"{
			ChangeModel = "../nya_kiha110/Horo03.x", 100.0;
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Horo_snow.png";
			ChangeTexture = 1, "../nya_kiha110/Horo_jt_snow.png";
		}
		Joint3D "DummyCoupler2"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	ジャンパケーブル
//
//////////////////////////////

	Object3D "Cable01_L"{
		ModelFileName = "";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		AlphaZeroTest = 0;	NoShadow = 0;
		If "_CONNECT2"{
			ChangeModel = "../nya_kiha110/Cable01.x", 100.0;
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "DummyCoupler2"{
			AttachCoord = (-1.0, 0.0, 0.0);
		}
	}

	Object3D "Cable01_R"{
		ModelFileName = "";	ModelScale = 100.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		AlphaZeroTest = 0;	NoShadow = 0;
		If "_CONNECT2"{
			ChangeModel = "../nya_kiha110/Cable01.x", 100.0;
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "DummyCoupler2"{
			AttachCoord = (1.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	連結器
//
//////////////////////////////

	Object3D "Coupler_F_DC113"{
		ModelFileName = "";		ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If !"_CONNECT1" | "連結器の首振り(前位側)"==0 {
			If !("電気連結器"==0 & "車両番号" >2 & "車両番号" <9 | "電気連結器"==2) {
				ChangeModel = "../nya_kiha110/coupler01.x", 100.0;
			} Else {
				ChangeModel = "../nya_kiha110/coupler02.x", 100.0;
			}
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.88, 10.25);
		}
	}

	Object3D "Coupler_R_DC112"{
		ModelFileName = "";		ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ApplySwitch "フェードアウト"{	Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}	Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}	}
		If !"_CONNECT2" | "連結器の首振り(後位側)"==0 {
			If !("電気連結器"==0 & "車両番号" >2 & "車両番号" <9 | "電気連結器"==2) {
				ChangeModel = "../nya_kiha110/coupler01.x", 100.0;
			} Else {
				ChangeModel = "../nya_kiha110/coupler02.x", 100.0;
			}
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.88, -10.25);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}


//////////////////////////////
//
//	連結器-首振り
//
//////////////////////////////

	Object3D "Coupler_F_Joint_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If "_CONNECT1" & "連結器の首振り(前位側)"==1 {
			If !("電気連結器"==0 & "車両番号" >2 & "車両番号" <9 | "電気連結器"==2) {
				ChangeModel = "../nya_kiha110/coupler01.x", 100.0;
			} Else {
				ChangeModel = "../nya_kiha110/coupler02.x", 100.0;
			}
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "DummyCoupler1"{
			AttachCoord = (0.0, 0.88, 0.0);
		}
	}

	Object3D "Coupler_R_Joint_DC112"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If "_CONNECT2" & "連結器の首振り(後位側)"==1 {
			If !("電気連結器"==0 & "車両番号" >2 & "車両番号" <9 | "電気連結器"==2) {
				ChangeModel = "../nya_kiha110/coupler01.x", 100.0;
			} Else {
				ChangeModel = "../nya_kiha110/coupler02.x", 100.0;
			}
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "DummyCoupler2"{
			AttachCoord = (0.0, 0.88, 0.0);
		}
	}


//////////////////////////////
//
//	連結器カバー
//
//////////////////////////////

	Object3D "cp_cover_F_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If "_CONNECT1"==0 && (("連結器カバー"==0 && "_SEASON"==3) || "連結器カバー"==1){
			ChangeModel = "../nya_kiha110/coupler_cover.x", 100.0;
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.88, 10.25);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "cp_cover_R_DC112"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		If "_CONNECT2"==0 && (("連結器カバー"==0 && "_SEASON"==3) || "連結器カバー"==1){
			ChangeModel = "../nya_kiha110/coupler_cover.x", 100.0;
		}
		If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪付着テクスチャ"==0) {
			ChangeTexture = 0, "../nya_kiha110/Misc_Snow.png";
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.88, -10.25);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}


//////////////////////////////
//
//	シャドウ
//
//////////////////////////////

	Object3D "Shadow_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ApplySwitch "シャドウ"{
		Case 0:		ChangeModel = "../nya_kiha110/Shadow.x", 1.0;	NoShadow = 0, 1;
		}
		Joint3D "DummyBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "ShadowC_DC113"{
		ModelFileName = "";	ModelScale = 1.0;
		ApplySwitch "フェードアウト"{
		Case 1: If "_CAMDIST">1000{	ChangeModel = "", 1.0;	}
		Case 2: If "_CAMDIST">800{	ChangeModel = "", 1.0;	}
		Case 3: If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		}
		ApplySwitch "シャドウ"{
		Case 0:		ChangeModel = "../nya_kiha110/ShadowC_DC113_01.x", 100.0;	Transparent = 0, 1;
		}
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


//////////////////////////////
//
//	サウンドダミー@DC113
//
//////////////////////////////

	Object3D "Door-Sound_Dummy_DC113"{
		ModelFileName = "";
		If "_DOOR2" | "_DOOR1" | "ドア"==1 | "ドア"==2{
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 0.0;
				PreReverseDelay = 10.0;
			}
			StaticMove{
				Displacement = (0.0, -3000.0, 0.0);
				PreAnimationDelay = 10.0;
				PreReverseDelay = 0.0;
			}
		}
		Joint3D "DummyBody_DC113"{
			AttachCoord = (0.0, 3000.0, 0.0);
		}
	}

	Object3D "DummySound2_DC113"{
		ModelFileName = "";
		If "_ACCEL">0 {
			StaticMove{
				Displacement = (0.0,1000.0,0.0);
				PreReverseDelay = 2.0;		//回転数低下音調整
			}
		}
		Joint3D "DummyBody_DC113"{
			AttachCoord = (0.0, -1000.0, 0.0);
		}
	}


//////////////////////////////
//////////////////////////////
//
//	Effector
//
//////////////////////////////
//////////////////////////////

If "機関"==1 {
	If "サウンド"==1 {
		If "_ACCEL">0{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/Idling.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.45 ,0.0 );
				Volume = -2200;
				Loop = yes;
			}
		}Else{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/Idling.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.45 ,0.0 );
				Volume = -1800;
				Loop = yes;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >0 & "_VELOCITY" < 15.0{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P01.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >10.0 & "_VELOCITY" < 27.5{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P02.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >22.5 & "_VELOCITY" < 40.0{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P03.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >32 & "_VELOCITY" < 50{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P04.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >43 & "_VELOCITY" < 61{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P05.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >54.0 & "_VELOCITY" < 72{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P06.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >64 & "_VELOCITY" < 82{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P07.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >74 & "_VELOCITY" < 92{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P08.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >83 & "_VELOCITY" < 101{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P09.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" >91 & "_VELOCITY" < 110{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P10.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL"<0 | "_ACCEL"==0 & "_VELOCITY" >10 & "_VELOCITY" < 110{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/P01-Off.wav";
				AttachObject = "DummySound2_DC113";
				SourceCoord = (0.0, 0.43, 0.0);
				Loop = no;
			}
		}

		If "_ACCEL">0 & "_VELOCITY" < 10{
			SoundEffect{			//解緩音1
				WaveFileName = "../nya_kiha110/Sound/brake-off1.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.0, 6.9);
				Volume = -1000;
				Loop = no;
			}
			SoundEffect{			//解緩音1
				WaveFileName = "../nya_kiha110/Sound/brake-off1.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.0, -6.9);
				Volume = -1000;
				Loop = no;
			}
		}

		If "_VELOCITY"==0 {
			SoundEffect{			//解緩音2
				WaveFileName = "../nya_kiha110/Sound/brake-off2.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.0, 6.9);
				Volume = -1000;
				Loop = no;
			}
			SoundEffect{			//解緩音2
				WaveFileName = "../nya_kiha110/Sound/brake-off2.wav";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.0, -6.9);
				Volume = -1000;
				Loop = no;
			}
		}

		If "_DOOR1" | "_DOOR2" | "ドア"==1 | "ドア"==2{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/Door-Open.wav";
				AttachObject = "Door-Sound_Dummy_DC113";
				SourceCoord = (0.0, 2.0, 7.1);
				Loop = no;
			}
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/Door-Open.wav";
				AttachObject = "Door-Sound_Dummy_DC113";
				SourceCoord = (0.0, 2.0, -7.1); 
				Loop = no;
			}
			If "ワンマンNFB"==1 & "ワンマンドア切換"==1 & "_FRONT"==0 & "_CONNECT1"==0 {
				SoundEffect{
					WaveFileName = "../nya_kiha110/Sound/OneMan-Door.wav";
					AttachObject = "Door-Sound_Dummy_DC113";
					SourceCoord = (0.0, 2.0, -7.1);
					Loop = no;
				}
			}
		}Else{
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/Door-Close.wav";
				AttachObject = "Door-Sound_Dummy_DC113";
				SourceCoord = (0.0, 2.0 ,7.1);
				Loop = no;
			}
			SoundEffect{
				WaveFileName = "../nya_kiha110/Sound/Door-Close.wav";
				AttachObject = "Door-Sound_Dummy_DC113";
				SourceCoord = (0.0, 2.0 ,-7.1);
				Loop = no;
			}
			If "ワンマンNFB"==0 & ("_CABINVIEW"==1 | "_CAMDIST"<100){
				SoundEffect{
					WaveFileName = "../nya_kiha110/Sound/Buzzer01.wav";
					AttachObject = "Door-Sound_Dummy_DC113";
					SourceCoord = (0.0, 2.0, 7.1);
					Loop = no;
				}
			}
		}


	//////////////////////////////
	//
	//	警笛
	//
	//////////////////////////////

		If "警笛" == 1 || ("警笛" == 2 & "_CAMDIST"<50) || ("警笛" == 3 & "_CAMDIST"<35) || ("警笛" == 4 & "_CAMDIST"<20){
			If ("_FRONT"==0 && "_CONNECT1"==0) {
				SoundEffect{
					WaveFileName = "../nya_kiha110/Sound/Horn1.wav";
					AttachObject = "MainBody_DC113";
					SourceCoord = (-0.807, 3.646, 8.14);
					Loop = no;
				}
			}
		}
	}//サウンドEND


	//////////////////////////////
	//
	//	排煙
	//
	//////////////////////////////

	If "排煙" ==0 {
		Particle{
			TextureFileName = "../common_nya/effect/smoke1.png";
			AttachObject = "MainBody_DC113";
			SourceCoord = (1.075, 3.64, 8.145);
			MinQty = 5.0;
			MaxQty = 30.0;
			VelocityRel = 0.0;
			AccelerationRel = 80.0;
			Lifetime = 1.2, 2.0;
			Direction = (0.2, 1.4, 0.0), (0.6, 1.4, 0.0);
			InitialRadius = 0.01, 0.01;
			FinalRadius = 1.0, 2.0;
			Color = #11434e50, #22434e50;
			BlendMode = Alpha;
			AirResistance = 0.6;
			Gravity = 0.01;
			Turbulence = 0.1;
		}
	}
}//機関END


//////////////////////////////
//
//	雪煙
//
//////////////////////////////

	If (("冬エフェクト"==0 & "_SEASON">=3)|("冬エフェクト"==2))&("雪煙"==0) {
		If !"_FRONT"{
			If !"_CONNECT2" {
				Particle{
					TextureFileName = "../common_nya/effect/snow3.png";
					AttachObject = "MainBody_DC113";
					SourceCoord = (0.0, 0.0, -10.20);
					MinQty = -1.0;
					MaxQty = 30;
					VelocityRel = 0.1;
					Lifetime = 3.5, 5.5;
					Direction = (0.0, 0.0, 0.0), (0.0, 0.1, 0.1);
					InitialRadius = 1.6, 2.0;
					FinalRadius = 5.0, 8.0;
					Color = #66ffffff, #66eeeeee;
					BlendMode = Alpha;
					AirResistance = 0.2;
					Gravity = 0.0;
					Turbulence = 2.0;
				}
			}
			Particle{
				TextureFileName = "../common_nya/effect/snow3.png";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.0, 8.00);
				MinQty = -1.0;
				MaxQty = 30;
				VelocityRel = 0.1;
				Lifetime = 3.5, 5.5;
				Direction = (0.0, 0.0, 0.0), (0.0, 0.1, 0.1);
				InitialRadius = 1.6, 2.0;
				FinalRadius = 5.0, 8.0;
				Color = #66ffffff, #66eeeeee;
				BlendMode = Alpha;
				AirResistance = 0.2;
				Gravity = 0.0;
				Turbulence = 2.0;
			}
			Particle{
				TextureFileName = "../common_nya/effect/snow3.png";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.0, -8.00);
				MinQty = -1.0;
				MaxQty = 30;
				VelocityRel = 0.1;
				Lifetime = 3.5, 5.5;
				Direction = (0.0, 0.0, 0.0), (0.0, 0.1, -0.1);
				InitialRadius = 1.6, 2.0;
				FinalRadius = 5.0, 8.0;
				Color = #66ffffff, #66eeeeee;
				BlendMode = Alpha;
				AirResistance = 0.2;
				Gravity = 0.0;
				Turbulence = 2.0;
			}
		} Else {
			If !"_CONNECT1" {
				Particle{
					TextureFileName = "../common_nya/effect/snow3.png";
					AttachObject = "MainBody_DC113";
					SourceCoord = (0.0, 0.0, 10.20);
					MinQty = -1.0;
					MaxQty = 30;
					VelocityRel = 0.1;
					Lifetime = 3.5, 5.5;
					Direction = (0.0, 0.0, 0.0), (0.0, 0.1, -0.1);
					InitialRadius = 1.6, 2.0;
					FinalRadius = 5.0, 8.0;
					Color = #66ffffff, #66eeeeee;
					BlendMode = Alpha;
					AirResistance = 0.2;
					Gravity = 0.0;
					Turbulence = 2.0;
				}
			}
			Particle{
				TextureFileName = "../common_nya/effect/snow3.png";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.0, 8.00);
				MinQty = -1.0;
				MaxQty = 30;
				VelocityRel = 0.1;
				Lifetime = 3.5, 5.5;
				Direction = (0.0, 0.0, 0.0), (0.0, 0.1, -0.1);
				InitialRadius = 1.6, 2.0;
				FinalRadius = 5.0, 8.0;
				Color = #66ffffff, #66eeeeee;
				BlendMode = Alpha;
				AirResistance = 0.2;
				Gravity = 0.0;
				Turbulence = 2.0;
			}
			Particle{
				TextureFileName = "../common_nya/effect/snow3.png";
				AttachObject = "MainBody_DC113";
				SourceCoord = (0.0, 0.0, -8.00);
				MinQty = -1.0;
				MaxQty = 30;
				VelocityRel = 0.1;
				Lifetime = 3.5, 5.5;
				Direction = (0.0, 0.0, 0.0), (0.0, 0.1, -0.1);
				InitialRadius = 1.6, 2.0;
				FinalRadius = 5.0, 8.0;
				Color = #66ffffff, #66eeeeee;
				BlendMode = Alpha;
				AirResistance = 0.2;
				Gravity = 0.0;
				Turbulence = 2.0;
			}
		}
	}


//////////////////////////////
//
//	視点
//
//////////////////////////////

	FrontCabin{
		Joint3D "MainBody_DC113"{
			AttachCoord = (-0.925, 2.6, 8.6);
			DirLink = "Bogie1-1";
		}
	}
	TailCabin{
		Joint3D "MainBody_DC113"{
			AttachCoord = (0.925, 2.6, -8.6);
			DirLink = "Bogie1-2";
		}
	}
}
