Location: PHPKode > projects > REMLAB Web Mech Designer > remlab30/template/protomech.tpl.inc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{TITLE} {SUB_TITLE}</title>
<meta name="authors" content="{AUTHOR}" />
<link type="text/css" rel="stylesheet" href="resources/remlab.css" media="screen" />
<link type="text/css" rel="stylesheet" href="resources/print.css" media="print" />
<script type="text/javascript" src="include/remlab.js"></script>
<script type="text/javascript" src="include/protomech.js"></script>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>

<body onload="loadApp()">

<div id="Top">
	<div id="Header" onclick="location.href='build.lab'">
		<h1>{TITLE} <span>{SUB_TITLE}</span></h1>
		<div>{VERSION}</div>
	</div>
	<div id="Navigation">
		<dl>
			<dd><a href="build.lab">Build</a></dd>
			<dd><a href="about.lab">About</a></dd>
			<dd><a href="help.lab">Help</a></dd>
		</dl>
	</div>
</div>

<div id="Content">

<noscript>Javascript must be enabled for REMLAB to function.</noscript>

<form name="form" method="post" action="">

<div id="Totals">
	<table cellspacing="0">
		<tr>
			<th>Tonnage:</th>
			<td><span id="txtTonsRemaining">0.0</span>&nbsp;of <span id="txtTonnage">0.0</span></td>
			<th>Cost:</th>
			<td><span id="txtTotalCost">0</span> <small>C-bills</small></td>
			<th>Damage:</th>
			<td><span id="txtMaxDamage">0</span> <small>(<span id="txtDamagePerTon">0.00</span> per ton)</small></td>
			<th width="30%" rowspan="2"><input type="button" name="bRS" value="Record Sheet" onclick="submitForm('protomech','rs')" /> <input type="button" name="bTR" value="Tech Readout" onclick="submitForm('protomech','tr')" /><br /><input type="button" name="bXML" value="XML" onclick="submitForm('protomech','xml')" /> <!--input type="button" name="bMM" value="MegaMek" onclick="submitForm('protomech','mft')" /--></th>
		</tr>
		<tr>
			<th>Slots:</th>
			<td><span id="txtCritsRemaining">0</span>&nbsp;of <span id="txtCrits">5</span></td>
			<th><acronym title="Battle Value">BV</acronym>:</th>
			<td id="txtTotalBV">0</td>
			<th></th>
			<td></td>
		</tr>	
	</table>
</div>

<div id="Tabs">
	<dl>
		<dd><a id="L1btn" href="#" onclick="switchTab('L1');return false">Chassis</a></dd>
		<dd><a id="L2btn" href="#" onclick="switchTab('L2');return false">Armor</a></dd>
		<dd><a id="L3btn" href="#" onclick="switchTab('L3');return false">Armament</a></dd>
		<dd><a id="L4btn" href="#" onclick="switchTab('L4');return false">Pilot</a></dd>
		<dd><a id="L5btn" href="#" onclick="switchTab('L5');return false">History</a></dd>
	</dl>
</div>

<div id="Stats">
	Type <input type="text" name="Type" size="32" maxlength="50" value="" /> &nbsp;
	Class <select name="Mods" onchange="changeLevel()">
		<option value="0" selected="selected">ProtoMech</option>
	</select> &nbsp;
	Tonnage <select name="Tonnage" onchange="Calc()">
		<option value="2" selected="selected">2</option>
		<option value="3">3</option>
		<option value="4">4</option>
		<option value="5">5</option>
		<option value="6">6</option>
		<option value="7">7</option>
		<option value="8">8</option>
		<option value="9">9</option>
	</select>
</div>

