Trying to Recreate Beta CrossHair

Avatar
PortalFan77
432 Posts
Posted Aug 05, 2008
I really like the beta Cross hairs for portal. Well I wanted ot make them for Portal, but when I looked into the crosshairs VTF it was just white, so I thought hmm weird.

I exported as a PNG and opened with PHOTOSHOP, and bam turns out it was a PNG to VTF. I successfully edited the cross hairs with a beta like theme

Here is my issue though, the crosshairs curl over, anyone know how to fix this and how to change the color



ANY HELP WOULD BE VERY NICE

IT SHOULD LOOK LIKE THIS

Advertisement
Registered users don't see ads! Register now!
Avatar
ultradude25
63 Posts
Posted Aug 06, 2008
Replied 12 hours later
I actually think they look pretty awesome like that.
Avatar
rellikpd
1,053 Posts
Posted Aug 06, 2008
Replied 10 hours later
i was gunna say the same thing. that slightly overlapped thing "looks" cool. don't know how cool it would be in game what with it being in your way. but it looks pretty sweet on pic
Avatar
reepblue
894 Posts
Posted Aug 07, 2008
Replied 1 day later
I don't mod like you do, but if I were you I would move the lines in different spots until they look the way you want it. But, I don't do this.

As for the colors, I think you have to go into the portal files or something like that.

EDIT: Here is my best guess. In the Portalgun file, it may have something like

"PRIMARY FIRE" ---- "HUD = 35 134 254"

"SECONDARY FIRE" ---- "HUD = 255 128 64"

I'm just trowing thoughts around...

