User:InquisitorDrogin/Wiki Resources

From Destiny 2 Wiki
Jump to: navigation, search

Perk Icons

The (non-Exotic) perk icons in the API are white with no backgrounds, so we need to add our own so they're visible against the wiki's background. These aren't my work originally. I edited them from other perk icons on the wiki. Anyone could do the same, so this is mostly just for convenience.

There's two sizes I've seen used: 96x96 and 116x116. It's probably better to use the larger one. Just paste the perk icon in the center of it and make sure it's a PNG when you save it. For the square icons (Intrinsics, like Adaptive Frame), just use the same size but fill an empty background layer with that same color.

Enhanced Trait Icons

The enhanced trait icons in the API are the same as the normal ones. The overlay (with the gradient and the arrow) are generated by the game, so we need to make our own. I dug through DIM's source code since theirs looked pretty good, and they just use a simple gradient and some sort of vector for the arrow. I threw this together (it's just a yellow gradient on the lower half of the image made in GIMP), but I couldn't really make the arrow look good with my mediocre graphic design skills, so this will have to do for now. I think it looks decent enough. Just slap it onto the existing perk icons (make sure the sizes match) and save it as a PNG.