<div id="L1">
	<div class="ColLeft">
	<h3>Rules</h3>
	<div>
	<table>
		<tr>
			<th>Ruleset</th>
			<td><select name="Level" onchange="changeLevel()">
				<option value="2" selected="selected">Standard</option>
				<!--option value="3">Advanced</option-->
			</select></td>
		</tr>
		<tr>
			<th>Edition</th>
			<td><select name="Edition" onchange="changeLevel()">
				<option value="4">4th</option>
				<option value="5" selected="selected">5th</option>
			</select></td>
		</tr>
		<tr>
			<th>Technology</th>
			<td><select name="Tech" onchange="changeLevel();switchCatagory('T1')">
				<!--option value="1">Inner Sphere</option-->
				<option value="2" selected="selected">Clan</option>
			</select></td>
		</tr>
		<tr>
			<th>Era</th>
			<td><select id="Era" name="Era">
				<option value="2439">2439</option>
				<option value="2570">2570</option>
				<option value="2750">2750</option>
				<option value="3025">3025</option>
				<option value="3039">3039</option>
				<option value="3050">3050</option>
				<option value="3055">3055</option>
				<option value="3058">3058</option>
				<option value="3060">3060</option>
				<option value="3067">3067</option>
				<option value="3075" selected="selected">3075</option>
				<option value="3132">3132</option>
			</select><input type="text" id="EraInput" name="EraInput" size="5" maxlength="4" value="" /><input type="button" value=" + " class="Plus" onclick="flipInput('EraInput','Era')" title="Switch between input and select" /></td>
		</tr>	
	</table>
	</div>

	<h3>Engine and Movement</h3>
	<div>
	<table>
		<tr>
			<th>Walking <acronym title="Movement Points">MP</acronym></th>
			<td><select name="Walking" onchange="Calc()">
				<option value="01" selected="selected">1</option>
				<option value="02">2</option>
				<option value="03">3</option>
				<option value="04">4</option>
				<option value="05">5</option>
				<option value="06">6</option>
				<option value="07">7</option>
				<option value="08">8</option>
				<option value="09">9</option>
				<option value="10">10</option>
				<option value="11">11</option>
				<option value="12">12</option>
				<option value="13">13</option>
				<option value="14">14</option>
			</select>&nbsp; Running <acronym title="Movement Points">MP</acronym> <strong><span id="txtRunning">2</span></strong></td>			
		</tr>
		<tr>
			<th>Engine</th>
			<td><select name="Engine" onchange="Calc()">
				<option value="0" selected="selected">Fusion</option>
			</select>&nbsp; <span id="txtEngine">4</span> <span class="Tons">[<span id="txtEngineTonnage">0.1</span> tons]</span></td>			
		</tr>
		<tr>
			<th>Jumping <acronym title="Movement Points">MP</acronym></th>
			<td><select name="Jumping" onchange="Calc()">
				<option value="0" selected="selected">0</option>
				<option value="01">1</option>
				<option value="02">2</option>
				<option value="03">3</option>
				<option value="04">4</option>
				<option value="05">5</option>
				<option value="06">6</option>
				<option value="07">7</option>
				<option value="08">8</option>
				<option value="09">9</option>
				<option value="10">10</option>
				<option value="11">11</option>
				<option value="12">12</option>
				<option value="13">13</option>
				<option value="14">14</option>
				<option value="15">15</option>
			</select> <span class="Tons">[<span id="txtJumpJets">0.00</span> tons]</span></td>			
		</tr>
	</table>
	</div>
	</div>
	
	<div class="ColRight" style="margin-bottom:260px"><br /><strong>Note:</strong> 1,000Kg = 1 ton</div>
</div>

<div id="L2">
	<h3 class="padding">Armor</h3>
	<div>Type <select name="Armor" onchange="Calc()">
			<option value="0" selected="selected">Standard</option>
		</select> &nbsp; Armor Points &nbsp;<strong><span id="txtArmorTotal">0</span>/<span id="txtArmorMax">0</span></strong>&nbsp; <span class="Tons">[<span id="txtArmorTonnage">0.0</span> tons]</span>
	</div>

	<h3>Allocate Armor Points</h3>
	<div>
	<table width="460" cellspacing="1">
		<tr>
			<td>Main Gun<br /><input type="text" name="ArmorM" size="2" maxlength="2" value="0" onchange="Calc()" />/<span id="txtMaxM"></span></td>
			<td>Head<br /><input type="text" name="ArmorH" size="2" maxlength="2" value="0" onchange="Calc()" />/<span id="txtMaxH"></span></td>
			<td></td>
			<th rowspan="4">
				<fieldset><legend>Amount</legend>
				<input type="button" value="Full" onclick="armorPercent(1)" /><br /><br /><input type="button" value="Half" onclick="armorPercent(0.5)" /><br /><br /><input type="button" value="None" onclick="clearArmor()" /><input type="hidden" name="ArmorPercent" value="0" /></fieldset>
			</th>
		</tr>
		<tr>
			<td><acronym title="Left Arm">LA</acronym><br /><input type="text" name="ArmorLA" size="2" maxlength="2" value="0" onchange="Calc()" onkeyup="armorBalance('ArmorLA','ArmorRA')" />/<span id="txtMaxLA"></span></td>
			<td>Torso<br /><input type="text" name="ArmorT" size="2" maxlength="2" value="0" onchange="Calc()" />/<span id="txtMaxT"></span></td>
			<td><acronym title="Right Arm">RA</acronym><br /><input type="text" name="ArmorRA" size="2" maxlength="2" value="0" onchange="Calc()" />/<span id="txtMaxRA"></span></td>
		</tr>
		<tr>
			<td></td>
			<td>Legs<br /><input type="text" name="ArmorL" size="2" maxlength="2" value="0" onchange="Calc()" />/<span id="txtMaxL"></span></td>
			<td></td>
		</tr>
	</table>
	</div>
