[ Edit Parameters ( eM02 ) ]


1) Open eM02.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 : eM02 v2.2</title>
* Write the title of your page
<script language="JavaScript" type="text/javascript"><!--
/*
Opaku's Train Kit eM02 ver.2.2 (May 2016)
v2.12-2.2 May 2016/v2.11 Apr.2016/v2.1 Jan.2016/v2.0 Jun.2014/v1.7-1.9 Apr.2014/v1.61 Jul.2010/v1.5-1.6 Jun.2006/v1.4 Feb.2006/v1.33 Jun.2004/v1.32 May 2004/v1.3-1.31 Apr.2004/v1.2 Jan.2004/v1.1 Nov.2003/v1.0-1.01 Jul.2003
eM02 is the English version of M02(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!----------
trainPicture=new Array();trainPicture[1]=new Array();trainPicture[2]=new Array();trainLength=new Array();doorHandling=new Array();trainLocoHead=new Array();glassOK=new Array();glassFile=new Array();glassOpacity=new Array();glassPngOK=new Array();glassPngFile=new Array();



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

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

//TRAIN

trainLength[1]=1243;//overall pixels of your train.
trainPicture[1][1]="kitWEL_DB103.gif";//picture name of the 1st car (leftend is the 1st).
trainPicture[1][2]="samplePC_type1.gif";//2nd
trainPicture[1][3]="samplePC_type1.gif";//3rd
trainPicture[1][4]="samplePC_type1.gif";//4th
trainPicture[1][5]="samplePC_type1.gif";//5th
//trainPicture[1][6]="";//6th
//trainPicture[1][7]="";//7th
//trainPicture[1][8]="";//8th
//trainPicture[1][9]="";//9th
//trainPicture[1][10]="";//10th
//delete or comment-out(add //) the line of non-use cars.
//------------------------------
doorHandling[1]=true;
trainLocoHead[1]=true;//if true, head stok of the train does not handle the door.
doorOpenSecond=10;//second. (minimum=10)
doorOKoverPosition=1.5;//meter. 1-10
doorOKlessPosition=10;//meter. 1-200. out of these position, it cannot handle the doors.

//TRAIN on the OPOSITE LINE

anotherTrain=true;//if false, no train on the opposite line.
anotherTrainStopOffset=300;//pixels. plus to the right, minus to the left.
trainPicture[2][1]="sampleFC_type1.gif";//1st car
trainPicture[2][2]="sampleFC_type1.gif";//2nd
trainPicture[2][3]="sampleFC_type1.gif";//3rd
trainPicture[2][4]="sampleFC_type1.gif";//4th
trainPicture[2][5]="sampleFC_type1.gif";//5th
trainPicture[2][6]="sampleFC_type1.gif";//6th
trainPicture[2][7]="sampleFC_type1.gif";//7th
trainPicture[2][8]="sampleFC_type1.gif";//8th
trainPicture[2][9]="sampleFC_type1.gif";//9th
trainPicture[2][10]="kitWDL_DBv200.gif";//10th
//delete or comment-out(add //) the line of non-use cars.
doorHandling[2]=true;//if platform is over-side, door does not open.
trainLocoHead[2]=true;

//SPECIFICATION of THE TRAIN
speedlimit=200;//km/h.
//Acceleration and Decceleration
emergentBrake=-4.5;//km/h/s (default=-4.5)
fullbrake=-3.5;//(default=-3.5)
fullpower=2.5;//(default=2.5)
poweroffrun=-0.09;//(default=-0.09)
autonotchoff=false;

//COLLORED WINDOW (translucent by CSS opacity)
//Your Train
glassOK[1]=true;
glassFile[1]="glass_DB103_pc5L.gif";//file name.
glassOpacity[1]=30;//percent.
//Opposite Train
glassOK[2]=false;
glassFile[2]=".gif";
glassOpacity[2]=30;//percent.
//picture of window glass put into "traingif" folder.

//COLLORED WINDOW (translucent PNG picture) v1.1-
//Your Train
glassPngOK[1]=true;
glassPngFile[1]="glass_DB103_pc5L.png";//file name- 24bit-PNG
//Opposite Train
glassPngOK[2]=false;
glassPngFile[2]=".png";
//picture of window glass put into "traingif" folder.
* The window picture is the same size to the overall length of the train. The window area with colors and out of the area is transparent.

//COLLORED WINDOW - which file? v1.7-
glassChoice=0;//select bellow
//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

//COLLORD GLASS POSITION v1.3-
//only your train
glassOffset=0;//if colored glass with head-light, you can put colored glass forward to (left to) the train. set minus to the left.


//STATION
islandPF=true;//island platform or oposite platform.
stationBimgFile="station_eMB.gif";//picture name of island platform.
stationFimgFile="station_eMF.gif";//picture name of station building (when island platform)
stationBimgFileOp="station_eMB.gif";//picture name of opposite platform (over the rail)
stationFimgFileOp="station_eMF.gif";//picture name of opposite platform and station building.
stopPositionOffset=50;//pixels. (default=50, minimum=0, maximam=700)
//offset from the leftend of the platform.
stopPositionPict="eStopPosition.gif";

//AERIAL WIRERS

electrified=true;
wireImgFile="wire_e.gif";//picture name of the wire and catenary.
pantographHeight=5.5;//meter. (default=5.5 english version, default=5.1 japanese version)
poleImgFile="pole_e.gif";
poleFOK=true;//if false, no poles fore the rail near the station.
poleImgFileF="pole_e.gif";//only island platform. when opposite platform, you must draw it in station picture.
poleAndWireImgWidth=320;//pixels v1.5-

//RAILS
railImgFile="rail_normal.gif";
railImgWidth=32;//pixels v1.5-

//LEVEL CROSSING

crossingOK=true;
crossing1offset=10000;//position of crossing No.1 (default=10000)
crossing2offset=5520;//position of crossing No.2 (default=5520)
crossImgFileB1="crossEMB1.gif";//picture name of the closed crossing (over the rail)
crossImgFileF1="crossEMF1.gif";//picture name of the closed crossing (fore the rail)
crossImgFileB0="crossEMB0.gif";//picture name of the open crossing (over the rail)
crossImgFileF0="crossEMF0.gif";//picture name of the open crossing (fore the rail)
crossImgWidth=130;//pixels.
//if overall train length is less than 1190 pixels, open crossing pictures are not necessary.

//SIGNALS
signalOK=true;
signal1offset=2320;//position of signal No.1 (default=2320)
signal2offset=6160;//position of signal No.2 (default=6160)
signal3offset=10320;//position of signal No.3 (default=10320)
signal4offset=14160;//position of signal No.4 (default=14160)
signalFileNameHead="signalEL";//Head of the signal file name.
//Head+colorCode(R,G)+".gif"=file name. gif only.

//TUNNEL and BRIDGE
tunnelOK=true;
tunneloffset=12422;//position of the tunnel. (default=12422)
tunnelImgFile="tunnel_eM.gif";//picture name.
bridgeOK=true;
bridgeoffset=14574;//position of the bridge. (default=14574.)
bridgeImgFile="bridge_eM1.gif";//picture name
bridgeImgFile2="bridge_eM2.gif";//another bridge picture .
//if doubleDistance is false, no use of bridge 2.

//ADDITIONAL SCENERY OBJECT
backobj1OK=false;
backobj1offset=0;//position.
backobj1img=".gif";//picture name
//
backobj2OK=false;
backobj2offset=0;
backobj2img=".gif";

/* CAUTION
from position 0 to 1700, it is bad to put the object.
from position 16000 to 17700, it is bad to put the object.
over 17700, out of railroad area.
*/



