149 lines
3.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>4dguns documentation</title>
<link rel="stylesheet" href="../ldoc_new.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>4dguns</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Tables">Tables</a></li>
</ul>
<h2>Classes</h2>
<ul class="nowrap">
<li><strong>Gun</strong></li>
<li><a href="../classes/Instantiatable_class.html">Instantiatable_class</a></li>
</ul>
<h2>Modules</h2>
<ul class="nowrap">
<li><a href="../modules/default_controls.html">default_controls</a></li>
</ul>
<h2>Scripts</h2>
<ul class="nowrap">
<li><a href="../scripts/item_entities.lua.html">item_entities.lua</a></li>
<li><a href="../scripts/misc_helpers.html">misc_helpers</a></li>
<li><a href="../scripts/play_sound.html">play_sound</a></li>
</ul>
<h2>Topics</h2>
<ul class="">
<li><a href="../topics/readme.md.html">readme</a></li>
</ul>
</div>
<div id="content">
<h1>Class <code>Gun</code></h1>
<p>Gun class
this is the system used to represent guns and their attributes directly.</p>
<p>
</p>
<h2><a href="#Tables">Tables</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#gun.properties">gun.properties</a></td>
<td class="summary">properties</td>
</tr>
</table>
<br/>
<br/>
<h2 class="section-header "><a name="Tables"></a>Tables</h2>
<dl class="function">
<dt>
<a name = "gun.properties"></a>
<strong>gun.properties</strong>
</dt>
<dd>
properties
<h3>Fields:</h3>
<ul>
<li><span class="parameter">infinite_inventory_overlay</span>
defines the filename to to be used as the overlay on the item when the player has infinite ammo.
</li>
<li><span class="parameter">breathing_scale</span>
the max angluler offset caused by breathing.
</li>
<li><span class="parameter">flash_offset</span>
used by fire() (for fsx and ray start pos) [RENAME NEEDED]
</li>
<li><span class="parameter">firerateRPM</span>
used by update() and by extent fire() + default controls. The firerate of the gun. Rounds per minute
</li>
<li><span class="parameter">burst</span>
how many rounds in burst using when firemode is at "burst"
</li>
<li><span class="parameter">ammo_handler</span>
absurd. @table hip @field I can't believe i'm doing this
</li>
<li><span class="parameter">hip</span>
</li>
<li><span class="parameter">sway_vel_mul</span>
</li>
<li><span class="parameter">sway_angle_mul</span>
</li>
</ul>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/ldoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-03-28 12:40:54 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>