I'm having trouble getting SCVs to autocast their Repair ability while loaded into a transport (actually, a Planetary Fortress, to be specific). I have edited the ability's flags to allow for it and I can manually issue an order telling the SCV to repair the transport from inside, which works fine. For some reason I just can't get the autocasting to work while inside. Any ideas?
Have a buff on the transport that uses an Issue Order effect for the Redirect Target ability to simulate autocast.
Woosh! That went over my head :(
This is what I can gather:
1)Create new behavior of type buff and apply it to the transport.
2)This behavior will have a periodic(?) effect of type Issue Order that has itself(?) as the Target and the SCV(?) as the Unit receiving the order (which I'm not clear on how to implement)
3)The effect will point to an Ability of type Redirect Target (and I have really not idea what to do here)
I hope you wouldn't mind explaining this a bit more, maybe in a step-by-step fashion. I'm obviously not very familiar with the Data Editor, but I'd love to gain some experience through this!
Buff uses a periodic Search Area effect that uses Target Sorts to pick priority targets that then uses an Issue Order effect on the caster which can also be validated. The Issue Order makes the transport use a Redirect Target ability to tell your SCVs in the cargo to use the ability on the target.
The Redirect Target ability is what bunkers use for getting units in the cargo to use stimpack also is used by bunkers to enable attack of units from inside them. It basicly tells all units in the cargo to use the ability specified and where.
In short your buff searches for valid repair targets weighted by lack of life if you want and then tells the SCVs in the cargo to use their repair ability on it.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
@DrSuperEvil: Go As he wants the SCVs to repair the Fortress itself, I'd remove the Search Area effect and just order the SCVs to repair the caster of the Redirect ability. Though I'm not sure it would work this way.
Let me just clarify some things before I start working on this in the wrong direction:
1) The fortress will be granted a new ability (say "Repair Redirect") of type Redirect Target and this is the ability that will trigger the process of getting the SCVs to repair the caster. It will have to be cast manually, which means it itself would need to be set up for autocasting if I want this to happen automatically (or is this where I should use that Buff you were talking about?). It will also require a target, and in this case I will always want it to target itself (which I believe I'll be able to do with autocasting or the buff, but not sure).
2) The Redirect Target effect automatically issues the order to all units in the cargo of the caster (just so I know for future reference).
I guess that's it. I'll try it later today and see what happens, but please stop me if I'm going about it the wrong way now that we've clarified exactly what I want to do here (repair the transport ONLY).
Actually the Redirect Target ability cannot be set to autocast so you would need something else to do the autocasting. As you are only targeting the caster you could use an Effect - Instant, a Behavior abilities or just have a Buff behaviour on the unit depending on if you want it to be a passive or must be autocast.
With the targeting self that is part of the Issue Order effect. An interesting example as how to do this is the resources that can be picked up in the campaign.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Grrr, now I really frustrated because for some reason I can't get repair to work at all from inside the transport anymore :(
I can't figure out what I might have changed between when it was working and now... but really the only thing that would keep it from working from inside is the "Passenger Acquired Transport" flag being unchecked, right? I've reverted everything else back to their parent values and still no luck. I even tried it from a clean slate on a fresh new map. I must be forgetting something... any ideas?
EDIT: I just realized that I may have originally fiddled around with the validators for the Repair effect. I'll see if that gets things rolling again.
Nope, I'm still stuck. Wow, I can't believe I'm having such a hard time with this. I know I'm missing something that I must have done earlier, but can't seem to figure it out. If anyone has any idea what I'm missing here please tell!
Sure you are using the right Redirect ability? Can the SCVs repair the thing when not in the cargo?
Actually, to be clear, I'm having trouble just getting the Repair ability to work again for passengers of a transport, let alone the Redirect ablity. I had the Repair working a week ago by using a trigger that would issue the order to the passenger, which targetted the transport. Now, using the same same trigger, or any other method I can think of to issue the order to the passenger, I still can't get it working. I have no idea why.
So there's no point in proceeding with the redirect ability until I'm sure I have the Repair ability set up correctly, which I apparently don't anymore :( I wonder if anyone else has tried implementing this same sort of thing and can give me some pointers on how to get it working again.
@Khaztr: Go Wait, you mean the Repair ability works normally, but not when the SCV is in a transport? And you used triggers for that?
Yes, I previously took the stock Repair ability, edited it to allow passengers to acquire the transport as a target, and used a trigger to issue the order in order to verify that it was working. It was working great.
Now, for some reason I can't even get that part to work anymore. I'm obviously forgetting something I did when I edited the ability the first time. I thought that all I did was enable the "Passenger Aquired Transport" flag, but apparently I did something else as well since it's not working now with just the flag enabled.
Well I decided to skip trying to get the Repair ability working as an order from within the transport... and now I think I finally understand exactly what you guys are expecting me to do to get this to work!
I made a new ability of type Redirect Target and set "SCV - Repair" as the Ability (and reused the default Repair button as the Command Button). After that, I didn't have to make any changes to the stock "SCV - Repair" ability, but I did have to edit the "SCV - Repair" effect by removing the "HiddenCompareBA" and "HiddenCompareAB" validators to get it functioning properly. I then added the new Redirect Target ability to the Command Card of the desired unit, which in this case is the Fortress, and VOILA: it works!
Now as far as the autocasting goes, all I had to do was enable that "Passenger Acquired Transport" flag for the "SCV - Repair" abilty!!! Which means no need for any buffs!
Well thanks for your help guys, especially the pointer you gave for me to look at the how the Bunker works with the Redirect Target abilities. I would never have figured it out without that.
(NOTE: In the process I also discovered that in order to allow a redirected autocast ability to acquire targets external from the transporting unit, you just need to enable the "Passenger Acquired External" flag. I don't need it for this case, but I think it would be cool to have a Medivac flying around with a squad of SCVs repairing from above :) )
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm having trouble getting SCVs to autocast their Repair ability while loaded into a transport (actually, a Planetary Fortress, to be specific). I have edited the ability's flags to allow for it and I can manually issue an order telling the SCV to repair the transport from inside, which works fine. For some reason I just can't get the autocasting to work while inside. Any ideas?
Have a buff on the transport that uses an Issue Order effect for the Redirect Target ability to simulate autocast.
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
Woosh! That went over my head :(
This is what I can gather:
1)Create new behavior of type buff and apply it to the transport.
2)This behavior will have a periodic(?) effect of type Issue Order that has itself(?) as the Target and the SCV(?) as the Unit receiving the order (which I'm not clear on how to implement)
3)The effect will point to an Ability of type Redirect Target (and I have really not idea what to do here)
I hope you wouldn't mind explaining this a bit more, maybe in a step-by-step fashion. I'm obviously not very familiar with the Data Editor, but I'd love to gain some experience through this!
Buff uses a periodic Search Area effect that uses Target Sorts to pick priority targets that then uses an Issue Order effect on the caster which can also be validated. The Issue Order makes the transport use a Redirect Target ability to tell your SCVs in the cargo to use the ability on the target.
The Redirect Target ability is what bunkers use for getting units in the cargo to use stimpack also is used by bunkers to enable attack of units from inside them. It basicly tells all units in the cargo to use the ability specified and where.
In short your buff searches for valid repair targets weighted by lack of life if you want and then tells the SCVs in the cargo to use their repair ability on it.
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 As he wants the SCVs to repair the Fortress itself, I'd remove the Search Area effect and just order the SCVs to repair the caster of the Redirect ability. Though I'm not sure it would work this way.
@SoulFilcher: Go
Oh, thought he wanted to repair other stuff as well while the fortress was on the move.
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 @SoulFilcher: Go
Nope, just the fortress. Thanks for the help, guys. I'll give it a shot soon and let you know if I'm able to figure it out.
Let me just clarify some things before I start working on this in the wrong direction:
1) The fortress will be granted a new ability (say "Repair Redirect") of type Redirect Target and this is the ability that will trigger the process of getting the SCVs to repair the caster. It will have to be cast manually, which means it itself would need to be set up for autocasting if I want this to happen automatically (or is this where I should use that Buff you were talking about?). It will also require a target, and in this case I will always want it to target itself (which I believe I'll be able to do with autocasting or the buff, but not sure).
2) The Redirect Target effect automatically issues the order to all units in the cargo of the caster (just so I know for future reference).
I guess that's it. I'll try it later today and see what happens, but please stop me if I'm going about it the wrong way now that we've clarified exactly what I want to do here (repair the transport ONLY).
Actually the Redirect Target ability cannot be set to autocast so you would need something else to do the autocasting. As you are only targeting the caster you could use an Effect - Instant, a Behavior abilities or just have a Buff behaviour on the unit depending on if you want it to be a passive or must be autocast.
With the targeting self that is part of the Issue Order effect. An interesting example as how to do this is the resources that can be picked up in the campaign.
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
Grrr, now I really frustrated because for some reason I can't get repair to work at all from inside the transport anymore :(
I can't figure out what I might have changed between when it was working and now... but really the only thing that would keep it from working from inside is the "Passenger Acquired Transport" flag being unchecked, right? I've reverted everything else back to their parent values and still no luck. I even tried it from a clean slate on a fresh new map. I must be forgetting something... any ideas?
EDIT: I just realized that I may have originally fiddled around with the validators for the Repair effect. I'll see if that gets things rolling again.
Nope, I'm still stuck. Wow, I can't believe I'm having such a hard time with this. I know I'm missing something that I must have done earlier, but can't seem to figure it out. If anyone has any idea what I'm missing here please tell!
Sure you are using the right Redirect ability? Can the SCVs repair the thing when not in the cargo?
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
Actually, to be clear, I'm having trouble just getting the Repair ability to work again for passengers of a transport, let alone the Redirect ablity. I had the Repair working a week ago by using a trigger that would issue the order to the passenger, which targetted the transport. Now, using the same same trigger, or any other method I can think of to issue the order to the passenger, I still can't get it working. I have no idea why.
So there's no point in proceeding with the redirect ability until I'm sure I have the Repair ability set up correctly, which I apparently don't anymore :( I wonder if anyone else has tried implementing this same sort of thing and can give me some pointers on how to get it working again.
@Khaztr: Go Wait, you mean the Repair ability works normally, but not when the SCV is in a transport? And you used triggers for that?
Yes, I previously took the stock Repair ability, edited it to allow passengers to acquire the transport as a target, and used a trigger to issue the order in order to verify that it was working. It was working great.
Now, for some reason I can't even get that part to work anymore. I'm obviously forgetting something I did when I edited the ability the first time. I thought that all I did was enable the "Passenger Aquired Transport" flag, but apparently I did something else as well since it's not working now with just the flag enabled.
Well I decided to skip trying to get the Repair ability working as an order from within the transport... and now I think I finally understand exactly what you guys are expecting me to do to get this to work!
I made a new ability of type Redirect Target and set "SCV - Repair" as the Ability (and reused the default Repair button as the Command Button). After that, I didn't have to make any changes to the stock "SCV - Repair" ability, but I did have to edit the "SCV - Repair" effect by removing the "HiddenCompareBA" and "HiddenCompareAB" validators to get it functioning properly. I then added the new Redirect Target ability to the Command Card of the desired unit, which in this case is the Fortress, and VOILA: it works!
Now as far as the autocasting goes, all I had to do was enable that "Passenger Acquired Transport" flag for the "SCV - Repair" abilty!!! Which means no need for any buffs!
Well thanks for your help guys, especially the pointer you gave for me to look at the how the Bunker works with the Redirect Target abilities. I would never have figured it out without that.
(NOTE: In the process I also discovered that in order to allow a redirected autocast ability to acquire targets external from the transporting unit, you just need to enable the "Passenger Acquired External" flag. I don't need it for this case, but I think it would be cool to have a Medivac flying around with a squad of SCVs repairing from above :) )