AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS/CSGO] NoScope (https://forums.alliedmods.net/showthread.php?t=234863)

Bara 02-05-2014 07:20

[CSS/CSGO] NoScope
 
1 Attachment(s)
You like this plugin or my work? Support is not a crime.
https://www.paypalobjects.com/en_US/..._donate_SM.gif

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

Root_ 02-05-2014 09:09

Re: [CSS/CSGO] NoScope
 
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);     } }

Bara 02-05-2014 09:44

Re: [CSS/CSGO] NoScope
 
Quote:

Originally Posted by Root_ (Post 2095775)
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

bl4nk 02-05-2014 11:20

Re: [CSS/CSGO] NoScope
 
Try hooking the player_shoot event, and change it again.

Bara 02-05-2014 20:18

Re: [CSS/CSGO] NoScope
 
Changelog - 1.0.1:
  • New method to prevent scope ( Thanks to Root_ )

Bara 03-14-2014 09:33

Re: [CSS/CSGO] NoScope
 
Changelog - 1.0.3:
  • Updated UPDATE_URL

Heros5k 08-07-2014 10:56

Re: [CSS/CSGO] NoScope
 
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.

Bara 08-07-2014 13:38

Re: [CSS/CSGO] NoScope
 
Quote:

Originally Posted by Heros5k (Post 2180355)
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.

Heros5k 08-09-2014 16:04

Quote:

Originally Posted by Bara (Post 2180452)
A rewrite is already under progress, but i have at the moment no time.

alles klar :bacon!:

Allower 08-19-2014 15:06

Re: [CSS/CSGO] NoScope
 
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^^


All times are GMT -4. The time now is 22:57.

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