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

Avoid bad targets

2 posts, 127 views
Post comment
Filter:    Player:  
sort
5 days ago
is there any way to have the option to avoid bad targets with commanders with heavy weapons
(Rocket comm, shock rifle, light particle beam) ?
Without avoid bad targets these commanders will target drones or could cause friendly fire
+0 / -0

5 days ago
The "Avoid Bad Targets" option isn't enabled for any of the commanders.

Enabling it requires editing either the unit lua files or the gadget that controls the behaviour.
Couldn't manage to get this to work with a "Unit Tweak", but it worked by creating a mutator overriding dynstrike1.lua.

basically:
customParams={
bait_level_default = 0,
}


This make the setting disabled by default, but can be enabled like on most units.

However, it breaks when a commander morphs. Resetting to the default value.
That might be fixable by someone more in the know than me.
+0 / -0