AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Spawn with Melee Weapons (https://forums.alliedmods.net/showthread.php?t=312699)

Franc1sco 12-12-2018 20:11

[CS:GO] Spawn with Melee Weapons
 
Description:

Force players to spawn different melee weapons that exists in CS:GO like fists, axe, hammer and spanner.


Cvars:
Configure the cvars in the file generated on the first load in cfg/sourcemod/csgo_melee_weapons.cfg
Code:

// ConVars for plugin "csgo_meleeweapons.smx"


// Give axe on spawn? 1 = yes, 0 = no.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_csgomeleeweapons_axe "0"

// Block right click? 1 = yes, 0 = no.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_csgomeleeweapons_blockattack2 "1"

// Give fists? 1 = yes, 0 = no.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_csgomeleeweapons_fists "1"

// Give hammer on spawn? 1 = yes, 0 = no.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_csgomeleeweapons_hammer "0"

// Give knife? 1 = yes, 0 = no.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_csgomeleeweapons_knife "1"

// Give spanner on spawn? 1 = yes, 0 = no.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_csgomeleeweapons_spanner "0"

// Apply only to a team. 2 = terrorist, 3 = counter-terrorist, 4 = both.
// -
// Default: "4"
// Minimum: "0.000000"
// Maximum: "4.000000"
sm_csgomeleeweapons_team "4"

// Time in seconds after spawn to give melee weapons.
// -
// Default: "1.6"
// Minimum: "0.000000"
sm_csgomeleeweapons_timer "1.6"


Todo list:

-Can change the damage of these melee weapons.
-Can pick up from the ground if you dont disable the attack2 button.


Download:

Main repository
Direct download
Code changes

Mikado 12-12-2018 20:23

Re: [CS:GO] Force Fists On Spawn
 
Cool plugin, thank's for release.
But can you add a cvar to control if the play spawn with fist only or fist + knife ( he can switch between both as DZone )

Franc1sco 12-12-2018 20:35

Re: [CS:GO] Force Fists On Spawn
 
Quote:

Originally Posted by Mikado (Post 2628689)
Cool plugin, thank's for release.
But can you add a cvar to control if the play spawn with fist only or fist + knife ( he can switch between both as DZone )

Done!

Version 1.1

-Added cvar to control team and for allow fists+knife.

RealEdan 12-12-2018 22:01

Re: [CS:GO] Force Fists On Spawn
 
nice work franug

asdfxD 12-12-2018 22:17

Re: [CS:GO] Force Fists On Spawn
 
Can you make plugin "fists round only" would be nice!

snoopy174 12-13-2018 00:54

Re: [CS:GO] Force Fists On Spawn
 
1 Attachment(s)
how can this be corrected?
I use this extension fpvm_interface.smx

vegeta1241 12-13-2018 08:59

Re: [CS:GO] Force Fists On Spawn
 
Sometimes i Have many hands logos when i spawn 2 or 3 xD why i can fix this ?

SAME OF 6# POST https://forums.alliedmods.net/showpo...24&postcount=6

Mikado 12-13-2018 10:12

Re: [CS:GO] Force Fists On Spawn
 
There is a bug, if you puch someone with right click, he drop his guns auto enemy & teammate.

wolvez04 12-13-2018 10:56

Re: [CS:GO] Force Fists On Spawn
 
Fists are stacking if you survive the round, so you eventually have lots and it bugs

Lannister 12-13-2018 11:52

Re: [CS:GO] Force Fists On Spawn
 
I wonder Fran if it's possible to disable that thing from the right click that removes the weapon from a teammate and an enemy? or atleast make it enemy only?.

Keep up the good work!


All times are GMT -4. The time now is 16:07.

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