Hero Selection Library
Dynamic Hero Selection Library.
Current version: 3.0.1 Final - only bug-fix releases coming up
A very easy to use library with plenty of options. Simply add it to your map, whip in a few heroes and BAM you got yourself a beautiful, full featured hero selection.
Features
- Completely modular - add any amount of units to the selection
- Extremely easy to use - simply call the action
- Based on a single point in the map
- Shows icons for all units
- Identifies randoming players
- Repick option
- Custom UI
- Settings - most notably:
- Three different hero selection styles
- Skin Color Scheme
- Exclusive Heroes - Allows every unit to be picked only once
- Spawn Immediately - Allows players to start the game before hero picking is finished
- Secret Heroes - Only obtainable through randoming
- Unavailable Heroes - Shown in circle but cannot be obtained
- And many small things...
How to use
NOTE: Action Hint Texts do not show due to a bug - go into Library View (View -> Show Library), open libCircleHeroSelection, open the Actions folder and you can read the hint text in the comment of the action.
- Download the latest file and import it in the Trigger Editor. View -> Library -> Import Library. You can now see the available actions in your triggers under the label 'Circle Hero Selection'.
- Read the manual found in the download section
- Make sure you use 'Set Circle Hero Selection At Point'
- Then add any amount of heroes with 'Add Unit To Circle Hero Selection Pool'
- Now run the action 'Create Circle Hero Selection' Done! Don't forget to check out the additional options.
Changelog
v3.0.1 Final
- Bugfixes:
- Icon image no longer tiled
- Exclusive random no longer says you repicked
- Revealer time fixed in game speeds other than normal
- No more unit models in portrait mode
v3.0 Final
- Optimized code & bug fixes
- Added check to see if there are enough exclusive heroes for all players
- Repick option added
- Center Info dialog added
- Removed player 0 requirement - now uses the first player in active players for sample heroes
- Removed fidget from all sample heroes
- Offset distance is now calculated based on the amount of heroes
- Added 2 style types - Flash Screen & Portrait
- Portrait requires no room in the map at all, purely dialog based
- Added option to force small circle - useful for large amount of heroes because circle will keep expanding however this option will make it crowded
- Currently selected hero icon highlighted
- Single player detection - force Spawned Immediately on
License
Free to use and edit! Please give credit.
Bugs / Assistance
Please submit all bugs, as detailed as possible. Attached map greatly preferred. If you need help, ask away. IRC works faster.
Suggestions
At this point, feature development has come to a halt so I can start working on other projects. However, extremely good suggestions will still get implemented.
Localization
An SC2 Library cannot be localized at the moment. It will work with enGB / enUS clients. However Hint Text on Actions are missing due to a bug on Blizzards part. You can find these hint texts if you go into the Library View (View -> Show Library), open the Hero Selection Library folder and go into the Actions folder. Click on the function and you will see the hint text in a comment.
Download
Latest version can always be found in the files section of the project page. Be sure to read the manual.
Link to the main download page: http://www.sc2mapster.com/forums/resources/trigger-libraries/6816-library-hero-selection-v3-0-1-final/
With that out of the way, I have a request for the creator, should he see this comment. Would it be possible to add an option supporting unlock requirements (just making it easy to add parameters for the character actually being created) and another option supporting the saving and loading of heroes? I shouldn't have a problem adding these things to my own map, but I think that there are a lot of people who would benefit from having these options readily available. (;
It seems the download link from this page is broken. The link from the main project page seems to work though
AWESOME !!! gonna use its on my map
can i use this for my new custom game???
This just awesome im using in my map. (Yes i gived credits)
Hi..Im kinda new to Starcrafts Map editor like a (noob), so i was just wondering if someone could/have time to make an tutorial on how to do this xD cause right now i dont get it..:)
For those who are having trouble with saving the file, instead of left clicking and your browser trying to open the file as XML, right click, goto Save Target As and change the file extension to .sc2lib
If your own array is also Unit Type (not Unit), then it will compile fine
Hero Choices are the Unit Types of all the heroes available for choosing, thats why it gets cleared when hero picked is over
The array you want is called libCHS - Picked Hero
Normally it would be better if you accessed it through Recall Player Hero but it does not work atm because it is set to a Action function rather than a Function function (you can fix this yourself easely though)
I'm gonna do the bugfix release soonish :P Not in the mood atm :)
Inside the library, find the function 'Obtain Hero', in there are all the messages (UI - Text Message), there are several (random, no random, repick). Simply disable them.
You can hack it a bit (if its singleplayer there is no harm done) that when the trigger 'Spawn Player' runs, you set the Hero Pick Time to 0 (this will eliminate repicking though). Just run the timer as a one shot timer that expires in 0.1 second or something, do it as the very last thing in the Spawn Player trigger, outside of loops.\
This is the same trigger where you find the random texts if you want to disable those too. (The text about how a player got a mineral bonus for randoming)
Just curious, but what would be an easy way for me to disable the message that it sends out when a player picks a unit? I'm making a single player scenario and this is beautiful for it. I've already set it up and it works great.
Also need to find a way to force total completion when I select my unit, because the timer still goes and the units still stay alive for a while at the selection point.
WHAT DO YOU MEANBY the link. when i go to files and click one it comes up as trrigers
If you have the same problem as rey, look at the post after it and see the solution
Try to atleast put in some effort before asking for help ...
can someone help me?
yeah i have the exact same probleme rey. i really want to download the file but it goes to that screen
Random text on how cool Mr. Ghost is lol.
Damn this is so easy-to-use and yet so fully featured.
Going to use this in my map, giving you credit for it.
I love it :D Thanks alot man! Keep up the great work!