Loading...
  OR  Zero-K Name:    Password:   

Artillery no fire zone widget proposition

7 posts, 642 views
Post comment
Filter:    Player:  
sort
10 years ago
Hello brave developers.

I'm proposing a widget for the behemot (and artillery). I play chickens a lot and sometimes, when diggers appear, the behe have this tendencies to shot three shells in your base when diggers appear. I bet this is also happening in team games with scythe for example...
So my proposal is to make a widget for arti, which will force the turret to aim only at units between a settable angle.

Is it doable ? I can try to make it myself but idk from where to start to make script for zerok.
+3 / -0

10 years ago
Perhaps repeat + area-attack might work
+0 / -0


10 years ago
Afaict area-attack is resolved into individual attack orders before even reaching other clients.

As in, you can't queue or repeat it.
+0 / -0
10 years ago
That is very easy to code.
If widget supports AllowWeaponTarget that is.
Simply checking if AttackerID is artillery and return "false,1", if targetID is inside of any anti-artillery circles.
+0 / -0


10 years ago
Widgets are not going to support AllowWeaponTarget. That would be a very expensive callin to ferry back and forth between widget and gadget land.

This sounds quite hard to do as a widget. Maybe someone could generalize the Keep Target command in a way with little extra performance impact. It may be able to have an area mode.
+0 / -0

10 years ago
Which is why i rely on annihilators against chickens :P
+0 / -0
10 years ago
Okay I'll try to make it. It will be my first widget AND my first time for lua language !
+2 / -0