Jump to content

Changing base text colors in modern graphics mode?


pragmasaurus9

Recommended Posts

I'm trying to modify rare and unique text to be more visible (all items including unidentified, so adding color codes to display names isn't enough)

 

I figured out how to do it for classic graphics- you need to edit global/palette/actx/pl2.pal and replace the RGB values at a specific address. But it doesn't affect modern mode text colors. Does anyone know where these are kept?

Link to comment
Share on other sites

see https://www.d2rmodding.com/ guide "edit/color item names and other strings" for individual items.

 

Groups of items are managed in C:\Diablo II Resurrected\Data\global\ui\layouts\_profilehd.json under TooltipStyle:

"TooltipStyle": {
	"fontStyle": {
		"fontColor": "$FontColorWhite",
		"pointSize": "$TooltipFontSize",
		"alignment": { "h": "center", "v": "center" },
		"options": { "pipeCharacterBehavior": "handle", "newlineHandling": "reversed" },
	},
	"padding": [ 20, 12, 20, 12 ],
	"inGameTargetPadding": [ 7, 1, 7, 1 ],
	"drawBorder": false,
	"centeredOnAnchor": true,
	"hp": 0,
	"backgroundColor": [ 0, 0, 0, 0.75 ],
	// This color is used for in-game tooltip label backgrounds
	"inGameBackgroundColor": [ 0, 0, 0, 0.6 ],
	// This color is used for the show items selected label background
	"inGameShowItemsSelectedBackgroundColor": [ 0, 0.25, 0.5, 1.0 ],
	"substringColor": "$FontColorLightGray",
	"healthColor": [ 0.31, 0, 0, 1.0 ],
	"borderColor": "$TooltipBorderColor",
	"DefaultColor": "$FontColorWhite",
	"QuestColor": "$FontColorGoldYellow",
	"RareColor": "$FontColorYellow",
	"CraftedColor": "$FontColorOrange",
	"TemperedColor": "$FontColorDarkGreen",
	"MagicColor": "$FontColorBlue",
	"SetColor": "$FontColorGreen",
	"UniqueColor": "$FontColorGoldYellow",
	"SocketedColor": "$FontColorGrey",
	"EtherealColor": "$FontColorGrey",
	"HealthPotionColor": "$FontColorWhite",
	"ManaPotionColor": "$FontColorWhite",
	"RejuvPotionColor": "$FontColorWhite",
	"GoldColor": "$FontColorWhite",
	"RuneColor": "$FontColorOrange",
	"EventItemsColor": "$FontColorOrange",
},

Have fun :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...