Topic: Hard coded weapons list. -> please remove
MarkMcWire Topic Opener |
Posted at: 2020-12-02, 10:24
In the DefaultAI.h there is a hard-coded list of weapon names, which ensure that the AI sets the corresponding weapons in the training facilities to the value 1. This list is incomplete. Axes and spears are set to 1, but swords are not. This is particularly noticeable among the Europeans, as they use axes and swords as a type of weapon.
Edited: 2020-12-02, 10:25
My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing Top Quote |
Nordfriese |
Posted at: 2020-12-02, 10:31
Known issue https://github.com/widelands/widelands/issues/3665 Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-12-02, 11:50
> *Nordfriese wrote:*
My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing Top Quote |
hessenfarmer |
Posted at: 2020-12-02, 12:16
Until finally fixed we can have the corredcted list first. Top Quote |
GunChleoc |
Posted at: 2020-12-02, 12:28
I am working on a general fix in https://github.com/gunchleoc/widelands/tree/ai-ware-categories That branch is still in a very experimental stage though. Busy indexing nil values Top Quote |