I've been trying to replicate the way turrets display a range actor when they are being placed by the build ability for a building that has no weapons. The turret "Protect Range" actors link to the turret's weapon and are created that way, but for example Hive Mind Emulator has some other way to create the actor and I haven't figured out how it works.
What I want is the building that's being placed have a range actor around it, and the range preferably (but not necessarily) based on one of the abilities the building has (like Hive Mind Emulator does it, I just couldn't figure out how the references actually work). Any ideas?
Nevermind: Everything I was missing was in the actor called PlacementModel.
"PlacementModel" is the name of an actor (not a model) that creates all the default range actors, such as Photon Cannon, Missile Turret, and Hive Mind Emulator range actors. I didn't realize it at first because the same placement actor is used by all unit actors by default. It's referred in the "Art: Placement Model" field of each unit actor (not "Art: Model (Placement)").
I've been trying to replicate the way turrets display a range actor when they are being placed by the build ability for a building that has no weapons. The turret "Protect Range" actors link to the turret's weapon and are created that way, but for example Hive Mind Emulator has some other way to create the actor and I haven't figured out how it works.
What I want is the building that's being placed have a range actor around it, and the range preferably (but not necessarily) based on one of the abilities the building has (like Hive Mind Emulator does it, I just couldn't figure out how the references actually work). Any ideas?
Nevermind: Everything I was missing was in the actor called PlacementModel.
so you dont want a Range actor to show how far it can shoot from a placement location?
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
"PlacementModel" is the name of an actor (not a model) that creates all the default range actors, such as Photon Cannon, Missile Turret, and Hive Mind Emulator range actors. I didn't realize it at first because the same placement actor is used by all unit actors by default. It's referred in the "Art: Placement Model" field of each unit actor (not "Art: Model (Placement)").
Anyway, I already figured out all I needed.
Ah. Just thought you wanted the placement of towers to also show their max range as well.
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