How do I make my mothership to shoot 10 lasers at 10 different targets ?
I want my mothership to attack somewhat like the carrier. So when there are 10 hydralisk, it will shoot 10 different units
but when there is only 1 carrier to fight, I want my mothership to shoot all 10 lasers at that 1 unit.
So it's like if I just use attack on the map terrain towards where the units are, it will attack separately
but if I attack on 1 unit, it will only shoot all 10 at one.
And this is the list what I've changed to make it happen but it just made the mothership to attack in a thicker version of 2 mothership
lasers that deal damage just like a Void Ray. It takes some time to do a lot of damage.
And then I did the same to Mothership Secondary Beam (Persistent)
This didn't work so I thought it must be the effect.
So I added Mothership Third Beam (Persistent) by copying
the Secondary Beam (Persistent) and added on
Mothership (Set) -> Effect -> Effects on the third line.
The reason you're getting beams damaging over a longer period of time is because you've modified the Period value of the Persistent Effect. When the Mothership's weapon fires at a target, it first creates a Set Effect which then creates two Persistent Effects, one for each of the two beams. These Persistent Effects create Damage Effects every so often; the exact time between them is defined by Periodic Duration. Changing the number of Periods does not make a new beam, it just extends the lifetime of the existing one.
Changing the Period of the weapon itself also just makes it fire rapidly at the same target, creating multiple overlapping beams. The Display Attack Count is a purely cosmetic value and affects nothing other than what you see when you mouseover the attack icon.
In order to get many beams hitting many targets at once, here's what you need to do.
Create a Search Area Effect. This will scan a designated area and locate targets within it, then apply an Effect to each one it finds. You'll want to set this Effect so that its radius is equal to the weapon's range (otherwise you'll be shooting targets farther away than you should be able to) and so the number of maximum targets is how many beams you want the Mothership to fire. Then, for each target the Search Area Effect locates, have it trigger one of the already-existing Persistent Effects.
That should get you the result you're looking for.
Oh, and you'll probably want to lower the Period of the Persistent Effect back to it's normal value, unless you want to retain the longer-duration beam.
Unfortunately, this does not allow you to fire all of the beams at a single target if there's only one available. That would probably require Attachments with their own independent weapons and targeting, which is a lot more complicated than just making the beam multi-target.
There is a simpler way to get the mother ship to launch multiple beams at multiple targets
This is the Method i use: A Create Persistent Effect with multiple periods and periodic offsets
the Periodic effect for this is a search area that finds 1 target and on that target applies the persistent behavior that initiates the Mothership Beam.
if you wish to have both lasers firing at the multiple targets you would need sets with both the Main Beam and the Secondary Beam periodic effects.
I hope this is some help
I did that search area thing and I'm not so sure. I think It's just that I changed the attack speed so it's shooting many lasers but attacking 1 by 1. Not 1 laser per 1 unit.
Did I do it wrong again ? lol
Effects ->
Mothership Beam (Damage)
Search - Area + :
Arc: 360.0
Maximum Count: 10
Radius: 7
Search - Maximum Count: 20
Search - Minimum Count: 20
---------
Mothership Beam (Persistent)
Period Count: 1
---------
Weapons -> Purifier Beam
Stats - Period: 0.2000
Stats - Range : 7
UI - DIsplay Attack Count : 26 (This is because I forgot to change it.
before I wanted 26 and now I want 20.
Although I said 10 lasers, I failed so I fixed it again to see some
visible change.
Isn't UI display attack count just like a text after all that changes nothing
but just giving information as a text ?
How do I make my mothership to shoot 10 lasers at 10 different targets ?
I want my mothership to attack somewhat like the carrier. So when there are 10 hydralisk, it will shoot 10 different units but when there is only 1 carrier to fight, I want my mothership to shoot all 10 lasers at that 1 unit.
So it's like if I just use attack on the map terrain towards where the units are, it will attack separately but if I attack on 1 unit, it will only shoot all 10 at one.
And this is the list what I've changed to make it happen but it just made the mothership to attack in a thicker version of 2 mothership lasers that deal damage just like a Void Ray. It takes some time to do a lot of damage.
--------------------------mothership
effects ->
--------Mothership Beam (Damage) ->
Maximum Count: 26 Minimum Count: 1
--------Mothership Beam (Persistent)
Effect - Period Count: 13 Target - Marker+ : Count: 13
--------And then I did the same to Mothership Secondary Beam (Persistent)
This didn't work so I thought it must be the effect. So I added Mothership Third Beam (Persistent) by copying the Secondary Beam (Persistent) and added on
Mothership (Set) -> Effect -> Effects on the third line.
--------Changed Weapons - Purifier Beam to
Stats - Period : 0.20000
Display Attack Count : 26
The reason you're getting beams damaging over a longer period of time is because you've modified the Period value of the Persistent Effect. When the Mothership's weapon fires at a target, it first creates a Set Effect which then creates two Persistent Effects, one for each of the two beams. These Persistent Effects create Damage Effects every so often; the exact time between them is defined by Periodic Duration. Changing the number of Periods does not make a new beam, it just extends the lifetime of the existing one.
Changing the Period of the weapon itself also just makes it fire rapidly at the same target, creating multiple overlapping beams. The Display Attack Count is a purely cosmetic value and affects nothing other than what you see when you mouseover the attack icon.
In order to get many beams hitting many targets at once, here's what you need to do.
Create a Search Area Effect. This will scan a designated area and locate targets within it, then apply an Effect to each one it finds. You'll want to set this Effect so that its radius is equal to the weapon's range (otherwise you'll be shooting targets farther away than you should be able to) and so the number of maximum targets is how many beams you want the Mothership to fire. Then, for each target the Search Area Effect locates, have it trigger one of the already-existing Persistent Effects.
That should get you the result you're looking for.
Oh, and you'll probably want to lower the Period of the Persistent Effect back to it's normal value, unless you want to retain the longer-duration beam.
Unfortunately, this does not allow you to fire all of the beams at a single target if there's only one available. That would probably require Attachments with their own independent weapons and targeting, which is a lot more complicated than just making the beam multi-target.
@JimStarluck
There is a simpler way to get the mother ship to launch multiple beams at multiple targets
This is the Method i use: A Create Persistent Effect with multiple periods and periodic offsets
the Periodic effect for this is a search area that finds 1 target and on that target applies the persistent behavior that initiates the Mothership Beam.
if you wish to have both lasers firing at the multiple targets you would need sets with both the Main Beam and the Secondary Beam periodic effects.
I hope this is some help
Can be done with switches, a series of buffs like the leviathan tentacles or just using markers.
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
@JimStarluck: Go
I did that search area thing and I'm not so sure. I think It's just that I changed the attack speed so it's shooting many lasers but attacking 1 by 1. Not 1 laser per 1 unit.
Did I do it wrong again ? lol
Effects ->
Mothership Beam (Damage)
Search - Area + :
Arc: 360.0
Maximum Count: 10
Radius: 7
Search - Maximum Count: 20 Search - Minimum Count: 20
---------Mothership Beam (Persistent)
Period Count: 1
---------Weapons -> Purifier Beam
Stats - Period: 0.2000
Stats - Range : 7
UI - DIsplay Attack Count : 26 (This is because I forgot to change it. before I wanted 26 and now I want 20.
Although I said 10 lasers, I failed so I fixed it again to see some visible change.
Isn't UI display attack count just like a text after all that changes nothing but just giving information as a text ?
@vailreth: Go
THat sounds a little hard. I need to know the details on what to change. =[ I'm new.