I'm working on a TD which uses morphing to upgrade towers to higher tiers.
Following OneTwo's guide from his advanced TD tutorial series, and the instructions worked flawlessly for two out of four of my types of towers. (3 tiers per type). I made all of the towers which worked individually.
for each tier one actor i added:
Event.*.AbilMorph.Finish
MorphTo Tier 2
Destroy
for each tier two actor i added:
Event.*.AbilMorph.Finish
MorphTo Tier 3
Destroy
Event.*.AbilMorph.Finish
MorphTo Tier 2
Create
and for each three two actor i added:
Event.*.AbilMorph.Finish
MorphTo Tier 3
Create
I also added the relevant ability and command card button to each relevant unit as appropriate.
The problem crops up in a very specific situation, upgrading works BEFORE one of this type of tier 1 towers attacks (a Hellion in this case), but if i use the ability AFTER it attacks, all that happens is the money gets charged, but no upgrade happens (actors and abilities don't change and nothing else as far as i could tell)- additionally, the hellion stops being able to attack unless i press the stop button to cancel the upgrade and refund the money.
This happened to me before and I solved it by re-making (via duplication as usual) the entire type (all 3 tiers) of tower. I could probably avoid this by re-duplicating everything, but I would like to know what the issue and how to fix it if it crops up again, as re-duplicating is quote time intensive.
I'm willing to upload the map if someone could tell me where the map files are stored.
Depends where you saved it. Also the problem sounded like you did something involving the morph ability. Probably put a time into the duration field and not the delay.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
the morph ability follows the same pattern as the working towers 100%, but lemme check the delay/duration stuff now
PS: i dont know if i mentioned this in the OP, but going from t2 to t3 works fine, it's just that t1 to t2 for that ONE type of tower that is a problem
OK so to replicate the error: start a test document, use your defensive builder to make some Fire Spin units (hellions) somewhere in the way of the creeps spawning from top. After they attack, the upgrade button won't work as it should. Compare that to making some Fire Spin and upgrading BEFORE they attack , which will work just fine.
The morph in question is from the unit Fire Spin to the unit Flamethrower
I've given up trying to find the root of the problem. I just made another duplicate of the hellion and now it works just fine, like I did with another tower the first time this issue showed up. I hope this doesn't appear again otherwise it's gonna be a huge PITA.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm working on a TD which uses morphing to upgrade towers to higher tiers.
Following OneTwo's guide from his advanced TD tutorial series, and the instructions worked flawlessly for two out of four of my types of towers. (3 tiers per type). I made all of the towers which worked individually.
for each tier one actor i added: Event.*.AbilMorph.Finish
MorphTo Tier 2Destroyfor each tier two actor i added: Event.*.AbilMorph.Finish
MorphTo Tier 3DestroyEvent.*.AbilMorph.Finish
MorphTo Tier 2Createand for each three two actor i added: Event.*.AbilMorph.Finish
MorphTo Tier 3CreateI also added the relevant ability and command card button to each relevant unit as appropriate.
The problem crops up in a very specific situation, upgrading works BEFORE one of this type of tier 1 towers attacks (a Hellion in this case), but if i use the ability AFTER it attacks, all that happens is the money gets charged, but no upgrade happens (actors and abilities don't change and nothing else as far as i could tell)- additionally, the hellion stops being able to attack unless i press the stop button to cancel the upgrade and refund the money.
This happened to me before and I solved it by re-making (via duplication as usual) the entire type (all 3 tiers) of tower. I could probably avoid this by re-duplicating everything, but I would like to know what the issue and how to fix it if it crops up again, as re-duplicating is quote time intensive.
I'm willing to upload the map if someone could tell me where the map files are stored.
Depends where you saved it. Also the problem sounded like you did something involving the morph ability. Probably put a time into the duration field and not the delay.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
the morph ability follows the same pattern as the working towers 100%, but lemme check the delay/duration stuff now
PS: i dont know if i mentioned this in the OP, but going from t2 to t3 works fine, it's just that t1 to t2 for that ONE type of tower that is a problem
Compared the flags of the morph for the zerg spire against your one?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
same
You sure the Info + Fields are the same between the two abilities (well except the unit it morphs into)?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
between the two of mines, or between the problematic one and spire?
EDIT: they're the same between the two of mines
Silly question but check the abilities (not command card) of all the units and see if there are differences like a build in progress or something.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
kk, will do
Well then I am out of ideas as to what the cause could be. Maybe upload your map for other people to look at and maybe they can see the cause.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
lemme just find that...
OK so to replicate the error: start a test document, use your defensive builder to make some Fire Spin units (hellions) somewhere in the way of the creeps spawning from top. After they attack, the upgrade button won't work as it should. Compare that to making some Fire Spin and upgrading BEFORE they attack , which will work just fine.
The morph in question is from the unit Fire Spin to the unit Flamethrower
I've given up trying to find the root of the problem. I just made another duplicate of the hellion and now it works just fine, like I did with another tower the first time this issue showed up. I hope this doesn't appear again otherwise it's gonna be a huge PITA.