1. I have unit, that is morphed to another unit via trigger with transfer behavior effect. That unit have pernament behavior, that I wan't to be active on first unit, but not on second. So first idea is to
Validator: Filters Required: Massive
But looks like it isn't working when behavior is transfered (behavior is not disabled after transfer) - looks like validator affect only first unit. Do you know any data workaround?
2. I don't want player to have alliance colors in game (red - enemy, yellow - ally, green - you), so disabled button in layout files. Problem is that when player join game with this option enabled, he still have it. How to fix it?
Just use a Morph ability to swap between the two units and have the second unit not have the behaviour or add a validator to the behaviour removing it via a Unit Type validator.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I can't use morph, because my units have too much abilities.
Also can't do it via unit type, because unit can morph to many other and they can be recognized via massive attribute.
Anyway fixed it by reapllying that particular behaviors instead of just tranfering them (not best solution, but...).
In my game there is human form, and alien form [more than one], and player can choose weapon for human form - so it need to be transfered [as behavior], so after morphing he still carry his weapon. Reapply solution will require additional maintenance (because some behaviors can't be reaplied), anyway it's fixed.
Need answer to second question, how to turn off ally colors ;)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
1. I have unit, that is morphed to another unit via trigger with transfer behavior effect. That unit have pernament behavior, that I wan't to be active on first unit, but not on second. So first idea is to Validator: Filters Required: Massive But looks like it isn't working when behavior is transfered (behavior is not disabled after transfer) - looks like validator affect only first unit. Do you know any data workaround?
2. I don't want player to have alliance colors in game (red - enemy, yellow - ally, green - you), so disabled button in layout files. Problem is that when player join game with this option enabled, he still have it. How to fix it?
Just use a Morph ability to swap between the two units and have the second unit not have the behaviour or add a validator to the behaviour removing it via a Unit Type validator.
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
I can't use morph, because my units have too much abilities. Also can't do it via unit type, because unit can morph to many other and they can be recognized via massive attribute. Anyway fixed it by reapllying that particular behaviors instead of just tranfering them (not best solution, but...).
Problem 2 is still unsolved.
So just adding a Unit Type vlaidator to the behaviour that validated the caster did not fix 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
Looks like caster validators are not updated after transfer behavior - some kind of bug?
Try using a data only solution, it is easier.
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
But doesn't work? Also, as I said unit type is useless for me, because I would need to create validator for every unit type that I'm using.
So every unit has a unique behaviour? What do all these behaviours do?
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
In my game there is human form, and alien form [more than one], and player can choose weapon for human form - so it need to be transfered [as behavior], so after morphing he still carry his weapon. Reapply solution will require additional maintenance (because some behaviors can't be reaplied), anyway it's fixed.
Need answer to second question, how to turn off ally colors ;)