</div>

<div id="L3">
	<h3 class="line">Weapons and Equipment</h3>
	<div id="weapTabs">
		<dl>
			<dd><a id="T1btn" href="#" onclick="switchCatagory('T1');return false">Weapons</a></dd>
			<dd><a id="T2btn" href="#" onclick="switchCatagory('T2');return false">Ammunition</a></dd>
			<dd><a id="T8btn" href="#" onclick="showAllocateP();return false">Allocate Items</a></dd>
		</dl>
	</div>
		<div id="T1" style="margin-top:10px">
{WEAPONS_PROTO}
		</div>

		<div id="T2" style="margin-top:10px">
			<div class="ammoLeft">
<table id="WT7Pc" cellspacing="1">
	<tr class="TH"><th width="45"><acronym title="Number of shots"> #</acronym></th><th width="200">Type</th><th><acronym title="Kilograms per shot">Kg/Shot</acronym></th><th><acronym title="Cost in C-bills">Cost</acronym></th><th><acronym title="Battle Value">BV</acronym></th></tr>
	<tr class="L24"><td><input name="AMMOAC2" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>AC/2</td><td>20/1</td><td>23</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMOAC5" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>AC/5</td><td>50/1</td><td>450</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMOAMS" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>AMS</td><td>40/1</td><td>167</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMOHMG" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>Heavy MG</td><td>10/1</td><td>10</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMOLMG" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>Light MG</td><td>5/1</td><td>3</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMOLRM" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>LRM</td><td>25/3</td><td>1250</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMOMG" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>MG</td><td>5/1</td><td>5</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMONarc" size="3" maxlength="2" value="" onchange="Calc()" /><td>Narc</td><td>150/1</td><td>1000</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMOSRM" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>SRM</td><td>10/1</td><td>540</td><td>1</td></tr>
	<tr class="L24"><td><input name="AMMOSSRM" size="3" maxlength="2" value="" onchange="Calc()" /></td><td>Streak SRM</td><td>10/1</td><td>1080</td><td>1</td></tr>
</table>
			</div>
	</div>
	
	<h3>Allocate</h3>
	<div id="allocate">
		<table cellspacing="1" cellpadding="1">
			<tr>
				<td width="25%">
					<p>Weapons &amp; Ammo</p>
					<ul id="txtListWeapons"><li></li></ul>
				</td>
				<td width="25%">
					<p>Equipment</p>
					<ul id="txtListEquipment"><li></li></ul>
				</td>
				<td width="25%">
					<p>Available Slots</p>
					<table id="CritSlots">
						<tr>
							<td><acronym title="Torso">T</acronym></td>
							<th><input type="text" name="TCrits" value="2" readonly="readonly" /></th>
						</tr>
						<tr>
							<td><acronym title="Main Gun">MG</acronym></td>
							<th><input type="text" name="MGCrits" value="1" readonly="readonly" /></th>
						</tr>
						<tr>
							<td><acronym title="Left Arm">LA</acronym></td>
							<th><input type="text" name="LACrits" value="1" readonly="readonly" /></th>
						</tr>
						<tr>
							<td><acronym title="Right Arm">RA</acronym></td>
							<th><input type="text" name="RACrits" value="1" readonly="readonly" /></th>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</div>
</div>

