Heroes of Hammerwatch II

Heroes of Hammerwatch II

Equipment Fabricator + More Colors
13 Comments
puma  [author] 8 hours ago 
Minor fixes thanks to Muffinslop's QC findings
puma  [author] 28 Oct @ 6:32pm 
Thanks
Muffinslop 28 Oct @ 6:03pm 
wow major gui upgrades looks really nice
puma  [author] 28 Oct @ 4:42pm 
New version is up. Let me know if you encounter problems. I tried many ways and rewrote heavily to get colors working with selectors and sliders before nuking my modifications and going with lists (which honestly seems like a better UI experience).

2025-10-28:
- Can now select colors, including the old HoH1 colors
- Can now select multiple of the same modifier
- Now shows a preview of the item as you are making it
- The maximum number of mods you can add is now 255 (I don't know if there's a net limit on these, so I capped it); I doubt anyone really needs even this many
- Changed things to use mostly a language resource; still have to do some parts and make alternate language versions for the couple dozens text entries I had to add
puma  [author] 27 Oct @ 4:36pm 
Thanks, I could have sworn I had seen a higher stat on a different piece with the same ilvl and quality, but I checked again today and cannot find any like that.

I have the colors selection added (including the old HoH1 colors, so much more choices), but the entry-selectors don't seem to like having their values changed each time you change equipment so I'll probably have to clone them in with each change instead. I also have some UI issues with them where the right arrow shows you hover over it, but does nothing, same happens with or without selector-offset-x. Clicking on the name works to move it forward, and the back arrow works. All in all, the entry-selector doesn't seem to like how I have it, so I might try something else.

Beyond that, I have a couple other things I want to address before I release the next update.
Muffinslop 26 Oct @ 12:45pm 
it will always give you the lowest range if its a ilvl 1 equipment. The intensity scales with ilvl, and the range is ilvl1-9
puma  [author] 26 Oct @ 9:23am 
I'm just about done with the text description generation and I found that it only seems to add the modifiers with the lowest value in the range. So for instance, if you add fire damage on a weapon, the base range is 5-10 (at item level 1), but it will only ever give you 5.

I thought this seemed like the case before, but now I know it is. I'll investigate why as I proceed to a new update. I know there's an intensity variable used on all modifiers that I haven't seen how it's set yet, which would be the prime suspect.

Just giving a heads up to anyone using the mod.
puma  [author] 26 Oct @ 2:10am 
I'm part way through that as of yesterday morning now and am about to resume. I'm working on making a more generic description generator right now and doing some relatively useless code stuff that I just felt like doing for fun.

Getting the tooltip to show wasn't bad. Similar to how I generate the giveItem, I just made that happen when selecting equipment or changing modifiers. It then uses: Item::BuildItemTooltip to make one, I then manually render that with the overridden Draw() off to the left. The only issue with that is that if you keep adding modifiers, the tooltip overflows off the screen in the y direction of course. Since it's not a widget, I cannot do layout and use a scrollbar. I doubt I'm going to bother resolving that, at least in that way. I may eventually make a widget version of the scalableblocks rendering for the tooltip (there may even be examples -- I haven't look yet).
Muffinslop 26 Oct @ 1:55am 
something like this :)
https://imgur.com/a/b9Bt6HL
Muffinslop 26 Oct @ 1:51am 
I have some ideas on how you can implement a working tooltip. If you inserted the modifiers into m_selectedEquipment instead of m_selectedModifiers then you could build a item tooltip. I think having the equipment and modifiers displayed before making the item is essential :wololo:
puma  [author] 23 Oct @ 4:53pm 
Thanks
Muffinslop 23 Oct @ 1:35am 
this looks real impressive
Ignomyrmex 23 Oct @ 1:21am 
10 heroes out of 10 heroes give this mod a 4 hammer review out of a total of 4 hammers. Gimme!