User Tools

Site Tools


modding:examples:weapon_with_single_projectile

Example 1

This is a weapon that fires a single projectile.

   <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>
modding/examples/weapon_with_single_projectile.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1