铁锤守卫英雄传2

铁锤守卫英雄传2

评价数不足
Equipment Fabricator + More Colors
2
2
2
   
奖励
收藏
已收藏
取消收藏
Type: Other
标签: Addon
文件大小
发表于
更新日期
28.986 KB
10 月 23 日 上午 1:15
11 月 5 日 下午 2:05
5 项改动说明 ( 查看 )

订阅以下载
Equipment Fabricator + More Colors

描述
A simple tool for making equipment with whatever modifiers you want.

Remember to BACK UP your profile.

- Press F10 to open it
- Select the item level (remember that item level sets which equipment tier is available, the stat requirement, and scale of modifiers)
- Select the quality
- Select the number of modifiers (I haven't tried anything more than 10, but I imagine UI issues may start occurring if you add a ton)
- Select the equipment (no hover tooltip for now, so you have to know the equipment by icon)
- Select the modifiers in the two lists
- Remove modifiers by clicking on the entries in the "Current" list
- Select the colors available for the piece of equipment
- Click the "Gimme" button. It will be added to your inventory.
- The extra colors can only be added via the fabricator.

That's all you need to know to start playing around with it.

Please note there are issues with the preview weapon positioning and I am aware of them. I thought it would be better to preview with issues than not preview at all.

- 2025-10-31:
- Added preview; there are issues with animation positions depending on what you currently have equipped but you can at least preview the colors now
- Made it so the color that is randomly generated when selecting an item is selected so you know what it is
- Fixed a bug where if you didn't select a secondary color, it would give you the randomly generated primary color
- Fixed text modifier list not changing to disabled color when over mod limit
- Fixed UI issues when clicking the selecting the same equipment consecutively
- Fixed changing mod limit to less than the current value keeping mods already assigned
- Fixed a potential case where they wouldn't be marked disabled (thought they still wouldn't add); wouldn't have been noticed before
- Fixed scenario where the selected colors could carry over from one equipment to the next temporarily; wouldn't have been noticed before preview
- Addressed a case where potentially you could get colors that weren't what you are previewing

- 2025-11-05:
- Made the random colors when selecting an equipment, randomly select from the options available instead of the limited defaults
- Made the random selected colors appear selected in the list

- 2025-10-29:
- Fix/change that allows you to have proper rare < item level 10
- UI fix that updates the modifier display when changing the number of mods

- 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

More detail for those that want to know more:

Regarding Modifiers:
They are separated into the first list, those which have in use icons, and the second list which is text descriptions. Both add the to the same total that is compared against the limit you selected.

There are some modifiers that say "Mainhand Only", "Offhand Only", and "Two Handed Only". First off, I don't know and haven't tested if putting a modifier intended for a weapon slot on a piece of armor will have the effect at all. Secondly, I recommend that if you are selecting these modifiers for weapons, shields, tomes, etc, that you choose the appropriate one: If it's a shield, use offhand, if it's a two handed axe, use two handed, etc.

Additionally, I don't know if there are any mods that add modifiers, but they may or may not work. If they have a description field in their entry, they should. If they use an icon, and generate based on the type of modifier and what not, they likely would just show as a blank line in the text modifier list. It should still add it by clicking on that blank line, you just wouldn't know what it is until you generate.

The icons for physical, elemental, and poison all add that damage to your multipliers. The text modifiers that have a flat number with the element damage, like "+[5-10] Ice Damage " modifiers are the ones that add it to the weapon damage. Beyond that, trial and error will teach you more than I can write here. For instance, depending on which modifiers you select first, you can still achieve getting something like crit chance 9.7% by making your first choice a modifier you don't want, generating the weapon, and then enchanting it.



Existing file modified:
- tweak/items/modifiers_equipment_rare.sval

This fixes what I think is a bug in the base game in that there is a duplicate id entry for mod_hit_mana_mainhand, and one of them clearly should be mod_hit_mana_twohanded to match all the others of these sorts of modifiers. If another mod modifies this file to change the default equipment modifiers it would create a conflict. Mods that add new modifiers really shouldn't be touching this file and should be doing it in a new, mod-specific file.

I don't know enough about modding Hammerwatch (I just started) to know definitively if this would impact any existing equipment that is two handed that has mod_hit_mana_mainhand already on it.



Note about the future:
I don't play games much anymore, but sometimes I have a burst in activity, which is what I currently am doing with HoH2. If this mod becomes defunct, anyone can feel free to fix anything needed and re-release (although it most likely would be just updating the file mentioned above unless they really change how equipment works).

Equipment preview has been added but as the changelog mentions, there are issues I haven't worked out (yet?). For a reason I'm unsure at this point, the position/animation frame of your character model will be based on your currently equipped main hand item. This means sometimes awkward looking positions if you are changing from say a staff, hammer, etc to say a bow. Despite setting the animation to the currently selected equipment, it somehow is using your character's currently equipped main hand.

Thanks to Thyraxx.void for their useful information on the color preview plausibility and Muffinslop for a number of tips in the comments and for trainer being a template for how to do the interface for this.

Disclaimer: I just started looking at modding HoH2 and never looked at any of the previous games. I've just enjoyed the mods of others. I've only just started deciphering this sometime this month, haven't really communicated with anyone in the know on it, and haven't done extensive testing (this is a game not work for me, so I don't really want to do all that). I don't think there should be any issues, but please BACK UP your profile.



Hope you enjoy
17 条留言
puma  [作者] 11 月 5 日 下午 2:07 
Minor update to do random colors by the lists shown, rather than the limited default colors, and to show which colors have been randomly selected in the lists.
puma  [作者] 10 月 31 日 上午 11:18 
Preview has been added along with a number of minor fixes found while testing. Preview has issues as noted in the description, but you can at least see the colors now.
Muffinslop 10 月 29 日 下午 11:53 
probably didn't enable the mod through in main menu's save profile menu
JOJO 10 月 29 日 下午 11:52 
I pressed F10 but there was no response
puma  [作者] 10 月 29 日 上午 11:21 
Minor fixes thanks to Muffinslop's QC findings
puma  [作者] 10 月 28 日 下午 6:32 
Thanks
Muffinslop 10 月 28 日 下午 6:03 
wow major gui upgrades looks really nice
puma  [作者] 10 月 28 日 下午 4:42 
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  [作者] 10 月 27 日 下午 4:36 
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 10 月 26 日 下午 12:45 
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