Bear Form Issue

Neko

New Member
Reaction score
0
Hello everyone, im pretty new to worldedit.

Currently im trying to do a hero with dual modes, manage to do it by tweaking "Bear Form" skills. Having some trouble editing the skills to be removed and restored when change from a character to another.

Trying to do a character with melee and ranged modes, with different set of skills.

I've read something about an invisible spellbook and dummys (off similiar threads), but am unsure how to do it

Update: Need help for damage gain when changing forms and attribute change
Help is appreciated !
 
You can base it off of the Night Elf Bear Form ability. It has data fields for regular form, and alternate form. You would create 2 heroes, one is the normal form, and the other is the alternate form. Then you can just change their attributes and stuff to what you want.

The tricky part is the skills. Because of the way the ability works, any hero abilities will remain on both regular and alternate form, even though they are technically two separate units. So what you want to do is either use all dummy unit abilities for your hero, OR use triggers to replace/restore your hero each time the ability is cast.

I hope that makes sense. I have an ability exactly like what you want. It's kind of complicated the way I made mine work though, so maybe you don't want to take my route.

Anyway, let me know if you have any questions. And welcome to TH! :)
 
thank you for the quick reply!
i'm currently basing it off the bear form ability instead (look at edited post)

im not sure which fields to edit bear form skill to grant hero bonuses when being in that mode, since the skill comes with default cooldown, i tried granting trigger bonus to the hero when it is casting the spell, but as forementioned, the bonuses affect whilst unit is casting it rather than granting the bonus after the cast

im also unsure where to edit the attribute change
 
Well its 3 am here, so I am about to head to bed. I'll check my WE and have answers for you hopefully tomorrow.
 
thank you for the help tommerbob! :)

i've based the data of bear form off another unit (now a strength hero)
still doesnt make the attribute change!
 
As long as both your units are based off of heroes, it should be pretty easy :).

Look under the "stats - " part of the hero in the Object editor.

They have:

Stats - Starting Strength
Stats - Starting Intelligence
Stats - Starting Agility
Stats - Agility Per level
Stats - Intelligence per level
Stats - Strength per level

...also note that the fields in the object editor are alphabetical. That should help you find them :).

------------------------
Other ways to change the stats:

1) Use a trigger with the event:- Generic Unit event :- Unit - A unit finishes casting an ability

2) Use a small wait and then change the stats of the triggering unit. Make sure it's triggering unit though...otherwise it might not be MUI, depending on how long the wait is.
 
thank you Moridin,

1)
i used A unit starts casting the ability, thats where i made a wrong choice at :-
i've manage to grant hero bonus in Stat when converting, but the hero still does not change its attribute after morphing

Events
Unit - A unit Finishes casting an ability

Conditions
(Ability being cast) Equal to Melee Mode

Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)

If - Conditions
(Triggering unit) Equal to Bmage 0036 <gen>

Then - Actions
Hero - Modify Strength of Bmage 0036 <gen>: Add 10

Else - Actions
Hero - Modify Strength of Bmage 0036 <gen>: Subtract 10

since both forms are of the same unit, do i have to set a variable to tell the trigger as an additional condition?
currently, the subtraction of the stat is not working


2)dont think its required, it works fine now
 
Umm.. ok, you've got it a little bit wrong :p.

To bring the strength back to normal (deduct 10) you'll need a seperate trigger, with the condition for that trigger being "Ability being cast Equal to Ranged mode" :).
 
Toggling the ability : Bear Form on and off are recognised as 1 and the same skill. is there a way to seperate it?
It doesnt let me choose turning off skill etc

Edit: Solved by using 2 triggers to add and subtract

Melee
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Melee Mode
(Triggering unit) Equal to Bmage 0036 <gen>
Actions
Hero - Modify Strength of Bmage 0036 <gen>: Add 10
Wait 0.20 seconds
Trigger - Turn off (This trigger)
Trigger - Turn on Range <gen>


Range (initially off)
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Melee Mode
(Triggering unit) Equal to Bmage 0036 <gen>
Actions
Hero - Modify Strength of Bmage 0036 <gen>: Subtract 10
Wait 0.20 seconds
Trigger - Turn off (This trigger)
Trigger - Turn on Melee <gen>
 
thank you for your input, im still clueless about Invisible spellbooks granting and taking away hero skills when changing form. Any idea on that?
 
...Invisible spellbooks granting and taking away hero skills when changing form...
What? :S I had no idea invisible spellbooks could do that.

What you could do is this though. You have your two triggers:

Trigger:
  • Melee
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Melee Mode
      • (Triggering unit) Equal to Bmage 0036 &lt;gen&gt;
    • Actions
      • Hero - Modify Strength of Bmage 0036 &lt;gen&gt;: Add 10
      • Unit - Remove (Ability) from (Triggering unit)
      • Unit - Add (Ablity) to (Triggering unit)
      • Wait 0.20 seconds
      • Trigger - Turn off (This trigger)
      • Trigger - Turn on Range &lt;gen&gt;


Trigger:
  • Range (initially off)
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Melee Mode
      • (Triggering unit) Equal to Bmage 0036 &lt;gen&gt;
    • Actions
      • Hero - Modify Strength of Bmage 0036 &lt;gen&gt;: Subtract 10
      • Unit - Remove (Ability) from (Triggering unit)
      • Unit - Add (Ablity) to (Triggering unit)
      • Wait 0.20 seconds
      • Trigger - Turn off (This trigger)
      • Trigger - Turn on Melee &lt;gen&gt;


