HDIAndrew / EFS

12 stars 0 forks source link

Mapeditor cannot handle more than 6 units per slot #99

Closed Luxor70 closed 1 year ago

Luxor70 commented 1 year ago

Description:

When adding more than 6 subunits in a slot, map editor doesn't allow you to add 7th slot or higher to map

Expected behavior: Mapeditor should allow 12 subunits per slot

Actual behavior: Only 6 are placeable

Game version:

1.5 Vanilla

Steps to reproduce:

Replace these lines in unit.dat

{45
"name" "Noble Retinue" "1" "abbrev" "Noble" "stats" "foot 45 8 5 4 5 20 40 0 0 0 0 3 20 0 0 6 50 0 0 0 0 0 0 0 0 0 1 0 100 1000 100 0 5 1 5 0 0 0 0 0 0 10 0 -1 -1 0 77 18 99 79 0 0 0 0 0 0 0 0 0 1 0 1 8 1 0" "art" "noble.flc" "efsunit.bin" "name" "Li Halan Noble Retinue" "1" "abbrev" "Li Halan" "stats" "foot 45 8 5 4 5 20 40 0 0 0 0 3 20 0 0 6 50 0 0 0 0 0 0 0 0 0 1 0 100 1000 100 0 5 1 5 0 0 0 0 0 0 10 0 -1 -1 0 0 18 99 79 0 0 0 0 0 0 0 0 0 1 0 1 8 1 0" "art" "noble.flc" "same" "name" "Hazat Noble Retinue" "1" "abbrev" "Hazat" "stats" "foot 45 8 5 4 5 20 40 0 0 0 0 3 20 0 0 6 50 0 0 0 0 0 0 0 0 0 1 0 100 1000 100 0 5 1 5 0 0 0 0 0 0 10 0 -1 -1 0 1 18 99 79 0 0 0 0 0 0 0 0 0 1 0 1 8 1 0" "art" "noble.flc" "same" "name" "Decados Noble Retinue" "1" "abbrev" "Decados" "stats" "foot 45 8 5 4 5 20 40 0 0 0 0 3 20 0 0 6 50 0 0 0 0 0 0 0 0 0 1 0 100 1000 100 0 5 1 5 0 0 0 0 0 0 10 0 -1 -1 0 2 18 99 79 0 0 0 0 0 0 0 0 0 1 0 1 8 1 0" "art" "noble.flc" "same" "name" "Hawkwood Noble Retinue" "1" "abbrev" "Hawkwood" "stats" "foot 45 8 5 4 5 20 40 0 0 0 0 3 20 0 0 6 50 0 0 0 0 0 0 0 0 0 1 0 100 1000 100 0 5 1 5 0 0 0 0 0 0 10 0 -1 -1 0 3 18 99 79 0 0 0 0 0 0 0 0 0 1 0 1 8 1 0" "art" "noble.flc" "same" "name" "al-Malik Noble Retinue" "1" "abbrev" "al-Malik" "stats" "foot 45 8 5 4 5 20 40 0 0 0 0 3 20 0 0 6 50 0 0 0 0 0 0 0 0 0 1 0 100 1000 100 0 5 1 5 0 0 0 0 0 0 10 0 -1 -1 0 4 18 99 79 0 0 0 0 0 0 0 0 0 1 0 1 8 1 0" "art" "noble.flc" "same" "name" "Battlemaster Retinue" "1" "abbrev" "Battlemaster" "stats" "foot 45 8 6 4 8 30 65 0 0 0 0 3 20 0 0 10 80 0 0 0 0 0 0 0 0 0 1 0 200 2000 200 0 0 0 1 0 0 0 0 0 0 0 0 45 0 0 99 2 99 80 48 0 0 0 0 0 0 0 0 1 0 1 8 1 0" "art" "blade.flc" "blade.bmp" }

Additional information:

image

Matt-Caspermeyer commented 1 year ago

Hmmm...

I'm able to add through the total of the 12 units in the unit slot, so I'm not certain what is going on here.

So please try the attached ZIP files and see if it works for you: efs.zip

Just extract to the same folder structure in the ZIP, overwriting MOD.INI and ensuring that there is a Hyperion folder under the EFS\MOD folder.

You should see something like this when adding on the space or planetary maps:

2022-10-27

2022-10-27 (1)

Luxor70 commented 1 year ago

I Will try later, but have you actually placed a 7th slot or higher unit on the map? I can have too the 12 slots showing up, but the bug happens to me when actually placing the unit on the ground

Matt-Caspermeyer commented 1 year ago

I Will try later, but have you actually placed a 7th slot or higher unit on the map? I can have too the 12 slots showing up, but the bug happens to me when actually placing the unit on the ground

Okay - I think I see where the problem is. It's in the selection of the checkboxes. It lists units correctly, but it does not allow selecting the checkboxes correctly beyond the 6th unit. Okay - I'll look into fixing that...

Luxor70 commented 1 year ago

:-)

Matt-Caspermeyer commented 1 year ago

I have an update on this issue.

This issue has been fixed and will be provided in a future update.

It is currently undergoing our review and merge process and I'm hoping this will happen soon so that it can go into the first V1.51 beta.

Luxor70 commented 1 year ago

Cool, thanks :-)