| 06-12-2008, 09:55 PM | #1 |
Hi, I've got a big problem with my new spell idea: A target morph spell. I wanted to make a spell, that morphes an unit into an other one. The spell should be a target one...I tried hex but the units can't attack or cast spells. Even if I try to add new spells, they won't work. Even this spell of the phoenix doesn't work while hexed. And I tried to add and remove Cargo Hold, so I removed and added the attack...I didn't worked. Than I tried Chaos...and the morphing was okey, but one little problem: You can't remove the chaos ability anymore... Have you any ideas, how I can handle this problems? Or does anyone of you has a complete other idea, how to manage this without creating masses of Chaos-Abilitys... Thanks a lot and kind regards, Murder X |
| 06-12-2008, 10:21 PM | #2 |
If you base the spell off of channel, you can edit it to select Unit Targets. Then, trigger the ability for what you want it to do. This is the easiest (one of the only?) ways to make a spell like this. |
| 06-12-2008, 10:48 PM | #3 |
Well, I know how to get a dummy targetspell ;) And also I know that I have to trigger this ability...my problem was now, that I wanted to know, if someone know a trick, so that I don't have to make such a horrible long trigger with a lot of conditions or arrays... Just for the example: The morphed unit shall keep it spells, attributes, armor, damage and so on, just should get more hp and an ohter model. Hp are easy, just add a hp+ spell, and the model is easy to realize with 'chaos'. My probem is, that I can't remove this spell. And it's also anoying that 'chaos' erases the nonhero-spells :/ So my question is: Has someone a birlliant idea, how to manage this, or do I really have to make a 'chaos' spell for every hero of my map to change him back oO |
| 06-12-2008, 11:24 PM | #4 |
Sounds like you need more spell ideas. I don't think there's an easy way to do it. Not sure why you want a spell like this anyway... If all morphing does is add HP, why are you making it so complicated? I don't know your map, so maybe there's a reason to morph. edit: Originally, I thought you just wanted to morph, let's say, a footman into a knight or something. But morphing heroes is crappy. Maybe you can do something like... Actually, I'm testing something right now, using spellbooks and stuff. I'll post in a few minutes. edit2: Okay, well, my idea was to hide Metamorphosis in a spellbook and then order the target to use it, but yeah... Metamorphosis requires another unit, too. I tried adding avatar to the target and then make them cast it, and it works, but I mean, that's not going to get the effect you want and is also unnecessary. |
| 06-12-2008, 11:56 PM | #5 |
Bonus hp is easy, changing the model of the unit, however, is an annoying complication. The only way I can think of that would be reasonable (meaning that it doesn't require a copy of each unit that can be targeted by this spell) would be to make the affected unit transparent and create a dummy locusted unit with the alternate form model at it's position and move that unit with a periodic timer and play it's walk animation when it moves, attack animation when the original transparent unit attacks etc. It's a very ugly solution both in concept, code and appearance, but it's probably the best you could do. It just doesn't seem to me like this spell was meant to be. I suggest you keep on brainstorming until you come up with something better. |
