Could someone make me a custom portal gun skin?

Avatar
Tyronis3
96 Posts
Posted Dec 21, 2011
Hey, I've been wanting to make a simple reskin of the portal gun for a while now, but VTFEdit keeps throwing errors whenever I try to run it. I've tried all the fixes I've heard of but still can't get the darn thing to open.

So, could some helpful soul make a reskin for me? It's nothing complex.
I'd like it to say "Good point," and just below that, "Tyronis". The phrase "Good point, Tyronis" comes from an odd series of events that would be too confusing to explain, but that's besides the point. I'd like it to be in a simple font type and black.

Thanks for any help or assistance. I hope this isn't asking for too much or that it sounds needy.

Advertisement
Registered users don't see ads! Register now!
Avatar
spongylover123
944 Posts
Posted Dec 21, 2011
Replied 2 hours later
Do you want it clean or dirty?
Avatar
Tyronis3
96 Posts
Posted Dec 21, 2011
Replied 14 hours later

spongylover123 wrote:
Do you want it clean or dirty?

Clean please. Just how it regularly is, but with the phrase on it.

Avatar
spongylover123
944 Posts
Posted Dec 21, 2011
Replied 8 minutes later
Ok, have it to you in a minute.
Avatar
spongylover123
944 Posts
Posted Dec 21, 2011
Replied 29 minutes later
Here's the dirty version, but if you want I can upload the clean one.
just change the name from v_portalgun to tclean/dirty_portalgun in the pak_01dir.vpk.

EDIT: ADDED A CLEAN ONE

Avatar
Tyronis3
96 Posts
Posted Dec 21, 2011
Replied 15 minutes later
Thank you!
Sorry for the noob question but I'm not sure how exactly to edit the pak01_dir.vpk
Should I open it in GFCScape or Notepad++? Also there are multiple places where it says v_portalgun, do I change them all or only a certain one?
Avatar
spongylover123
944 Posts
Posted Dec 21, 2011
Replied 40 minutes later
find v_portalgun in Notepad++
and find this phrase.

}v_portalgun ???5/?? ?"      ??VertexLitGeneric
{
$baseTexture "models\weapons\v_models\v_portalgun/v_portalgun"

$bumpmap "models\weapons\v_models\v_portalgun\v_portalgun_normal"
$phong 1
$phongexponenttexture "models\weapons\v_models\v_portalgun\v_portalgun_exponent"

$phongboost 1

$phongfresnelranges "[5 1 2]"

change it to the name of the texture

Avatar
Tyronis3
96 Posts
Posted Dec 21, 2011
Replied 27 minutes later
Is there anyway you could just let me download the modified pak01_dir.vpk? I have no idea what any of this means and can't get it to work. I apologize for being an idiot but I have no idea what I'm doing.
Avatar
WinstonSmith
940 Posts
Posted Dec 22, 2011
Replied 18 hours later

Tyronis3 wrote:
Is there anyway you could just let me download the modified pak01_dir.vpk? I have no idea what any of this means and can't get it to work. I apologize for being an idiot but I have no idea what I'm doing.

Nope! Because then, yarrrr, it'd be piracy of some sort.

Open Notepad++ and then open the pak01_dir.vpk file. Hit Ctrl+F and search for the string "v_portalgun". If it pops up more than once, keep cycling through the results until you find the one that matches what spongylover123 put in the code section. Then, in the line that starts with $baseTexture, change "v_portalgun" to whatever the name of the skin (the file spongylover provided) is. Save the file, open P2, and it should work.

Avatar
Tyronis3
96 Posts
Posted Dec 22, 2011
Replied 55 minutes later

WinstonSmith wrote:
Tyronis3 wrote:

Is there anyway you could just let me download the modified pak01_dir.vpk? I have no idea what any of this means and can't get it to work. I apologize for being an idiot but I have no idea what I'm doing.

Nope! Because then, yarrrr, it'd be piracy of some sort.

Open Notepad++ and then open the pak01_dir.vpk file. Hit Ctrl+F and search for the string "v_portalgun". If it pops up more than once, keep cycling through the results until you find the one that matches what spongylover123 put in the code section. Then, in the line that starts with $baseTexture, change "v_portalgun" to whatever the name of the skin (the file spongylover provided) is. Save the file, open P2, and it should work.

Oh. Ok thanks for the advice. Don't I have to put the .vtf file somewhere?

Avatar
spongylover123
944 Posts
Posted Dec 22, 2011
Replied 16 minutes later

Tyronis3 wrote:
Oh. Ok thanks for the advice. Don't I have to put the .vtf file somewhere?

Put it in
portal2/materials/models/weapons/v_models/v_portalgun
I think it's like that.

Avatar
Tyronis3
96 Posts
Posted Dec 22, 2011
Replied 17 minutes later

Ok I got it to work! Thanks!
The only thing is, the font is too big for me to see all of it. I can only see the first part of "Good"
I took a screenshot and edited it in Paint to show where I would like the words to go.

http://dl.dropbox.com/u/19218929/gun.jpg

In the red box put "Good point,"
In the black box put "Tyronis"
(Don't leave the boxes in the actual texture)

Thanks.

Avatar
spongylover123
944 Posts
Posted Dec 22, 2011
Replied 7 minutes later

Tyronis3 wrote:
Ok I got it to work! Thanks!
The only thing is, the font is too big for me to see all of it. I can only see the first part of "Good"
I took a screenshot and edited it in Paint to show where I would like the words to go.
http://dl.dropbox.com/u/19218929/gun.jpg

In the red box put "Good point,"
In the black box put "Tyronis"
(Don't leave the boxes in the actual texture)

Thanks.

Use the console command
Move Portal Gun Up/Down: "viewmodel_offset_z #" (0=default)
Mover it up until you see the words

Avatar
Tyronis3
96 Posts
Posted Dec 22, 2011
Replied 4 minutes later
But then the portal gun takes up more space than usual and crowds my vision, and that big of font doesn't look very good imo :/
Avatar
spongylover123
944 Posts
Posted Dec 22, 2011
Replied 4 minutes later
Ok, I'll fix it.
Avatar
Tyronis3
96 Posts
Posted Dec 22, 2011
Replied 3 minutes later
Ok, thank you. Sorry for being so picky.
Avatar
spongylover123
944 Posts
Posted Dec 22, 2011
Replied 16 minutes later
Ok, I moved it, and I tested it and you can see half of it, so you have to use that console command and nudge it 1-2 units.
If you played portal, the portal gun viewmodel is higher than the portal 2 one. so dont worry, it doesnt block the vision
Advertisement
Registered users don't see ads! Register now!
Avatar
Tyronis3
96 Posts
Posted Dec 22, 2011
Replied 15 minutes later
Cool! Thank you!