Raised This Month: $ Target: $400
 0% 

[HL2DM/ANY] Magnum 357 only + Removes weapon spawns!


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Oliveboy
Member
Join Date: Feb 2010
Plugin ID:
2038
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 10-29-2010 , 17:56   [HL2DM/ANY] Magnum 357 only + Removes weapon spawns!
    Reply With Quote #1

    TOTAL EDIT:

    Guys this is the new plugin. It totally works now.

    It removes all the weapon spawns on any map and removes the standard weapons off a player and gives him a mag only.This plugin does NOT delete med-packs and magnum ammo! That can be done though.


    CVAR: ob_magonly (default 1)

    ob_magonly 0 (and map restart to disable plugin).

    Have fun,
    Oliveboy.

    P.S. PM or send a message if you want the plugin for an other game.
    Attached Files
    File Type: sp Get Plugin or Get Source (magonly_final.sp - 1510 views - 2.7 KB)

    Last edited by Oliveboy; 11-01-2010 at 16:08. Reason: Final version released
    Oliveboy is offline
    Pand3mic
    Junior Member
    Join Date: Sep 2010
    Old 10-29-2010 , 18:39   Re: [HL2DM/ANY] Magnum 357 only
    Reply With Quote #2

    A bit to simple to release dont you think?
    Pand3mic is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 10-29-2010 , 19:09   Re: [HL2DM/ANY] Magnum 357 only
    Reply With Quote #3

    So any project under 115 lines is too simple? Admincheats for example comes to mind? Stop bashing others work which more than often is done and given out for free. Forums these days...


    Oliveboy: I don't think it can be for any game because you have this line: Offset = FindSendPropOffs("CHL2MP_Player", "m_hMyWeapons");

    Thats very game specific, also some games spawn weapons on the map and they would have to be removed too! Anyway nice work for HL2DM
    __________________
    Silvers is offline
    Oliveboy
    Member
    Join Date: Feb 2010
    Old 10-29-2010 , 20:26   Re: [HL2DM/ANY] Magnum 357 only
    Reply With Quote #4

    Ow well, thats one of the tweaks that can be done, but didn't mention it. Thanks.

    And for the weapons on the map: they can always be removed with Stripper. I saw it somewhere on this forum.
    Oliveboy is offline
    Sinistersaint
    Junior Member
    Join Date: Oct 2010
    Old 10-29-2010 , 22:37   Re: [HL2DM/ANY] Magnum 357 only
    Reply With Quote #5

    does this take all the weapons off the server or just at spawn? Meaning can they pick the weapons up on the map that they don't spawn with
    Sinistersaint is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 10-29-2010 , 22:40   Re: [HL2DM/ANY] Magnum 357 only
    Reply With Quote #6

    Oliveboy, you can actually strip items from the map as well using SourceMod. Search the Scripting area and you should find something, if not I'll post some code later.
    __________________
    thetwistedpanda is offline
    Oliveboy
    Member
    Join Date: Feb 2010
    Old 10-30-2010 , 06:06   Re: [HL2DM/ANY] Magnum 357 only
    Reply With Quote #7

    Quote:
    Originally Posted by Sinistersaint View Post
    does this take all the weapons off the server or just at spawn? Meaning can they pick the weapons up on the map that they don't spawn with
    It just takes the weapons off at spawn. So if you have a map that doesn't have weapons on it, this will only give you a magnum. But i'm working on a plugin that takes away all the weapons that spawn on the map.
    Oliveboy is offline
    Sinistersaint
    Junior Member
    Join Date: Oct 2010
    Old 10-30-2010 , 12:59   Re: [HL2DM/ANY] Magnum 357 only
    Reply With Quote #8

    ok, will be waiting. Will test anything on our servers
    Sinistersaint is offline
    Oliveboy
    Member
    Join Date: Feb 2010
    Old 10-31-2010 , 15:33   Re: [HL2DM/ANY] Magnum 357 only
    Reply With Quote #9

    Ok, i am kind of stuck right now. I need a way to remove item spawns on a map. I know this is possible with Stripper. But i need a way to do it with sourcemod.

    Does anyone know how?

    Help is appreciated,
    Oliveboy.
    Oliveboy is offline
    Oliveboy
    Member
    Join Date: Feb 2010
    Old 11-01-2010 , 09:25   Re: [HL2DM/ANY] Magnum 357 only + Removes weapon spawns!
    Reply With Quote #10

    Ok guys, it totally works now, check first post.
    Oliveboy 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 02:10.


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