i have got an idea for a funmap.
there some players must train huge armies and now i decided on making an auto train ability.
so you have got one button.
when you just click on it,
the structure will create a single type of this unit.
but if you rightclick on it you activate an autocast ability,
which trains 4 units of that type within one second.
is this possible - and how?
i really can't imagine to make a button with 2 different effects.
i already looked how blizzard did the carriers with their auto-cast but it seemed for me to be built up from another concept...
I saw this effect on the "Nexus Defense" map where the units auto-train by default via auto cast, so see if you can find that map and learn from it. Can't find it on curse though
yeah but i want it to be a button which can be clicked AND auto-cast. =)
thats perhaps the difficulty with it.
if i use your "strategy" there would also be a problem.
if you reach the supply limit the structure still trains units until you deactivate it and everytime the errormessage would show up. xD
yeah but i want it to be a button which can be clicked AND auto-cast. =) thats perhaps the difficulty with it. if i use your "strategy" there would also be a problem. if you reach the supply limit the structure still trains units until you deactivate it and everytime the errormessage would show up. xD
Robbepop
----
Effect - Issue Order
Link that to Ability - Effect - Instant, add auto cast option
Repeat the process
it bugged because of the allowed targets.
i had to set player as an available target ...
works now perfectly thanks!
just one last thing ... xD
i don't see now how much supply my units cost - am i able to set supply costs which just display but are no real costs?
Robbepop
edit: ok, another bug appeared. i have got 3 units which i now can auto-train. but i want that all 3 units can be auto-trained at the same time. the training time is set to 0, so it should be no problem. but when i right-click on all of them, just the last clicked unit is trained, the others not...
edit: i have to corretct my 2nd edit. it is not the last unit which got clicked by me but it is the strongest. i put all the 3 units in the train ability. 0 = fast unit, 1 = ranged and 2 = siege unit.
so when all are activated, siege unit will be made, if 0 and 1 are activated ranged units will be trained etc...
edit: ok im confused. when i activate all then ranged are trained. 0.o
i already did that.
but interceptors are another thing to train. they are ammo for the carrier and have got a leash range or something like that. so thats something i don't need. the bug i now have is the one i edited 3 times in my last post. xD
edit: ok, another bug appeared. i have got 3 units which i now can auto-train. but i want that all 3 units can be auto-trained at the same time. the training time is set to 0, so it should be no problem. but when i right-click on all of them, just the last clicked unit is trained, the others not...
edit: i have to corretct my 2nd edit. it is not the last unit which got clicked by me but it is the strongest. i put all the 3 units in the train ability. 0 = fast unit, 1 = ranged and 2 = siege unit. so when all are activated, siege unit will be made, if 0 and 1 are activated ranged units will be trained etc...
edit: ok im confused. when i activate all then ranged are trained. 0.o
hiho,
bump
im still having this bug or what i should call it.
can really nobody help me? o.o
i now waited really a long time perhaps the community now knows more and can help me ...
the bug still exists and im really not able to fix it - help! :-(
-> decribed above
thanks, but the thing is that it works perfectly until i auto-tain more than one different unit at the same time.
always just one of the chosen units is trained instead of all at the same time even if the training time is set to 0 seconds ...
I don't know about all at the same time, but what about another button that cycles between the 3 existing units? Set each train action as a variable and have the new button cycle through them that way... Train time would still be very fast, but shy of instant.
If that doesn't work or you don't prefer that route, try changing the autocast times between the 3 units so they /should/ fall in sync with eachother (although there may be a problem when the queue gets full; it may come out of order. Though, there may be a condition to set the next in queue according to what is last in queue.
Lastly, look into the ability that reactors grant to buildings. There may be a way to emulate this (not sure about for 3 units... it'd get you 2 at a time at least, and may be another good place to start.
Just a thought. ;)
Cheers!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hiho,
i have got an idea for a funmap. there some players must train huge armies and now i decided on making an auto train ability. so you have got one button. when you just click on it, the structure will create a single type of this unit. but if you rightclick on it you activate an autocast ability, which trains 4 units of that type within one second.
is this possible - and how? i really can't imagine to make a button with 2 different effects. i already looked how blizzard did the carriers with their auto-cast but it seemed for me to be built up from another concept...
Robbepop
bump
I saw this effect on the "Nexus Defense" map where the units auto-train by default via auto cast, so see if you can find that map and learn from it. Can't find it on curse though
hiho,
thank you for your reply. i will look if i can get it! :D
Robbepop
edit: seems that i can not find this map anywhere. can you tell me who created the map? or where to get it from?
idk where to get it from but it's one of the top maps on battle.net right now and it should show you the author there
hiho,
could you get the map for me if it isn't locked? i don't play on US but on EU... there are other popular maps.^^
Robbepop
All maps are locked iirc.
Name of map is actually Nexus Wars and author is LilMaN
Training units is an ability, so you can use the action "Order <building> to <train unit>"
hiho,
yeah but i want it to be a button which can be clicked AND auto-cast. =) thats perhaps the difficulty with it. if i use your "strategy" there would also be a problem. if you reach the supply limit the structure still trains units until you deactivate it and everytime the errormessage would show up. xD
Robbepop
Quote from Robbepop:
hiho,
yeah but i want it to be a button which can be clicked AND auto-cast. =) thats perhaps the difficulty with it. if i use your "strategy" there would also be a problem. if you reach the supply limit the structure still trains units until you deactivate it and everytime the errormessage would show up. xD
Robbepop
----
Effect - Issue Order
Link that to Ability - Effect - Instant, add auto cast option
Repeat the process
hiho,
i did that what you said. when i click on the button i train a unit which is good. but when i then activate auto-cast just nothing happens. 0.o
do you know what to do that it works for repeatly training my unit?
Robbepop
ability Autocast acquire level
hiho,
it bugged because of the allowed targets. i had to set player as an available target ...
works now perfectly thanks!
just one last thing ... xD i don't see now how much supply my units cost - am i able to set supply costs which just display but are no real costs?
Robbepop
edit: ok, another bug appeared. i have got 3 units which i now can auto-train. but i want that all 3 units can be auto-trained at the same time. the training time is set to 0, so it should be no problem. but when i right-click on all of them, just the last clicked unit is trained, the others not...
edit: i have to corretct my 2nd edit. it is not the last unit which got clicked by me but it is the strongest. i put all the 3 units in the train ability. 0 = fast unit, 1 = ranged and 2 = siege unit. so when all are activated, siege unit will be made, if 0 and 1 are activated ranged units will be trained etc...
edit: ok im confused. when i activate all then ranged are trained. 0.o
Go look at how Carriers make interceptors, since you can autocast them.
hiho,
i already did that. but interceptors are another thing to train. they are ammo for the carrier and have got a leash range or something like that. so thats something i don't need. the bug i now have is the one i edited 3 times in my last post. xD
Robbepop
hiho,
bump
im still having this bug or what i should call it. can really nobody help me? o.o
Robbepop
hiho,
bump
i now waited really a long time perhaps the community now knows more and can help me ... the bug still exists and im really not able to fix it - help! :-( -> decribed above
Robbepop
edit:
here a picture of a part of the bug ... http://img809.imageshack.us/img809/5585/zwebug.jpg as you can see i also got problems with the icons. but the other problem is much more important to fix !
@Robbepop: Go
Hey, I think i might know why you are getting this bug it happened to me. If you set the Ability Command wrong in effects.
I have mine set up to auto train marines the ability command is 1 in train barracks but when setting it up in effects it is actually 0
so the Barracks train ability marine is 1 reaper is 2 ghost is 3 and so on
but in effects marine is 0 reaper is 1 ghost is 2
It starts at 0 not 1 in effects
Effects - Issue Order - Train Marine - Ability - Ability Command is 0
Abilities - Barracks - Train - Ability Commands - Train Marine is 01
Just something to check
hiho,
thanks, but the thing is that it works perfectly until i auto-tain more than one different unit at the same time. always just one of the chosen units is trained instead of all at the same time even if the training time is set to 0 seconds ...
Robbepop
@Robbepop: Go
I don't know about all at the same time, but what about another button that cycles between the 3 existing units? Set each train action as a variable and have the new button cycle through them that way... Train time would still be very fast, but shy of instant.
If that doesn't work or you don't prefer that route, try changing the autocast times between the 3 units so they /should/ fall in sync with eachother (although there may be a problem when the queue gets full; it may come out of order. Though, there may be a condition to set the next in queue according to what is last in queue.
Lastly, look into the ability that reactors grant to buildings. There may be a way to emulate this (not sure about for 3 units... it'd get you 2 at a time at least, and may be another good place to start.
Just a thought. ;)
Cheers!