Raised This Month: $12 Target: $400
 3% 

[CS:GO] Weapon Paints


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
4592
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    You can use the weapon paints of CS:GO
    Unapprover:
    Reason for Unapproving:
    https://www.mail-archive.com/[email protected]/msg11235.html
    Old 04-09-2015 , 11:58   [CS:GO] Weapon Paints
    Reply With Quote #1

    Description:

    Video demostration:


    You can use the weapon paints of CS:GO. Use it for choose your favorite paint for your current weapon.


    Commands:

    The commands for open the main menu are:
    Code:
    !wskins
    !ws
    !paints
    Or simply press your "," button in your keyboard.
    !ss or !showskin for see what paint use your current weapon.
    !reloadwskins (root flag required) for reload the menu with the values in the csgo_wpaints.cfg file


    You can test this plugin in my servers (i am open on collaborate in others communities for free):

    ->


    Installation:

    * Install required plugin: https://github.com/Franc1sco/Franug-GiveNamedItem
    * Disable "FollowCSGOServerGuidelines" option. In addons/sourcemod/configs/core.cfg write this line in the end ```FollowCSGOServerGuidelines "no"```
    * Unzip file in addons/sourcemod/
    * Add a entry called "weaponpaints" to addons/sourcemod/configs/databases.cfg
    * You dont need to upload the .sp file
    * If you already use a old version. Remove your database content and start since 0
    * A example of a basic databases.cfg is http://pastebin.com/XqsEjPhS
    * If you want a !knife plugin can use this https://github.com/Franc1sco/Franug-valve-knifes


    Admin flag supported:

    Add flag "b" (or something like that) to a skin the cfg files.


    Configurable cvars:

    Put this in server.cfg
    Code:
    sm_weaponpaints_c4 "1" // Enable or disable that people can apply paints to the C4. 1 = enabled, 0 = disabled
    sm_weaponpaints_saytimer "10" // Time in seconds for block that show the plugin commands in chat when someone type a command. -1 = never show the commands in chat
    sm_weaponpaints_roundtimer "-1.0" // Time in seconds roundstart for can use the commands for change the paints. -1.0 = always can use the command
    sm_weaponpaints_rmenu "1" // Re-open the menu when you select a option. 1 = enabled, 0 = disabled.
    sm_weaponpaints_onlyadmin "0" // This feature is only for admins. 1 = enabled, 0 = disabled. (Use the value 1 and try to keep this plugin secret for the normal users because they can report it)
    sm_weaponpaints_zombiesv "1" // Enable this for prevent crashes in zombie and 1v1 servers for knifes. 1 = enabled, 0 = disabled. (Use the value 1 if you use my knife plugin)

    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 05-21-2020 at 18:39.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 04-09-2015 , 13:03   Re: [CS:GO] weapon paints
    Reply With Quote #2

    Oh, so changing weapon skins was that simple as altering netprops

    And i recall months ago people been discussing reverse-engineering code to figure out how function called or something like 'SOCacheSubscribe' works to call it...

    Lots of bacon to you and notMe2
    __________________
    ...

    Last edited by Oshizu; 04-09-2015 at 13:06.
    Oshizu is offline
    Sprilo
    Member
    Join Date: Aug 2014
    Old 04-09-2015 , 13:05   Re: [CS:GO] weapon paints
    Reply With Quote #3

    Awesome work!
    Sprilo is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 04-09-2015 , 13:23   Re: [CS:GO] weapon paints
    Reply With Quote #4

    "choosen"
    if you wanted to future proof this, you could just read straight out of the item_games.txt on plugin load.

    Last edited by Mitchell; 04-09-2015 at 13:24.
    Mitchell is offline
    notMe2
    Member
    Join Date: Feb 2014
    Old 04-09-2015 , 13:50   Re: [CS:GO] weapon paints
    Reply With Quote #5

    Quote:
    Originally Posted by Mitchell View Post
    "choosen"
    if you wanted to future proof this, you could just read straight out of the item_games.txt on plugin load.
    the ids from item_games.txt are diferent from the actual paint kit id
    notMe2 is offline
    iEx5
    Member
    Join Date: Aug 2014
    Location: Saint-Petersburg
    Old 04-09-2015 , 13:50   Re: [CS:GO] weapon paints
    Reply With Quote #6

    Full list of skin id's has been given to franc1sco cuz i have an worse version of this one for half year:]
    __________________
    Do not advertise (including in signatures) the sale of turnkey (i.e. pre-made) plugins.
    iEx5 is offline
    Send a message via Skype™ to iEx5
    iEx5
    Member
    Join Date: Aug 2014
    Location: Saint-Petersburg
    Old 04-09-2015 , 13:51   Re: [CS:GO] weapon paints
    Reply With Quote #7

    Quote:
    Originally Posted by notMe2 View Post
    the ids from item_games.txt are diferent from the actual paint kit id
    no,it's not.
    __________________
    Do not advertise (including in signatures) the sale of turnkey (i.e. pre-made) plugins.
    iEx5 is offline
    Send a message via Skype™ to iEx5
    asdfxD
    Veteran Member
    Join Date: Apr 2011
    Old 04-09-2015 , 14:08   Re: [CS:GO] weapon paints
    Reply With Quote #8

    Doppler Knives

    ruby: 415
    saphire: 416
    black pearl: 417
    phase 1: 418
    phase 2: 419
    phase 3: 420
    phase 4: 421

    -----------------------------

    Marble Fade
    413

    Tiger Tooth
    409

    Rust Coat
    203

    Damascus Steel
    247

    Ultraviolet
    98

    Blue Steel
    42

    Boreal Forest
    77

    Case Hardened
    44

    Crimson Web
    12

    Forest DDPAT
    5

    Night
    40

    Safari Mesh
    72

    Scorched
    175

    Slaughter
    59

    Stained
    43

    Urban Masked
    143

    -----------------------------

    AWP Dragon Lore
    344

    -----------------------------

    Ak47 Vulcan
    302

    -----------------------------

    m4a1-s / ssg Cyrex
    312

    -----------------------------

    Ak47 Fire Serpent
    180
    asdfxD is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 04-09-2015 , 14:14   Re: [CS:GO] weapon paints
    Reply With Quote #9

    Quote:
    Originally Posted by asdfxD View Post
    Doppler Knives
    Spoiler
    410 is damascus steel knife, the one you provided is for the SSG.
    you can find all the paint id's in scripts/items/items_game.txt, i've been using those ids in my own script for half a year now..

    Last edited by Mitchell; 04-09-2015 at 14:15.
    Mitchell is offline
    ecca
    Sexy Santa
    Join Date: Jan 2011
    Old 04-09-2015 , 14:48   Re: [CS:GO] weapon paints
    Reply With Quote #10

    To fix the problem with knives, you have to add this Franc1sco, EquipPlayerWeapon

    btw, selfcredit at the best Made me laugh
    Quote:
    Originally Posted by Franc1sco View Post
    Description:
    Credits:
    -Me for the plugin.
    __________________

    Last edited by ecca; 04-09-2015 at 14:53.
    ecca is offline
    Reply


    Thread Tools
    Display Modes

    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 16:28.


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