The Marathon Markup Language - Weapons Element: <weapons>

This kind of element specifies various features of the weapons, such as shell casings and weapon order (child elements <shell_casings> and <order>).

Shell-casing features one can specify with the child element <shell_casings>, which has these attributes:

The time unit here is the engine tick; x0, y0, vx0, vy0, dvx, and dvy are all floating-point values that are relative to the screen (0 = left, 1 = right; 0 = bottom, 1 = top).

The various types of shell casings are:

  1. Assault rifle
  2. Centered pistol
  3. Left-side pistol
  4. Right-side pistol
  5. SMG

The weapon order can be specified with the child element <order>, which has these attributes, both mandatory:

The default weapon order is
  1. Fist
  2. Pistol
  3. Fusion Pistol
  4. Shotgun
  5. Assault Rifle
  6. SMG
  7. Flamethrower
  8. Rocket Launcher
  9. Alien Weapon
  10. Ball

Home