Difference between revisions of "Shotgun Types"

From DoomRL Wiki

Jump to: navigation, search
m
(Merging the old Shotguns page with the new Super-type templating for all weapons family to create a more uniformed browsing experience; original credit goes to Tehtmi, Game Hunter and GrimmC.)
Line 20: Line 20:
 
*{{exotic link|Super shotgun}}
 
*{{exotic link|Super shotgun}}
 
*{{unique link|Jackhammer}}
 
*{{unique link|Jackhammer}}
 +
 +
 +
==ABOUT SHOTGUNS==
 +
 +
{{infostrat switch}}
 +
The weapons from the shotgun family of DoomRL all have an cone-shaped area of effect attack that makes them unique and powerful. Shotguns never miss any target in their affected area, and they always do at least one damage to each target. The size of the shotgun blast varies from weapon to weapon. It is governed by two parameters: range and spread. The range of a shotgun determines how far the blast extends from the attacker, and the spread determines the half-width of the blast when it reaches it's furthest point.
 +
 +
Shotgun damage also diminishes over distance. Each shotgun has a reduction rating that determines what percentage of damage is taken off per tile of [[distance]]. This penalty is applied linearly, and it is applied even at point-blank range. Rounding is to the nearest integer (0.5 rounds to even).
 +
 +
DoomRL uses shotguns with four different Area of Effect types:
 +
 +
 +
{| style="rules: cols; border: 2px solid darkred; border-spacing: 0; font-size: 90%; margin: 0.25em 0.5em;"
 +
|colspan=11 style="background: darkred; color: yellow; font-size: 120%; text-align: center"|'''Shotgun Area of Effect  Types'''
 +
|-
 +
|style="text-align: center; padding: 1ex; border: solid darkred; border-width: 0 1px 1px 0" width=100|'''Name'''
 +
|style="text-align: center; padding: 1ex; border: solid darkred; border-width: 0 1px 1px 1px" width=50|'''Range'''
 +
|style="text-align: center; padding: 1ex; border: solid darkred; border-width: 0 1px 1px 1px" width=50|'''Spread'''
 +
|style="text-align: center; padding: 1ex; border: solid darkred; border-width: 0 0 1px 1px" width=50|'''Reduction'''
 +
|- style="background: #333;"
 +
|style="text-align: left; padding-right: 1ex; border: solid darkred; border-width: 1px 1px 0 0"|normal
 +
|style="text-align: center; border: solid darkred; border-width: 1px 1px 0 1px"|15
 +
|style="text-align: center; border: solid darkred; border-width: 1px 1px 0 1px"|3
 +
|style="text-align: center; border: solid darkred; border-width: 1px 0 0 1px"|7%
 +
|-
 +
|style="text-align: left; padding-right: 1ex; border: solid darkred; border-width: 1px 1px 0 0"|focused
 +
|style="text-align: center; border: solid darkred; border-width: 1px 1px 0 1px"|15
 +
|style="text-align: center; border: solid darkred; border-width: 1px 1px 0 1px"|2
 +
|style="text-align: center; border: solid darkred; border-width: 1px 0 0 1px"|5%
 +
|- style="background: #333;"
 +
|style="text-align: left; padding-right: 1ex; border: solid darkred; border-width: 1px 1px 0 0"|wide
 +
|style="text-align: center; border: solid darkred; border-width: 1px 1px 0 1px"|8
 +
|style="text-align: center; border: solid darkred; border-width: 1px 1px 0 1px"|3
 +
|style="text-align: center; border: solid darkred; border-width: 1px 0 0 1px"|10%
 +
|-
 +
|style="text-align: left; padding-right: 1ex; border: solid darkred; border-width: 1px 1px 0 0"|plasma
 +
|style="text-align: center; border: solid darkred; border-width: 1px 1px 0 1px"|15
 +
|style="text-align: center; border: solid darkred; border-width: 1px 1px 0 1px"|3
 +
|style="text-align: center; border: solid darkred; border-width: 1px 0 0 1px"|5%
 +
|}
 +
 +
 +
== Area of Effect Details ==
 +
{{Technical}}
 +
To calculate a shotgun's area of effect, first a target square is calculated by extrapolating from the vector pointing at the manually targeted square. The true target will be a tile that is at the shotgun's maximum range with an approximately parallel vector. Then, for each tile in a (2 × spread + 1) side-length square around the target, the game traces out the path of a missile until it hits a wall. (Shotgun blasts go through enemies.) The missile paths are truncated if the distance along one of the axes becomes greater than the shotgun's range. For each tile that was traced out in at least one of the missile paths, damage is applied.

Revision as of 04:27, 14 August 2012

The following is a list of weapons that are classified as the shotgun type for the purposes of Challenges and Traits.


Standard


Assembly


Special


ABOUT SHOTGUNS

Game Data Strategy

The weapons from the shotgun family of DoomRL all have an cone-shaped area of effect attack that makes them unique and powerful. Shotguns never miss any target in their affected area, and they always do at least one damage to each target. The size of the shotgun blast varies from weapon to weapon. It is governed by two parameters: range and spread. The range of a shotgun determines how far the blast extends from the attacker, and the spread determines the half-width of the blast when it reaches it's furthest point.

Shotgun damage also diminishes over distance. Each shotgun has a reduction rating that determines what percentage of damage is taken off per tile of distance. This penalty is applied linearly, and it is applied even at point-blank range. Rounding is to the nearest integer (0.5 rounds to even).

DoomRL uses shotguns with four different Area of Effect types:


Shotgun Area of Effect Types
Name Range Spread Reduction
normal 15 3 7%
focused 15 2 5%
wide 8 3 10%
plasma 15 3 5%


Area of Effect Details

Technical
This article discusses technical aspects of DoomRL and will be of limited interest to most players.

To calculate a shotgun's area of effect, first a target square is calculated by extrapolating from the vector pointing at the manually targeted square. The true target will be a tile that is at the shotgun's maximum range with an approximately parallel vector. Then, for each tile in a (2 × spread + 1) side-length square around the target, the game traces out the path of a missile until it hits a wall. (Shotgun blasts go through enemies.) The missile paths are truncated if the distance along one of the axes becomes greater than the shotgun's range. For each tile that was traced out in at least one of the missile paths, damage is applied.

Personal tools