warzone2100
warzone2100 copied to clipboard
Units assigned to a commander behave oddly when very far away
Describe the bug Units that are assigned to a command turret unit behave oddly. Namely, attack units will refuse to attack targets that are too far away from the commander, and will instead "wiggle" in place a certain distance away from the commander. This happens frequently with flamers that are assigned to commanders, usually when the target is at the very edge of the commander's attack range. Mobile Repair turrets that are too far away from their commanders are also unable to repair units. They follow damaged units and particles are shown, but no health is restored unless the commander is within close proximity.
To Reproduce Steps to reproduce the attack unit behavior:
- Build a command unit.
- Assign attack units to the commander (flamers work best for demonstration).
- Target a distant enemy using the commander.
- Observe how the flamers move towards the target, but either run back towards the commander after a certain distance, or simply "wiggle" in place.
Steps to reproduce the repair unit behavior:
- Build a command unit.
- Assign one or more mobile repair units to the commander.
- Let the assigned repair units follow a damaged friendly unit away from the commander.
- Observe how after a certain distance, repair units are unable to repair the damaged unit. Unassigning the repair units or moving them withing close proximity of the commander allows them to repair again.
Expected behavior Attacking units should be allowed to attack the parent commander's target regardless of the distance between themselves and the commander. Mobile repair units should be able to repair regardless of their distance from the parent commander.
Screenshots or Videos
These flamers are told to attack one of the enemy units shown, they will refuse to cross the area marked by the drawn red line, and will instead run back towards the commander, or "wiggle" around the boundry. They will only attack if the enemy moves closer, or the parent commander moves forward.
These mobile repair units assigned to a commander are attempting to repair this damaged unit, but since the commander is too far away, this unit is not being healed.
Your System:
- OS: Windows 7
- Game version: 3.4.1