r/howdidtheycodeit • u/kickat3000 • Mar 24 '21
How Did They Code Path of Exile Crafting System?
Does anyone has any idea? I am planning to use this in my game.
35
Upvotes
r/howdidtheycodeit • u/kickat3000 • Mar 24 '21
Does anyone has any idea? I am planning to use this in my game.
20
u/Newwby Mar 24 '21
I've been interested in and looking up the affix system in poe lately so whilst I can't tell you definitively how they did it, I do have a reasonable guess.
Basically when a currency item is used the game runs through a series of steps in order. Some guessing involved here but I believe it looks like:
This is all pretty simplified and thus doesn't account for the other types of crafting like harvest or fossils, specifically how tags can influence the weighting of specific modifiers in the potential mod pool.
You can see this in action with poe crafting simulators online, and (much more importantly and I suggest you deep dive into this yourself) you can read the entries in the path of exile wiki page for specific modifiers, about the system minutiae in general (see links at bottom of post), and also explore poedb which is a website for data mining the poe client and thus contains info about how different things are technically structured.
Hope some of this helps and good luck!
(Crafting system links)
https://pathofexile.fandom.com/wiki/Modifiers https://pathofexile.fandom.com/wiki/Crafting https://pathofexile.fandom.com/wiki/List_of_dex_int_body_armour_modifiers
3
u/MyPunsSuck Mar 24 '21
What do you mean by "Crafting system"?
It's just items with traits, being modified
2
u/goodnewsjimdotcom Mar 25 '21
LOL! I thought you said "How did they Code Conan Exiles Crafting System." I was about to reply, "I don't know, but if you figure it out, email Funcom. They also don't know."
1
u/Scruberaser Mar 24 '21
A metric shitload of documentation from designers, for starters.