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

Strange widget/gadget bugs

12 posts, 912 views
Post comment
Filter:    Player:  
sort
11 years ago
1. Units ordered to chicken out/retreat no longer stays in the retreat area. Their retreat is overridden by manual commands. I think this is bad because I prefer that they go interrupted to the repair area. I guess it come down to personal preference but I think I would prefer if units would ignore other orders unless you removed the Chicken out level.

2. Units don't lose their "settarget" when ordered to stop, at least for me. The "Keep target", cmd_keep_target.lua, widget is on by default.
This means that units might keep shooting at a target even if the player has ordered the unit to stop.
Is there a command that both cancels settarget and the orders?
+0 / -0


11 years ago
1.
I'm fairly sure retreating units were always overriden by your orders. This could be an option, most likely if CarRepairer sees this and decides to implement it.

2.
In general there is no command which issues a stop and canceltarget orders at the same time. It could be added with a widget.
I don't use the "Keep Target" but I don't know how it could fail. If you send a command which is neither CMD.SET_WANTED_MAX_SPEED, CMD.MOVE, CMD_UNIT_SET_TARGET or CMD_UNIT_CANCEL_TARGET then a CMD_UNIT_CANCEL_TARGET command is sent to all selected non-factory and non-bomber units. Was your issue with bombers? Can you reliably cause it to fail?
+0 / -0
11 years ago
@[RD]Godde
1.
There is a new option in Game->UnitAI->Retreat called "Auto deselect retreating unit"

With this option,
when you select a bulk of unit (such as Ctrl+Z) it will automatically remove retreating unit from your selection. But when you select only retreating unit (such as when all available unit is dead) it don't remove retreating unit from you selection and you can still move the unit around.

This is new options and might be buggy or annoying, but try it out.
+0 / -0

11 years ago
@Godde - I remember when (1) wasn't the case and I can see why the "order override" happens - there is nothing so frustrating as a unit that keeps returning to the retreat zone when the retreat zone is compromised. Obviously the correct thing to do is clear the retreat zone (which isn't selectable and has to be cleared in a way that no other UI item uses), but when you're losing expensive brawlers panic sets in.
+0 / -0
Maybe make widget which automatically remove retreat zone which is occupied by enemy or out of LOS? (just a suggestion, I can't do that)
+0 / -0
11 years ago
quote:
1.
There is a new option in Game->UnitAI->Retreat called "Auto deselect retreating unit"

With this option,
when you select a bulk of unit (such as Ctrl+Z) it will automatically remove retreating unit from your selection. But when you select only retreating unit (such as when all available unit is dead) it don't remove retreating unit from you selection and you can still move the unit around.

This is new options and might be buggy or annoying, but try it out.
Interesting.
Although it seems buggy. My units don't always get deselected and sometimes the delay before they get deselected is like 1-2 seconds which is enough for me ti give them new commands.
Although the old behavior I remember was also bugged were some units would start taking orders again and following their new orders so it might not be that different.
+1 / -0
11 years ago
2. Situations where the "Keep target" is annoying.
a.You have a unit on hold fire. You order an attack on an enemy. Now your unit will keep firing at that enemy even if you tell it to stop.
b.You target an enemy factory while raiding but the enemy comes with their raiders and you would rather want your units to target the enemy units. But that requires you to cancel the settarget command or give an explicit attack order on an enemy. It is a bit unintuitive.
c.Also when the unit is using fight it keeps the settarget. So you might attack an enemy then order your units fight and the will keep firing at the the unit you first selected even though the fight command would have your units target something else. This behavior is fine but it is unintuitive that settarget have to be cancelled by an explicit settarget cancel instead of just a "stop" command.
+0 / -0
11 years ago
I got retreat Zone set to a hotkey so that is no problem for me Pxtl. :D
+0 / -0


11 years ago
I don't use the "Keep Target" widget, I just bound the commands to hotkeys. The widget exists partially as an example and mostly because I don't want to hide the entire settarget behaviour behind the UI. It implements reasonable default behaviour.
+0 / -0
11 years ago
Settarget used to be cancelled by standard "stop" commands. Just make it be like that again.
+0 / -0

11 years ago
I can definitely confirm that the target is kept, especially for ground units.
+0 / -0


11 years ago
2 is not fixed in stable. I have no idea about 1, it's all Carp and xponen code but they seem to be working on it.
+1 / -0