Skip to content

Game, organizing troops, using the mouse, combining and separating troops of the same type #7884

@LeHerosInconnu

Description

@LeHerosInconnu

Preliminary checks

Describe the problem requiring a solution

In fheroes2, by clicking the central mouse button on a troop, you can fill the free slots of the hero's army with one creature from that troop.
Now, as far as I know, there is no action that allows you to combine all the troops of creatures of the same type into a single troop just by using the mouse.
To do this, you must press and hold the "Alt" key on the keyboard and then left-click on the troop where all the creatures of the same type in the hero's army will be combined.

I also suggest using the central mouse button to combine all troops of creatures of the same type into a single troop.

To do this, as long as there is at least one free slot in the hero's army, the central mouse button performs the same action as at present, i.e., as long as there is a free slot, it is filled with one creature from the starting group.
Now, when there are no more free slots, a click on the central mouse button could have the action of combining all creatures of the same type into a single troop, this troop being the one where the central mouse click is performed.
The current action of combining creatures into a troop using the keyboard can be conserved without any problem.

In fheroes2:
Each click on the central mouse button fills a free slot with one creature from the starting group:

2023-10-06.13-36-16.mp4

Here is the save file:
Middle click creature 01.zip

Describe the possible solution

Allow the central mouse button to combine all troops of creatures of the same type into a single troop.

To do this, as long as there is at least one free slot in the hero's army, the central mouse button performs the same action as at present, i.e., as long as there is a free slot, it is filled with one creature from the starting group.
Now, when there are no more free slots, a click on the central mouse button could have the action of combining all creatures of the same type into a single troop, this troop being the one where the central mouse click is performed.
The current action of combining creatures into a troop using the keyboard can be conserved without any problem.

Additional info

Version 1.0.8 7767

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementNew feature, request or improvementuiUI/GUI related stuff

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions