[ Edit Parameters ( eM00SL ) ]


1) Open eM00SL.html with a text-editor program.
2) Change parameters for your railroad.

* Check "Quotation" !
Number1without quotation
True or falsefalse
File Name"sample.gif"with quotation
RGB Color Code"#ff0066"



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
* If another language on this page, change the character set to your language. iso-8859-1 is the set of English and the relative language.
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>Opaku's Train Kit: eM00SL v2.41</title>
* Write the title of your page.
<script language="JavaScript" type="text/javascript"><!--
/*
Opaku's Train Kit eM00SL ver2.41 (May 2016)
v2.41 May 2016/v2.4 Jun.2014/v2.3 Apr.2014/v2.22 Jul.2010/v2.21 Apr.2007/v2.2 Aug.2006/v2.1 Jun.2006/v2.01 Jun.2004/v2.0 Apr.2004/v1.3 Jan.2004/v1.2 Nov.2003/v1.11 Aug.2003/v1.0-1.1 Jul.2003
eM00SL is the English and simplified version of M00SL(Japanese version)
scripted by (C) 2003-2016 Mr.Opaku = Sonobe Souan.
http://www.mars.dti.ne.jp/~opaku/zigzag/railway/e/
Trains Illustrated by (C) --Name of Train Illustrator--
http://www --Your URL--

*/
//NEVER CHANGE HERE!----------
trainLength=new Array();trainPicture=new Array();precountmax=20; locoLOK=new Array();pushL=new Array();locoOnly=new Array();wheelMoving=new Array();wheelOffsetL=new Array();locoBodyL=new Array();locoLLength=new Array();locoWheelDiameterL=new Array();locoWheelMoveFramesL=new Array();locoWheelHeadL=new Array();driverInterval12L=new Array();driverInterval23L=new Array();driverInterval34L=new Array();locoSmoking=new Array();locoSmokeL=new Array();smokeOpacity=new Array();smokeWidthL=new Array();smokeOnlyWinIE=new Array();smokeView=new Array();locoSmokePngL=new Array();subLocoLOK=new Array();subLocoSmokeL=new Array();subLocoSmokePngL=new Array();subLocoSmokeWidthL=new Array();subWheelOffsetL=new Array();monoMotion=new Array();glassOK=new Array();glassFile=new Array();glassOpacity=new Array();glassPngOK=new Array();glassPngFile=new Array();wheelSuffix=new Array();glassOffset=new Array();
for(i=1;i<=precountmax;i++){trainPicture[i]=new Array();locoLOK[i]=false;pushL[i]=false;locoOnly[i]=false;wheelMoving[i]=false;wheelOffsetL[i]=0;driverInterval12L[i]=0;driverInterval23L[i]=0;driverInterval34L[i]=0;locoBodyL[i]=new Array('','','','','');locoLLength[i]=new Array(0,0,0,0,0);locoWheelDiameterL[i]=new Array(0,0,0,0,0);locoWheelMoveFramesL[i]=new Array(0,0,0,0,0);locoWheelHeadL[i]=new Array('','','','','');subLocoLOK[i]=false;subWheelOffsetL[i]=0;locoSmoking[i]=false;locoSmokeL[i]='';smokeWidthL[i]=0;subLocoSmokeL[i]='';subLocoSmokeWidthL[i]=0;smokeOpacity[i]=100;smokeView[i]=0;locoSmokePngL[i]='';subLocoSmokePngL[i]='';monoMotion[i]=false;glassOK[i]=false;glassPngOK[i]=false;glassOpacity[i]=0;smokeView[i]=0;wheelSuffix[i]=".gif";glassOffset[i]=0;} backgroundImgFile=new Array();foregroundImgFile=new Array();vistaImgFile=new Array();trainspeedR=new Array();trainspeedL=new Array();




//**********************************************************************************
//PARAMETERS
//set here and make your railroad on the web-browser.

//BASIC Parameter
trainHeightPixel=60;//height pixels of train picture.
trainFolderName="traingif";

//1st TRAIN ( [train number] )

