Jump to content
Sign in to follow this  
thebarricade

Shotguns, now with pellets, not slugs

Recommended Posts

I've put together a small script that allows mission-makers to equip their players (and other units) with shotguns that actually fires pellets.

TBR_shotgun.utes

All relevant code in TBR_shotguns.sqf

Usage:

In init.sqf (or wherever you feel like putting it, as long as it gets called before the eventhandler)

[] call compile preprocessFileLineNumbers "TBR_shotguns.sqf";

_evidx = player addEventHandler["fired", {_this call TBR_shotgun_fired}];

(where player can be any unit, basically).

Use or abuse however you like.

It's fun to set TBR_shotgun_pellet = "G_40mm_HE", try, you'll like it :)

I suppose it could be turned into an addon, but then you really should make another ammo/magazine type for the shotshells, and I can't be arsed to make the effort...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×