I am trying to make a Dropship create 1 Marine in its cargo every 10 seconds. If the Dropship is fully loaded with Marines or other units, it no longer produces Marines. The Marines that are produced inside the Dropship can be unloaded, just as ordinary units.
Any ideas how to create this? It seems to be more tricky than I thought...
Yea, I tried to make an Arm Magazine ability for the Dropship where it creates Marines. But those Marines do not count as the cargo slots, they count as ammo in the magazine. So they could not be loaded or unloaded
I also tried to give a buff to the Dropship that periodically creates a Marine every 10 second. But the Marine can not be created inside the cargo, only on the ground below the Dropship : /
Ah yes, similar to how the bunkers do in Stukov coop!
Is it possible to make the trigger have its own timer per Dropship?
For example, I build my first Dropship and it finishes exactly at game time 03.50. The trigger creates a Marine inside each Dropship every 10 seconds. So at 4.00 it creates a Marine inside it.
My second Dropship is completed at 4.05. At 4.10, the first Dropship creates a Marine in it. At 4.15, the second Dropship creates a Marine in it. At 4.20 the first Dropship creates a Marine in it, at 4.25 the second Dropship creates a Marine... (10 second interval)
Then my first Dropship is put in a Stasis field for 1 minute. It does not create any Marines during that time... My second Dropship then receives a buff that slows all time by 50%, so the Marine is created every 15 seconds instead of 10 seconds...
It is possible for a trigger to keep track of all these things? Or is it just much easier to make the trigger create a Marine every 10 seconds flat?
One route would be to give the medivac a behavior which has a dummy periodic effect. A trigger event could catch when the dummy effect goes off, then you could create the cargo units. There's probably an all data method too, but I'm feeling lazy :P
I am trying to make a Dropship create 1 Marine in its cargo every 10 seconds. If the Dropship is fully loaded with Marines or other units, it no longer produces Marines. The Marines that are produced inside the Dropship can be unloaded, just as ordinary units.
Any ideas how to create this? It seems to be more tricky than I thought...
You mean like, Reaver's scarab and Carrier's interceptor ? But can be load / unload manually ?
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
Yea, I tried to make an Arm Magazine ability for the Dropship where it creates Marines. But those Marines do not count as the cargo slots, they count as ammo in the magazine. So they could not be loaded or unloaded
I also tried to give a buff to the Dropship that periodically creates a Marine every 10 second. But the Marine can not be created inside the cargo, only on the ground below the Dropship : /
I will take a look when i get back from work tonight.
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
Like the infested bunkers in coop? You probably need to use the Create Cargo Units trigger action.
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
Ah yes, similar to how the bunkers do in Stukov coop!
Is it possible to make the trigger have its own timer per Dropship?
For example, I build my first Dropship and it finishes exactly at game time 03.50. The trigger creates a Marine inside each Dropship every 10 seconds. So at 4.00 it creates a Marine inside it.
My second Dropship is completed at 4.05. At 4.10, the first Dropship creates a Marine in it. At 4.15, the second Dropship creates a Marine in it. At 4.20 the first Dropship creates a Marine in it, at 4.25 the second Dropship creates a Marine... (10 second interval)
Then my first Dropship is put in a Stasis field for 1 minute. It does not create any Marines during that time... My second Dropship then receives a buff that slows all time by 50%, so the Marine is created every 15 seconds instead of 10 seconds...
It is possible for a trigger to keep track of all these things? Or is it just much easier to make the trigger create a Marine every 10 seconds flat?
Ok, i've tested the carrier and the reaver, and even the zerg hive's larvas.
It might be doable using pure data editing, new skills and behaviors etc.
Yes, it is possible via triggers, it might even be easier and faster to just use triggers.
But let me run few more test.
Perhaps there is a way to make this work using 'simple' data editing.
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
Ok, upon further testing i regratefully have to inform you that it is indeed easier to just use triggers.
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
Thanks for giving it a try!
One route would be to give the medivac a behavior which has a dummy periodic effect. A trigger event could catch when the dummy effect goes off, then you could create the cargo units. There's probably an all data method too, but I'm feeling lazy :P
The Iterate Transport/Magazine/Inventory effects cannot be used to create units inside stuff.
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