Raised This Month: $ Target: $400
 0% 

[CS:S] Ammo From Dead


Post New Thread Reply   
 
Thread Tools Display Modes
Author
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Plugin ID:
2705
Plugin Version:
0.2.1.8
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    When players die, they drop the ammo from their weapons on the ground
    Old 12-14-2011 , 13:13   Re: [CS:S] Ammo Pickup
    Reply With Quote #1

    Quote:
    Originally Posted by TnTSCS View Post
    Also, if the ammo box has 80 rounds and the player already has 50 rounds, and the max ammo for the weapon they have holds 90 rounds, then they'll pickup 40 of the 80 and the ammo box will remain, but only have 40 rounds left.
    Great to hear this. What about the other points from my post, are You able to implement them?
    GrO is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 12-14-2011 , 15:40   Re: [CS:S] Ammo Pickup
    Reply With Quote #2

    Yes. Sorry I should have done a point by point. I'm working on all of your suggestions. I'm at work now so don't expect for a few hours

    Last edited by TnTSCS; 12-14-2011 at 15:41.
    TnTSCS is offline
    GrO
    Veteran Member
    Join Date: Jun 2010
    Location: Poland
    Old 12-14-2011 , 16:26   Re: [CS:S] Ammo Pickup
    Reply With Quote #3

    Quote:
    Originally Posted by TnTSCS View Post
    Yes. Sorry I should have done a point by point. I'm working on all of your suggestions. I'm at work now so don't expect for a few hours
    Roger that.
    GrO is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 12-14-2011 , 23:05   Re: [CS:S] Ammo Pickup
    Reply With Quote #4

    cool - I'll be back in 40 minutes... hopefully you'll have a verdict for me, or more fixes... hopefully a verdict
    TnTSCS is offline
    GrO
    Veteran Member
    Join Date: Jun 2010
    Location: Poland
    Old 12-14-2011 , 23:08   Re: [CS:S] Ammo Pickup
    Reply With Quote #5

    Quote:
    Originally Posted by TnTSCS View Post
    cool - I'll be back in 40 minutes... hopefully you'll have a verdict for me, or more fixes... hopefully a verdict
    Sure, I'll should be ready too with the verdict I think ;]
    GrO is offline
    away000
    Veteran Member
    Join Date: Sep 2010
    Old 12-14-2011 , 23:18   Re: [CS:S] Ammo Pickup
    Reply With Quote #6

    Quote:
    Originally Posted by TnTSCS View Post
    I just tested the ammo drop and couldn't replicate your issue... also, please start posting in the appropriate thread so we can easily track this issue.

    http://forums.alliedmods.net/showthread.php?t=174006
    As i said some of mine players (and me) is stucking on spawn whit the ammo create... making to shot 2 or 3 times to get the box away before move... i think is the spawn box given for ammo from a awp.... i can show to u easily the issue if u want.
    __________________
    away000 is offline
    GrO
    Veteran Member
    Join Date: Jun 2010
    Location: Poland
    Old 12-14-2011 , 23:38   Re: [CS:S] Ammo Pickup
    Reply With Quote #7

    @TnTSCS
    1) Is there any way to make those models be dropped like weapon models; throw them always in front of the player with a weak straight throwing force, so You can re-collect Your own dropped box, while running?

    2) Maybe move the ammo box'es spawn position to player's belt? Also is it possible to move the spawn position out of the player's model, so it won't touch the player, while spawning?

    3) I've also noticed those boxes are colliding with player's legs just after drop, so a weak throw vector and higher spawn position is needed I think.

    Last edited by GrO; 12-14-2011 at 23:53.
    GrO is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 12-14-2011 , 23:55   Re: [CS:S] Ammo Pickup
    Reply With Quote #8

    Yes, I'll work on #1 and have it get thrown a bit in front of the player

    For #2, I can just increase one of the vectors a bit so the model gets spawned about belt level. If I have the ammo model spawn outside of where the player is, it might get created in a wall if the player is next to one

    To answer both #2 and #3, I'm going to work on creating the ammo box after the weapon is dropped... This would make the ammo box appear much closer to where the weapon is... instead of creating the ammo model from the player, it would come from the weapon...

    thoughts?
    TnTSCS is offline
    GrO
    Veteran Member
    Join Date: Jun 2010
    Location: Poland
    Old 12-14-2011 , 23:59   Re: [CS:S] Ammo Pickup
    Reply With Quote #9

    Quote:
    Originally Posted by TnTSCS View Post
    To answer both #2 and #3, I'm going to work on creating the ammo box after the weapon is dropped... This would make the ammo box appear much closer to where the weapon is... instead of creating the ammo model from the player, it would come from the weapon...

    thoughts?
    Sounds great for me ;]. All we need is ability to drop weapon+ammo box, while running and be able to re-collect the weapon first and then ammo box, cause we can't collect the box without a weapon ;]

    EDIT:
    So You could use Your idea of spawning boxes from weapon, but a little throwing force could be useful to make the boxes flying further than weapon, to be able to re-collect the weapon first and then re-collect the ammo box ;]

    Last edited by GrO; 12-15-2011 at 00:03.
    GrO is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 12-15-2011 , 00:08   Re: [CS:S] Ammo Pickup
    Reply With Quote #10

    or maybe a little timer CVar that ammo won't spawn for the dropped weapon until after n seconds... maybe allow for up to 3 seconds, but default it to 1.5?

    A player who has an AK47 who kills another player who has an AK47 would still be able to pickup the ammo from that dropped gun before the timer is up, it just won't create an ammo box for it until that timer expires (and no one took all of the extra ammo before it expired)...

    just throwing out ideas
    TnTSCS is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 22:37.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode