HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved] Adding Abilities,  (Read 1005 times)

Shadowkin

  • General Accounts
  • *
  • Posts: 2
    • View Profile
[Resolved] Adding Abilities,
« on: Mar 13, 12, 04:03:28 PM »

Hi, which script is where the abilities are all coded into?
or better yet, is there a tutorial or wiki page on how to add abilities?

Thanks in advance,
« Last Edit: Nov 01, 12, 09:00:00 AM by HE-Cooper »
Logged

PN-Dwight

  • General Accounts
  • *
  • Posts: 465
    • View Profile
    • Pirates' Nest
Re: Adding Abilities,
« Reply #1 on: Mar 13, 12, 04:10:07 PM »

I started to look at them a while ago, and I gave up once I saw how they were made.

Just start by looking through each script, as the abilities are intertwined with the entire system so it looks. The ability-bar is also intertwined with the system. "Mammia mia".

There are no tutorials about adding "abilities", as they are quite specific per game created, to the extent of my knowledge.

HE-Cooper

  • *****
  • Posts: 2221
    • View Profile
Re: Adding Abilities,
« Reply #2 on: Mar 13, 12, 04:13:31 PM »

You would code up your entire combat system first. The abilities in our placeholder system are just hardwired actions, which are hardwired into the ability bar. We haven't really implemented any real type of combat for you, just some examples of how targeting and abilities could work.
Logged

Shadowkin

  • General Accounts
  • *
  • Posts: 2
    • View Profile
Re: Adding Abilities,
« Reply #3 on: Mar 14, 12, 02:07:11 AM »

Ahh I thought that may be the case,
thanks for the info!!

Logged

GFG_Ulfrpsion

  • General Accounts
  • *
  • Posts: 40
    • View Profile
Re: Adding Abilities,
« Reply #4 on: Mar 14, 12, 10:38:47 AM »

If you don't feel like sifting through the wiki to try and figure out what to do with the "abilities" system or how to design it, it is suggested to implement a SpecOracle system for your abilties, and then use SpecDecorators to make each ability.

http://wiki.heroengine.com/wiki/Spec_Oracle

To see a really high overview of a Spec in action, look at:
http://wiki.heroengine.com/wiki/Inventory_System_Tutorial

Spec Oracles are rather easy to construct once you get comfortable with it all:
http://wiki.heroengine.com/wiki/Creating_a_New_Spec_Oracle_(Step_by_Step)
http://wiki.heroengine.com/wiki/Spec_System_-_Basic_Usage

Try your hand at making a Spec Oracle first and then go back and create it the way you need. It will be a lot easier to grasp that way. You'll find them to be simple yet elegant once you finally get one working, and it will save you a lot of headache than just a bunch of random nodes associated with your character.
Logged