//Locomotive (only "RunToLeft")
locoLOK[1]=true;//if no-loco train, set false.
pushL[1]=false;
locoOnly[1]=false;
wheelSuffix[1]=".gif";////picture format of wheels. dot and suffix. v2.1-
wheelMoving[1]=true;//if SL, set true.
wheelOffsetL[1]=0;//offset pixels between the body and the wheel. plus to wheel right, minusu to wheel left.
driverInterval12L[1]=0;//pixels between 1st driving wheel picture and 2nd driving wheel picture.
driverInterval23L[1]=0;//pixels between 2nd driving wheel picture and 3rd driving wheel picture.
driverInterval34L[1]=0;//pixels between 3rd driving wheel picture and 4th driving wheel picture.
//1st loco of the 1st train
locoBodyL[1][1]="kitWSL_drgT18a_bodyL.gif";//picture of the body.
locoLLength[1][1]=235;//picture width pixels.
locoWheelDiameterL[1][1]=17;//pixels
locoWheelMoveFramesL[1][1]=12;//pictures of one round.
locoWheelHeadL[1][1]="kitWSL_drgT18a_wheelL";//the head of the picture name.
//Head+CodeNumber+".gif"=file name.
//CodeNumber start from 100 and count-up in clockward. if 8 pictures in one round, CodeNumbers are 100-107.
//2nd loco of the 1st train.
locoBodyL[1][2]="";//if set "", 2nd loco becomes false.
locoLLength[1][2]=197;
locoWheelDiameterL[1][2]=14;
locoWheelMoveFramesL[1][2]=8;
locoWheelHeadL[1][2]="kitSL_D51_wheelLf";
* D51 is Japanese locomotive. it preseted D51 on Japanese version M00SL.
//3rd loco of the 1st train.
locoBodyL[1][3]="";
locoLLength[1][3]=197;
locoWheelDiameterL[1][3]=14;
locoWheelMoveFramesL[1][3]=8;
locoWheelHeadL[1][3]="kitSL_D51_wheelLf";
//4th loco or sub-loco of the 1st train
locoBodyL[1][4]="kitSL_D51_bodyLf.gif";
locoLLength[1][4]=197;
locoWheelDiameterL[1][4]=14;
locoWheelMoveFramesL[1][4]=8;
locoWheelHeadL[1][4]="kitSL_D51_wheelLf";
//sub-loco
subLocoLOK[1]=false;//if true, 4th loco becomes sub-loco (if main-loco is head, sub-loco is tail pusher)
subWheelOffsetL[1]=0;
//smoke
locoSmoking[1]=true;
locoSmokeL[1]="smoke_drgT18a_L.gif";
smokeWidthL[1]=235;
subLocoSmokeL[1]="smoke_D51L.gif";//smoke for sub-loco
subLocoSmokeWidthL[1]=240;
smokeOpacity[1]=40;//percent.
smokeView[1]=2;//view on browsers (set number below). v1.2-
//0=every browser.
//1=only on browsers with CSS translucent.
//2=use png file below without WinIE6 or earlier.
locoSmokePngL[1]="smoke_drgT18a_L.png";//24bit PNG smoke for main loco.
subLocoSmokePngL[1]="smoke_D51L.png";//24bit PNG smoke for sub loco.
//from v1.2, parameter"smokeOnlyWinIE[1]" does not use.
//------------------------------
trainLength[1]=520;//overall width of the train pictures (without locomotives)
trainPicture[1][1]="samplePC_type1.gif";//picture name of the 1st car (leftend is the 1st)
trainPicture[1][2]="samplePC_type1.gif";//2nd
//trainPicture[1][3]="";//3rd
//trainPicture[1][4]="";//4th
//trainPicture[1][5]="";//5th
//trainPicture[1][6]="";//6th
//trainPicture[1][7]="";//7th
//trainPicture[1][8]="";//8th
//trainPicture[1][9]="";//9th
//trainPicture[1][10]="";//10th
//number is [train number][car number]
//number starting from 1, not 0.
//delete or comment-out(add //) the line of non-use cars.
//------------------------
//speedlimit
trainspeedR[1]=60;//km/h. reverse speed when the speed-control lever set full.
trainspeedL[1]=60;//foreward speed.
//------------------------
//GLASS
//if with colored window glass, add these parameters. v1.2-
glassOK[1]=true;//true=using glass, false=no glass.(translucent by CSS opacity)
glassFile[1]="glass_T18_pc2L.gif";//glass image.(one image for one train)
glassOpacity[1]=30;//percent
glassPngOK[1]=true;//true=using glass, false=no glass.(translucent PNG picture)
glassPngFile[1]="glass_T18_pc2L.png";//glass image.(one image for one train. 24bit PNG)
//using which glass? v2.3-
glassChoice[1]=0;//select below.
//0=standard=CSS-windows IE9 or ealier/PNG-other browsers.
//1=CSS first=CSS-almost browsers/PNG-MacIE
//2=PNG first=CSS-windows IE6 or ealier/PNG-IE7 or later and other browsers.

translucent glass Netscape4 MacIE WinIE -6 IE7 - IE9 IE10-, Safari, Firefox or others.
glassChoice[ ]=0 none PNG CSS CSS PNG
glassChoice[ ]=1 none PNG CSS CSS CSS
glassChoice[ ]=2 none PNG CSS PNG PNG

//offset between body and glass. v2.2-
glassOffset[1]=0;//pixels. plus to right, minus to left. if you omit this parameter, offset is 0.
//------------------------


//2nd TRAIN ( [train number] )

