aliens

Author Topic: New Craft Weapon: EMP Cannon  (Read 3417 times)

Offline KiethSomataw99

  • Captain
  • ***
  • Posts: 63
    • View Profile
New Craft Weapon: EMP Cannon
« on: July 20, 2013, 02:52:15 am »
I though of a new weapon for the crafts: the EMP Cannon. You need to research New Fighter Transporter to Unlock the EMP cannon. The EMP Cannon is manufactured in the workshop, requiring 25 Elerium and $275,000 for the weapon and has a limit of 9 shots, recharged for free. The EMP Cannon is a unique weapon, has a rather short range but always hits and does nearly as much damage as the fusion ball launcher, 200 to be exact. Also, the EMP cannon will never completely destroy a UFO, not even the smallest one as it is used to disrupt electronics of the craft. Any UFO downed by an EMP cannon is more likely to be intact as the only real damage is from the crash, and thus, you'll find more resources and more live aliens.

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: New Craft Weapon: EMP Cannon
« Reply #1 on: July 20, 2013, 10:51:33 am »
I like the idea, even though it isn't new ;)

it would require some code change, though: currently, the "damage to downed UFO" mechanics are quite simple: with a certain chance (independent of weapon damage), each Power Source of a crashed UFO will explode. this and only this will do damage to the crashed UFO.

as a quick way to implement the EMP cannon, it might be possible to include a "forced landing" routine... a successful hit has an xx% chance of triggering a landing (which also makes sense because the aliens will have the chance to "reboot the systems" a.k.a. start off again if you don't manage to subdue them quickly enough.)

@warboy, do you think this is possible? how will this affect scoring mechanics for the aliens, though? they score points for landing, don't they?

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: New Craft Weapon: EMP Cannon
« Reply #2 on: July 24, 2013, 04:03:56 pm »
could just add a bool to ufo objects representing "was hit by conventional weapons" and check that in the battlescape generator before doing the power source explosions.

it'd take like 20 lines of code to achieve this.