The queen has an ability that when it targets a zerg ground unit, that unit morphs into an egg and then 2 of the same kind comes out of the egg. But it costs the units resources and it takes it build time.
I thought of making each unit have a hidden "larva - train ability" and that the queen via her ability forces it to start the train ability. So, it morphs into an egg (just like an larva would) and then x seconds later it pops out an additional unit for the resource cost.
How can I make the queen force different kinds of units to use their train ability?
I don´t want a zergling to become a hydralisk, so to say.. It must produce one of it´s own kind.
So for example, if I target a Hydralisk, the hydralisk becomes a egg, I lose 100 minerals / 50 gas and 25 seconds later the egg hatches and 2 hydras pop.
Use a Create Unit effect that has nothing in the unit field, that can be used to clone the target.
But the Queen will have a target ability. When it targets a zerg unit, resources are drained and supplies are required to enable the unit to morph into an egg. And when the egg is completed, 2 units of that kind pop. Otherwise, the queen can just clone units how much she want.
Can you develop your thoughts?
Ok cost wise would be tedious no matter how you do it.
1) Have all units have a behaviour that makes them drain their build cost on birth but is disabled unless a second buff is present which is added by the create unit effect.
2) Have a ton load of Set effects that use the Modify Player effect to cost resources and then create the indivisual units (load of work).
3) Make the eggs train the units using a changeling like search to issue order on caster that is applied to the created egg on creation (will need a ton of Unit Type validators).
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
For this task, I would probably use trigger assistance. I would create a base egg, which can morph into all your desired units (similar to a larva). If your queen uses her ability, spawn the egg via trigger and issue the order based on the type of the target unit. If the egg failed to morph, remove it.
DrSuperEvil's 3 methods all could work, but all of them require a huge amount of data work, I feel like using a simple trigger here might save you a lot of time.
Thanks for your input. Hm.. It all feels very advanced.
But if I use a specialize ability and all units work like larvas?
If I make each unit (Zergling, Hydralisk, Drone etc) have an individual Larva - train ability.
Zerglings train ability only has 1 train slot: zerglings. Hydralisks have 1 train slot on their ability: Hydralisks Etc.
I hide the ability and the command card on the Zergling/Hydralisk/Drone etc.
These train abilities works like the train ability on the larva: when activated the units morph into an egg and after build time finishes a unit pops.
If the Queen uses a specialize ability with all of this individual larva - train abilities added to it, can she in some way by targeting a unit force that unit to use it´s train ability?
There must be a way for the queen to force a unit to activate it´s ability, right?
The Issue Order effect. So you basicly want to reduce it down to you click a button on the Specialize ability, it uses a Search Area effect to find a single larva and then uses Issue Order to tell it to morph into a specific unit?
The larvae has the Train ability to train into all units.
The queen has an ability that when it targets a zerg ground unit, that unit morphs into an egg and then 2 of the same kind comes out of the egg. But it costs the units resources and it takes it build time.
I thought of making each unit have a hidden "larva - train ability" and that the queen via her ability forces it to start the train ability. So, it morphs into an egg (just like an larva would) and then x seconds later it pops out an additional unit for the resource cost.
How can I make the queen force different kinds of units to use their train ability?
I don´t want a zergling to become a hydralisk, so to say.. It must produce one of it´s own kind.
So for example, if I target a Hydralisk, the hydralisk becomes a egg, I lose 100 minerals / 50 gas and 25 seconds later the egg hatches and 2 hydras pop.
Effect Set which contains all orders and a validator to order only the correct unit types?
Use a Create Unit effect that has nothing in the unit field, that can be used to clone the target.
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
lol really? so much hidden treasures
But the Queen will have a target ability. When it targets a zerg unit, resources are drained and supplies are required to enable the unit to morph into an egg. And when the egg is completed, 2 units of that kind pop. Otherwise, the queen can just clone units how much she want. Can you develop your thoughts?
Ok cost wise would be tedious no matter how you do it.
1) Have all units have a behaviour that makes them drain their build cost on birth but is disabled unless a second buff is present which is added by the create unit effect.
2) Have a ton load of Set effects that use the Modify Player effect to cost resources and then create the indivisual units (load of work).
3) Make the eggs train the units using a changeling like search to issue order on caster that is applied to the created egg on creation (will need a ton of Unit Type validators).
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
For this task, I would probably use trigger assistance. I would create a base egg, which can morph into all your desired units (similar to a larva). If your queen uses her ability, spawn the egg via trigger and issue the order based on the type of the target unit. If the egg failed to morph, remove it.
DrSuperEvil's 3 methods all could work, but all of them require a huge amount of data work, I feel like using a simple trigger here might save you a lot of time.
Thanks for your input. Hm.. It all feels very advanced.
But if I use a specialize ability and all units work like larvas?
If I make each unit (Zergling, Hydralisk, Drone etc) have an individual Larva - train ability.
Zerglings train ability only has 1 train slot: zerglings. Hydralisks have 1 train slot on their ability: Hydralisks Etc.
I hide the ability and the command card on the Zergling/Hydralisk/Drone etc.
These train abilities works like the train ability on the larva: when activated the units morph into an egg and after build time finishes a unit pops.
If the Queen uses a specialize ability with all of this individual larva - train abilities added to it, can she in some way by targeting a unit force that unit to use it´s train ability?
There must be a way for the queen to force a unit to activate it´s ability, right?
The Issue Order effect. So you basicly want to reduce it down to you click a button on the Specialize ability, it uses a Search Area effect to find a single larva and then uses Issue Order to tell it to morph into a specific unit?
The larvae has the Train ability to train into all units.
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