Image:
Author: Frank Group: Default Filesize: 35.59 kB Date added: 2009-06-05 Rating: 6.8 Downloads: 1455 Views: 1788 Comments: 9 Ratings: 11 Times favored: 3 Made with: Phun Tags: laser, weapon, scripting, thyme
|
I've been working on this for quite some time. The main gun fires very fast, long, and light boxes to achieve a sort of laser attack. This will tear apart or push back most targets. The laser also has the power to strike through solid walls up to a certain size, allowing it to make mincemeat of otherwise heavily protected machinery inside enemies. Against all but the largest targets, expect a line of destruction right through it and a bit out the other side.
The secondary weapon is by far the most complicated script I've ever done. It spawns a box that spawns two other boxes, each of which have two nested onCollide scripts. What I call it is the Orbital Cannon Spotter. It's not nearly as destructive or fast as the main laser projectiles, but when the beam hits it will call down a massive blast from the sky that destroys pretty much anything.
There are two targets: a person sitting on a box and a huge wall made of interlocking bricks. It is possible to destroy both with either weapon, but I'd recommend the orbital cannon for the wall. It's rather large and sturdy.
CONTROLS: A and D to aim, W to fire attack laser. F to fire Orbital Cannon Spotter. Attack laser is automatic, OCS is not.
Arrow Keys to drive.
LAG: Although the projectiles disappear and cease to collide with anything, they are not destroyed. They will slowly pile up floating around, and if it starts to slow down you can delete them all (including projectiles that have not yet reached their target) with the L key.
I hope you like it! It's totally phunlet-safe. You can use my scripts and ideas, but please give credit for this stuff if you do. I put a lot of work and thought into it. |