I've run into what is probably a known bug, but seeing if there is some workaround anyways.... Helping someone out get an idea of how to do weapon swaps using data editor only, I got it to work fine when he has the 2 weapons already. However, I like the idea of having the weapon not just being disabled, but not even being visible when not in use. Something like that you could easily cycle through a ton without a clutterfest.
To achieve this, I started by removing the ghost's weapons and giving him the behavior 'give canister rifle'(ghost weapon) which is set to give him a buff with a give weapon modification. I then set up an ability/button to call Effect: Set which adds 'give canister rifle' and removes 'give crucio shock cannon' (siege tank:siege mode), and another one to do vice-versa. So it adds the tank weapon just fine, removes it just fine, but seems to refuse to add the ghost's ORIGINAL weapon. To verify I threw a gauss rifle and spectre gauss rifle in there, and that worked just fine. To further verify I tossed these abilities on a freaking ultralisk, and they worked just fine on him too. Just for some reason, it absolutely refuses to give the Ghost his own gun, what gives?
Yes I've seen this one before. So the trick is to apply default weapon to the unit itself, and have every different weapon disable that behavior while it is on it would seem. Ty again.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've run into what is probably a known bug, but seeing if there is some workaround anyways.... Helping someone out get an idea of how to do weapon swaps using data editor only, I got it to work fine when he has the 2 weapons already. However, I like the idea of having the weapon not just being disabled, but not even being visible when not in use. Something like that you could easily cycle through a ton without a clutterfest.
To achieve this, I started by removing the ghost's weapons and giving him the behavior 'give canister rifle'(ghost weapon) which is set to give him a buff with a give weapon modification. I then set up an ability/button to call Effect: Set which adds 'give canister rifle' and removes 'give crucio shock cannon' (siege tank:siege mode), and another one to do vice-versa. So it adds the tank weapon just fine, removes it just fine, but seems to refuse to add the ghost's ORIGINAL weapon. To verify I threw a gauss rifle and spectre gauss rifle in there, and that worked just fine. To further verify I tossed these abilities on a freaking ultralisk, and they worked just fine on him too. Just for some reason, it absolutely refuses to give the Ghost his own gun, what gives?
You mean ike my ancient demo sorting the problem from the 26/June/2011? Here have another copy on this thread.
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
Yes I've seen this one before. So the trick is to apply default weapon to the unit itself, and have every different weapon disable that behavior while it is on it would seem. Ty again.