Page 1 of 3
Auto Skirm widget
Posted: 23 Dec 2008, 15:52
by Google_Frog
http://spring.jobjol.nl/show_file.php?id=1644
This makes idle skirmishers automatically move away from nearby enemies. It could be improved, atm it doesn't take into account complex situations like multiple attack directions but it will work most of the time so ignoring your skirmishers for a few seconds is much less punishing.
It's currently using CA unit names (should work with BA). Change the units that it thinks are skirms by changing unitArray in the lua file.
Re: Auto Skirm widget
Posted: 23 Dec 2008, 18:50
by Decimator
Excellent, I've been wanting something like this for nearly forever. Any chance of setting it up so it can use per mod settings?
Re: Auto Skirm widget
Posted: 23 Dec 2008, 18:58
by Gota
Oh no....
Re: Auto Skirm widget
Posted: 24 Dec 2008, 00:39
by Noruas
WHAT HAVE U DONE THIS IS THE END OF MICRO.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 01:12
by Google_Frog
Decimator wrote:Excellent, I've been wanting something like this for nearly forever. Any chance of setting it up so it can use per mod settings?
I think you can already do that. Add the unitnames from all the mods you want to the unitArray and they'll be treated like skirms.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 01:24
by Sheekel
Mod devs have the ability to block the use of certain widgets in their mods, right?
Re: Auto Skirm widget
Posted: 24 Dec 2008, 01:39
by aegis
yeah
Re: Auto Skirm widget
Posted: 24 Dec 2008, 02:16
by imbaczek
too bad that mod devs don't have the ability to stop file renames.
anyway, haven't looked at it yet, but i think that the widget's behavior can be used against the player running it.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 02:20
by Sheekel
imbaczek wrote:too bad that mod devs don't have the ability to stop file renames.
Dont the spring devs. think this is an issue?
If the user relies heavily on this widget in place of micro i can certainly see how it could be used against him
Re: Auto Skirm widget
Posted: 24 Dec 2008, 02:26
by lurker
If you want to block a widget, use a whitelist. If you just want to disable one by default, use a blacklist.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 03:27
by imbaczek
Sheekel wrote:Dont the spring devs. think this is an issue?
We do, but it's close to impossible to solve, so we're not bothering.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 03:54
by Google_Frog
This widget cannot replace skrim micro anyway. It simply makes them move away. When microing skirmishers there's choice involved that players must make; do they want to do the maximum damage with increased risk? which direction should they retreat in?
Re: Auto Skirm widget
Posted: 24 Dec 2008, 05:25
by smoth
Sheekel wrote:Mod devs have the ability to block the use of certain widgets in their mods, right?
I sure as fuck will block this.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 05:56
by lurker
smoth wrote:I sure as fuck will block this.
When all it does is make units run away? Heck, 'move away from enemies' could be an engine move state.
Now, if it gets developed into a viable skirmish AI that actively targets and monitors the terrain...
Re: Auto Skirm widget
Posted: 24 Dec 2008, 06:24
by beejayzed
Its seems as if the skirmisher has to be on hold fire for this to work.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 07:01
by Google_Frog
The skirmishers have to be on hold position or else the engine will give them attack orders and they won't count as idle anymore. When they hold position they still shoot at things but they don't get an order.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 08:58
by KDR_11k
smoth wrote:Sheekel wrote:Mod devs have the ability to block the use of certain widgets in their mods, right?
I sure as fuck will block this.
What for? It makes units turn around, in Gundam that's an invitation to shoot them in the back.
Yeah, those engine attack orders are annoying, they also set the hasUserTarget flag on the weapons which probably is what makes commandfire misbehave and make it harder to use the value to determine what's a manual attack command.
Re: Auto Skirm widget
Posted: 24 Dec 2008, 10:18
by TheFatController
It would be great if every new widget release didn't become a discussion about mod lua blocking so people could actually discuss the widget..
Re: Auto Skirm widget
Posted: 24 Dec 2008, 10:24
by Hoi
TheFatController wrote:It would be great if every new widget release didn't become a discussion about mod lua blocking so people could actually discuss the widget..
Re: Auto Skirm widget
Posted: 24 Dec 2008, 13:47
by Hacked
i don't understand why the most vocal forum users are so scared of lua recently
i believe the widget that auto moves units (built by other mobile units) was taken very well because it removed micro. people were happy and thankful. this widget might remove some micro as well, although most people are actually there in the heat of battle. this widget doesn't let you do anything special.
anyways, if there's a tag that indicates a limited horizontal weapon angle, this coupled with range and other stats might allow this widget to detect which units to handle. i think the whitelist is a little cumbersome
or perhaps a on/off state button on units?