//BACKGROUND
vistaImgFile="scene_eMvista.png";
farBackgroundImgFile="scene_eMfar.gif";
farBackgroundImgWidth=1600;//pixels v1.6-
midBackgroundImgFile="scene_eMmid.gif";
midBackgroundImgWidth=1600;//pixels v1.6-
nearBackgroundOK=false;
nearBackgroundImgFile=".gif";//file name.
nearBackgroundImgWidth=1600;//pixels v1.6-

//RUNNING DISTANCE
doubleDistance=true;//true=3.2km, false=1.6km.

//KEY CONTROL

keycontrolOK=true;
keyOnStart=true;
keyguidePictureM02="keyboard_eM02.gif";//264*65px only.

//ETC
keepRight=true;//if UK or Japan, set false.
byTheYard=false;//true=MPH,yard, false=km/h,m
saveOK=true;//saving in cookie
saveDays=365;//30-1000days
cookieNameM02="eM02bestrecord";
infoBaseColor="#0099ff";//RGB
infoBorderColor="#00ddff";//RGB modern browser only v2.2-
infoColorA="#ffffff";
infoColorB="#999999";
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;
}
input{
border-style:solid;
border-width:1px;
}
--></style>
<!--Change this style in the design of your page-->
* Write your style here.


</head>
<body>

<!--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