Infobox template for weapons in games using the Gamebryo engine (Fallout 3, Fallout: New Vegas).
If you are creating an infobox for Fallout 4, it is highly recommended that you use Template:Infobox weapon creation instead!
Usage
Place the following at the top of the article, below any page management templates:
{{Infobox weapon gamebryo <!-- insert parameters --> }}
This template takes data from the GECK as input and calculates display values like "damage/attack", "DPS" or "shots/reload" automatically. For details on the autocalculated values, see "Formulas" below.
Parameters
Specific parameters
Some parameters are only needed for certain weapon types and/or games (denoted in the table below).
Required for |
---|
|
Disabled for |
|
"Ammunition" in GECK (automatically linked) ("Edit" window -> "Game Data" tab -> "Ammunition").
Required for |
---|
|
Disabled for |
|
"Ammo Use" in GECK ("Edit" window -> "Game Data" tab -> "Ammo Use").
Required for |
---|
|
Disabled for |
|
"Action Points" in GECK ("Edit" window -> "Game Data" tab -> "Action Points").
Required for |
---|
|
Disabled for |
|
"Attack Shots/Sec" in GECK ("Edit" window -> "Art and Sound" tab -> "Attack Shots/Sec").
Required for |
---|
|
Disabled for |
|
Form ID in GECK ("Object" window, either hover mouse over item in question or expand the column between "Editor ID" and "Count" in the list view). Enclose ID(s) in {{ID}}
or {{DLC ID}}
.
Required for |
---|
|
Disabled for |
|
"Clip Rounds" in GECK ("Edit" window -> "Game Data" tab -> "Clip Rounds"). Can be set to nolimit
for guns with unlimited ammo.
Required for |
---|
|
Disabled for |
|
"Crit % Mult" in GECK ("Edit" window -> "Game Data" tab -> "Crit % Mult").
Required for |
---|
|
Disabled for |
|
"Crit Dmg" in GECK ("Edit" window -> "Game Data" tab -> "Crit Dmg").
Required for |
---|
|
Disabled for |
|
"Crit Effect" in GECK ("Edit" window -> "Game Data" tab -> "Crit Effect").
Required for |
---|
|
Disabled for |
|
"Damage" in GECK ("Edit" window -> "Game Data" tab -> "Damage").
Required for |
---|
|
Disabled for |
|
Damage for object effect in GECK ("Edit" window -> "Game Data" tab -> "Object Effect"; then look up this effect in "Object Window" -> "Game Effects" -> "Object Effect"; add up "Magnitude" for all damage effects).
Required for |
---|
|
Disabled for |
|
Duration for object effect in GECK ("Edit" window -> "Game Data" tab -> "Object Effect"; then look up this effect in "Object Window" -> "Game Effects" -> "Object Effect"; "Duration" for damage effects).
Required for |
---|
|
Disabled for |
|
For weapons which are/shoot explosive projectiles (e.g. grenades, mines, missile launcher); the respective projectile's "Damage" in GECK.
To find this value, go to "Edit" window -> "Art and Sound" tab -> "Projectile". Then look up this projectile in "Object Window" -> "Special Effects" -> "Projectile"; open "Edit" window, check "Type" in the "Explosion" box. Look up this type under "Object Window -> "Special Effects" -> "Explosion"; open "Edit" window, the "Damage" box has the value you are looking for.
Required for |
---|
|
Disabled for |
|
"Health" in GECK ("Edit" window -> "Game Data" tab -> "Health").
Required for |
---|
|
Disabled for |
|
"Min Spread" in GECK ("Edit" window -> "Game Data" tab -> "Min Spread").
Required for |
---|
|
Disabled for |
|
Object effects in GECK other than pure damage ("Edit" window -> "Game Data" tab -> "Object Effect"; then look up this effect in "Object Window" -> "Game Effects" -> "Object Effect").
Required for |
---|
|
Disabled for |
|
Name of a perk which affects the damage output of this weapon directly or indirectly (in plain text, automatically linked).
Required for |
---|
|
Disabled for |
|
If the corresponding perk
modifies damage
by a flat amount of points, use this parameter (e.g. if perk1
adds 5 points of damage
, set perk1 add
to 5).
Required for |
---|
|
Disabled for |
|
If the corresponding perk
decreases attack shots/sec
(rate of fire) by a percentage, use this parameter (e.g. if perk1
decreases attack shots/sec
by 10 percent, set perk1 attsec mult
to 0.1).
Required for |
---|
|
Disabled for |
|
If the corresponding perk
modifies effect damage
by a flat amount of points, use this parameter (e.g. if perk1
adds 5 points of effect damage
, set perk1 eff add
to 5).
Required for |
---|
|
Disabled for |
|
If the corresponding perk
modifies effect damage
by a percentage, use this parameter (e.g. if perk1
adds 10 percent to effect damage
, set perk1 eff mult
to 0.1).
Required for |
---|
|
Disabled for |
|
If the corresponding perk
modifies explosion damage
by a flat amount of points, use this parameter (e.g. if perk1
adds 5 points of explosion damage
, set perk1 expl add
to 5).
Required for |
---|
|
Disabled for |
|
If the corresponding perk
modifies explosion damage
by a percentage, use this parameter (e.g. if perk1
adds 10 percent to explosion damage
, set perk1 expl mult
to 0.1).
Required for |
---|
|
Disabled for |
|
If the corresponding perk
modifies damage
by a percentage, use this parameter (e.g. if perk1
adds 10 percent to damage
, set perk1 mult
to 0.1).
Required for |
---|
|
Disabled for |
|
If the corresponding perk
decreases reload time
by a percentage, use this parameter (e.g. if perk1
decreases reload time
by 10 percent, set perk1 reload mult
to 0.1).
Required for |
---|
|
Disabled for |
|
"# Projectiles" in GECK ("Edit" window -> "Game Data" tab -> "# Projectiles").
Required for |
---|
|
Disabled for |
|
Quests which are related to the weapon, if any.
Required for |
---|
|
Disabled for |
|
"Reload Time" in GECK ("Edit" window -> "Art and Sound" tab -> "Reload Time").
Required for |
---|
|
Disabled for |
|
Other weapons this weapon can be repaired with ("Edit" window -> "Game Data" tab -> "Repair Item List"; then look up this Repair Item List in "Object Window" -> "Miscellaneous" -> "Form List").
Required for |
---|
|
Disabled for |
|
(Additional) weapons this weapon can be repaired with if the player has the Jury Rigging perk (Fallout: New Vegas).
Required for |
---|
|
Disabled for |
|
Name of skill this weapon requires in plain text (automatically linked) ("Edit" window -> "Skill").
Required for |
---|
|
Disabled for |
|
Required level of skill
for using the weapon at full efficiency ("Edit" window -> "Skill Req").
Required for |
---|
|
Disabled for |
|
Strength requirement of the weapon ("Edit" window -> "Strength Req")
Required for |
---|
|
Disabled for |
|
Type of weapon; determines required parameters and has an effect on certain formulas. If this weapon is unique, add "unique" to the options below (e.g. "unique gun").
Available options:
- unarmed: An unarmed weapon.
- melee: A melee weapon.
- gun: A gun.
- gunautomatic: A gun which has the "Automatic" flag checked in the GECK's "Edit" window.
- gunhandload: A gun using the handload mechanism.
- grenade: A grenade.
- mine: A mine.
Required for |
---|
|
Disabled for |
|
"Value" in GECK ("Edit" window -> "Game Data" tab -> "Value").
Required for |
---|
|
Disabled for |
|
"Weight" in GECK ("Edit" window -> "Game Data" tab -> "Weight").
General infobox parameters
{{abb}}
. Multiple abbreviations can be specified if separated by commas (,
).icon
in pixels, i.e. the icon is moved "upwards" by the specified amount of pixels. Setting this to "@outside" results in the icon being placed completely outside (above) the image area.image
, displayed below the image.image
in pixels (e.g. "240px").Formulas
Displayed value | For type
|
Formula |
---|---|---|
crit chance |
|
|
dmg/projectile |
|
|
dmg/attack | ||
shots/reload |
|
|
DPS | ||
DPS (reloads) |
|
|
DPS (reloads) |
|
Example
{{Infobox weapon gamebryo |games =FNV |type =gun |icon =Laser rifle icon.png |image =AER9 laser rifle.png |skill =Energy Weapons |damage =15 |projectiles =1 |attack shots/sec =3.0818 |min spread =0.025 |crit dmg =15 |crit % mult =1.5 |perk1 =Laser Commander |perk1 mult =0.15 |ammo =Microfusion cell (Fallout: New Vegas) |ammo use =1 |clip rounds =24 |reload time =2.5 |ap =18 |hp =55 |strength req =3 |skill req =25 |repair =[[Laser rifle (Fallout: New Vegas)|Laser rifle]] |weight =8 |value =800 |baseid ={{ID|00004336}} }}
Copy/paste
Fallout 3
Unarmed weapon | Melee weapon |
---|---|
{{Infobox weapon gamebryo |games =FO3 |type =unarmed |icon = |image = |skill =Unarmed |damage = |attack shots/sec = |crit % mult = |crit dmg = |ap = |hp = |repair = |weight = |value = |baseid ={{ID|}} }} |
{{Infobox weapon gamebryo |games =FO3 |type =melee |icon = |image = |skill =Melee Weapons |damage = |attack shots/sec = |crit % mult = |crit dmg = |ap = |hp = |repair = |weight = |value = |baseid ={{ID|}} }} |
Grenade | Mine |
{{Infobox weapon gamebryo |games =FO3 |type =grenade |icon = |image = |skill = |damage = |explosion damage = |attack shots/sec = |crit dmg = |crit % mult = |ap = |hp = |weight = |value = |baseid ={{ID|}} }} |
{{Infobox weapon gamebryo |games =FO3 |type =mine |icon = |image = |skill = |damage = |explosion damage = |attack shots/sec = |crit dmg = |crit % mult = |ap = |hp = |weight = |value = |baseid ={{ID|}} }} |
Gun | Gun (automatic) |
{{Infobox weapon gamebryo |games =FO3 |type =gun |icon = |image = |skill = |damage = |projectiles = |attack shots/sec = |min spread = |crit dmg = |crit % mult = |ammo = |ammo use = |clip rounds = |reload time = |ap = |hp = |repair = |weight = |value = |baseid ={{ID|}} }} |
{{Infobox weapon gamebryo |games =FO3 |type =gunautomatic |icon = |image = |skill = |damage = |projectiles = |attack shots/sec = |min spread = |crit dmg = |crit % mult = |ammo = |ammo use = |clip rounds = |reload time = |ap = |hp = |repair = |weight = |value = |baseid ={{ID|}} }} |
Fallout: New Vegas
Unarmed weapon | Melee weapon |
---|---|
{{Infobox weapon gamebryo |games =FNV |type =unarmed |icon = |image = |skill =Unarmed |damage = |attack shots/sec = |crit % mult = |crit dmg = |ap = |hp = |strength req = |skill req = |repair = |repair juryrig = |weight = |value = |baseid ={{ID|}} }} |
{{Infobox weapon gamebryo |games =FNV |type =melee |icon = |image = |skill =Melee Weapons |damage = |attack shots/sec = |crit % mult = |crit dmg = |ap = |hp = |repair = |repair juryrig = |strength req = |skill req = |weight = |value = |baseid ={{ID|}} }} |
Grenade | Mine |
{{Infobox weapon gamebryo |games =FNV |type =grenade |icon = |image = |skill =Explosives |damage = |explosion damage = |attack shots/sec = |crit dmg = |crit % mult = |ap = |hp = |strength req = |skill req = |weight = |value = |baseid ={{ID|}} }} |
{{Infobox weapon gamebryo |games =FNV |type =mine |icon = |image = |skill =Explosives |damage = |explosion damage = |attack shots/sec = |crit dmg = |crit % mult = |ap = |hp = |strength req = |skill req = |weight = |value = |baseid ={{ID|}} }} |
Gun | Gun (automatic) |
{{Infobox weapon gamebryo |games =FNV |type =gun |icon = |image = |skill =Guns |damage = |projectiles = |attack shots/sec = |min spread = |crit dmg = |crit % mult = |ammo = |ammo use = |clip rounds = |reload time = |ap = |hp = |repair = |repair juryrig = |strength req = |skill req = |weight = |value = |baseid ={{ID|}} }} |
{{Infobox weapon gamebryo |games =FNV |type =gunautomatic |icon = |image = |skill =Guns |damage = |projectiles = |attack shots/sec = |min spread = |crit dmg = |crit % mult = |ammo = |ammo use = |clip rounds = |reload time = |ap = |hp = |repair = |repair juryrig = |strength req = |skill req = |weight = |value = |baseid ={{ID|}} }} |
Gun (handload) | |
{{Infobox weapon gamebryo |games =FNV |type =gunhandload |icon = |image = |skill =Guns |damage = |projectiles = |attack shots/sec = |min spread = |crit dmg = |crit % mult = |ammo = |ammo use = |clip rounds = |reload time = |ap = |hp = |repair = |repair juryrig = |strength req = |skill req = |weight = |value = |baseid ={{ID|}} }} |
Technical
- Auxiliary template:
{{Pagename nd}}
- Extensions used: VariablesExtension