I'm nearing completion on Formation Defense 2.0 (check my sig), but I've stumbled upon a problem. My game has some 65 morph abilities (estimating) and as of a couple days ago, I seem to have hit a limit...Every time I add a new morph ability, at least one other becomes corrupted.
By this I mean the ability icon in-game disappears and a text message check through triggers claims the unit no longer has the ability. As far as I can tell, it's almost always related to one particular unit's abilities. Quite often two or three morph abilities will have this problem at once, but usually fixing one of them makes them all spring back as though nothing's wrong.
By 'fixing' I mean literally deleting everything in the data editor related to the courrupted ability and remaking it. If I remake it with the same names and/or ids, the problem persists. The only way to fix the issue is to remake it with different names and ids to completely dissassociate the new ability from the old one.
The unit that seems to be causing all the problems is a Scantipede. It has six morph abilities in total, four which are always visible and two which are occassionally swapped in to replace two of the standard ones. I don't think this breaks some sort of limit (I have another unit with 9 morphs on it, which works fine), but as soon as another morph ability is added (to any unit in the game, not just the scantipede), one of the Scantipede abilities ALWAYS gets wiped out. Most notably, one of the four that is only sometimes allowed/disallowed.
I've checked my triggers and nothing in them could be disabling these abilities.
Another possibility is that the Scantipede simply has too many abilities...it has the six morphs, but also 9 other standard abilities + attack, move and stop. Is that too many for one unit?
There is a maximum amount of abilities a unit can have. This was around 35+ abilities, iirc.
The problem would be, units linked via morph abilities count as 1 unit for this counter. So if 1 unit has 10 abilities and can be morphed into 3 others with 10 abilities each, this counts as 40 abilities on one unit, which breaks the limit.
€ ah, just saw you found the other thread about this topic ;)
Yeah, I just did some tests and it's exactly my conclusion.
But the last time I tried that, I couldn't prevent a weird "explosion" visual bug.
I was using "Remove unit" and not "Kill unit"... just hope I won't get that bug again...
Also, my towers use Energy... I'm afraid a trigger would fully recharge their energy...
Then again, I guess a variable could do it...
I'm nearing completion on Formation Defense 2.0 (check my sig), but I've stumbled upon a problem. My game has some 65 morph abilities (estimating) and as of a couple days ago, I seem to have hit a limit...Every time I add a new morph ability, at least one other becomes corrupted.
By this I mean the ability icon in-game disappears and a text message check through triggers claims the unit no longer has the ability. As far as I can tell, it's almost always related to one particular unit's abilities. Quite often two or three morph abilities will have this problem at once, but usually fixing one of them makes them all spring back as though nothing's wrong.
By 'fixing' I mean literally deleting everything in the data editor related to the courrupted ability and remaking it. If I remake it with the same names and/or ids, the problem persists. The only way to fix the issue is to remake it with different names and ids to completely dissassociate the new ability from the old one.
The unit that seems to be causing all the problems is a Scantipede. It has six morph abilities in total, four which are always visible and two which are occassionally swapped in to replace two of the standard ones. I don't think this breaks some sort of limit (I have another unit with 9 morphs on it, which works fine), but as soon as another morph ability is added (to any unit in the game, not just the scantipede), one of the Scantipede abilities ALWAYS gets wiped out. Most notably, one of the four that is only sometimes allowed/disallowed.
I've checked my triggers and nothing in them could be disabling these abilities.
Another possibility is that the Scantipede simply has too many abilities...it has the six morphs, but also 9 other standard abilities + attack, move and stop. Is that too many for one unit?
There is a maximum amount of abilities a unit can have. This was around 35+ abilities, iirc.
The problem would be, units linked via morph abilities count as 1 unit for this counter. So if 1 unit has 10 abilities and can be morphed into 3 others with 10 abilities each, this counts as 40 abilities on one unit, which breaks the limit.
€ ah, just saw you found the other thread about this topic ;)
Is there a way to avoid that problem or that limit?
Because I have the exact same problem on my map... In fact, I have only one tower that can evolve in MANY direction.
Everything was fine until I add the LAST morph ability... now... I have that random bug...
You could use triggers to replace the towers with a new one and remove the data connection.
@Kueken531: Go
Yeah, I just did some tests and it's exactly my conclusion. But the last time I tried that, I couldn't prevent a weird "explosion" visual bug. I was using "Remove unit" and not "Kill unit"... just hope I won't get that bug again...
Also, my towers use Energy... I'm afraid a trigger would fully recharge their energy... Then again, I guess a variable could do it...
It might still play the death animation. Try to hide the unit before, or delete the death animation from the actor.