|
|
Shop Panel 1.09
____________________________________
A movable panel where you can add buttons to buy items without having to open the shop and navigating through all the menus.
How it works:
The panel starts empty, to add an item to it, you open your shop and right-click on the item you want to add. You can only add simple items and recipes to it. You can add as many items as you want.
To remove an item from the panel just right-click on the item in the panel that you want to remove.
To buy the item just left-click on it and it will try to buy like if you were buying it on the shop. It won't cheat and buy items from the secret shop for example if you can't normally do so.
You can lock items by ctrl + clicking them, same for unlocking. Locked items are represented by a red border. If an item is locked it will not be auto bought or auto removed if any of those options are enabled.
The purpose of it is so you can make a list of items that you are gonna be buying on the match and just click on it on the list when you want to buy it, instead of having to open all the menus on the normal shop everytime you want to buy something.
Code:changelog: 1.09 - added an option to hide the save/load/reset buttons - remade the locking system * to lock/unlock an item just ctrl + click it * its the items now that are locked instead of the slots - fixed errors in console - some other tweaks 1.08 - you can now lock from 0 to 10 slots, these slots will have a red border around them and they will not be auto removed or auto bought 1.07 - fixed the items not being removed from the list if the panel is hidden 1.06.1 - fixed bugs with saving and buying items 1.06 - updated to latest mod options framework - added an option to auto buy items on the list 1.05.2 - updated the honmod to 0.3.2 1.05.1 - fixed a bug with the button positioning 1.05 - you can now resize the panel (thanks AsiaPingPong) - removed the option to choose how many items per line (resizing takes care of that now) - added keybindings to buy the first 5 items of the list - fixed the list reloading when you open the menu (again) - should now work on any client language 1.04.1 - fixed the list reloading when you open the menu 1.04 - added a button to save/load the list, its a different list for each hero - added a button to clear the list 1.03 - fixed removing bug 1.02 - now requires the mod options framework - you can change how many items to show up on each line, from 1 to 15 - added an option to auto remove the item from the list after you buy it, off by default - added a hotkey to show/hide the shop panel 1.01 - fixed incompatibility with stash indicator 1.00 - released
Links:
honmod (Dropbox)
Required:
Mod Options Framework
Movable Frames
For instructions on how to install go to:
http://forums.heroesofnewerth.com/sh...ad.php?t=25883
Last edited by Barter; 04-10-2010 at 08:27 PM.
[UI Mods]
Info Panel | SpecUI | Respawn Timers | Ally Skill Bars | Shop Panel | Barter Unitframes
[Spectator Mods]
SpecUI | Respawn Timers | Ally Skill Bars
Hawt.
Now make it better and let us make it vertical. I have no idea where I would place that right now if it's horizontal.
Great idea.
My suggestion is to make it so that when the buttons reach the left edge of the frame, they spill over into the next line. (Then, when you have enough buttons to fill both the first and the second lines, it stills over into the third, etc.)
This would allow users to make it vertical by making the frame only one button wide.
Also, quick question: If you assign homecoming stone to a button, will that button work for both the main shop and the side shop?
Last edited by AsiaPingPong; 03-15-2010 at 10:49 PM.
My mods: | Movable Frames | Spell Channeling Bar | Enhanced Buff Icons |
Lock Target | 2D Hero Portrait | Stash in Shop
That's exactly what I meant by vertical![]()
[UI Mods]
Info Panel | SpecUI | Respawn Timers | Ally Skill Bars | Shop Panel | Barter Unitframes
[Spectator Mods]
SpecUI | Respawn Timers | Ally Skill Bars
Incompatible with tisser's stash indicator..i don't suppose there are any workarounds?
Oooo.. I like.
Ok.. seriously I love this.. omg..!!!
I just would like that you can make it vertical
or like:
[ ] [ ] [ ] [ ] [ ]
[ ] [ ] [ ] [ ] [ ]
Code:1.01 - fixed incompatibility with stash indicator
[UI Mods]
Info Panel | SpecUI | Respawn Timers | Ally Skill Bars | Shop Panel | Barter Unitframes
[Spectator Mods]
SpecUI | Respawn Timers | Ally Skill Bars
Awesome addon as usual will give it a try later.
Modman can use conditional edits. My syntax wasn't exactly right, the mod's name is probably wrong (it needs to be the exact same as it shows in the list of mods in modman), but this is how you would use it:
<editfile file="ui/game.interface" condition="Stash Indicator">
<find><![CDATA[Some code from Stash Indicator]]></find>
<replace><![CDATA[Someedits to make it work with Stash Indicator]]></replace>
</editfile>
Basically modman can check if another mod is enabled, and if and only if that mod is enabled, do some code changes. Sometimes, mods conflict with eachother, so this stuff needs to be done.
Like the sound of this - won't be using it till it has separate lists for different heroes though. 2 suggestions:
1) Make it show on mouse over - just seems that it would clutter up screen if not
2) Add key-bindings functions too it.
would be nice to add an appear disappear button using showwidget hidewidget
My mods: | Movable Frames | Spell Channeling Bar | Enhanced Buff Icons |
Lock Target | 2D Hero Portrait | Stash in Shop
Uffff what a nice mod man,i'll give a try when i come home...No more B A S etcNot to mantion that u need to buy smth that is not recomended for that hero
![]()
10+ man![]()