| 10-23-2003, 04:14 PM | #1 |
1)why when i order that the computer will replace a unit he rapleces it withe several and not with one? 2)how can i create a hero ability like defend? |
| 10-23-2003, 05:23 PM | #2 |
1) Hunh? Replace should be a 1:1. What's your trigger say? 2) Copy Defend. Set the "Stats - Is Hero Ability" to true. Now, click on some other skill, and come back. Set the # of levels the skill should have, and you're home free. |
| 10-23-2003, 05:26 PM | #3 |
Well now, I'll do my best here. Let's see.... 1) I'm afraid you'll need to be a little more specific as to what you're doing here and what's going on. Maybe if you copied your Trigger code, we could take a look at it and tell you what seems to be up. 2 This one I know. The procedure for making a hero ability based on a non-Hero ability is as follows: First, make a new custom ability based on Defend. Now go to Stats - Hero Ability and set it to true. Select another ability and then re-select your new ability. (You have to do this so World Edit will load the Hero data fields.) Now go to Levels and set it to however many Levels you want. Several dozen new data fields should appear, allowing you to alter the stats individually for each level. The only caution I have is I can't predict what will happen graphically since none of the hero models have a Defend animation. Things you might want to mess wtih: Art - Attachments: To make a graphical effect appear on the hero since they're not going to do a Defend animation. Art - Button Position: To make sure the buttons for using and researching the ability appear in the right spots on the hero's command card. All the Level Stats: Because otherwise it will have the same text, effect, etc. at every level. Anyway, good luck, and filfre to respond if you still have any questions! (Edit: Dang, Bifl beat me to it while I was writing.) |
| 10-23-2003, 05:31 PM | #4 | |
Quote:
:gsmile: BWAHAHAHAHAHA! Trogdor strikes again! |
| 10-23-2003, 05:32 PM | #5 |
I'll get you yet, Trogdor, if it's the last thing I doooooooooooooooooo! OK, I've been testing this out, and I've found some other things you need to take care of: You need to turn off Techtree - Check Dependencies or else it will require Defend to be researched before it can be used. Furthermore, my research shows the program will have no problem with your hero not having a Defend animation, he will just behave normally, though there will be a slight twitch (the spell-casting animation) and a flash of light when the ability starts. I highly recommend adding some Art attachments to signal when the ability is on. |
| 10-23-2003, 06:18 PM | #6 |
lmao. i hate techtrees. in my map i was trying to make a shaman bring back to life his minions.......it took me 3 hours because i forgot to turn off techtree and since it belonged to the neutral hostile i couldn't see that his spell had to be researched. i was highly pissed off. |
| 10-23-2003, 08:36 PM | #7 |
some of u requested the trigger for Q 1 there are 3 and here they are: this one workes good: Events: * Unit - A unit enters Elf Melee School <gen> Conditions: none Actions: * Set Is_Melee = True * Unit - Replace Child 0032 <gen> with a Fighter using The new unit's max life and mana those 2 dosent work good they replace the child with 2 and more heros Events: * Unit - A unit enters Elf Mage School <gen> Conditions: none Actions: * Set Is_Magic = True * Unit - Replace Child 0032 <gen> with a Mage using The new unit's max life and mana Events: * Unit - A unit enters Elf Range School <gen> Conditions: none Actions: * Set Is_Range = True * Unit - Replace Child 0032 <gen> with a Archer using The new unit's max life and mana |
| 10-23-2003, 08:54 PM | #8 |
do you really only want it to replace that specific child? or should there be a condition triggering unit = child then have it replace the triggering unit? |
