This plugin is not against valve's rule if you obey this -> https://forums.alliedmods.net/showpo...44&postcount=8
Demostration video:
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:
Refresh the configuration (ROOT adminflag required):
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
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
__________________