I created a custom unit that uses the Xelnaga Tower's Tower Control ability with Radar. So, instead of gaining vision when you are near it, you gain Radar. The problem is that I also want my map to start with Black Mask, but radar blips only show up in Fog of War.
So, I would like to create an AOE Behavior/Effect for the Unit, which reveals the Black Mask around the unit but leaves the Fog of War remaining. That way, I won't need to rely on just the Minimap to see the radar blips of enemy units. I COULD probably set up a trigger for this, but that would be messier and more confusing due to the the changing unit control.
Any suggestions? I am not very good at creating Effects/Behaviors from scratch, so examples, or else detailed instructions, would be much appreciated. Thanks in advance!
The Actor - Fog Visibility field is a good start under the actor for the blip. Or create a Buff behaviour with a periodic Search effect that applies a Buff behaviour with an Apply Behavior effect which then creates a fog visible Model actor.
Or create a Buff behaviour with a periodic Search effect that applies a Buff behaviour with an Apply Behavior effect which then creates a fog visible Model actor.
I found Buffs -> Radar -> Effect -> Effect - Periodic. So then, I should create a Search Effect. Effects -> Scanner Sweep came to mind. So, I duplicated Scanner Sweep as "Custom Search Effect", with no linked actors, models, or sounds. On the Effect tab, I set Expire Delay to 0, left Periodic Count at 0. On the Search tab, the Reveal Flags look important, but the only fog-related checkbox is "Unfog", which reveals Fog of War, so I unchecked that.
The non radar workaround is you create an aura like the mothership cloak that can target any unit that is not visible and applies a Buff behaviour to them. You then use a copy of the fungal growth Model actor that is modified to be created and destroyed by that behaviour.
I created a custom unit that uses the Xelnaga Tower's Tower Control ability with Radar. So, instead of gaining vision when you are near it, you gain Radar. The problem is that I also want my map to start with Black Mask, but radar blips only show up in Fog of War.
So, I would like to create an AOE Behavior/Effect for the Unit, which reveals the Black Mask around the unit but leaves the Fog of War remaining. That way, I won't need to rely on just the Minimap to see the radar blips of enemy units. I COULD probably set up a trigger for this, but that would be messier and more confusing due to the the changing unit control.
Any suggestions? I am not very good at creating Effects/Behaviors from scratch, so examples, or else detailed instructions, would be much appreciated. Thanks in advance!
The Actor - Fog Visibility field is a good start under the actor for the blip. Or create a Buff behaviour with a periodic Search effect that applies a Buff behaviour with an Apply Behavior effect which then creates a fog visible Model actor.
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
Actors -> BlipVisual -> Actor -> Fog Visibility is set to Visible by default, so I am not sure what more can be changed there.
I found Buffs -> Radar -> Effect -> Effect - Periodic. So then, I should create a Search Effect. Effects -> Scanner Sweep came to mind. So, I duplicated Scanner Sweep as "Custom Search Effect", with no linked actors, models, or sounds. On the Effect tab, I set Expire Delay to 0, left Periodic Count at 0. On the Search tab, the Reveal Flags look important, but the only fog-related checkbox is "Unfog", which reveals Fog of War, so I unchecked that.
So now, to create a Model. I found <http://www.sc2mapster.com/forums/development/data/12572-adding-a-model-onto-an-effect/#p2>, but I am still unsure how to do it. I also checked out <http://www.sc2mapster.com/wiki/galaxy/data/effects/>, but I am not sure which subtopic is for creating models. Is there a good thread, wiki, or data example I could look at to learn how to create the Model?
Radar uses the hard coded BlipVisual actor.
The non radar workaround is you create an aura like the mothership cloak that can target any unit that is not visible and applies a Buff behaviour to them. You then use a copy of the fungal growth Model actor that is modified to be created and destroyed by that behaviour.
There is an actor type called Model.
http://www.sc2mapster.com/wiki/galaxy/data/actors/type/model/
Also look at the tutorials by ProzaicMuse on attachments.
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