| 12-05-2002, 04:45 PM | #1 |
is there a spell code that is just replace unit a with unit b? without losing spellcasting ability or timed transformation (demon form - with a countdown timer) Does chaos(unit) do this? but they don't have buttons... |
| 12-05-2002, 04:51 PM | #2 |
The Demon Hunter has a Metamorphosis spell that changes him to Demon Form and I believe that it is timed. Martinez |
| 12-05-2002, 06:07 PM | #3 |
OK, I can do everything for you but the cooldown timer. First, make two units with identical spells, one looking normal and the other using whatever model you want for the transformation. Put the Transformed model off in the far corner of the map and make a region around it. If the units are heroes, then make a trigger to do "Hero1 learns skill, learn skill for Hero2" Now, when the normal unit (Unit1) uses Transform, Center a 1x1 region on Unit1, Hide that unit and move it to the center of the region around Unit2. Instantly move Unit2 to center of the 1x1 region and face "Facing of unit1" degrees. Unhide unit2 and let the fun begin! Wait thirty seconds and then repeat these actions, only in reverse. This will allow, say, a Ghoul to morph into an Abomination for thiry seconds. The only thing this won't do is have an actual cooldown bar. -Insaniteus- |
| 12-05-2002, 06:46 PM | #4 |
If you looked at the metamorphisis spell, you will notice that its the only spell that only has one level to it. And i believe the demon hunters skills are hardcoded or something, because no matter how hard i try (ive tried pretty hard too) i cant seem to make it work. Maybe if you directly edited the unit .slk files and implemented it, it might work. But theres no editor right now that will do that, or do it well. And if all else fails, edit the druid of the claws ability so that when it transforms, it becomes a certain hero with certain abilitys. A spell editor can do that for you. Just dont use the demon hunter as the transform to unit, k? |
| 12-05-2002, 09:45 PM | #5 |
i want to make a shapeshifter unit, so i don't want a timer, and i want each form to be able to shapeshift to eachother unit: unit A abilities: -change to unit b -change to unit c unit b abilities: -change to unit a -change to unit c unit c abilities -change to unit a -change to unit b something like that, maybe more forms... |
| 12-05-2002, 10:38 PM | #6 |
well you could do this with some minor spell editing just copy one of the druid spells and change the target unit and stuff |
| 12-06-2002, 04:04 AM | #7 |
Metamorphosis may be fugged up, but what about Avatar? If you want transformations then just do what I said earlier, only with three different command buttons -Insaniteus- |
| 12-06-2002, 11:26 PM | #8 |
Guest | Avatar just increases the unit's size. For a trigger solution, do what Insaniteus said to do. If you want an actual ability, then... a) If a unit becomes a flying unit (from ground), copy Storm Crow Form. or b) If the unit is either a ground unit that becomes a ground unit or a flying unit that becomes a flying unit, copy Bearform. Both the suggestions above would involve editing Abilitydata.slk. Use a spell editor or just follow one of the tutorials on this site. To find what your custom unit's ID is, make a trigger action like "Create MyCustomUnit at Center of Playable Map facing 180 degrees" and convert that to custom text. It'll be something like "UC89" (if its in the Undead section). |
| 12-06-2002, 11:43 PM | #9 |
Canyou read? NO TIMER!!! druis spells disable spells, avatar is TIMED metamorph is TIMED .... O well, i might have to make a null spell and work off triggers... |
| 12-07-2002, 01:29 AM | #10 |
Guest | Here's a few options you might try... 1) Use Metamorph and give it either a really high timer, or try setting the timer to zero. Of course, either you need a way to cancel it... 2) Look into the Perma-Metamorph used in the campaigns. Still have the same problem of needing a way to cancel it... I've not tried either of these before, but I've been playing around with spell editing lately and noticed that Metamorph has the target unit codes listed and may be changeable. But that would also require you to setup your units in the appropriate files as well so you would have codes for them... OK, maybe a trigger solution is the best way to go... |
| 12-07-2002, 04:29 PM | #11 |
Guest | Axiverse - both Storm Crow Form and Bearform don't use a timer. |
| 12-23-2002, 09:48 PM | #12 |
Guest | If anyone has a solution to this, be sure to post it. My mod is hung up on this exact problem of transformations (along with limits on hero ability levels and number of powers). Problems I am having: - Raven and Bear forms disable unit abilities; if you use them in reverse, they disable the abilities of the unit before you transform - Metamorphosis has no way to change back unless you use a timer. It often disables powers just like bear and raven form for some reason. - Only one transformation ability shows up at a time, regardless of how many you give to a unit. |
| 12-23-2002, 10:48 PM | #13 |
Guest | This is my theory - i have no idea if it's possible, some of the trigger-master guys can tell you that. Disable the abilities of 4skills that you don't plan to use. (1, 2, 3,4) Unit1 Unit2 Unit3 2, 3, 4 1, 3, 4 1, 2, 4 Then do something like: A hero ability button is clicked. Clicked button equal to 2 Replace unit with Unit2 If this is possible, you can also add different mana costs to each of the shapeshift-spells. ?? I couldn't figure out how to make the condition. ------------------ Some other, but not as proff solutions. 1) Make undropable, unperishable items, with no abilities. Then, when one item is used, the unit is replaced with another unit. 2) Chat strings. When the owner of the unit writes "bearform" or something like that, the unit is replaced. ------------------ But i don't know if it's supposed to be a ordinary unit, or a hero? |
| 12-24-2002, 12:21 AM | #14 | |
Quote:
you have to make the custom unit from a hero if you want those hero abilities to work... about the mana costs, i dunno if that's possible but the shapeshift spell is possible with trigger event : unit - a unit owned by player 1 is issued an order with no target condition : (issued order) equal to (order(metamorphosis) if you worry about the timed morph then make it based on illidan metamorphosis... it's not timed if i'm not mistaken ;) |
| 12-25-2002, 01:03 AM | #15 |
Guest | But he wants 3 shapeshift spells, not just one. Am i correct? |
