Decentralisation of OccupyWeaponRange
Bug #895138 reported by
Nighthawk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
OccupyWeaponRange controls the range of all weapons when inside a garrisonned structure. Basically, no matter what the range is on the weapon, it will only ever follow this tag's value. I have two possible solutions.
1. Have a tag like:
Weapon.
2. A different tag:
Weapon.OccupyRange= - A separate range tag used for when this weapon is firing from within a garrisoned structure.
To post a comment you must log in.
The code related to occupiers firing out is really ugly, and a lot of it is tied to the first occupier. Can't really decouple it all without headaches. Additionally, there'd be a need to change the firing loop when not all occupiers can fire at a target, and that's no fun either.