//it is able to omit locomotive parameters in ver.2.0 or later.
//------------------------------
trainLength[2]=187+400;//overall width of the train pictures (without locomotives)
trainPicture[2][1]="kitWDL_DBv200.gif";//picture name of the 1st car (leftend is the 1st)
trainPicture[2][2]="sampleFC_type1.gif";//2nd
trainPicture[2][3]="sampleFC_type1.gif";//3rd
//trainPicture[2][4]="";//4th
//trainPicture[2][5]="";//5th
//trainPicture[2][6]="";//6th
//trainPicture[2][7]="";//7th
//trainPicture[2][8]="";//8th
//trainPicture[2][9]="";//9th
//trainPicture[2][10]="";//10th
//number is [train number][car number]
//number starting from 1, not 0.
//delete or comment-out(add //) the line of non-use cars.
//------------------------
//speedlimit
trainspeedR[2]=80;//km/h. reverse speed when the speed-control lever set full.
trainspeedL[2]=80;//foreward speed.
//------------------------
//this place, you can add glass parameters.
//------------------------

/*
from train No.3 to No.20, add the parameter in the same form of the 1st train.
trainPicture[train number][car number]
20 trains max.
*/


//RUNNING PATTERN
runoverpixels=100;

//AERIAL WIRES
electrified=false;
wireImgFile="wire_e.gif";//picture name of the wire and catenary.
poleOK=false;//if false, no poles.
poleImgFile="pole_e.gif";//picture name.
pantographHeight=5.5;//meter. (default=5.5 english version, default=5.1 japanese version)

//RAILS
railOK=true;
railImgFile="rail_normal.gif";
liftupPixel=38;//plus to up. (0pixel is 9pixels up from the bottom of the scene. 9pixels is the height of the rail. if no rail, 0pixel is the bottom)


//SCENE
sceneLeftMargin=0;//pixels (default=20; min=0, max=100)
sceneRightMargin=0;//pixels (default=20; min=0, max=100)
sceneHeightPixels=130;//pixels (default=130, min=60, max=500)
//Overall height is sceneHeightPixels plus controler height(=36px)
sceneWidthPixels=1600;//pixels (default=1600, min=170, max=10000)

//BACKGROUND and FOREGROUND
//background
backgroundOK=true;
backgroundImgFile[0]="scene_eM00b.gif";
//backgroundImgFile[1]="scene_eM00b.gif";//if bgChanging, set another pictures!
//in [ ] is count-up. if no-changing, set only [0].
//delete or comment-out(add //) the line of non-use pictures.
bgChangePerTrain=2;
//foreground
foregroundOK=true;
foregroundImgFile[0]="scene_eM00f.gif";
//foregroundImgFile[1]="scene_eM00f.gif";//if fgChanging, set another pictures!
//delete or comment-out(add //) the line of non-use pictures.
//scrolling
sceneScroller=true;
scrollChangeCoordinateL=150;//pixels. (default=150, min=100, max=200)
scrollChangeCoordinateR=300;//pixels. (default=300, min=100, max=400)
//vista
vistaOK=true;//vista picture is back of background picture.
vistaImgFile[0]="scene_eA.png";
//vistaImgFile[1]="scene_eA.png";//if vistaChanging, set another pictures!
vistaScrollRatio=0.2;//if 0, non-scrolling, if 1 scrolling in the same of background scrolling.

v2.0-:
scene size become resizable. then the size of background or foreground picture become non-fixed.
no scrolling object added.

//no scrolling scenery object
fixedObjOK=true;//no scrolling foreground picture in scenegif folder.
fixedObjImg="fixedPlateSample.gif";
fixedObjTop=10;
fixedObjLeft=20;
fixedObjOpacity=20;//0-100 percent.
fixedObjView=2;//select below.
//0=every browser.
//1=only on browsers with CSS translucent.
//2=use png file below without WinIE6 or earlier.
fixedObjPng="fixedPlateSample.png";//substitute 24bit PNG picture with transparency.

//BLUR (only Windows IE6 - IE9)
blurEffect=false;//if true, train runs very slow on low speed computer.
blurRatio=1;//(default=1, minimum=0.1, maximum=2.0)

//ETC
presetSpeedRatio=60;//percent. (default=60 / 20,40,60,80 or 100)
zeroTopMargin=false;//if true, railroad scene moves to the top of the page.
keyControlOK=true;//if true, you can control train speed with keyboard.
//F=lever to Left, G&H=stop, J=lever to Right. (added in ver.1.1)
controlerBack=true;
controlerBackColor="#222222";//(RGB/ default "#222222")
textUnderTheRail=true;//if true, set spacer.
loadedToFocus=true;//if not in frames and no spacer, focus on when loaded.

//End of PARAMETERS
//**********************************************************************************



( ellipsis )



//***********************************End of Train Kit Program.
//--></script>


<style type="text/css"><!--
body{
background-color:#494949;
color:#dddddd;
overflow-x:hidden;
}

--></style>
<!--Change this style in the design of your page-->
* Write your style here.


</head>
<body>

<p>TEXT over the railroad.<small> (if no text here, set parameter "zeroTopMargin=true")</small></p>
* Write your text here or delete it.
* If using CSS on this text, train does not run on Netscape 4 (a bug of the Netscape browser).

<!--Start of Railway Object-->



( ellipsis )



<!--End of Railway Object-->

<p>TEXT under the railroad.</p>
* Write your text here or delete it.

</body>
</html>


<< Return

Opaku's Train Kit (C) Mr.Opaku