<div id="L4">
	<div class="ColLeft">
		<h3>Pilot Info</h3>
		<div>
		<table>
			<tr>
				<th>Name</th>
				<td><input type="text" name="PilotName" size="34" maxlength="40" value="" /><!--input type="button" value="^" title="Random Name Generator (off-site)" onclick="OpenWindow('http://www.behindthename.com/random/')" /--></td>			
			</tr>
			<tr>
				<th>Affiliation</th>
				<td><select id="Faction" name="Faction">
					<option value="0" selected="selected">None (blank line)</option>
					<optgroup label="Inner Sphere">
						{FACTION_IS}
					</optgroup>
					<optgroup label="Clans">
						{FACTION_CLAN}
					</optgroup>
					<optgroup label="The Periphery Realms">
						{FACTION_PERIPHERY}
					</optgroup>
					<optgroup label="Dark Age (32nd Century)">
						{FACTION_DARKAGE}
					</optgroup>
					<optgroup label="Mercenaries">
						{FACTION_MERCS}
					</optgroup>
					<optgroup label="Generic">
						{FACTION_GENERIC}
					</optgroup>
				</select><input type="text" id="FactionInput" name="FactionInput" size="34" maxlength="40" value="" /><input type="button" value=" + " class="Plus" onclick="flipInput('FactionInput','Faction')" title="Switch between input and select" /></td>			
			</tr>
			<tr>
				<th>Player</th>
				<td><input type="text" name="Player" size="25" maxlength="25" value="" /></td>			
			</tr>
			<tr>
				<th>Miniature</th>
				<td><input type="text" name="Miniature" size="25" maxlength="25" value="" /></td>			
			</tr>
		</table>
		</div>
	</div>
	
	<div class="ColRight">
		<h3>Pilot Stats</h3>
		<div>
		<table>
			<tr>
				<th>Race</th>
				<td><select name="Race" onchange="raceSkills()">
					<option value="1" selected="selected">Clanner</option>
				</select></td>
			</tr>
			<tr>
				<th>Experience</th>
				<td><select name="Experience">
					<option value="1" selected="selected">Green</option>
					<option value="2">Regular</option>
					<option value="3">Veteran</option>
					<option value="4">Elite</option>
				</select></td>
			</tr>
			<tr>
				<th>Gunnery Skill</th>
				<td><select name="Gunnery">
					<option value="8">7</option>
					<option value="7">6</option>
					<option value="6">5</option>
					<option value="5" selected="selected">4</option>
					<option value="4">3</option>
					<option value="3">2</option>
					<option value="2">1</option>
					<option value="1">0</option>
				</select><input type="hidden" name="Piloting" value="0" /></td>
			</tr>
		</table>
		</div>
		<p>&nbsp;</p>
		<p>&nbsp;</p>
		<p>&nbsp;</p>
	</div>
</div>

<div id="L5">
	<div class="ColLeft">
		<h3>Overview</h3>
		<div><textarea name="Overview" rows="4" cols="44"></textarea></div>
		<h3>Capabilities</h3>
		<div><textarea name="Capability" rows="4" cols="44"></textarea></div>
		<h3>Battle History</h3>
		<div><textarea name="History" rows="4" cols="44"></textarea></div>
	</div>
	<div class="ColRight">
		<h3>Deployment</h3>
		<div><textarea name="Deployment" rows="4" cols="44"></textarea></div>
		<h3>Variants</h3>
		<div><textarea name="Varients" rows="4" cols="44"></textarea></div>
		<h3>Notable Pilots</h3>
		<div><textarea name="Notable" rows="4" cols="44"></textarea></div>
	</div>
</div>

<input type="hidden" name="UnitType" value="4" />
<input type="hidden" name="Tons" value="0" />
<input type="hidden" name="Crits" value="0" />
<input type="hidden" name="EngineRating" value="0" />
<input type="hidden" name="TotalCost" value="0" />
<input type="hidden" name="TotalBV" value="0" />
<input type="hidden" name="MaxDamage" value="0" />
<input type="hidden" name="ArmorTotal" value="0" />
<input type="hidden" name="HeatSinks" value="0" />
<input type="hidden" name="TCritsMax" value="2" />
<input type="hidden" name="MGCritsMax" value="1" />
<input type="hidden" name="LACritsMax" value="1" />
<input type="hidden" name="RACritsMax" value="1" />
<input type="hidden" name="NumWeapons" value="" />
<input type="hidden" name="1Crits" value="" />

</form>

<div id="Processing"></div>

</div>

<div id="Bottom">
	<div>Developed by <a href="http://www.marchtwenty.com/">March Twenty Productions</a> and distributed on <a href="http://remlab.sourceforge.net/">SourceForge.net</a>.</div>
</div>

</body>
</html>
Return current item: REMLAB Web Mech Designer