- Joined
- Aug 1, 2013
- Messages
- 4,658
Hi all.
I am making a dungeon map and I have a custom inventory system.
I can equip weapons and armor and they are also attached to the hero with a fittig model.
I also have abilities, basic attacks and other stuff that will require to have a specific weapon equipped.
For example: Heavy slam: Your next basic attack will knock the target back.
This must be done with a heavy weapon ofcourse (Greatsword, Battleaxe, Warhammer)
Also with a bow, wand or staff, you have ranged attacks.
Now I also want to let the player choose 2 sets of weapons of which they can switch during battle so they can use more abilities or change their range.
I do see that attached models (the weapons) stay on the unit for about 5 seconds... So I asked internet for a solution and as a good friend, he answered: Every single model that I use in my map must have a death animation... EVERY SINGLE MODEL!!!
First of all, I don't even know how to make an animation.
But secondly, it would take me more time to make the animations than to write all the code for the map again.
From another map, I know that when I replace a unit, it will have its attachments removed... however that unit will not be the old unit any more and all variables to that unit will be lost.
Does anyone know of a better workaround than this?
I am making a dungeon map and I have a custom inventory system.
I can equip weapons and armor and they are also attached to the hero with a fittig model.
I also have abilities, basic attacks and other stuff that will require to have a specific weapon equipped.
For example: Heavy slam: Your next basic attack will knock the target back.
This must be done with a heavy weapon ofcourse (Greatsword, Battleaxe, Warhammer)
Also with a bow, wand or staff, you have ranged attacks.
Now I also want to let the player choose 2 sets of weapons of which they can switch during battle so they can use more abilities or change their range.
I do see that attached models (the weapons) stay on the unit for about 5 seconds... So I asked internet for a solution and as a good friend, he answered: Every single model that I use in my map must have a death animation... EVERY SINGLE MODEL!!!
First of all, I don't even know how to make an animation.
But secondly, it would take me more time to make the animations than to write all the code for the map again.
From another map, I know that when I replace a unit, it will have its attachments removed... however that unit will not be the old unit any more and all variables to that unit will be lost.
Does anyone know of a better workaround than this?