Here is a simple tutorial of changing weapon skin
********************************************* **************************************
Tools- GCFScape - Get files from vpk
- VTFEdit - Edit material files (.vmt and .vtf)
- Hex Editor - Edit .mdl files
- CSGO SDK - Preview model
Step1.
Find a skin you like
here, or search on the internet.
For example, I want to make a model with
this skin, so I download it and get these files.
Step2.
Use
GCFScape to open your
pak01_dir.vpk, and extract weapon files in these folder
PHP Code:
materials/models/weapons/
models/weapons
Step3.
For changing awp skin, we need these files.
So I copy them and create a new folder for them
PHP Code:
models/weapons/v_snip_awp.dx90.vtx
models/weapons/v_snip_awp.mdl
models/weapons/v_snip_awp.vvd
materials/weapons/v_models/snip_awp/awp.vmt
materials/weapons/v_models/snip_awp/awp.vtf
materials/weapons/v_models/snip_awp/awp_exponent.vtf
Step4.
Use
Hex Editor to open
v_snip_awp.mdl
Change these line in the picture (Edit > Overwrite string > Text String)
Model name
Before:
After:
Material location
Before:
After:
And don't forget to rename your model files like this
Step5.
Go to your material files location, replace
awp.vtf to your skin file
Then use
VTFEdit open
awp.vmt, change the location of textures.
Before:
After:
Step6.
Copy both material files and model files to your game folder.
Open
Model Viewer in
CSGO SDK, and load your model.
Looks great!
And also works in game
http://steamcommunity.com/sharedfile.../?id=590525256
********************************************* **************************************
PHP Code:
"weapon_awp"
{
"Bounce"
{
"model" "models/weapons/v_bounceawp.mdl"
}
}
PHP Code:
materials/models/weapons/v_models/bounceawp/awp.vmt
materials/models/weapons/v_models/bounceawp/awp.vtf
materials/models/weapons/v_models/bounceawp/awp_exponent.vtf
models/weapons/v_bounceawp.dx90.vtx
models/weapons/v_bounceawp.mdl
models/weapons/v_bounceawp.vvd