Custom Hero Skill Picking System

Glorn2

Slap n' Tickle
Reaction score
4
Hell, I edit/am remaking the wonderful game "Custom Hero Arena" and am looking for a way to remake the skill system without using baka-ranger or anyone else' system.

I already have all the skills made as hero skills. I already have all the items made to go with the purchasing of the skills that lead to the hero learning the skills.

the current skill purchasing system works; though in the skill selection part; there are no icons or tooltips to go with the skill you have selected. Variables and integers are used and changed to level the skills when you click to level up the dummy skill.

What I have in mind is a bunch of if/then/else statements for each skill learned.

Example:
Event: A unit acquires an item
Condition: Item is a charged item type (all offensive skills are charged item types)
Action:
-If: Item is "Blizzard"
-then: Hero learn skill "Blizzard"


And doing this for all of the skills. I know that if/then actions are rather sloppy, and frowned upon. When everyone has picked their heroes these triggers will be turned off. If a player wants to repick; I would simply remove all skills learned by them. If a player wants to random, I do the same system I have now. Give player a random level 1 item of type "charged"

Any ideas? Suggestions? Could this system work? Would it cause a lot of lag? (I got leaks covered)
 

Dameon

"All the power in the world resides in the eyes"
Reaction score
127
It is good that you want to use your own custom triggers, however there are some systems out already that work real well, like baka's of course.

Now if your set on making your own I would sugest you remember to add skip remaining actions after each abilty trigger, this will save some prosseing time.

You can simplyfy it all by using loops and varible arrays for the skills.
 

Glorn2

Slap n' Tickle
Reaction score
4
I would have used bakas if my skill system wasnt already set up how it is. To remake every level of my hero skills as normal skills would take a longggg time. It would be over 1000 skill being made, I am trying to find an easier way around it. **just clarifying, I havent read his post in like a year... It is to make each level of the skill as a normal skill, and to then replace the skill with the higher level version of the skill, right?**

For variables, how would it make everything quicker? I dont understand variable arrays that well, so usually end up doing this the hard way, or less effecient way.

Say I make the variable Array "Off_Skills"
then i set every offensive skill to a number in that array.
wouldnt the if/then still be:
-If: Item is equal to "Off_Skills(1)" (AKA blizzard)
-then: Hero learn skill "Off_SKills(1)" (AKA blizzard)


is that how it would be set up? And would this increase performance?
 

Dameon

"All the power in the world resides in the eyes"
Reaction score
127
All the arrays realy do is make it neater for you, adding the skip remaining actions will increase the the performance by ending the the trigger earlyer then it would normaly end. Other wise it will keep going thru all the abilitys even after it runs the one you used.

As for baks's, it is slightly defrent now,
http://www.thehelper.net/forums/showthread.php?t=45302

This is baka's system, When I toyed around with it, it worked real well, I however did use slightly defrent triggers. :)

For the varible arrays you will need multiple V-Arrays, 1 for the ability, 1 for the item, then on MI just set the arrays how you posted, item 1 = blizzard item, ability 1 = blizzard ability.

Then set the for each interger from 1 to (number of abilitys you have.)

I prefer doing it this way cause if you add a new ability you only have to edit 1 number in the ability trigger and add 2 or 3 (depending on the system you're using) set varibles to the MI trigger.
 

Glorn2

Slap n' Tickle
Reaction score
4
my above idea doesnt work. Really, what I am looking for is a way for the icon and tooltip of the spell to be in the heroes "Level this skill" screen, without having to re-write all of my abilities. The more I look into it, the more impossible it seems. I can't seem to find a way to even add or remove a hero ability to that screen via the use of triggers.

Hmmm, using baka's system, your opponents would be able to see what skills you are picking. I wonder if I could remove an item as soon as it is purchased with his... Bah, I dont have the ambition to make 100 (soon to be 140) engineering upgrades and channels. I will prolly end up setting the system up and asking a clan mate to fill in all the blanks and add all the skills/channels/upgrades to it.

Just a general question to anyone who has played Custom Hero Arena, is it annoying that you cant see your skills picked on the hero's spellbook, or have we all become numb to it?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top