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

[CSS] Start weapon 1.2 [UPDATED 2012-10-14]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Devzirom
Junior Member
Join Date: Dec 2008
Location: Russian Federation
Plugin ID:
1386
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    25 
    Plugin Description:
    Allows to replace a set standard start weapon on any another
    Old 01-05-2010 , 12:17   [CSS] Start weapon 1.2 [UPDATED 2012-10-14]
    Reply With Quote #1

    CSS: Start weapon

    Allows to replace a set standard start weapon on any another

    Plugin cvar's

    "sm_sw_enabled" (default: "1") - "1" = "Start weapon" plugin is active, "0" = "Start weapon" plugin is disabled
    "sm_sw_t" (default: "glock") - Set of the start weapon for the Terrorists team.
    "sm_sw_ct" (default: "usp") - Set of the start weapon for the Counter-Terrorists team.
    "sm_sw_help" - plugin help
    "sm_sw_version" - plugin version

    Usage examples cvar's

    sm_sw_t fiveseven awp kevlar - Set of the start weapon for the Terrorists team is fiveseven, awp and kevlar.
    sm_sw_ct ak47 deagle flashbang flashbang - Set of the start weapon for the Counter-Terrorists team is ak47, deagle and two flashbang's.
    sm_sw_t assaultsuit glock m4a1 - Set of the start weapon for the Terrorists team is assaultsuit, glock and m4a1.
    sm_sw_ct usp m249 defuser - Set of the start weapon for the Counter-Terrorists team is usp, m249 and defuser.
    sm_sw_t none - Set of the start weapon for the Terrorists team is knife only.
    sm_sw_ct ak47 m4a1 awp - Set of the start weapon for the Counter-Terrorists team is awp. Ak47 and m4a1 - is ignored.
    sm_sw_t deagle glock usp - Set of the start weapon for the Terrorists team is usp. Deagle and glock - is ignored.
    sm_sw_ct galil noknife - Set of the start weapon for the Counter-Terrorists team is galil. Knife - is removed.

    Complete value list


    Primary
    m3
    xm1014
    mac10
    tmp
    mp5navy
    ump45
    p90
    galil
    famas
    ak47
    m4a1
    sg552
    aug
    m249
    scout
    sg550
    awp
    g3sg1

    Secondary

    glock
    p228
    usp
    deagle
    elite
    fiveseven

    Grenades

    hegrenade
    flashbang
    smokegrenade

    Items

    defuser
    kevlar
    assaultsuit
    nvgs
    noknife

    Changelog

    version 1.1

    Under recommendation Antithasys, the main part of a plugin has been rewritten.

    Errors are rectified:
    - The error in the description is corrected
    - The error which has been found out GrO: "using full set (suit, primary weapon, secondary weapon and all grenades), the server is crashing after a map load."
    - The error arising with glock18: "Attempted to create unknown entity type weapon_glock18!"

    version 1.2

    The main part of a plugin has been rewritten.

    New:
    - Aggressive behavior
    - Fixed problem with Diffuser Kit
    - Added cvar "sm_sw_version"
    Attached Files
    File Type: sp Get Plugin or Get Source (start_weapon.sp - 4975 views - 12.0 KB)

    Last edited by Devzirom; 10-14-2012 at 11:28. Reason: Update version 1.2
    Devzirom is offline
    vertexshader
    Senior Member
    Join Date: Mar 2008
    Old 01-09-2010 , 02:34   Re: [CSS] Start weapon
    Reply With Quote #2

    Number 1!!!! Works even with dev versions
    vertexshader is offline
    Devzirom
    Junior Member
    Join Date: Dec 2008
    Location: Russian Federation
    Old 01-09-2010 , 03:50   Re: [CSS] Start weapon
    Reply With Quote #3

    Thanks! A question: what is dev versions?
    Devzirom is offline
    willy1234x1
    Senior Member
    Join Date: Jun 2008
    Old 01-09-2010 , 04:00   Re: [CSS] Start weapon
    Reply With Quote #4

    Quote:
    Originally Posted by Devzirom View Post
    Thanks! A question: what is dev versions?
    He's talking about the beta and alpha releases. http://www.sourcemod.net/snapshots.php
    willy1234x1 is offline
    Devzirom
    Junior Member
    Join Date: Dec 2008
    Location: Russian Federation
    Old 01-09-2010 , 04:18   Re: [CSS] Start weapon
    Reply With Quote #5

    Thanks that have explained! But I would like to hear about lacks and errors of plugin job
    Devzirom is offline
    vertexshader
    Senior Member
    Join Date: Mar 2008
    Old 01-09-2010 , 09:38   Re: [CSS] Start weapon
    Reply With Quote #6

    Quote:
    Originally Posted by Devzirom View Post
    But I would like to hear about lacks ...
    Add control of ammo, armor and health amount

    Last edited by vertexshader; 02-16-2010 at 08:13.
    vertexshader is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 02-21-2010 , 01:00   Re: [CSS] Start weapon
    Reply With Quote #7

    Could you allow a player vote with this?

    !vote awp

    or something that after a certain ratio..for one round, they have this weapon only?

    Otto
    __________________
    Director

    Gaming with benefits.
    www.n00bsalad.net
    ottobohn is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 03-31-2010 , 22:47   Re: [CSS] Start weapon
    Reply With Quote #8

    Should return the proper values for your even hooks. This plugin is approved, but it could be cleaned up a lot for a better coding style.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    GrO
    Veteran Member
    Join Date: Jun 2010
    Location: Poland
    Old 09-20-2010 , 18:14   Re: [CSS] Start weapon
    Reply With Quote #9

    Thanks for the plugin it's very useful.

    There's one problem. When I'm using full set (suit, primary weapon, secondary weapon and all grenades), the server is crashing after a map load.

    I.E.:

    sm_sw_ct assaultsuit tmp deagle hegrenade flashbang flashbang smokegrenade
    sm_sw_t assaultsuit tmp deagle hegrenade flashbang flashbang smokegrenade


    BTW:

    There's a typo in the first post:

    Code:
    sm_sw_t deagke glock18 usp - Set of the start weapon for the Terrorists team is usp. Deagle and glock18 - is ignored.
    Anyway, thanks for the plugin, it's still very useful.
    __________________
    GrO is offline
    Devzirom
    Junior Member
    Join Date: Dec 2008
    Location: Russian Federation
    Old 10-19-2010 , 03:23   Re: [CSS] Start weapon
    Reply With Quote #10

    version 1.1

    Under recommendation Antithasys, the main part of a plugin has been rewritten.

    Errors are rectified:
    - The error in the description is corrected
    - The error which has been found out GrO: "using full set (suit, primary weapon, secondary weapon and all grenades), the server is crashing after a map load."
    - The error arising with glock18: "Attempted to create unknown entity type weapon_glock18!"
    Devzirom 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 14:35.


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