Jump to content

Self Info Panel Color


Recommended Posts

Hello, 

 

I understand you are a very busy man but I was hoping you may have time to add an option to the self info panel to change the color of the text. I do know php (which I understand its not the same but coding is coding at the end of the day) so I tried to track down the file the mod is using but with no luck, If you don't have the time maybe you could point me in the right direction and I could possibly figure it out myself.

Edited by Neef
Link to comment
  • Neef changed the title to Self Info Panel Color
  • 2 weeks later...

Hi there,

I do something similar to what you are asking with "Damage Meter" mod, by changing the (sometimes unreadable) white color to a nice yellow/gold color.

All you have to do is getting free editor app "Notepad ++" and go edit the file Aslain was mentioning. Don't worry about the Flash file; it needs no changes.

 

Once you are ready (ofc make a backup copy first!) the first step is to chose a new color and copy its Hexadecimal code.

There are plenty of sites than can help in that. Here the one in the pict: https://www.htmlcsscolor.com

 

In Notepad++ as you can see, there in option to split the windows: in my case on the left it's a file I made and saved on the desktop, while on the right there is the one to be edit inside the Res_mods folder. A nice thing about Notepad++ is that it remember any open session, so all you have to do, after installing one of Asalin's modpack is to run it, copy/paste from left to right and SAVE before quitting.

As you can see, for extra comfort I copy/paste a whole chunk of code because in Damage Meter I have 2 colors to change, but as matter of fact, the only thing you need to change is the HEX code (the part in green) in your file.

Beware these are different mods, so different coding, but the fact remain that you need to use Notepad++ search comand for an entry that says "Text color" or also look for an HEX code. i.e. if the original color is white, you need to look for a "#FFFFFF" value.

Be also aware you may find more than one Hex codes, one for the main text and the other for the outline.

Good luck

 

Screenshot (976).png

Screenshot (975).png

Edited by JeT
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.