AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Sprays (you can use sprays in CS:GO) (https://forums.alliedmods.net/showthread.php?t=237854)

Franc1sco 03-30-2014 16:45

[CS:GO] Sprays (you can use sprays in CS:GO)
 
Description:

With this plugin you can use sprays in CS:GO (sprays predefined by the server)

Type !spray for use your spray
Type !sprays for select your spray

You can bind it for use it more easily. For example with bind t sm_spray in your console
Also you can use +use (E button) for use your spray (if sm_csgosprays_use is 1)


Screenshots:

http://steamcommunity.com/sharedfile.../?id=244066037
http://steamcommunity.com/sharedfile.../?id=244105307
http://steamcommunity.com/sharedfile.../?id=244105247

Demostration in video:




Configuration:

1-Put the .smx file in addons/sourcemod/plugins
2-Unzip the file "Sprays with scale in 0.5.zip" in csgo/ directory
3-Configure this file for add custom sprays addons/sourcemod/configs/csgo-sprays/sprays.cfg (opcional)
4-Configure the cvars generated in the new file at cfg/sourcemod.


Note: I ported all sprays from CS:S to CS:GO for can be usable in this plugin


Todo list:

-None


You can test this plugin in my csgo servers

-> http://cache.gametracker.com/server_...FFF_000000.png
-> http://cache.www.gametracker.com/ser...FFF_000000.png
-> http://cache.www.gametracker.com/ser...FFF_000000.png


Donations (optional):

If you apreciate my work, you can donate me via paypal or with a trade offer


Download:

Main repository
Direct download
Code changes

Franc1sco 03-30-2014 19:01

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
I uploaded a new zip with sprays with scale in 0.5 ,so I have increased size of spray because in csgo the sprays of CS:S are small

Recomended use "Sprays with scale in 0.5.zip" zip instead of default scale´s zip

Konstantin 03-30-2014 20:52

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
Franc1sco, thank you man, plugin works fine!
Waiting for a cvar to configure the time between sprays :)

Dkmuniz 03-30-2014 21:00

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
Nice plugin franc1sco, good job man!!

I edited
Code:

RegConsoleCmd("sm_spray", MakeSpray);
To
Code:

RegConsoleCmd("+spray", MakeSpray);
And put in console bind t "+spray"


Thanks!!

Konstantin 03-30-2014 21:12

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
bind "t" "say !spray" works too!

Dkmuniz 03-30-2014 22:04

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
Quote:

Originally Posted by Konstantin (Post 2118137)
bind "t" "say !spray" works too!

I know, but in chat !spray is bad (For me)!!

Dkmuniz 03-30-2014 22:34

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
Franc1sco, you can add for OnRoundStart, the timer is "0" ?

Franc1sco 03-31-2014 05:24

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
Quote:

Originally Posted by Konstantin (Post 2118129)
Franc1sco, thank you man, plugin works fine!
Waiting for a cvar to configure the time between sprays :)

Finally added

Quote:

Originally Posted by Dkmuniz (Post 2118156)
Franc1sco, you can add for OnRoundStart, the timer is "0" ?

Added

And added to todo list "-Add clientprefs for save the spray choosen"


New version v1.1 with the previous improvements
Cvars are:
Code:

sm_csgosprays_time 30 // time between each spray
sm_csgosprays_distance 115 // max distance from the wall to can use spray


Konstantin 03-31-2014 07:18

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
Quote:

Originally Posted by Dkmuniz (Post 2118148)
I know, but in chat !spray is bad (For me)!!

Yeah, i mean /spray

Franc1sco 03-31-2014 07:39

Re: [CS:GO] Sprays (you can use sprays in CS:GO)
 
Quote:

Originally Posted by Konstantin (Post 2118233)
Yeah, i mean /spray

You can use bind t sm_spray also for dont write !spray in the public chat


All times are GMT -4. The time now is 12:50.

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