Raised This Month: $7 Target: $400
 1% 

[CS:GO] Custom Weapons Menu (very easy to configure) now with sql support


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
4977
Plugin Version:
3.1
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin where you can add easily new weapon models to choose in a menu
    Unapprover:
    Reason for Unapproving:
    http://blog.counter-strike.net/index.php/server_guidelines/
    Old 12-28-2015 , 05:18   [CS:GO] Custom Weapons Menu (very easy to configure) now with sql support
    Reply With Quote #1

    This plugin is not against valve's rule if you obey this -> https://forums.alliedmods.net/showpo...44&postcount=8

    Demostration video:



    Description:

    Plugin where you can add easily new weapon models to choose in a menu. Now you dont need know about coding for use the First Person View Models Interface. Just configure all in txt files so more easy impossible


    Requeriments:

    Commands:

    Open the main menu:
    Code:
    !cw
    Refresh the configuration (ROOT adminflag required):
    Code:
    !reloadcw

    Cvars:
    Put in server.cfg
    Code:
    sm_customweaponsmenu_spawnmsg "1" // Enable or Disable Spawnmessages

    Configuration:

    Configure these two files in addons/sourcemod/configs/franug_cwm/

    Example of configuration.txt file:
    Code:
    "CustomModels"
    {
    	"weapon_awp"
    	{
    		"AWP anime"
    		{
    			"model" "models/weaponf/v_animeawp.mdl"
    			"worldmodel" "models/weaponf/w_animeawp.mdl"
    			"dropmodel" "none"
    		}
    	}
    	"weapon_knife"
    	{
    		"Tri-Dagger Black"
    		{
    			"model" "models/weaponf/v_knife_tridagger_v2.mdl"
    		}
    		"Tri-Dagger Steel"
    		{
    			"model" "models/weaponf/v_knife_tridagger_steel.mdl"
    		}
    		"Ka-Bar"
    		{
    			"model" "models/weaponf/v_knife_kabar_v2.mdl"
    		}
    		"Reaper Dagger"
    		{
    			"model" "models/weaponf/v_knife_reaper.mdl"
    		}
    		"CSS Knife"
    		{
    			"model" "models/weaponf/crashz.mdl"
    		}
    		"Bear Grylls Knife"
    		{
    			"model" "models/weaponf/v_knife_ultimate.mdl"
    		}
    	}
    	"weapon_elite"
    	{
    		"Dual Infinity"
    		{
    			"model" "models/weaponf/v_pist_dualinfinity.mdl"
    		}
    	}
    }
    Example of downloads.txt file (here you need to include all the models routes):
    Code:
    //Tridagger
    models/weaponf/v_knife_tridagger_v2.dx90.vtx
    models/weaponf/v_knife_tridagger_v2.mdl
    models/weaponf/v_knife_tridagger_v2.vvd
    materials/models/weaponf/v_models/tridagger/tridagger.vmt
    materials/models/weaponf/v_models/tridagger/tridagger.vtf
    materials/models/weaponf/v_models/tridagger/tridagger_exp.vtf
    materials/models/weaponf/v_models/tridagger/tridagger_normal.vtf
    
    //Tridagger Steel
    models/weaponf/v_knife_tridagger_steel.dx90.vtx
    models/weaponf/v_knife_tridagger_steel.mdl
    models/weaponf/v_knife_tridagger_steel.vvd
    materials/models/weaponf/v_models/tridagger/steel/tridagger.vmt
    materials/models/weaponf/v_models/tridagger/steel/tridagger_elite.vtf
    materials/models/weaponf/v_models/tridagger/steel/tridagger_exp.vtf
    materials/models/weaponf/v_models/tridagger/steel/tridagger_elite_normal.vtf
    
    //Black Dagger
    models/weaponf/v_knife_reaper.dx90.vtx
    models/weaponf/v_knife_reaper.mdl
    models/weaponf/v_knife_reaper.vvd
    materials/models/weaponf/v_models/dtb_dagger/dtb.vmt
    materials/models/weaponf/v_models/dtb_dagger/dtb.vtf
    materials/models/weaponf/v_models/dtb_dagger/dtb_exp.vtf
    materials/models/weaponf/v_models/dtb_dagger/dtb_normal.vtf
    
    //Kabar
    models/weaponf/v_knife_kabar_v2.dx90.vtx
    models/weaponf/v_knife_kabar_v2.mdl
    models/weaponf/v_knife_kabar_v2.vvd
    materials/models/weaponf/kabar/KABAR.vmt
    materials/models/weaponf/kabar/kabar.vtf
    materials/models/weaponf/kabar/kabar_G.vtf
    materials/models/weaponf/kabar/kabar_n.vtf
    
    //1.6 Knife
    materials/models/weaponf/v_models/knife_ct/bowieknife.vmt
    materials/models/weaponf/v_models/knife_ct/knife.vtf
    materials/models/weaponf/v_models/knife_ct/knife_env.vtf
    materials/models/weaponf/v_models/knife_ct/knife_normal.vtf
    models/weaponf/crashz.dx80.vtx
    models/weaponf/crashz.dx90.vtx
    models/weaponf/crashz.mdl
    models/weaponf/crashz.sw.vtx
    models/weaponf/crashz.vvd
    
    //Ultimate Knife
    materials/models/weaponf/ultimate/texture_1.vmt
    materials/models/weaponf/ultimate/texture_1.vtf
    materials/models/weaponf/ultimate/texture_2.vmt
    materials/models/weaponf/ultimate/texture_2.vtf
    materials/models/weaponf/ultimate/texture_3.vmt
    materials/models/weaponf/ultimate/texture_3.vtf
    materials/models/weaponf/ultimate/texture_4.vmt
    materials/models/weaponf/ultimate/texture_4.vtf
    materials/models/weaponf/ultimate/texture_5.vmt
    materials/models/weaponf/ultimate/texture_5.vtf
    materials/models/weaponf/ultimate/texture_6.vmt
    materials/models/weaponf/ultimate/texture_6.vtf
    materials/models/weaponf/ultimate/texture_7.vmt
    materials/models/weaponf/ultimate/texture_7.vtf
    models/weaponf/v_knife_ultimate.dx90.vtx
    models/weaponf/v_knife_ultimate.mdl
    models/weaponf/v_knife_ultimate.vvd
    
    //Dual Infinity
    materials/models/weaponf/w_models/w_pist_elite/01.vmt
    materials/models/weaponf/w_models/w_pist_elite/01.vtf
    materials/models/weaponf/w_models/w_pist_elite/02.vmt
    materials/models/weaponf/w_models/w_pist_elite/02.vtf
    materials/models/weaponf/w_models/w_pist_elite/exponent
    materials/models/weaponf/w_models/w_pist_elite/hong02.vmt
    materials/models/weaponf/w_models/w_pist_elite/hong02.vtf
    materials/models/weaponf/w_models/w_pist_elite/jin01.vmt
    materials/models/weaponf/w_models/w_pist_elite/jin01.vtf
    materials/models/weaponf/w_models/w_pist_elite/m9a1.vmt
    materials/models/weaponf/w_models/w_pist_elite/m9a1.vtf
    materials/models/weaponf/w_models/w_pist_elite/m9a1_exponent.vtf
    models/weaponf/v_pist_dualinfinity.dx90.vtx
    models/weaponf/v_pist_dualinfinity.vvd
    models/weaponf/v_pist_dualinfinity.mdl

    if you want to know differences between

    v_example.mdl
    w_example.mdl
    w_example_dropped.mdl
    Spoiler


    Database configuration:

    Just add a entry called "customweapons" in addons/sourcemod/configs/databases.cfg (mysql and sqlite supported)
    If not entry called "customweapons" in the file, then the plugin will use the entry called "storage-local"


    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

    Download zip with the models: https://drive.google.com/file/d/0BzQ...ew?usp=sharing
    __________________
    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; 04-13-2023 at 10:30.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 12-28-2015 , 05:58   Re: [ANY] Custom Weapons Menu (very easy to configure)
    Reply With Quote #2

    *Reserved for more models*


    A simple tutorial of changing weapon skin:
    https://forums.alliedmods.net/showpo...8&postcount=95

    AK 47 Furhara and Vanti
    https://forums.alliedmods.net/showpo...&postcount=175

    AK47 Beast
    https://forums.alliedmods.net/showpo...1&postcount=68

    AK47 black holy
    https://forums.alliedmods.net/showpo...&postcount=145

    M4 Beast
    https://forums.alliedmods.net/showth...51#post2380851

    Awp Gentleman and PB Niboer
    https://forums.alliedmods.net/showth...89#post2378689

    Cokecola Molotov
    https://forums.alliedmods.net/showth...91#post2378791

    Screwdriver knife
    https://forums.alliedmods.net/showth...57#post2379057

    AWP Miku
    https://forums.alliedmods.net/showth...98#post2378498

    MP7 like CS:S MP5
    https://forums.alliedmods.net/showpo...9&postcount=50

    AWP anime:

    Code:
    	"weapon_awp"
    	{
    		"AWP anime"
    		{
    			"model" "models/weapons/v_animeawp.mdl"
    			"worldmodel" "models/weapons/w_animeawp.mdl"
    		}
    	}
    Screenshots:
    http://steamcommunity.com/sharedfile.../?id=586821355
    http://steamcommunity.com/sharedfile.../?id=586821280
    http://steamcommunity.com/sharedfile.../?id=586821187
    http://steamcommunity.com/sharedfile.../?id=587829197
    http://steamcommunity.com/sharedfile.../?id=587828846

    Download: now included with the latest version of this plugin


    Gong fu knife:

    Code:
    	"weapon_knife"
    	{
    		"Gong Fu"
    		{
    			"model" "models/weapons/v_gongfu.mdl"
    		}
    	}
    Screenshot:
    http://steamcommunity.com/sharedfile.../?id=586471940
    Spoiler


    Download: https://forums.alliedmods.net/attach...1&d=1452134443


    Pokeball:

    Code:
    	"weapon_hegrenade"
    	{
    		"Pokeball"
    		{
    			"model" "models/weapons/v_hegrenade_pokeball.mdl"
    		}
    	}
    Screenshot: http://steamcommunity.com/sharedfile.../?id=586767579

    Download: https://forums.alliedmods.net/attach...1&d=1451358583
    Attached Files
    File Type: zip Pokeball model.zip (3.58 MB, 2959 views)
    File Type: zip gongfu.zip (1.75 MB, 5475 views)
    __________________
    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; 01-22-2016 at 17:28.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 12-28-2015 , 06:31   Re: [ANY] Custom Weapons Menu (very easy to configure) v1.1
    Reply With Quote #3

    New version 1.1

    -Fixed a possible crash when your configuration is not correct
    -Edited the example configuration.txt for remove a invalid name

    https://github.com/Franc1sco/Franug-...081659db35d6de
    __________________
    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.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    rogeraabbccdd
    Veteran Member
    Join Date: Jun 2015
    Location: de_dust2
    Old 12-28-2015 , 06:46   Re: [ANY] Custom Weapons Menu (very easy to configure) v1.1
    Reply With Quote #4

    Nice
    __________________

    Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
    I only read messages in Chinese and English.

    GitHub | Discord:Kento#2118
    rogeraabbccdd is offline
    rogeraabbccdd
    Veteran Member
    Join Date: Jun 2015
    Location: de_dust2
    Old 12-28-2015 , 08:17   Re: [ANY] Custom Weapons Menu (very easy to configure) v1.1
    Reply With Quote #5

    Bug report
    Will not save players weapon after map load
    __________________

    Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
    I only read messages in Chinese and English.

    GitHub | Discord:Kento#2118
    rogeraabbccdd is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 12-28-2015 , 08:19   Re: [ANY] Custom Weapons Menu (very easy to configure) v1.1
    Reply With Quote #6

    Quote:
    Originally Posted by rogeraabbccdd View Post
    Bug report
    Will not save players weapon after map load
    I know. I not included that feature yet.
    __________________
    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.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Hallucinogenic Troll
    Senior Member
    Join Date: Apr 2015
    Old 12-28-2015 , 09:56   Re: [ANY] Custom Weapons Menu (very easy to configure) v1.1
    Reply With Quote #7

    I think you should be warning this Franc1sco.

    Some ppl might be smart (or stupid) enough to extract the mdl files from the CS:GO's VPK paks and change the textures' path.

    As an example, you can extract the karambit, make like an "Amber Fade" texture and add to the server.

    Basicly, you can create karambits dopplers and many other skins that are on market, just extracting the files and Valve may not like that and start to be against your plugin.

    Last edited by Hallucinogenic Troll; 12-28-2015 at 09:59.
    Hallucinogenic Troll is offline
    Cipop
    Member
    Join Date: Sep 2014
    Old 12-28-2015 , 10:17   Re: [ANY] Custom Weapons Menu (very easy to configure) v1.1
    Reply With Quote #8

    Custom atributtes and force usage ?
    Wonderful plugin anyway
    __________________



    Last edited by Cipop; 12-28-2015 at 10:19.
    Cipop is offline
    Ownkruid
    Senior Member
    Join Date: Nov 2013
    Old 12-28-2015 , 10:27   Re: [ANY] Custom Weapons Menu (very easy to configure) v1.1
    Reply With Quote #9

    Code:
    L 12/28/2015 - 16:25:58: [SM] Displaying call stack trace for plugin "fpvm_interface.smx":
    L 12/28/2015 - 16:25:58: [SM]   [0]  Line 154, fpvm_interface.sp::OnClientWeaponSwitchPost()
    L 12/28/2015 - 16:25:58: [SM] Native "SetEntProp" reported: Property "m_iSecondaryReserveAmmoCount" not found (entity 0/worldspawn)
    L 12/28/2015 - 16:25:58: [SM] Displaying call stack trace for plugin "fpvm_interface.smx":
    L 12/28/2015 - 16:25:58: [SM]   [0]  Line 382, E:\franugcompiler\include\smlib/weapons.inc::Weapon_SetSecondaryAmmoCount()
    L 12/28/2015 - 16:25:58: [SM]   [1]  Line 215, fpvm_interface.sp::RefreshWeapon()
    L 12/28/2015 - 16:25:58: [SM]   [2]  Line 176, fpvm_interface.sp::Native_AddWeapon()
    L 12/28/2015 - 16:25:58: [SM] Native "FPVMI_AddViewModelToClient" reported: Error encountered while processing a dynamic native
    L 12/28/2015 - 16:25:58: [SM] Displaying call stack trace for plugin "franug_cwm.smx":
    L 12/28/2015 - 16:25:58: [SM]   [0]  Line 166, franug_cwm.sp::Menu_Handler2()
    L 12/28/2015 - 16:26:02: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
    L 12/28/2015 - 16:26:02: [SM] Displaying call stack trace for plugin "fpvm_interface.smx":
    L 12/28/2015 - 16:26:02: [SM]   [0]  Line 154, fpvm_interface.sp::OnClientWeaponSwitchPost()
    Works on 2 out of 3 servers. On Hide'N'Seek this is being spammed in my logs.
    __________________




    Ownkruid is offline
    bebe9b
    Veteran Member
    Join Date: May 2009
    Location: Romania
    Old 12-28-2015 , 13:35   Re: [ANY] Custom Weapons Menu (very easy to configure) v1.1
    Reply With Quote #10

    Franc pls fix :

    I tested the plugin server and is not stable

    Pls fix , knife has delay then when press click mouse left and click mouse right.


    write message console server:

    FS: Specified two path IDs (//Tridagger, GAME).
    FS: Specified two path IDs (//Tridagger, GAME).
    FS: Specified two path IDs (//Tridagger Steel, GAME).
    FS: Specified two path IDs (//Tridagger Steel, GAME).
    FS: Specified two path IDs (//Black Dagger, GAME).
    FS: Specified two path IDs (//Black Dagger, GAME).
    FS: Specified two path IDs (//Kabar, GAME).
    FS: Specified two path IDs (//Kabar, GAME).
    FS: Specified two path IDs (//1.6 Knife, GAME).
    FS: Specified two path IDs (//1.6 Knife, GAME).
    FS: Specified two path IDs (//Ultimate Knife, GAME).
    FS: Specified two path IDs (//Ultimate Knife, GAME).
    FS: Specified two path IDs (//Dual Infinity, GAME).
    FS: Specified two path IDs (//Dual Infinity, GAME).


    Thx,
    __________________
    respecta si vei fi respectat

    Last edited by bebe9b; 12-28-2015 at 13:41.
    bebe9b 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 23:39.


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