How to customize the color of the bacon/potatOS Portal gun?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Juelz0312

New Member
Jul 29, 2019
30
0
0
I heard that the bacon and potatOS's colors are customizable by each player, but how can I customize it to a color I want?
 

ApSciLiara

New Member
Jul 29, 2019
1,216
0
0
You need to go into the configs for the Portal Gun mod. It should be in your configs folder, and it should be called portalgun.cfg or something. Once there, you want to find these lines:
Code:
# colour(Bacon/Potato)GunX
# Custom bacon gun colour indexes (Google "hex color codes" if you don't understand)
# Format: #<colour index> or 0x<colour index>
# Eg: #ffffff or 0xffffff for white
S:colourBaconGun1=#ffffff
S:colourBaconGun2=#ffffff
S:colourPotatoGun1=#ffffff
S:colourPotatoGun2=#ffffff
 
# Boolean:
# Does the bacon gun's portals have a custom colour?
I:customBaconGunColour=0
 
# Boolean:
# Does the potato gun's portals have a custom colour?
I:customPotatoGunColour=0
Change the bits with #ffffff to any HTML colour code you like (a good place to find those is here), and change the bits beside "customBaconGunColour" and "customPotatoGunColour" to 1, like so:
Code:
# Boolean:
# Does the bacon gun's portals have a custom colour?
I:customBaconGunColour=1
 
# Boolean:
# Does the potato gun's portals have a custom colour?
I:customPotatoGunColour=1
If I've been unclear, I'm very sorry but I'm a terrible explainer.
 
  • Like
Reactions: casilleroatr

Juelz0312

New Member
Jul 29, 2019
30
0
0
You need to go into the configs for the Portal Gun mod. It should be in your configs folder, and it should be called portalgun.cfg or something. Once there, you want to find these lines:
Code:
# colour(Bacon/Potato)GunX
# Custom bacon gun colour indexes (Google "hex color codes" if you don't understand)
# Format: #<colour index> or 0x<colour index>
# Eg: #ffffff or 0xffffff for white
S:colourBaconGun1=#ffffff
S:colourBaconGun2=#ffffff
S:colourPotatoGun1=#ffffff
S:colourPotatoGun2=#ffffff
 
# Boolean:
# Does the bacon gun's portals have a custom colour?
I:customBaconGunColour=0
 
# Boolean:
# Does the potato gun's portals have a custom colour?
I:customPotatoGunColour=0
Change the bits with #ffffff to any HTML colour code you like (a good place to find those is here), and change the bits beside "customBaconGunColour" and "customPotatoGunColour" to 1, like so:
Code:
# Boolean:
# Does the bacon gun's portals have a custom colour?
I:customBaconGunColour=1
 
# Boolean:
# Does the potato gun's portals have a custom colour?
I:customPotatoGunColour=1
If I've been unclear, I'm very sorry but I'm a terrible explainer.

No, no! You explained it very clearly! However what I meant was that I saw that there is a feature on SMP for players to choose their own colors. Here is where i saw it: http://ichun.us/w/index.php?title=Bacon_Gun

I want to have it so that me and my friends can choose the colors we want.
 

ApSciLiara

New Member
Jul 29, 2019
1,216
0
0
That is how you choose those colours. Everybody sets their own colour codes in their configs, and it should just work.
 

ApSciLiara

New Member
Jul 29, 2019
1,216
0
0
What are the color codes that the Portal Gun mod uses by default? The reason I ask is because I'd like to have the potato gun's colors be identical to the default colors, while my bacon gun would be the colors of my choice.

The config says black and white, respectively, but it's randomly generated.
 

aaronfranke

New Member
Jul 29, 2019
36
0
0
The config says black and white, respectively, but it's randomly generated.
No, I mean what color codes would I have to enter in the custom code area for my portal gun to have the same colors as the default portal gun.

Thanks for the amazingly quick response though!
 

ApSciLiara

New Member
Jul 29, 2019
1,216
0
0
No, I mean what color codes would I have to enter in the custom code area for my portal gun to have the same colors as the default portal gun.

Thanks for the amazingly quick response though!

If I'm right, the blue portal's colour code is 0754A1 and orange's is C28606.
 
  • Like
Reactions: casilleroatr

masterventris

New Member
Jul 29, 2019
41
0
0
If you screenshot the default portals (in single player if you are on a server and dont have one) then just use any image editing software to give you the hex codes of those pixels. Even paint has the eye dropper tool thing that will do this.
 

ApSciLiara

New Member
Jul 29, 2019
1,216
0
0
If you screenshot the default portals (in single player if you are on a server and dont have one) then just use any image editing software to give you the hex codes of those pixels. Even paint has the eye dropper tool thing that will do this.

Thaaaat's... what I did.
 

Tatebooger

New Member
Jul 29, 2019
1
0
0
I think The colours used are the outermost lightest colours... With the brightest light possible. I'll post those results here ---> orange= cf8f06 blue= 0668ca