| 11-08-2004, 11:28 PM | #1 |
I've got a little issue with this hero I'm working on. One of his skills is supposed to be a passive skill that reduces his collision size. At max level he'll be able to walk among units as though they weren't even there. I figured that to do this, I would use a dummy skill (ie: Evasion with dodge chances reduced to zero) and a trigger that reduces his collision size. I was contemplating how to pull this off and remembered the Chaos ability. However, I'm having issues getting it to work. Help? |
| 11-09-2004, 01:18 AM | #2 |
Well, what have you tried, what do you want to accomplish with it, and what are your problems? |
| 11-09-2004, 02:34 AM | #3 |
What I've done before is create four heroes that are exactly like him (the skill has four levels) except with a lesser collision size. I then had a trigger that detected when a hero (any hero) learnt this skill, and had that trigger give them the appropriate Chaos ability depending upon what level the skill was. For some reason that doesn't seem to work. |
| 11-09-2004, 05:08 AM | #4 |
Can you give the heroes different unit names so that you can see whether or not the Chaos is swapping the unit? Can you make the trigger that adds the Chaos abilities spew out some debug information, like that it is, in fact, running, and which unit it's affecting? |
| 11-09-2004, 06:22 AM | #5 |
I'll give that a try, but not tonight. I just got back from nabbing my copy of Halo 2 and it's way past my beddy-bye time. |
| 11-09-2004, 09:32 PM | #6 |
Hmmmm. Well, it seems that it was working after all. However, even with zero collision the hero can't walk straight through other units. Hmmmm. What other ways can I achieve what I'm shooting for? Also, I'm having trouble with another skill of his, which I name Duality. Simply put, the hero effectivily creates a double of himself of equal power, and if either one dies the other can escape and the hero will survive. Basically it's based off of Storm Earth and Fire, but the game does a few things I don't like. Firstly, it adds the icons of the two spawned heroes to the side of the screen. Secondly, it spawns each at level 1. How can I get around these things? |
| 11-09-2004, 10:24 PM | #7 |
Use the trigger action "Unit- turn off collision". |
| 11-09-2004, 11:44 PM | #8 | |
Quote:
DOPE!! I'll give that a shot. |
| 11-10-2004, 09:00 AM | #9 | |
Quote:
Maybe a long shot, but keep him on the same height while making his movement type "flying". Haven't tested this myself, but maybe it'll work. |
| 11-10-2004, 04:32 PM | #10 |
That will allow him to go up cliffs, though... not that it matters, because the "turn of collision" trigger does the same thing. |
| 11-10-2004, 07:04 PM | #11 | |
Quote:
I've come up with a solution, with the help of you all. Please remember that a unit with zero collision is still affected by the collision size of other units. Level 1: Increases movement speed slightly Level 2: Reduces collision size to zero (isn't as good as it sounds) Levle 3: Increases movement speed slightly Level 4: Turns collision off. I could still use some help with that Duality skill. |
| 11-10-2004, 07:09 PM | #12 |
For Duality, you can make a duplicate of your hero unit in the object editor and change the field that shows its icon in the hero corner to false. Then take the level of the caster hero and set the spawned heroes to that level. Also, you can track the levels of each ability the caster has and set the new units to have those abilities as well. There's just no simple way to modify S,E,&F to that. However, with what I've mentioned you can approximate it. |
| 11-10-2004, 07:24 PM | #13 |
Flying could work. What sort of map is it? Does it have any other units using flying? Possibly you could make him flying, but block off the cliffs with units/doodads that are invisible but have a fly over height of something like 50, and he flys at 40? That's the best solution I can give (probably best one there is). |
