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

[CSS/CSGO] NoScope


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Plugin ID:
4082
Plugin Version:
2.0.0
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    NoScope Plugin for CSS and CSGO
    Old 02-05-2014 , 07:20   [CSS/CSGO] NoScope
    Reply With Quote #1

    You like this plugin or my work? Support is not a crime.

    Description:
    This is a NoScope Plugin for CSS and CSGO. Settings: You are able to choose what and how many weapons deal damage ( onlyhs_allow_oneweapon must be 1 ). Also there is the possibility that the weapons you have chosen are always killing with one shot.

    Supported Games:
    • Counter-Strike: Source
    • Counter-Strike: Global Offensive

    Features:
    • NoScope
    • One Shot
    • Damage with only one Weapon
    • Damage Weapon are configurable

    CVars: Enable/Disable Commands
    • noscope_enable - Enable / Disalbe NoScope Plugin ( Default: 1)
    • noscope_oneshot - Enable / Disable kill enemy with one shot ( Default: 0)
    • noscope_allow_grenade - Enable / Disalbe Grenade Damage ( Default: 0)
    • noscope_allow_world - Enable / Disalbe World Damage ( Default: 0)
    • noscope_allow_knife - Enable / Disalbe Knife Damage ( Default: 0)
    • noscope_allow_weapon - What weapon should the player get back after it has zoomed? ( Default: awp;scout)

    Requirements:
    • SourceMod 1.7+

    Last Changelog:
    • Plugin required now SourceMod 1.7+
    • Removed cvar: noscope_oneweapon
    • Removed sdktools (never used)
    • Removed AutoExecConfig
    • Removed Updater

    ToDo:
    • None

    Known Issues:
    • None

    Thanks to:
    Download:
    https://github.com/Bara/NoScope
    Attached Files
    File Type: sp Get Plugin or Get Source (noscope.sp - 4377 views - 4.3 KB)
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.

    Last edited by Bara; 12-12-2021 at 15:01. Reason: Updated Plugin to 2.0.0
    Bara is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 02-05-2014 , 09:09   Re: [CSS/CSGO] NoScope
    Reply With Quote #2

    Another good plugin. However the way you disabling zomming is awful imo.
    You can just set infinite time for m_flNextSecondaryAttack netprop value when player spawns (or gets a sniper weapon), and those will not able to use zoom at all.
    Code:
    new m_flNextSecondaryAttack; public OnPluginStart() {     m_flNextSecondaryAttack = FindSendPropOffs("CBaseCombatWeapon", "m_flNextSecondaryAttack"); } public OnClientPutInServer(client) {     SDKHook(client, SDKHook_WeaponEquipPost, OnWeaponEquipPost); } public OnWeaponEquipPost(client, weapon) {     decl String:classname[MAX_NAME_LENGTH];     if (GetEdictClassname(weapon, classname, sizeof(classname))     || StrEqual(classname[7], "ssg08")  || StrEqual(classname[7], "aug")     || StrEqual(classname[7], "sg550")  || StrEqual(classname[7], "sg552")     || StrEqual(classname[7], "sg556")  || StrEqual(classname[7], "awp")     || StrEqual(classname[7], "scar20") || StrEqual(classname[7], "g3sg1"))     {         SetEntDataFloat(weapon, m_flNextSecondaryAttack, GetGameTime() + 9999.9);     } }
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    Bara
    AlliedModders Donor
    Join Date: Apr 2012
    Location: Germany
    Old 02-05-2014 , 09:44   Re: [CSS/CSGO] NoScope
    Reply With Quote #3

    Quote:
    Originally Posted by Root_ View Post
    Another good plugin. However the way you disabling zomming is awful imo.
    You can just set infinite time for m_flNextSecondaryAttack netprop value when player spawns (or gets a sniper weapon), and those will not able to use zoom at all.
    Thanks, but this method has a bug. Pickup AWP -> Shoot with AWP -> Zoom works again
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.
    Bara is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 02-05-2014 , 11:20   Re: [CSS/CSGO] NoScope
    Reply With Quote #4

    Try hooking the player_shoot event, and change it again.
    bl4nk is offline
    Bara
    AlliedModders Donor
    Join Date: Apr 2012
    Location: Germany
    Old 02-05-2014 , 20:18   Re: [CSS/CSGO] NoScope
    Reply With Quote #5

    Changelog - 1.0.1:
    • New method to prevent scope ( Thanks to Root_ )
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.
    Bara is offline
    Bara
    AlliedModders Donor
    Join Date: Apr 2012
    Location: Germany
    Old 03-14-2014 , 09:33   Re: [CSS/CSGO] NoScope
    Reply With Quote #6

    Changelog - 1.0.3:
    • Updated UPDATE_URL
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.
    Bara is offline
    Heros5k
    Junior Member
    Join Date: Aug 2014
    Old 08-07-2014 , 10:56   Re: [CSS/CSGO] NoScope
    Reply With Quote #7

    Die Feinde verrecken einfach nicht, was kann ich tun?

    Wenn noscope_oneweapon auf 0 is, kann ich damage machen aber sie Knifen auch wenn noscope_allow_knife auf 0 ist.

    Last edited by Heros5k; 08-07-2014 at 11:00.
    Heros5k is offline
    Bara
    AlliedModders Donor
    Join Date: Apr 2012
    Location: Germany
    Old 08-07-2014 , 13:38   Re: [CSS/CSGO] NoScope
    Reply With Quote #8

    Quote:
    Originally Posted by Heros5k View Post
    Die Feinde verrecken einfach nicht, was kann ich tun?

    Wenn noscope_oneweapon auf 0 is, kann ich damage machen aber sie Knifen auch wenn noscope_allow_knife auf 0 ist.
    A rewrite is already under progress, but i have at the moment no time.
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.
    Bara is offline
    Heros5k
    Junior Member
    Join Date: Aug 2014
    Old 08-09-2014 , 16:04  
    Reply With Quote #9

    Quote:
    Originally Posted by Bara View Post
    A rewrite is already under progress, but i have at the moment no time.
    alles klar
    Heros5k is offline
    Allower
    Senior Member
    Join Date: Sep 2013
    Location: SourceEngine
    Old 08-19-2014 , 15:06   Re: [CSS/CSGO] NoScope
    Reply With Quote #10

    Does it works like:

    // What weapon should the player get back after it has zoomed?
    // -
    // Default: "weapon_awp"
    noscope_allow_weapon "weapon_scout"
    noscope_allow_weapon "weapon_awp"
    noscope_allow_weapon "weapon_g3sg1"
    noscope_allow_weapon "weapon_sg550"

    or noscope_allow_weapon "weapon_awp, weapon_scout, weapon_g3sg1, weapon_sg550"

    ???

    and noscope_oneshot = only headshot kill?

    Sorry for bad english^^

    Last edited by Allower; 08-19-2014 at 15:08. Reason: new question
    Allower 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 20:20.


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