Raised This Month: $32 Target: $400
 8% 

[CS:S] Default weapon clips (magazines) (V0.5.2, 03.10.2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Plugin ID:
3087
Plugin Version:
0.5.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Fills up an picked up weapons secondary ammo with their default or defined ammo upon first use, useful for maps with bad spawners.
    Old 07-14-2012 , 17:16   [CS:S] Default weapon clips (magazines) (V0.5.2, 03.10.2020)
    Reply With Quote #1

    I had so many problems with maps who had spawners which gives you weapons without secondary ammo.
    Of course there are also maps which lets you spawn with weapons without secondary ammo.
    This Plugin fills up a picked up weapon's secondary ammo with their default/defined ammo upon first use, useful for maps with bad spawners or gamequips.
    You should never ever get a weapon in your hand without secondary ammo.
    Weapons are only filled once per pickup and round.


    Cvars
    • sm_default_weapon_clips_version
      • Plugin version (Not changeable)

    Installation:
    • Put "default_weapon_clips.smx" in your "../addons/sourcemod/plugins" directory.
    • Load the plugin or change the map
    • Have fun

    Requirements
    • If you want to compile the plugin yourself, you need to obtain the SMLIB library
    • Optional: Updater

    Credits:
    Berni, Chanz and the contributors for their SMLIB library which i use to work with weapons.


    Notes
    Plugin will not compile on the forums due the dependence of SMLIB
    You can define the weaponvalues yourself by editing the plugin and recompile it.
    If you add weapons for other games yourself it should work for them too, though i have not tested it.
    Yes i know that none of the weapons in the game use a clip.


    CHANGELOG
    Attached Files
    File Type: smx default_weapon_clips.smx (7.5 KB, 148 views)
    File Type: sp Get Plugin or Get Source (default_weapon_clips.sp - 189 views - 3.7 KB)
    __________________

    Last edited by Impact123; 10-02-2020 at 23:52. Reason: v0.5.2
    Impact123 is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 08-15-2012 , 21:14   Re: [CS:S] Default weaponclips (V0.3, 2012-21-07)
    Reply With Quote #2

    Update v0.4
    Code:
    * 16.08.2012 - v0.4
    - Fixed a bug where secondary weapons weren't set as used
    - Removed 2 versionflags
    Yours sincerely
    Impact
    __________________

    Last edited by Impact123; 08-15-2012 at 21:16.
    Impact123 is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 08-30-2012 , 05:08   Re: [CS:S] Default weaponclips (V0.5, 30.08.2012)
    Reply With Quote #3

    Update v0.5
    Code:
    * 30.08.2012 - v0.5
    - Added updater support
    Yours sincerely
    Impact
    __________________
    Impact123 is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 09-02-2012 , 17:34   Re: [CS:S] Default weaponclips (V0.5.1, 02.09.2012)
    Reply With Quote #4

    Update v0.5.1
    Code:
    * 02.09.2012 - v0.5.1
    - Fixed the replication of the versioncvar
    - Added a convar set on OnPluginStart()
    - Changed Version to fix an error with the automatic updater on devbuilds
    Yours sincerely
    Impact
    __________________
    Impact123 is offline
    Mysteria
    Member
    Join Date: Aug 2010
    Old 09-22-2012 , 08:09   Re: [CS:S] Default weaponclips (V0.5.1, 02.09.2012)
    Reply With Quote #5

    Hi. Can you make verson for CSGO? Because they are some new weapons here.
    Mysteria is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 09-22-2012 , 13:20   Re: [CS:S] Default weaponclips (V0.5.1, 02.09.2012)
    Reply With Quote #6

    Yeah sure, but...
    I don't own CS:GO, if you want you can contact me and be my tester.

    Yours sincerely
    Impact
    __________________
    Impact123 is offline
    Bara
    AlliedModders Donor
    Join Date: Apr 2012
    Location: Germany
    Old 10-02-2012 , 06:31   Re: [CS:S] Default weaponclips (V0.5.1, 02.09.2012)
    Reply With Quote #7

    Here is my CSGO Version
    Attached Files
    File Type: smx default_weapon_clips.smx (12.3 KB, 401 views)
    File Type: sp Get Plugin or Get Source (default_weapon_clips.sp - 397 views - 4.7 KB)
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.
    Bara is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 10-02-2012 , 07:51   Re: [CS:S] Default weaponclips (V0.5.1, 02.09.2012)
    Reply With Quote #8

    If you say that this works in cs:go and allow me to use your defines i'll merge your attachment with mine and credit you.

    Yours sincerely
    Impact
    __________________

    Last edited by Impact123; 10-02-2012 at 07:56.
    Impact123 is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 11-16-2013 , 01:04   Re: [CS:S] Default weaponclips (V0.5.1, 02.09.2012)
    Reply With Quote #9

    Looks good to me. Approved.

    Red
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 11-16-2013 , 02:57   Re: [CS:S] Default weaponclips (V0.5.1, 02.09.2012)
    Reply With Quote #10

    Thanks
    __________________
    Impact123 is offline
    Reply


    Thread Tools
    Display Modes

    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 05:17.


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