Raised This Month: $202 Target: $400
 50% 

[CS:S] Default weapon clips (magazines) (V0.5.1, 02.09.2012)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Impact123
AlliedModders Donor
Join Date: Oct 2011
Location: Germany
Plugin ID:
3087
Plugin Version:
0.5.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    2 
    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.1, 02.09.2012)
    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




    TODO
    Attached Files
    File Type: sp Get Plugin or Get Source (default_weapon_clips.sp - 282 views - 4.1 KB)
    File Type: smx default_weapon_clips.smx (11.9 KB, 171 views)
    __________________

    Last edited by Impact123; 01-08-2017 at 01:19.
    Impact123 is offline
    Impact123
    AlliedModders Donor
    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
    AlliedModders Donor
    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
    AlliedModders Donor
    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
    AlliedModders Donor
    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, 64 views)
    File Type: sp Get Plugin or Get Source (default_weapon_clips.sp - 79 views - 4.7 KB)
    __________________
    Bara is offline
    Impact123
    AlliedModders Donor
    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
    AlliedModders Donor
    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 15:50.


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