Shooting vanilla ARMA fish is boring and looks stupid because dead fish just freeze in place. But now we can MAFGA--Make Arma Fishing Great Again--with JBOY_SpearGun!!!
Converts SDAR into a SDart gun!
SDAR shoots fish with a small spear/harpoon (big thanks to @BadBensonfor the harpoon .p3d object!)
Fish bleeds, squirms for awhile, and sinks
Fish can be be taken by player, and a fish count variable is maintained for the shooter. This fish count variable can then be used later by other scripts for player to eat fish (for a survival scenario), or sell or trade fish as an item (if someone else wants to modify their trade scripts to include these fish).
No Mods required!
Works on ambient fish and fish created via script (createAgent)
Does NOT work on turtles. I don't know why. But only jerks shoot sea turtles anyway! :)
Does NOT impale AI units. When AI goes ragdoll, mempoint positions no longer mean anything, so its impossible to make harpoon stay impaled in a unit. Which is sad, because we would all love to turn an AI diver into a pin cushion!
Access the Fish Count variable for a unit:
If you are scripting a survival scenario, or a trade scenario, you can access the number of fish the player has as shown in following code snippet.
_fishTaken = player getVariable ["JBOY_FishTaken",0];
hint format ["You have %1 fish.",_fishTaken];
@BadBenson for cool barbed harpoon object. Thanks bro! (Sorry I took so long to publish it...)
@HallyGfor awesome blood effects script. Thanks HallyG! I use your scripts in a lot of my stuff, and really appreciate the help.
Sample mission to put in Editor: ZipFile of mission directory
Steam Link to play demo mission: Demo Mission