Shotgun mod

YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
<div class="IPBDescription">simple changes</div>Following this <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=115236" target="_blank">discussion</a> I tried to implement the following changes :

- Increased pellet number from 10 to 40.
- Decrease damage per pellet accordingly.
- Increased pellets spreading from 20 to 30 degree.
- Increased maximal range from 20 to 100.
- Damage now decrease exponentially with distance, allowing to make some damage event at long range.

<a href="http://www.mediafire.com/?jd0v8217d8jjjq5" target="_blank">http://www.mediafire.com/?jd0v8217d8jjjq5</a>

<img src="http://i.imgur.com/ZlcqB.jpg" border="0" class="linked-image" />

Comments

  • WavesonicsWavesonics Join Date: 2006-12-02 Member: 58833Members
    Nice, I like it. Hope this gets included.
  • swalkswalk Say hello to my little friend. Join Date: 2011-01-20 Member: 78384Members, Squad Five Blue
    Looks awesome, cant wait to try it!
  • SewlekSewlek The programmer previously known as Schimmel Join Date: 2003-05-13 Member: 16247Members, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Developer
    i hope not. more than 4 times more stress to the server :(
  • swalkswalk Say hello to my little friend. Join Date: 2011-01-20 Member: 78384Members, Squad Five Blue
    <!--quoteo(post=1881309:date=Oct 23 2011, 03:28 AM:name=Schimmel)--><div class='quotetop'>QUOTE (Schimmel @ Oct 23 2011, 03:28 AM) <a href="index.php?act=findpost&pid=1881309"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i hope not. more than 4 times more stress to the server :(<!--QuoteEnd--></div><!--QuoteEEnd-->
    Aw, thats a bummer..
  • Heroman117Heroman117 Join Date: 2010-07-28 Member: 73268Members
    Im definitely a fan of the increased range, it'd be so much more satisfactory to at least have your shots do SOME damage past an incredibly short distance like the way it is right now, even if its just 1 damage a pellet.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    Is it so bad for the server ? On my pc is started to be bad around 400 pellets per shot, but yes, in theory it's more collisions to compute, and more bullet impact to draw. If it's too bad we can decrease the number of pellets of course, while keeping the long range.
  • SewlekSewlek The programmer previously known as Schimmel Join Date: 2003-05-13 Member: 16247Members, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Developer
    i made some shotgun adjustments in my server mod with increased range and lower max damage (to prevent 2 shotting fades). the shotgun felt much more useful with that. so yeah, increasing the range a bit is a good idea, i like it

    <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Is it so bad for the server ? On my pc is started to be bad around 400 pellets per shot, but yes, in theory it's more collisions to compute, and more bullet impact to draw. If it's too bad we can decrease the number of pellets of course, while keeping the long range.<!--QuoteEnd--></div><!--QuoteEEnd-->

    with 1 player is not such a problem, but in a 10 vs 10 match up. imagine a shotgun rush on a high populated server :)
  • twilitebluetwiliteblue bug stalker Join Date: 2003-02-04 Member: 13116Members, NS2 Playtester, Squad Five Blue
    It would be perfect if shotgun pellets spread in a uniform pattern (for example, a perfect nonagon) , with a small amount of randomness added.
  • twilitebluetwiliteblue bug stalker Join Date: 2003-02-04 Member: 13116Members, NS2 Playtester, Squad Five Blue
    edited October 2011
    I wish this forum has a user delete function...
  • KalabalanaKalabalana Join Date: 2003-11-14 Member: 22859Members
    I think all shotgun needs is a more predictable pellet spread, as currently it's too random, and identical shots in similar situations often have very different damaging results.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    The effect of increasing the number of pellets is indeed to give a more predictable spread. You can imagine what happens for very large numbers, you will just see perfectly the distribution. The drawback like Schimmel said is that you need to compute more collisions.

    I like the idea of a deterministic pattern plus a little bit of noise, it's probably a more efficient way of achieving the same effect.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    I think I found the spread distribution (in ClipWeapon:FireBullets), they use the multiplication of two uniformly distributed variables (red curve : <a href="http://mathworld.wolfram.com/UniformProductDistribution.html)" target="_blank">http://mathworld.wolfram.com/UniformProduc...tribution.html)</a>, which has a pretty long tail. I will try to play with it a bit.
  • RichardRahlRichardRahl Join Date: 2011-06-15 Member: 104594Members
    I find it cute how most of these videogames seem to like to restrict shotgun range to such a low amount when really depending on the pellets it can be lethal of excess of 300 yards.
  • KalabalanaKalabalana Join Date: 2003-11-14 Member: 22859Members
    <!--quoteo(post=1882481:date=Oct 28 2011, 10:58 AM:name=RichardRahl)--><div class='quotetop'>QUOTE (RichardRahl @ Oct 28 2011, 10:58 AM) <a href="index.php?act=findpost&pid=1882481"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I find it cute how most of these videogames seem to like to restrict shotgun range to such a low amount when really depending on the pellets it can be lethal of excess of 300 yards.<!--QuoteEnd--></div><!--QuoteEEnd-->
    I don't think it's cute.
    <ul><li>Shotguns will not exist in the future, definitely not in any shape or form as they do now.</li><li>The range of shotguns max out around 60 yards (Slugs go further, but that is not the point of discussion.). A 4 gauge shotgun has a range of about 120 yards and that is simply as much of an exaggeration as I'm willing to make to agree with you.</li><li>We could make a shotgun lethal at a range of 300 meters or more, but you won't be firing this heavy monstrosity of a weapon often., but I guess you could technically with recoil-less future technology, along with the super strength and endurance it would take to tote this machine around.</li></ul>
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    edited October 2011
    I changed the spread to be more Gaussian, and tweaked a bit the numbers. I also played with deterministic patterns, it looks cool but I don't really see how it could be efficient :

    <img src="http://i.imgur.com/QVRIv.jpg" border="0" class="linked-image" />
  • thefonzthefonz Join Date: 2011-06-22 Member: 105847Members
    <!--quoteo(post=1882482:date=Oct 28 2011, 09:38 AM:name=Kalabalana)--><div class='quotetop'>QUOTE (Kalabalana @ Oct 28 2011, 09:38 AM) <a href="index.php?act=findpost&pid=1882482"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec--><ul><li>Shotguns will not exist in the future, definitely not in any shape or form as they do now.</li></ul><!--QuoteEnd--></div><!--QuoteEEnd-->

    I find your lack of faith disturbing.
Sign In or Register to comment.