Skip to content

Configuration for Weapons

Claudio Bonesana edited this page Apr 14, 2021 · 2 revisions

This configuration file defines the properties of the weapons and equipment available fore the figures.

Examples: weapon.template.yaml, SniperRifle.yaml, Mortar.yaml

weapon:

This specifies that in this configuration files are contained definitions for the weapons and equipment. This must be included in all files of this folder.

  SniperRifle:

This is the internal name associated with this weapon. This name can be used as a reference from other configuration file.

If the name of the weapon is template, then this weapon will be the generic template for all the other weapons.

    wid: SR

This is a short-version of the internal name associated with this weapon. It is usual an acronym of the internal name.

    name: 'Sniper Rifle'

This is the human-readable name of the type of terrain.

    max_range: 10

This indicate the max range in hexagons from the figure that uses this weapon. If the range has no limits, use the value 'inf'

    atk:
      normal: 6
      response: 3

This section defines the attack value of the weapon. normal is used during an action, while response during a response. In the tabletop version of the game, the resoponse value is always half the normal value.

    ammo: 0

Specify the number of ammunition available. 0 means there are no ammunitions for this weapon, so it can shot infinite times.

    dices: 1

Number of dices thrown, and shots fired, for this weapon. Each dice that has a success value mark an hit on the target.

    damage: 1

Defines the quantity of damage for each hit.

    free_los: 3

Ignore all obstacles to the line-of-sight for the number of hexagons indicated by the value.

    curved: false

If true, an attacker can use the weapon although it does not have a direct line-of-sight on the target. However, another ally figure need to have a direct line-of-sight on the target.

    antitank: false

If true, the weapon consider only targets that have an antitank armor value. Cannot be used against target that does not have this kind of armor.

    miss_matrix: false

If true, in case of miss the projectile will land in an hexagon based on the miss_matrix rule.

    attack_ground: false

If true, the target of the attack is an hexagon and not a figure.

    smoke: false

If true, on impact this weapon will generate a cloud of smoke. Smoke is used as a screen against enemy lines-of-sight.

Clone this wiki locally