Need assistance with change form ability

Avaleirra

Is back. Probably.
Reaction score
128
Hi I am planning on creating a hero with a passive that passively allows it to change form every 15 seconds.

The ability will constantly change the model of the hero as long as it is alive. For each level of the ability there will be different "tiers".

Level 1 = Tier 1
Level 2 = Tier 2
etc...

There will also be different models for every tier and every time a hero switches a model he will gain a new ability.

I am confident I can make this spell but the only thing I am worried about is how I can change the model of a hero without making hundreds of units in the object editor.

Any ideas?
 

IronTrout

New Member
Reaction score
20
Well if all levels turn into the same model, just make the one model as a hero and modify attributes / health / damage etc with triggers and tomes.
 

Bogrim

y hello thar
Reaction score
154
I am confident I can make this spell but the only thing I am worried about is how I can change the model of a hero without making hundreds of units in the object editor.
There's no other alternative I'm afraid, the only way you can change a unit's model is by changing the unit into another with morph abilities or replacing it with triggers.
 

Avaleirra

Is back. Probably.
Reaction score
128
@IronTrout
All the levels turn into different models

@Bogrim
I like the "replacing with triggers" idea. I don't think that that is too hard right?
 

Bogrim

y hello thar
Reaction score
154
Under unit trigger actions, you can replace a unit with another type of unit. You'd have to store all the hero's stats, items and experience gained.

The way I would go about making a trigger is using a unit-type array, which will allow you to setup all of the unit types you want the hero to be able to shift between, "UnitType[(Random integer between 1 and 20)]" for instance.

Then all you need is a periodic trigger that replaces the unit once every 15 seconds matching certain conditions.
 

Avaleirra

Is back. Probably.
Reaction score
128
So I would still need 100's of heroes with different models? Damnit...


and yeah, I was plannign on doing the unit-type array.
 

Avaleirra

Is back. Probably.
Reaction score
128
Ok. I have decided to greatly change the ability.


Now, the hero gets to choose his form. I gave him 3 spellbook abilities. Each one is for forms based on the stats. One is for strength, another for agility, and one for intelligence. Each one will have 4 forms in them that get upgraded when the hero levels the ability. While in a form, the hero is able to change to other forms if he wants to.

Problems I need help with:
1) When I am in my original hero form, I can switch just fine. But when I am in a form, I can't switch to others for some reason.

2) when I open any of the spellbooks it always opens up the strength one. (although I have only triggered one form into it).

3) I am also having trouble getting the hero to have the same level of spellbook abilities every time he changes form without having to re-learn them.


Thanks
 

Carnerox

The one and only.
Reaction score
84
Edit* oh my bad hold on.

EditEdit* okay my best idea is to do this.

Create a custom copy of the ability CHAOS(grom or w/e one you want) create how every many levels you have = to your heroes.(also for spell book switch the ID to some random 1) once a spell is casted do a if spell is (that hero one) set chaos to the level for that unit.

EditEditEdit* Chaos works 10x better than morph to.
 

Avaleirra

Is back. Probably.
Reaction score
128
I'm actually using the action
Trigger:
  • unit - replace (triggering unit) with (whatever)
 

Avaleirra

Is back. Probably.
Reaction score
128
The chaos is working great! I'm only having 2 problems:

1) The primary attribute of the hero remains the same. I have set it to be different on the new unit. How can I change the primary attribute?

2) Spellbooks are almost fine now. Only problem is that when I choose a form inside let's say the strength spellbook, then all the other spells in the spellbook disappear. How can I fix this?
 

Carnerox

The one and only.
Reaction score
84
The chaos is working great! I'm only having 2 problems:

1) The primary attribute of the hero remains the same. I have set it to be different on the new unit. How can I change the primary attribute?

2) Spellbooks are almost fine now. Only problem is that when I choose a form inside let's say the strength spellbook, then all the other spells in the spellbook disappear. How can I fix this?

Chaos copies.. :( the exact stats..
might have to trigger it..
Also on the spellbook did you set the ID orders differently?
 

Avaleirra

Is back. Probably.
Reaction score
128
Thanks Weep!

Anyone have any idea about the stat thing though because it is absolutely crucial :(
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!
  • The Helper The Helper:
    Happy Wednesday!
    +1

      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