From Dirty Bomb Wiki
Jump to: navigation, search
Parameter name Variable name Property name(s) Value
name name Has name
portrait portrait Has portrait
equip_time equip_time Has equip time
putdown_time putdown_time Has put down time
ability ability Has ability
silent silent Is silent
fire_interval fire_interval Has fire interval
fuse fuse Has fuse time
projectile_damage projectile_damage Projectile has damage
projectile_damage_radius projectile_damage_radius Projectile has damage radius
projectile_lifetime projectile_lifetime Projectile has lifetime
projectile_can_pick_up projectile_can_pick_up Can pick up projectile
hit_snare_mul hit_snare_mul Has hit snare multiplier
hit_snare_time hit_snare_time Has hit snare time
projectile_damage_inner_radius projectile_damage_inner_radius Projectile has damage inner radius
projectile_health projectile_health Projectile has health
projectile_smoke_fadein_time projectile_smoke_fadein_time Projectile has smoke fade in time
projectile_smoke_fadeout_time projectile_smoke_fadeout_time Projectile has smoke fade out time
equip_snare_mul equip_snare_mul Has snare multiplier when equipped
deploy_time deploy_time Has time to deploy
max_deployed max_deployed Has maximum deployed
projectile_healing projectile_healing Projectile has healing
projectile_healing_medic projectile_healing_medic Projectile has healing for medic
projectile_healing_direct_hit projectile_healing_direct_hit Projectile has healing on direct hit
projectile_mine_arm_time projectile_mine_arm_time Mine projectile has arming time
projectile_mine_detection_radius projectile_mine_detection_radius Mine projectile has detection radius
max_range max_range Has maximum range
min_range min_range Has minimum range
max_damage max_damage Has maximum damage
min_damage min_damage Has minimum damage
damage_type damage_type Has damage type
muzzle_count muzzle_count Has muzzle count
charge_time charge_time Has charge time
charge_rate charge_rate Has charge rate
can_revive can_revive Can revive
burst_count burst_count Has burst count
burst_interval burst_interval Has burst interval
min_revive_health min_revive_health Has minimum revive health
max_revive_health max_revive_health Has maximum revive health
Template-info.png Documentation

This template is used to set up an weapon data page.

Generally speaking, these will be set up as Data namespace pages by periodic automated imports of data extracted from the game client, so it isn't recommended that you set these up yourself. You may want to edit them to update outdated data from time to time, though. Note, though, if imports are consistently adding incorrect information to a data page, you should instead use the appropriate parameters on {{WeaponInfo}} on the content page instead.

This template shows the data in a table like the one above automatically when used on pages in the Data namespace, but shows nothing when used elsewhere. This is because the data page is transcluded on its content page. The show_data parameter is provided if you want to test data pages in your userspace, though. Setting that to yes will cause it to display the table.


  |show_data=yes or no
  |name=The nickname of the weapon
  |portrait=Filename of the portrait image, without the "File:" namespace prefix
  |equip_time=time to equip the item
  |putdown_time=time to put down the time
  |ability=weapon's ability
  |silent=yes or no
  |fire_interval=weapon's firing interval
  |fuse=fuse time
  |projectile_damage=damage of projectile
  |projectile_damage_radius=damage radius of projectile
  |projectile_lifetime=time projectile remains "alive"
  |projectile_can_pick_up=yes or no
  |hit_snare_mul=movement multiplier of snare effect
  |hit_snare_time=duration of snare effect
  |projectile_damage_inner_radius=inner damage radius of projectile
  |projectile_health=health of projectile
  |projectile_smoke_fadein_time=time for smoke effect to fade in
  |projectile_smoke_fadeout_time=time for smoke effect to fade out
  |equip_snare_mul=movement multiplier when equipped
  |deploy_time=time required to deploy
  |max_deployed=maximum amount deployed
  |projectile_healing=healing from projectile
  |projectile_healing_medic=healing from projectile by medics
  |projectile_healing_direct_hit=healing from projectile on direct hit
  |projectile_mine_arm_time=arming time of mine projectiles
  |projectile_mine_detection_radius=detection radius of mine projectiles
  |max_range=maximum range
  |min_range=minimum range
  |max_damage=maximum damage
  |min_damage=minimum damage
  |damage_type=damage type
  |muzzle_count=muzzle count
  |charge_time=time to charge
  |charge_rate=rate of charging
  |can_revive=yes or no
  |burst_count=shots per burst
  |burst_interval=time between burst shots
  |min_revive_health=minimum revive health
  |max_revive_health=maximum revive health

This template defines the table "Weapon_data". View table.