Jump to content
  • Sign Up

Dying weapons


Warweren.1930

Recommended Posts

It would be nice, but it’s not likely they’ll add it to the game

 

>[jpetrie](

)

>I can't give you specifics or anything (they'd be very tedious to compute even if I still had access to the code), but GW2's codebase is very much an evolution of the codebase used for GW1. We did not start over, or anything crazy, but nor did we use the GW1 code unchanged.

>Huge chunks of gameplay code were added, removed, or refactored so heavily as to be effectively-new (even things you might think would be the same, like inventory). The core rendering and networking capabilities had some significant reworking to support new features, but a lot of the fundamentals remained the same. The very low-level stuff, such as the classes we use to manage collections of data, do math, sort things... those didn't change much and some files might even be identical to the ones in GW1, except maybe for some copyright or header date changes.

>Essentially if you view the code as a vertical stack of functionality, with very-game-specific gameplay code at the top and generic data structure/algorithm stuff at the bottom, the closer something is to the top the more likely it experienced significant tweaking at some point during GW2's development.

 

>To address the specific topic of this thread (dying stuff)... what I recall (so I might be wrong) is that the decision to dye armor but not weapons was a design one (in the sense we chose to do it, not that there were insurmountable technical issues), and made pretty early. We wanted a much richer dye system for GW2 than we had in GW1. This would require some changes to the way that the source art was authored, which increased the complexity (and thus time) of doing so. That additional complexity pays off best for armor, which is more visible on-screen than weapons generally are, and so (I think) it was decided that we wouldn't bother authoring dye support into the weapon art. Eventually this decision would have led to code changes or optimization relying on that assumption, and we arrive at where we are today.

 

>**As with all things, it could be made possible to dye weapons with sufficient code and art resources sunk into it. But it would be a nontrivial undertaking (and probably a non-trivial patch download!) to re-author all the existing source art with appropriate metadata for dye channels.**

>(Please keep in mind that all of this is from memory from a long time ago, so I may be forgetting/misremembering/et cetera some things.)

 

In another posts on dyeing backpacks they point out that

 

>Every player and many npcs use items, so the wrong bug slipping through can have a major impact on everyone in the game. Not to mention finding that bug could be like searching for a needle in a haystack because of how fundamental this part of our system is.

 

So, because of the amount of work involved (which would be work that is not used to make new content) and because of the possibility of game breaking bugs (literally) from changing code at the core of the game, I’d have to say I’d rather they didn’t add dyeing weapons.

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
×
×
  • Create New...