How put a skin on Portal Gun?
I can't put a skin on my Portal Gun, i trying download a pak01_dir with the skin, but give a error... There's no word in the screen, there's the Background image, Logo, but nothing about letter...
Somepony... I mean, somebody can help me?
PS. I using the Google Translate, so... Sorry if there's any wrong word
FelixGriffin wrote:
What did you do with the pak01.vpk?
I download a file with skin, and there have the pak01_dir, but make the error then i say
After resolving your crash, I'd try putting the new pak01 in that folder and see if it works for you, though it seems an unconventional method of installing a skin.
As for the crash, you need to get your original pak01 back. To do that, you should probably delete the new one and let the game install the original.
Jo-chan wrote:
FelixGriffin wrote:What did you do with the pak01.vpk?
I download a file with skin, and there have the pak01_dir, but make the error then i say
Yes, but what did you do with it? I doubt the act of downloading it crashed your game.
What you want to do is make sure you have those folders I said to set up before (a "custom" folder (without the quotes) in SteamApps\common\Portal 2\portal2, and another folder inside that of any name).
Then simply extract the contents of _3189-.zip into that folder.
Let me know if this works.
EDIT: I just tested this myself, it didn't work, so nevermind. I'll do some fiddling. Sit tight.
Well... You have any skin for Portal Gun like that? Then make the Portal Gun clear? And one it work, please
That on Gamebanana seems to be the old method of editing the pack01_dir.VPK file on Notepad++ to make it point to different portalgun's material files. This method could work out IF done correctly. The basic idea is to have all your portalgun files with one letter changed (in this case it's 'c_portalgun' instead of the usual 'v_portalgun' name of the viewmodel's file) into a local materials/weapons/v_models/v_portalguun folder, and to edit the pak01_dir.VPK to locate and change ALL 'v_portalgun' entries by 'c_portalgun'.
And I'm not so sure that the guy who posted those skins on Gamebanana made it correctly:
On the other hand, for God's sake, don't download and try to use anyone's pak01_dir.VPK file!! >.< If you want to use this method, just do it yourself. Edit your own pak01_dir.VPK file, and bare in mind you will lose any change after verifying your local files cache...
Take a look to Sickle's tutorial on how to reskin your portalgun.
What I personally do is to have an hexed portalgun model somewhere under my /models folder that points to my custom textures. Then I edit the weapon_portalgun.txt file (located into the portal 2/portal/scripts folder) to include the path to my model:
// Portalgun
WeaponData
{
// Weapon data is loaded by both the Game and Client DLLs.
"printname" "#Portal_Portalgun"
"viewmodel" "models/weapons/v_portalgun.mdl"
"playermodel" "models/weapons/w_portalgun.mdl"
"anim_prefix" "portalgun"
"bucket" "0"
"bucket_position" "2"
"clip_size" "1"
"primary_ammo" "None"
"secondary_ammo" "None"
"weight" "4"
"item_flags" "0"
"damage" "9"
"autoswitchto" "1"
// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
SoundData
{
"single_shot" "Weapon_Portalgun.fire_blue"
"double_shot" "Weapon_Portalgun.fire_red"
// NPC SECTION
"single_shot_npc" "Weapon_Portalgun.fire_blue_npc"
"double_shot_npc" "Weapon_Portalgun.fire_red_npc"
}
// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
"weapon"
{
"font" "WeaponIcons"
"character" "C"
}
"weapon_s"
{
"font" "WeaponIconsSelected"
"character" "C"
}
"ammo"
{
"font" "WeaponIcons"
"character" "M"
}
"crosshair"
{
"font" "Crosshairs"
"character" "."
}
"autoaim"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
}
}
PS. if somebody have a skin file working to test, because i give up this skin...
I attached my file for you to test. Put the folder from the archive in .../Steam/steamapps/common/portal 2. If it works give me your file and I'll pack it for you.