You can keep adding and removing abilities by duplicating those actions :).

Edit: Also, here's a SpellBook Tutorial to clarify anything you need to know about spellbooks.
 
thank you for that, valuable information !

i also have to enable all (melee and range)abilities on both the hero that i am basing the Bearform on right?
 
i also have to enable all (melee and range)abilities on both the hero that i am basing the Bearform on right?
No you don't have to enable them. When you give/remove an ability it is automatically enabled.

However, if you want to, instead of adding/removing you can enable/disable the abilities. I think that allows the abilities to retain their level....will have to do a bit of testing to verify this.
 
i have read on other forums that disabled skills appear (permanently) in cooldown mode. how do i hide a skill from the interface?
 
i have read on other forums that disabled skills appear (permanently) in cooldown mode. how do i hide a skill from the interface?

When you disable an ability, it hides that ability in the UI. For example, if you add a spellbook ability to a hero, and then disable it, you can't see it on the hero.
 
I think a good way to do this is to have 2 separate heros and hide one and unhide the other everytime an ability (based on channel) is cast.
the triggering would be something like this

Trigger:
  • start
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit - Hide Your Range hero 0001 &lt;gen&gt;
      • Unit - Change ownership of Your Range hero 0001 &lt;gen&gt; to Neutral Passive and Retain color


Trigger:
  • switching heros
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Change Weapon
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to your melee hero 0000 &lt;gen&gt;
        • Then - Actions
          • Unit - Hide your melee hero 0000 &lt;gen&gt;
          • Unit - Change ownership of your melee hero 0000 &lt;gen&gt; to Neutral Passive and Retain color
          • Unit - Change ownership of Your Range hero 0001 &lt;gen&gt; to Player 1 (Red) and Retain color
          • Unit - Move Your Range hero 0001 &lt;gen&gt; instantly to (Position of (Triggering unit))
          • Unit - Unhide Your Range hero 0001 &lt;gen&gt;
          • Selection - Add Your Range hero 0001 &lt;gen&gt; to selection
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering unit) Equal to Your Range hero 0001 &lt;gen&gt;
            • Then - Actions
              • Unit - Hide Your Range hero 0001 &lt;gen&gt;
              • Unit - Change ownership of Your Range hero 0001 &lt;gen&gt; to Neutral Passive and Retain color
              • Unit - Change ownership of your melee hero 0000 &lt;gen&gt; to Player 1 (Red) and Retain color
              • Unit - Move your melee hero 0000 &lt;gen&gt; instantly to (Position of (Triggering unit))
              • Unit - Unhide your melee hero 0000 &lt;gen&gt;
              • Selection - Add your melee hero 0000 &lt;gen&gt; to selection
            • Else - Actions
 
Trigger:
  • # Unit - Move Your Range hero 0001 &lt;gen&gt; instantly to (Position of (Triggering unit))
    • # Unit - Unhide Your Range hero 0001 &lt;gen&gt;


Switch that around :p Messing with a hidden unit can cause problems.

Trigger:
  • # Unit - Unhide Your Range hero 0001 &lt;gen&gt;
    • # Unit - Move Your Range hero 0001 &lt;gen&gt; instantly to (Position of (Triggering unit))


Need help for damage gain when changing forms and attribute change
Modify damage temporarily when switching forms? hmm.. Can't be done temporarily
Attribute change? Like hero attributes? That can be done through Hero - Change Hero Attribute
Please clarify with a bit more detail.
 
I think a good way to do this is to have 2 separate heros and hide one and unhide the other everytime an ability (based on channel) is cast.
the triggering would be something like this

Trigger:
  • start
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit - Hide Your Range hero 0001 &lt;gen&gt;
      • Unit - Change ownership of Your Range hero 0001 &lt;gen&gt; to Neutral Passive and Retain color


Trigger:
  • switching heros
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Change Weapon
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to your melee hero 0000 &lt;gen&gt;
        • Then - Actions
          • Unit - Hide your melee hero 0000 &lt;gen&gt;
          • Unit - Change ownership of your melee hero 0000 &lt;gen&gt; to Neutral Passive and Retain color
          • Unit - Change ownership of Your Range hero 0001 &lt;gen&gt; to Player 1 (Red) and Retain color
          • Unit - Move Your Range hero 0001 &lt;gen&gt; instantly to (Position of (Triggering unit))
          • Unit - Unhide Your Range hero 0001 &lt;gen&gt;
          • Selection - Add Your Range hero 0001 &lt;gen&gt; to selection
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering unit) Equal to Your Range hero 0001 &lt;gen&gt;
            • Then - Actions
              • Unit - Hide Your Range hero 0001 &lt;gen&gt;
              • Unit - Change ownership of Your Range hero 0001 &lt;gen&gt; to Neutral Passive and Retain color
              • Unit - Change ownership of your melee hero 0000 &lt;gen&gt; to Player 1 (Red) and Retain color
              • Unit - Move your melee hero 0000 &lt;gen&gt; instantly to (Position of (Triggering unit))
              • Unit - Unhide your melee hero 0000 &lt;gen&gt;
              • Selection - Add your melee hero 0000 &lt;gen&gt; to selection
            • Else - Actions

This would probably work, with a few slight adjustments to teh trigger, but the overall idea should work. You would also want to make sure that whenever one of your hero's gains experience, you also give experience to the other hero.
 
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