Recoloring (CO-OP) portals in Portal 2

How to recolor (CO-OP) portals in Portal 2

THIS IS ONLY FOR CO-OP PORTALS. For this tutorial all you're going to need is Notepad ++ (or similar text editor. I do not recommend using notepad).

First open pak01_dir.vpk file located in C:\Program Files\Steam\steamapps\common\portal 2\portal2 with Notepad ++.

Then search (Ctrl+F) for lines:

$PortalCoopColorPlayerOnePortalOne "[0.125 0.500 0.824]" $PortalCoopColorPlayerOnePortalTwo "[0.075 0.000 0.824]" $PortalCoopColorPlayerTwoPortalOne "[1.000 0.705 0.125]" $PortalCoopColorPlayerTwoPortalTwo "[0.225 0.010 0.010]"

Example

(PlayerOne is Atlas, PlayerTwo is P-Body)

And change the values as you like, but remember - they are floating point numbers so you have to divide the channel (E.G. red) with 255. So if you want color (E.G. 255, 100, 0) the values should be [1.000 0.392 0.000]

(255 / 255 = 1) (100 / 255 =0.392) (0 / 255 = 0)

After you changed the values save file and launch Portal 2 and it should work :).

Note: This also modifies the crosshair and lights in the portal gun so you don't need to change anything else.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • nepumax's Levels
    • P1: Beggar
      Points: 370
    • C1: Member
    • A4: Graduate
      Account Age: 4 years
    Posted 7 months ago

    Pros:

    • Good for everyone who likes playing with colors
    • You don't need to search the variable by yourself

    Improvements:

    • Show a few color examples
    • Agree x 1
    Just laugh. :-)
  • clariosis's Levels
    • P1: Beggar
      Points: 33
    • C1: Member
    • A3: Apprentice
      Account Age: 1 year
    Posted 1 year ago

    Improvements:

    • Green portal in portal 2 good job
    Bananite
  • SuperSoldier's Levels
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 2 years ago

    Posted by ALackOfLife

    Posted by [Stream]

    Posted by ALackOfLife

    ...What file am I supposed to even open.

    Can't you read? I wrote:

    First open pak01_dir.vpk file located in C:\Program Files\Steam\steamapps\common\portal 2\portal2 with Notepad ++.

    I can read, and I still don't understand... To make it clearer... What file INSIDE the pak... You know what never mind.

    You just open pak01_dir.vpk in Notepad++.

    Bananite
  • ALackOfLife's Levels
    • P1: Beggar
      Points: 604
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 2 years ago

    Posted by [Stream]

    Posted by ALackOfLife

    ...What file am I supposed to even open.

    Can't you read? I wrote:

    First open pak01_dir.vpk file located in C:\Program Files\Steam\steamapps\common\portal 2\portal2 with Notepad ++.

    I can read, and I still don't understand... To make it clearer... What file INSIDE the pak... You know what never mind.

    • Funny x 1
    • Dumb x 1
    nope.avi
  • [Stream]'s Levels
    • P1: Beggar
      Points: 80
    • C1: Member
    • A3: Apprentice
      Account Age: 2 years
    Posted 2 years ago

    Posted by ALackOfLife

    ...What file am I supposed to even open.

    Can't you read? I wrote:

    First open pak01_dir.vpk file located in C:\Program Files\Steam\steamapps\common\portal 2\portal2 with Notepad ++.

    • Agree x 1
    • Win x 1
    Thinking With Portals...
  • ALackOfLife's Levels
    • P1: Beggar
      Points: 604
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 2 years ago

    ...What file am I supposed to even open.

    • Funny x 1
    • Dumb x 1
    nope.avi
  • JayXsane's Levels
    • P1: Beggar
      Points: 805
    • C1: Member
    • A4: Graduate
      Account Age: 4 years
    Posted 2 years ago

    Posted by ultralok

    Posted by [Stream]

    Posted by ultralok

    For singleplayer I'm sure you have to modify the same file but different lines (or some texture files). Right now I'm searching witch ones :)

    Just thought I'd let you know, I found the texture files that need to be edited for single-player portals however it only changes the colour of the portals (the colour of the effects on both portal gun and around portals are the original colour) I think those effects can only be edited in tools mode but I can't get my portal 2 to work in tools mode , anyone else?

    The P2 Tools are still in testing so it's going to mess up for a while.

    User Title
    Play4Fun,Not2Win
  • Mental1ty's Levels
    • P2: Drudge
      Points: 1,159
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 2 years ago

    Posted by [Stream]

    Posted by ultralok

    For singleplayer I'm sure you have to modify the same file but different lines (or some texture files). Right now I'm searching witch ones :)

    Just thought I'd let you know, I found the texture files that need to be edited for single-player portals however it only changes the colour of the portals (the colour of the effects on both portal gun and around portals are the original colour) I think those effects can only be edited in tools mode but I can't get my portal 2 to work in tools mode , anyone else?

    User Title
    Started a noob,Shall finish a
  • [Stream]'s Levels
    • P1: Beggar
      Points: 80
    • C1: Member
    • A3: Apprentice
      Account Age: 2 years
    Posted 2 years ago

    Posted by ultralok

    This is a very helpful tutorial thank you very much, not sure what all the problems are about it worked for me the first time I tried it. A Tutorial on how to edit (or which files to) the colour of the single player portals (this will most likely require tools mode but I'm not sure) Anyway great tutorial thank you.

    For singleplayer I'm sure you have to modify the same file but different lines (or some texture files). Right now I'm searching witch ones :)

    Thinking With Portals...
  • Mental1ty's Levels
    • P2: Drudge
      Points: 1,159
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 2 years ago

    This is a very helpful tutorial thank you very much, not sure what all the problems are about it worked for me the first time I tried it. A Tutorial on how to edit (or which files to) the colour of the single player portals (this will most likely require tools mode but I'm not sure) Anyway great tutorial thank you.

    User Title
    Started a noob,Shall finish a

Credits

Submitter
[Stream]'s Levels
  • P1: Beggar
    Points: 80
  • C1: Member
  • A3: Apprentice
    Account Age: 2 years
[Stream] (Creator/Co-creator)
Key Authors
[Stream]
Author

Rating

9.8/10
Based off 4 rating(s)

Additional Info

Genre
Texturing
Difficulty Level
Intermediate

Stats

Post Count
15
ViewCount
4,376
Date Added
2 years ago
Date Modified
2 years ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share