Beaming Nuke Ability

Hey guys,

I have decided I want to give one of my ships the ability to beam a nuke onto other ships to blow them up after a short delay, like on the Stargate Series where that same weapon is used to destroy a few hive ships.

This will not involve watching any weapons get fired from one ship to the next, just click on ability, click target, short delay... KABOOM! big explosion, one wrecked ship.

Anyway, unlike with previous abilities I have created I can't seem to find a place to start on this ability when it comes to the coding side of it. Plus theres the epic explosion itself that I have yet to learn how to create, so any guidelines or advice would be greatly appreciated.

6,476 views 8 replies
Reply #1 Top

This is actually quite simple and can be done with 2 files :D

The ability will have the instant action ApplyBuffToTarget and the buff will have the finish condition TimeElapsed

the buff will then have 2 instant actions, DoDamage and PersistentAttachedEffect, both actions will have the trigger OnBuffFinnish, or you can use OnDelay and add an delay instead of the usual 0.000000 (might be better). Also I have a good spacenuke explosion which I can upload :).

Here is the explosion: http://www.mediafire.com/?tzzjt0qavug it works best with the bloom effect on.

Note that it was originally made for a titans ultimate ability.

Reply #2 Top

Standard explosion of any ship should suffice on that front, unless you're talking splash damage...

This weapon seems OP, but you seem to be aware of that so no big deal.  Just make it deal 100,000 damage to a given ship and or starbase and presto, kablooey.  My suggestion is to copy the Kol's Gause Rail Gun for this.  Have to ask somebody else on the removal of visual effects though, I'm no modder, just a theorist.

-Twilight Storm | My life for the Dahkri

Reply #3 Top

Might I suggest something for OP? only allow the use of the ability once shields on the ship go down :P

Reply #4 Top

I have tried giving it ago, but i'm getting minidumps, i'm going to look into it in the morning

Reply #5 Top

ER actually poses a good point.  In Stargate, Shields negate the option of beaming.

-Twilight Storm | My life for the Dahkri

Reply #6 Top

Is that even posssible? I'm only new to most of this, but I know that the shields are always regenerating that tiniest amount at a time in the game, so a disable shield regeneration ability would have to be used before it I think

Reply #7 Top

Or make it something like shields must be under 100 or so.  Nobody regenerates that fast.

-Twilight Storm | My life for the Dahkri

Reply #8 Top

Hi again, i dunno where I am going wrong, but the game crashes every time I try what I have made so far (i'm not even getting minidumps). I can't seem to get this ability to work, so I have placed links to pastebin below incase anybody can help me out with it.

AbilityBeamNuke;

http://pastebin.com/uFGZ7XsZ

BuffBeamNukeSplash;

http://pastebin.com/0CLivxMW

BuffBeamNuke;

http://pastebin.com/CbHumRjU

 

I'm trying to get it to use that explosion that gruntmaster has provided me, deal damage to the target and deal less damage to any ship, module, fighter etc within a certain radius of the target.