User Tools

Site Tools


modding:xml:weapon_with_single_projectile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

modding:xml:weapon_with_single_projectile [2014/12/27 04:40] (current)
Line 1: Line 1:
 +=====Example 1=====
 +This is a [[Weapon devices|weapon]] that fires a single projectile.
 +
 +<code>
 +   <Weapon
 +      fireRate=             "15"
 +      powerUse=             "10"
 +
 +      type=                 "missile"
 +      damage=               "kinetic:1d6+1; momentum1"
 +      missileSpeed=         "40"
 +      interaction=          "80"
 +      lifetime=             "60"
 +      sound=                "&snRecoillessCannon;"
 +      >
 +
 +      <Effect>
 +         <Bolt
 +            length=            "16"
 +            width=             "3"
 +            primaryColor=      "0xcd, 0xf3, 0xff"
 +            secondaryColor=    "0x8f, 0xa9, 0xb2"
 +            />
 +      </Effect>
 +   </Weapon>
 +</code>
  
modding/xml/weapon_with_single_projectile.txt ยท Last modified: 2014/12/27 04:40 (external edit)