Avatar
PortalFan77
432 Posts
Posted Aug 07, 2008
Replied 1 hour later
"sprites/640_hud"
{
   TextureData
   {
      "portal_crosshair_left_invalid"
      {
         "file"      "sprites/hud/portal_crosshairs"
         "x"      "2"
         "y"      "0"
         "width"      "44"
         "height"   "64"
      }
      "portal_crosshair_right_invalid"
      {
         "file"      "sprites/hud/portal_crosshairs"
         "x"      "50"
         "y"      "0"
         "width"      "44"
         "height"   "64"
      }
      "portal_crosshair_left_valid"
      {
         "file"      "sprites/hud/portal_crosshairs"
         "x"      "98"
         "y"      "0"
         "width"      "44"
         "height"   "64"
      }
      "portal_crosshair_right_valid"
      {
         "file"      "sprites/hud/portal_crosshairs"
         "x"      "146"
         "y"      "0"
         "width"      "44"
         "height"   "64"
      }
      "portal_crosshair_last_placed"
      {
         "file"      "sprites/hud/portal_crosshairs"
         "x"      "194"
         "y"      "0"
         "width"      "28"
         "height"   "64"
      }
      

I have a feeling this may be something that needs to be edited, but i have no idea where to start any help would be nice.

Avatar
reepblue
894 Posts
Posted Aug 07, 2008
Replied 8 minutes later
Try replacing the "sprites/hud/portal_crosshairs" with "sprites/hud/your_file" But copy the file that is in front of you if it does not work right.
Avatar
PortalFan77
432 Posts
Posted Aug 07, 2008
Replied 11 minutes later

reepblue wrote:
Try replacing the "sprites/hud/portal_crosshairs" with "sprites/hud/your_file" But copy the file that is in front of you if it does not work right.

Well, I don't know if that will work at all. I mean the Portal crosshair is in 3 sections.

here lemme show you what I have done .

Avatar
reepblue
894 Posts
Posted Aug 07, 2008
Replied 12 minutes later

PortalFan77 wrote:
Well, I don't know if that will work at all. I mean the Portal crosshair is in 3 sections.

here lemme show you what I have done .

Put the file locations for each file in the file sections of the code.

I'm looking forward to this

Avatar
PortalFan77
432 Posts
Posted Aug 07, 2008
Replied 12 minutes later

reepblue wrote:
I'm looking forward to this

As am I, Ive been wanting to see this done, and no one has done it so I took it upon myself to do it.

For people who dont know what I am trying to do, view this image.

http://www.zilefile.com/files/2762_tggt8/BETAPORTAL.jpg

Avatar
reepblue
894 Posts
Posted Aug 07, 2008
Replied 43 minutes later

PortalFan77 wrote:
As am I, Ive been wanting to see this done, and no one has done it so I took it upon myself to do it.

For people who dont know what I am trying to do, view this image.
http://www.zilefile.com/files/2762_tggt8/BETAPORTAL.jpg

Then the ovals should be lines then.

Avatar
PortalFan77
432 Posts
Posted Aug 07, 2008
Replied 8 minutes later

reepblue wrote:
Then the ovals should be lines then.

I already know this, and i just had an idea on how to do this but I cant find the script Im looking for.

AND that could be hard and impossible ot do which is why I may have to leave that out until later.

Avatar
reepblue
894 Posts
Posted Aug 07, 2008
Replied 23 minutes later

PortalFan77 wrote:
I already know this, and i just had an idea on how to do this but I cant find the script Im looking for.

AND that could be hard and impossible ot do which is why I may have to leave that out until later.

Yeah, you can always come out with a beta for that. But it may look better with ovals, I donno.

Avatar
PortalFan77
432 Posts
Posted Aug 07, 2008
Replied 2 hours later
As of now i have learned this is basically impossible.

The two crosshairs are set with eachother, you move and adjust one, the other adjusts as well.

I am giving thi sup now, I cannot do it, i have spent a long time trying, I even split the two crosshairs into separate textures and it did not work.

Anyone who may know how to do these can have fun.....

Avatar
CabooseJr
67 Posts
Posted Aug 08, 2008
Replied 32 minutes later
I most certainly will have fun doing this.
Avatar
reepblue
894 Posts
Posted Aug 08, 2008
Replied 26 minutes later

PortalFan77 wrote:
As of now i have learned this is basically impossible.

The two crosshairs are set with eachother, you move and adjust one, the other adjusts as well.

I am giving thi sup now, I cannot do it, i have spent a long time trying, I even split the two crosshairs into separate textures and it did not work.

Anyone who may know how to do these can have fun.....

Perhaps you are looking at the wrong picture.

"x"      "2"
         "y"      "0"
         "width"      "44"
         "height"   "64" 

As you said before it is split up into three parts, It must be possable to move them apart. Or. Make a new portal gun.

I'll give it a go.

EDIT: Heck, I can't even get it in game.

Avatar
PortalFan77
432 Posts
Posted Aug 08, 2008
Replied 33 minutes later
Well I tried all the stuff you said but none of it worked, I came VERY VERY close to getting it to work.

I may decide to work on it again but i am really tired right now so I think I am going to get some rest.

Avatar
reepblue
894 Posts
Posted Aug 08, 2008
Replied 34 minutes later

PortalFan77 wrote:
Well I tried all the stuff you said but none of it worked, I came VERY VERY close to getting it to work.

I may decide to work on it again but i am really tired right now so I think I am going to get some rest.

Tell us how you got where you were, then

Avatar
PortalFan77
432 Posts
Posted Aug 08, 2008
Replied 46 minutes later

reepblue wrote:
Tell us how you got where you were, then

Well most of this thread explains, but i started fucking around with the Mod_Textures in the Portal Script folder, you can try messing with it if you want.

I had a realization on how i may get this working, but Ive had that before, that will have to wait though.

Avatar
ultradude25
63 Posts
Posted Aug 10, 2008
Replied 2 days later
I remember I had a Portal Gun addon for Gmod, and it used the old crosshair.

If I can find it again would it be usable?

Avatar
rellikpd
1,053 Posts
Posted Aug 10, 2008
Replied 9 hours later
basically yes.
Advertisement
Registered users don't see ads! Register now!