- Dmg Calculating Script For Cs Go 1
- Dmg Calculating Script For Cs Go Online
- Dmg Calculating Script For Cs Go 2017
The Rust Labs Calculator features in-depth material costs for all the existent items in-game. This Rust Craft Calculator provides stats based on weekly updates. Sep 07, 2008 Counter-Strike Source/cstrike/scripts. All weapons can be bought in both teams example. Your team is CT and you want buy Ak-47 or another terrorists' weapons, type buy ak47 make a new notepad example shown in the script code.
Now you can use the knives from Counter-Strike: Global Offensive as weapons in Garry's Mod!
Features:
- 12 different knives;
- New sounds;
- Viewmodel arms (c_arms) compatible;
- Press Reload button ('R' button) to inspect knife;
- Backstabs do more damage!
How to install:
From workshop
This is the easiest way to install it and it's recommended for clients.
- Go to workshop page
- Click green Subscribe button or add it into your server collection.
This will be enabled next time you launch game or server.
Manually
This is recommended for servers' owners and those who want to test it before next release.
- Download and unpack the latest release into
GarrysMod/garrysmod/addons
folder.
or
- Clone this repo
git clone https://github.com/xDShot/csgo_knives_sweps/
Server ConVars:
Type these in console or in server config:
Variable name | Default value | Description |
---|---|---|
Bool variables | ||
cl_csgo_knives_lefthanded | 0 | (Clientside) Flip knives viewmodel and hold knives on left hand |
csgo_knives_backstabs | 1 | Allow backstabs |
csgo_knives_canbuy | 1 | Allow buying knives from traitor shop in TTT. May require server restarting if changing |
csgo_knives_decals | 1 | Paint wall decals when hit wall |
csgo_knives_force_ttt | 0 | Forces knives to enable TTT mode. For debug purposes. Normally you shouldn't enable it unless you haven't any trouble getting it work in ttt |
csgo_knives_hiteffect | 1 | Draw effect when hit wall |
csgo_knives_inspecting | 1 | Allow inspecting |
csgo_knives_oldsounds | 0 | Play old sounds when swinging knife or hitting wall |
csgo_knives_primary | 1 | Allow primary attacks |
csgo_knives_secondary | 1 | Allow secondary attacks |
csgo_knives_tfaskins | 1 | Add skins for TFA knives using this pack's base if any of them installed |
Numerical variables | ||
csgo_knives_dmg_prim_back | 90 | How much damage deal when hit with primary attack from behind |
csgo_knives_dmg_prim_front1 | 40 | How much damage deal when firstly hit with primary attack in front or from side |
csgo_knives_dmg_prim_front2 | 25 | How much damage deal when subsequently hit with primary attack in front or from side |
csgo_knives_dmg_sec_back | 180 | How much damage deal when hit with secondary attack from behind |
csgo_knives_dmg_sec_front | 65 | How much damage deal when hit with secondary attack in front or from side |
Contributing:
Pull Requests
Pull Requests are welcome. Although there are no strong restrictions in coding style, please make it so it won't be really hard to understand and it won't take any other dependencies. If you make changes into knives, it's better to add them into template and use script to quickly generate code.
- Sign up to your Github account
- Fork this repo
- Commit your changes
- Create pull requests
Issues
Report bugs or suggest new features. Make sure there are no already issue you want to create. When you create it, make it descriptive. Non-descriptive issues like 'it doesn't work plz fix' will be probably ignored and closed.
Dmg Calculating Script For Cs Go 1
- Sign up to your Github account
- Move into issues tab
- Create new issue
License:
Lua and tools code are licensed under the MIT license.
Models, sounds and textures are belong to Valve Corporation and other respective creators. The license is currently unknown.
If you like this addon, please don't forget to vote up on workshop page and star this repo!
- Dmg Calculating Script For Cs Go 1
- Dmg Calculating Script For Cs Go Online
- Dmg Calculating Script For Cs Go 2017
The Rust Labs Calculator features in-depth material costs for all the existent items in-game. This Rust Craft Calculator provides stats based on weekly updates. Sep 07, 2008 Counter-Strike Source/cstrike/scripts. All weapons can be bought in both teams example. Your team is CT and you want buy Ak-47 or another terrorists' weapons, type buy ak47 make a new notepad example shown in the script code.
Now you can use the knives from Counter-Strike: Global Offensive as weapons in Garry's Mod!
Features:
- 12 different knives;
- New sounds;
- Viewmodel arms (c_arms) compatible;
- Press Reload button ('R' button) to inspect knife;
- Backstabs do more damage!
How to install:
From workshop
This is the easiest way to install it and it's recommended for clients.
- Go to workshop page
- Click green Subscribe button or add it into your server collection.
This will be enabled next time you launch game or server.
Manually
This is recommended for servers' owners and those who want to test it before next release.
- Download and unpack the latest release into
GarrysMod/garrysmod/addons
folder.
or
- Clone this repo
git clone https://github.com/xDShot/csgo_knives_sweps/
Server ConVars:
Type these in console or in server config:
Variable name | Default value | Description |
---|---|---|
Bool variables | ||
cl_csgo_knives_lefthanded | 0 | (Clientside) Flip knives viewmodel and hold knives on left hand |
csgo_knives_backstabs | 1 | Allow backstabs |
csgo_knives_canbuy | 1 | Allow buying knives from traitor shop in TTT. May require server restarting if changing |
csgo_knives_decals | 1 | Paint wall decals when hit wall |
csgo_knives_force_ttt | 0 | Forces knives to enable TTT mode. For debug purposes. Normally you shouldn't enable it unless you haven't any trouble getting it work in ttt |
csgo_knives_hiteffect | 1 | Draw effect when hit wall |
csgo_knives_inspecting | 1 | Allow inspecting |
csgo_knives_oldsounds | 0 | Play old sounds when swinging knife or hitting wall |
csgo_knives_primary | 1 | Allow primary attacks |
csgo_knives_secondary | 1 | Allow secondary attacks |
csgo_knives_tfaskins | 1 | Add skins for TFA knives using this pack's base if any of them installed |
Numerical variables | ||
csgo_knives_dmg_prim_back | 90 | How much damage deal when hit with primary attack from behind |
csgo_knives_dmg_prim_front1 | 40 | How much damage deal when firstly hit with primary attack in front or from side |
csgo_knives_dmg_prim_front2 | 25 | How much damage deal when subsequently hit with primary attack in front or from side |
csgo_knives_dmg_sec_back | 180 | How much damage deal when hit with secondary attack from behind |
csgo_knives_dmg_sec_front | 65 | How much damage deal when hit with secondary attack in front or from side |
Contributing:
Pull Requests
Pull Requests are welcome. Although there are no strong restrictions in coding style, please make it so it won't be really hard to understand and it won't take any other dependencies. If you make changes into knives, it's better to add them into template and use script to quickly generate code.
- Sign up to your Github account
- Fork this repo
- Commit your changes
- Create pull requests
Issues
Report bugs or suggest new features. Make sure there are no already issue you want to create. When you create it, make it descriptive. Non-descriptive issues like 'it doesn't work plz fix' will be probably ignored and closed.
Dmg Calculating Script For Cs Go 1
- Sign up to your Github account
- Move into issues tab
- Create new issue
License:
Lua and tools code are licensed under the MIT license.
Models, sounds and textures are belong to Valve Corporation and other respective creators. The license is currently unknown.
If you like this addon, please don't forget to vote up on workshop page and star this repo!
Enjoy! :)
Dmg Calculating Script For Cs Go Online
PermalinkJoin GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upBranch:masterDmg Calculating Script For Cs Go 2017
/* nadetraining.nut |
* Nade Training Script |
* by S0lll0s, Bidj, Rurre and Mellet |
* USAGE: |
* script_execute nadetraining |
* script nadeSetup() |
* bind 'rctrl' 'script nadeSavePos()' |
* bind 'ralt' 'script nadePause()' |
* Press the key (right ctrl in this case) before every nade you want save, all following nades will fly the same path |
* regardless of how you throw them. To pause the script and throw nades freely use the other bind (right alt in this case). |
*/ |
this.nadePos <- null; |
this.nadeVel <- null; |
this.nadeSaveMode <- true; |
this.nadeLastNade <- null; |
this.nadeIsPaused <- false; |
function nadeSetup() { |
printl( @'[NT] nadetraining.nut' ); |
printl( @'[NT] Nade Training Script' ); |
printl( @'[NT] by S0lll0s, Bidj, Rurre and Mellet' ); |
printl( @'[NT] USAGE:' ); |
printl( @'[NT] bind ''ralt''''script nadeSavePos()''' ); |
printl( @'[NT] bind ''rctrl''''script nadePause()''' ); |
printl( @'[NT] Press the key before every nade you save, all following nades will fly the same path' ); |
printl( @'[NT] starting setup...' ); |
if (!Entities.FindByName(null, 'nadeTimer')) |
{ |
local v_nadeTimer = null; |
v_nadeTimer = Entities.CreateByClassname('logic_timer'); |
EntFireByHandle(v_nadeTimer, 'addoutput', 'targetname nadeTimer', 0.0, null, null); |
} |
EntFire('nadeTimer', 'toggle'); |
EntFire('nadeTimer', 'addoutput', 'refiretime 0.05'); |
EntFire('nadeTimer', 'enable' ); |
EntFire('nadeTimer', 'addoutput', 'startdisabled 0'); |
EntFire('nadeTimer', 'addoutput', 'UseRandomTime 0'); |
EntFire('nadeTimer', 'addoutput', 'ontimer nadeTimer,RunScriptCode,nadeThink()'); |
printl( @'[NT] done.'); |
} |
function nadeSavePos() { |
nadeSaveMode = true; |
ScriptPrintMessageCenterAll( 'Saving next grenade' ); |
} |
function nadeThink() { |
local nade = null; |
while ((nade = Entities.FindByClassname(nade, 'flashbang_projectile')) != null ) { |
deleteOtherNades( nade ); |
saveRestore( nade ); |
} |
nade = null; |
while ((nade = Entities.FindByClassname(nade, 'hegrenade_projectile')) != null ) { |
deleteOtherNades( nade ); |
saveRestore( nade ); |
} |
nade = null; |
while ((nade = Entities.FindByClassname(nade, 'incgrenade_projectile')) != null) { |
deleteOtherNades( nade ); |
saveRestore( nade ); |
} |
nade = null; |
while ((nade = Entities.FindByClassname(nade, 'molotov_projectile')) != null) { |
deleteOtherNades( nade ); |
saveRestore( nade ); |
} |
nade = null; |
while ((nade = Entities.FindByClassname(nade, 'smokegrenade_projectile')) != null) { |
deleteOtherNades( nade ); |
saveRestore( nade ); |
} |
} |
function nadePause() { |
nadeIsPaused = !nadeIsPaused; |
if ( nadeIsPaused ) |
{ |
ScriptPrintMessageCenterAll( 'Pausing script. You can now throw grenades freely.' ); |
} else { |
ScriptPrintMessageCenterAll( 'Resuming script. Last saved grenade remembered.' ); |
} |
} |
function saveRestore( nade ) { |
if (!nadeIsPaused){ |
if ( nadeLastNade != nade ) { |
if ( nadeSaveMode ) { |
ScriptPrintMessageCenterAll( 'Saved' ); |
nadePos = nade.GetCenter(); |
nadeVel = nade.GetVelocity(); |
nadeSaveMode = false; |
} else { |
nade.SetAbsOrigin( nadePos ); |
nade.SetVelocity( nadeVel ); |
} |
nadeLastNade = nade; |
} |
} |
} |
function deleteOtherNades( nade ){ |
local other = null; |
if (other null) |
other = Entities.FindByClassname(null, 'smokegrenade_projectile'); |
if (other null) |
other = Entities.FindByClassname(null, 'molotov_projectile'); |
if (other null) |
other = Entities.FindByClassname(null, 'incgrenade_projectile'); |
if (other != null && other != nade){ |
other.Destroy(); |
} |
} |
- Copy lines
- Copy permalink