Page 1 of 1

Auto-Target Paralyzers

Posted: 18 Aug 2009, 22:07
by Noruas
Because there are auto skirmishers and auto raiders, yadadaa, how bout a lua widget that automatically aims to the next target when its confirmed paralyzed for 3-5 seconds at least.

Re: Auto-Target Paralyzers

Posted: 18 Aug 2009, 22:49
by Caydr
I'd approve of this one, paralyzers are IMHO an exception to my rule that auto-micro is lame. All other units in the game are made intelligent enough to realize they've finished their job and it's time to move on to the next target, unlike paralyzers, which will just continue shooting their current target endlessly.

Fire states could be used to control its behavior. Hold fire would be similar to current behavior, fire at will would perform active target seeking.

Re: Auto-Target Paralyzers

Posted: 18 Aug 2009, 23:09
by momfreeek
Caydr wrote:auto-micro is lame
boring micro is lame

I don't want dumb schmucks, I want an army of highly intelligent automations to order around! I want them to think for themselves, avoid enemy fire and if they're getting pummelled run away! When I do something stupid, I want them refusing my orders, revolting and deciding to build their own empire instead. vive la revolutione!!

Re: Auto-Target Paralyzers

Posted: 18 Aug 2009, 23:44
by lurker
It's not that much effort to tune the targetting code for this, too.

Re: Auto-Target Paralyzers

Posted: 19 Aug 2009, 00:35
by Tobi
TargetWeight COB function.

EDIT: not sure how easy it is to get paralyzeDamage in COB though, might need call to Lua or just wait for Lua unit scripts.

Re: Auto-Target Paralyzers

Posted: 19 Aug 2009, 08:55
by Google_Frog
Isn't this already their behavior? I'm sure it works with bladewings, select a group of bladewings and tell them to rectangle attack a few enemy units and they will move on when one is stunned. Set the bladewings to repeat and all the enemies should remain stunned.

Re: Auto-Target Paralyzers

Posted: 19 Aug 2009, 14:10
by JohannesH
just use attack+draw. Theyll switch targets that way.

Re: Auto-Target Paralyzers

Posted: 19 Aug 2009, 17:05
by AF
These sorts of things belong as enhanced unit AIs written in gadgets not as user widgets.

Re: Auto-Target Paralyzers

Posted: 19 Aug 2009, 20:16
by Tobi
Google_Frog wrote:Isn't this already their behavior? I'm sure it works with bladewings, select a group of bladewings and tell them to rectangle attack a few enemy units and they will move on when one is stunned. Set the bladewings to repeat and all the enemies should remain stunned.
Yes, target priority is multiplied by 4 if unit is stunned (lower prio = targetted earlier), but I found in practice (for XTA spiders at least) other factors have much more influence (proximity).

I got slightly better results already by setting proximitypriority=0 for the weapon.