Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Heroclix- Is it Possible to program?

What im wondering ( and Ill go mentor level if needed to) is a template token able to be created and programmed to mimic a Heroclix dial? A heroclix dial, in most cases, is no more than 12 separate sets of values, each which has 4 variable numbers (movement, attack, Defense, Damage) there is a static value of range & number of targets - the lightning bolts( which I imagine could be simple enough as an Aura) and also a Team Ability as another static image (if at all) Each color represents a different ability, which ability depends on what slot it is in. (Grey in movement - running shot - is different than grey in attack - telekinesis) A White box indicates a special power. A figure starts on click 1(represented by the red number above the damage value) and as it is damaged, or healed, moves back and forth between clicks, revealing a new set of abilities and combat values. So the question: can this be replicated with scripting? I would love to be able to bring this tabletop miniature game to the roll20 community. The journal entry for the token would have to have places to write in special rules pertaining to the figure ( some figures have traits, which are blanket abilities always in effect through the whole dial - or special targeting or movement rules that allow them to ignore certain game objects ) As each figure taken an action, is is marked , or "beaded" in tabletop. A figure can only get 2 of these. Im just hoping those of you with the programming knowledge can replicate something along these lines. It would be great to be able to play with friends using any figure we can input the stats of ( which <a href="http://www.hcrealms.com" rel="nofollow">www.hcrealms.com</a> has a database of all figures known )
<a href="http://heroclix.com/wp-content/uploads/2011/09/201" rel="nofollow">http://heroclix.com/wp-content/uploads/2011/09/201</a>... this is the link to the list of the various game effects and symbols used on a Heroclix dial.
1422336579
The Aaron
Pro
API Scripter
The short answer is "yes". The longer answer is "Yes, but it will be somewhat complicated." I was just talking to another guy earlier tonight about rotating discs with subdivisions at certain increments. Basically, you'd want to have your token (with the base and such on the left above) as a transparent png with the window2 view cut out so it shows through what is below. Then you'd need to have the appropriate wheel (on the right above). You'd need both to be on square images with the center as the center of the pivot point. You would want to have the would want to have the wheel token larger by one set of units than the token and base. This is because you will need to have them stacked with the wheel on bottom, but will need to be able to grab it, so it will have to protrude. The script will then need to know how many subdivisions are on the wheel, and when the wheel is rotated, adjust it to the nearest subdivision. Additionally, if the wheel is moved, it will need to move it back. It will also need to move the wheel when the token is moved, and rotate the wheel when the token is rotated. All of that is not so hard, and should let you play the same way you play now, but virtually. Level 2 of doing this would be to have the information on the wheel encoded in some fashion in Roll20, such that information on a character sheet is updated with the current state, and macros allow you to perform whatever action is appropriate. Writing the code for that is possibly not so complicated as finding a reasonable way to get that information into the system.
Macros for dice rolling is not needed, as you only roll either a single d6, or 2d6. That is it.
1422367044
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
The Aaron said: Basically, you'd want to have your token (with the base and such on the left above) as a transparent png with the window2 view cut out so it shows through what is below. Ditch the rotation..... "Token Action" of "click clockwise" just shifts an array (and/or counter clockwise.) You no longer need the "disk" and the window value is actually Custom Sets of Status Icons for Tokens . Heroclick is an amazing system for what it does.... Use customer character record sheet to hold the data and build your army of hero's. API could..... ....Heroclicks!
1422369915
The Aaron
Pro
API Scripter
Ha! If you don't need anything but the visual, rollable table tokens are probably the way to go.
1422371425

Edited 1422371547
All i would want is the ability to show the values on a token, and a way to shift through the changing values. I figure the values could be manually entered into a sheet or journal. No need to have all the values and the turning motion on the token at once. Just display the current set of values with the proper colors. All special rules could be typed into the character bio area. I was hoping for a sort of blank template that people could just imput values into and select colors associated with each.
1422372509
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Hungry Gnome said: All i would want is the ability to show the values on a token, and a way to shift through the changing values. I figure the values could be manually entered into a sheet or journal. No need to have all the values and the turning motion on the token at once. Just display the current set of values with the proper colors. All special rules could be typed into the character bio area. I was hoping for a sort of blank template that people could just imput values into and select colors associated with each. Custom Status Icons... is the way to go. Gives you exactly what is needed, extremely flexible and reduces the number of possible combination. Custom character record to let people easily encode the disk data which will be read as arrays in the API. If you do anything else you will need a ridiculously large set of images that will be a pain to manage.... and a bunch of wack image manipulation scripts that keep the image in sync with the data. This way.....Custom Status Icons way... you just need: Batman Token.... just need one (or one you like)... as a default token for the character sheet. Character Sheet populated with the specific Batman Hero Click disk data (these are incredibly standard.) API to "spin" (step through the array drawn from the record sheet) and display the proper Custom Status Icons. Easy easy easy.... Code will be light weight and you could just build your collection of heros by just adding a character sheet and default token. API only has to be updated with a rule change to Hero Clicks (which does not happen that often.) This would leverage Roll20 native parts and API in the most simple and strongest way. Could have this up and running in very little time and be very scalabe.
1422374814
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
If you think about the Heroclix disk.... it is just a set token status icons... exactly the same thing... but just mechanical (disk just works well as a physical device.. one moving part.)
1422375804
The Aaron
Pro
API Scripter
Ok. But Custom Status Icons are not available yet?
1422376257
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
"Long Term".... and so far... long term has not been that long term (I likely jinxed us.) You could place your own status Icons on the map layer. The game is driven by a relatively short list of powers and abilities. <a href="http://heroclix.com/wp-content/uploads/2011/09/201" rel="nofollow">http://heroclix.com/wp-content/uploads/2011/09/201</a>... Color being the major thing.
1422377124
The Aaron
Pro
API Scripter
Fair enough. =D Could we do it now with the colored dots similar to the way the FateDots or Flight script work?
1422377449
PaulOoshun
Marketplace Creator
Could you do it so that the status icons have the relevant number, and the API assigns some dots to represent what colours are available at that click?
1422377911
The Aaron
Roll20 Production Team
API Scripter
Yeah, that's what I'm thinking, except that since the status icons only show up to 9, you'd need to do like FateDots or Flight and double up the dots for multi-digit numbers. =D
1422379066

Edited 1422379113
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
You may have to build a custom one. You know the token size should be a multiple of 70px (the game in an "on grid" game.) There a few "printed" on the base symbols.... status icons would work for those.... and you would know where they appear relative to the center of the token. . The rest is just colored squares with a number (or "KO".) Its an extremely standard system. (We will need stats for all the Dungeon Buddies so they can battle it out.)
1422383599

Edited 1422383610
The Aaron
Pro
API Scripter
Yay for Dungeon Buddies!!