How to: Make Spellbooks

No.. i Didn't put my hero on the map. The hero's being bought in a tavern :banghead:
 
I encourange people to learn variables.:p

sellsunitbuy.jpg


levelbuyunit.jpg


And your homework is to make this MUI. ;)
 
Sorry for double posting, but I have to announce, that I updated the tutorial: made it easier to read, added a new trick and uploaded the screenshots of triggers, what Vexorian uses in his spellbook experiments, so that users dont have to download the map if they dont want to.
 
Andrewgosu said:
EDIT: I made a test spell and casted it from a spellbook - it worked fine.

Umm that really didn't help... at all. I need to know why my skills custom skills aren't working...
 
hauntedfreak said:
Umm that really didn't help... at all. I need to know why my skills custom skills aren't working...

Well, there could be several reasons. Post a map with the errors or the trigger. Can't help, if I know so little.
 
Hehe, I know, I have been working on spellbooks lately and I keep coming back here for reference.
 
can you explain the order id more please because im getting stuck on making a second spellbook work
 
Seiryuu said:
Wow great tut!!
everything of spellbook is here!!

Im glad it answered your questions.

Slapshot136 said:
can you explain the order id more please because im getting stuck on making a second spellbook work

You just need to change it. Change it to some order ID of an ability you dont really need, I personally use death pact, root.

Added a levelling sytem for dialogs. Check out the tutorial.

levelss1.jpg


levelss2.jpg
 
Wow I needed that Thankyou :D
you're tutorial is easy to understand with those pictures I really like it
5/5 stars :) but is there a limit to how many spell per book like a shops with only 12 spells?? :confused:
But still 5/5 stars!!! :p
 
lol this changed quite a lot since first release :) but it is geting better and better great job :)
 
I seem to have a problem with spell book on units that shape-shift. For example: if I give Midivh a spell book ability (or if I give a hero based on Midivh a spell book ability) everything works fine until he uses his crow form. After that, the spell book seems to contain no abilities. Any hints as to why?

-Apostle O
 
Yes, thats quite weird. However, I managed to fix that. You just need 2 spellbooks, which contain the same spells. Give the duplicate (1) to medvih and duplicate (2) to the crow form medvih. Then everything should work.
 
Andrewgosu said:
Yes, thats quite weird. However, I managed to fix that. You just need 2 spellbooks, which contain the same spells. Give the duplicate (1) to medvih and duplicate (2) to the crow form medvih. Then everything should work.

Excellent. I will give that a shot when I have more stable metal faculties about me in the morning, and let you know how it goes by editing this post..

EDIT: For whatever reason, your solution still isn't working for me. I am trying to figure out what could be wrong, but so far it doesn't look like I am having much luck.

-Apostle O

EDIT:

Well, I think I figured out the difference in yours and mine. I was making my spellbook a hero ability for a hero based on Medivh. You made it a unit ability for the basic Medivh. I tried it out, and that is the only difference I can see.

So, the question is, why doesn't it work for the hero ability? A suitable followup question would be: how do we make it work for a hero ability? (Assuming, of course, that the hero ability in question is still being applied to a shape-shifting hero.)

-Apostle O
 
Firstly, you need to create anoter version of your hero, because a hero cannot be morphed into a unit and vice versa (edit the crow form ability). Then, when the crow form ability is being cast, you need to make the abilites inside the spellbook permanent. (Both, the hero and the crow from hero have to have the spellbook ability).

Check out the map.
 
Well, I have been messing with it, and I got it to work. Everything was how you said it, and all of the settings were the same, except the one that I figured was inconsequential; I was wrong. My spell book was a hero ability. Yours was a normal ability. For whatever reason, the spell book as a hero ability glitches out when the hero morphs. The normal ability doesn't. With the normal ability, I don't even need the second form to have the same abilities, so I can have one doing one set of abilities, and the other doing another. I really like how this is working out.

Now I just need to get the animations right. But that is not for this thread.

-Apostle O
 
Yes. You just need to use this trigger when your hero morphs. Makes the abilities inside the spellbook permanent.

Code:
Spellbook
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Crow Form 
    Actions
        -------- the spells, inside the spellbook --------
        -------- A002-A004 being the rawcodes. --------
        -------- press ctrl+D in object edtior to view rawcodes. --------
        Custom script:   call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A002')
        Custom script:   call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A003')
        Custom script:   call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A004')
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      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