Re: Aquanauts Marine Forces ))AAL Product
Thanks for the positive replies, hopefully I inspired people to make more additions to the water enviroment.
ratatat11 wrote:
very nice mod nummy but the harpoon gun is realy just a grappling gun. i would keep the grappling gun effect but make it kill people while you grab them with ity.
I couldn't figure out how to make it deal damage to actors it hit, since when you shoot at actors, its most likely going to hit an attachable or some other piece that is not the body of the unit. To remove damage from something, the harpoon needs to be stuck to the source of the objects (see: torso). I had some script attempting to deal damage when it hit actors, but it did not work and gave me errors instead.
So then I added the
RIP AND TEAR feature. When you latch onto an object that you think weights less than 60 kilos, you can
RIP AND TEAR it by holding CROUCH + JUMP + UP. This will make the spear literally rip that objects off by deleting it (attempting to make it gib gave errors). Its quite powerful ingame and this solution allows you to use the spear gun for non lethal tasks aswell (ride on other friendly units like crabs to reach and stay at bottom).
@ Lizard: Nice, you guessed the origin of the name right after OP. Didn't think anyone would notice.