Page 5 of 5

Re: Loadout by Category

Posted: Thu May 29, 2025 6:26 am
by phkb
Krager wrote: Thu May 29, 2025 6:15 am
Дополнения по грузам на текущий момент.
I should point out that RUS_BulkCargoProcessor v1.5.oxz, RUS_Cargo_Shepherd v1.01.oxz, RUS_Auxiliary_Pylon v1.0.oxz and RUS_CargoSpotter v1.1.oxz don't do anything to the player's cargo space allocation. They're related to cargo, sure, but only in a secondary capacity.

And although RUS_HyperCargo v1.11.oxz does effectively change the players cargo capacity, it doesn't play around with the player.ship.cargoSpaceCapacity setting, so it wouldn't be impacted by the CargoSpaceCorrection mod.

Re: Loadout by Category

Posted: Thu May 29, 2025 6:29 am
by Krager
Можно сделать LoadoutByCategory одним файлом для разных версий OOlite? (1.9 и 1.91) Как и Ships_Library v0.10. Или в этом дополнении так не получиться?

Re: Loadout by Category

Posted: Thu May 29, 2025 6:56 am
by phkb
Krager wrote: Thu May 29, 2025 6:29 am
Можно сделать LoadoutByCategory одним файлом для разных версий OOlite? (1.9 и 1.91) Как и Ships_Library v0.10. Или в этом дополнении так не получиться?
Unfortunately I can't unify these two. In order to make use of the extra facilities in 1.91, I number things differently in the equipment-overrides.plist file. That prevents them from being unified, as there can only be one equipment-overrides.plist file per OXP.

Re: Loadout by Category

Posted: Sat May 31, 2025 10:02 am
by Krager
phkb wrote: Thu May 29, 2025 6:56 am
Нашёл еще один элемент который желательно поменять. На страницы F3-F3 при нажатии купить корабль, выскакивает информация об покупаемом корабле. И в этой информации вылезли категории оборудования.
В данном случае:
1. •• Общее/разное •• ------ General/Miscellaneous
2. •• Броня •• ------ Armour
3. •• Вооружение •• ------ Weaponry
Можно сделать чтоб на этом экране категории не выводились?
111.jpg
А самое интересное, что эта информация начинает выводиться только после добавления дополнения ShipVersion.
Без него происходить моментальная покупка.

Re: Loadout by Category

Posted: Sat May 31, 2025 12:38 pm
by phkb
Krager wrote: Sat May 31, 2025 10:02 am
А самое интересное, что эта информация начинает выводиться только после добавления дополнения ShipVersion.
Без него происходить моментальная покупка.
The reason for this issue is basically because both Ship Version and Loadout by Category are doing something funky behind the scenes between screen changes. With Loadout by Category, it's adding "equipment items" that aren't really equipment items, but act as section headers. It adds these headers whenever the F5 status screen is displayed, and removes them as soon as you change screens, so they wouldn't appear in game anywhere else.

Ship Version is intervening in the purchase ship process. Normally, after buying a ship, you are taken to the F5 status screen. What SV is doing is taking a snapshot of your original ship from before the purchase, and then, when you choose to buy a ship, it brings up a mission screen to ask what you want to do. But that mission screen is shown after going to the F5 Status screen. At this point, I think Loadout by category is getting caught in the melee of Javascript actions between gui screens. I'm not sure what the solution is yet. Might have a look at this tomorrow.

Re: Loadout by Category

Posted: Sat May 31, 2025 11:12 pm
by phkb
I think I've fixed the issue. A new version of LoadoutByCategory should be in the manager shortly.

To fix this, I basically had to add a small delay before adding the header equipment items to the F5 status screen, so that ShipVersion can do it's thing first.

Re: Loadout by Category

Posted: Sun Jun 01, 2025 5:42 am
by Krager
Не помогло. Всё равно выводятся пункты в описании.
555.jpg
Вчера писал на страницу дополнения ShipVersion, может проще будет его поправить.
viewtopic.php?p=300683#p300683

Re: Loadout by Category

Posted: Sun Jun 01, 2025 6:01 am
by phkb
Krager wrote: Sun Jun 01, 2025 5:42 am
Вчера писал на страницу дополнения ShipVersion, может проще будет его поправить.
viewtopic.php?p=300683#p300683
Don't hold your breath on that one. Norby, the original author, hasn't been around for 4 years, so he isn't likely to respond any time soon.

Can I get you to try something? Open the OXP up (unzip it if you're using it as an OXZ), and in the "Config" folder, edit the "script.js" file. On line 115 you should see something like this:

Code: Select all

	if (this._sum < 0.1) return;
Change that to this:

Code: Select all

	if (this._sum < 0.2) return;
And see if that makes a difference.

Re: Loadout by Category

Posted: Sun Jun 01, 2025 10:55 am
by Krager
Что то не нахожу и по поиску тоже ничего не находит.
1.jpg
Может сюда выложите несколько вариантов, а я проверю?
Или сюда можно закинуть:
https://cloud.mail.ru/public/qvEn/BEWg1bM8P

Re: Loadout by Category

Posted: Sun Jun 01, 2025 11:46 am
by phkb
Krager wrote: Sun Jun 01, 2025 10:55 am
Что то не нахожу и по поиску тоже ничего не находит.
You don't have the most recent version. You need to download version 1.5 and try that one. Here: LoadoutByCategory.oxz or LoadoutByCategory_190.oxz

Re: Loadout by Category

Posted: Sun Jun 01, 2025 6:58 pm
by Krager
Получилось, теперь в информации категории не отображаются. Супер)
01.jpg
Нашёл другую нестыковку.. Оборудование для покупки находиться в тех категориях, которые и нужны. А вот если оборудование куплено, строчка "ПРОДАТЬ -оборудование-" перемещается в категорию Общее/Разное (General/Miscellaneous). В принципе не критично, продать можно и оттуда)
02.jpg

Re: Loadout by Category

Posted: Sun Jun 01, 2025 10:27 pm
by phkb
Krager wrote: Sun Jun 01, 2025 6:58 pm
Нашёл другую нестыковку.. Оборудование для покупки находиться в тех категориях, которые и нужны. А вот если оборудование куплено, строчка "ПРОДАТЬ -оборудование-" перемещается в категорию Общее/Разное (General/Miscellaneous). В принципе не критично, продать можно и оттуда)
Except on my system it doesn't do that. Oolite 1.90 with just the "Sell Equipment", "Equipment 'Sell Item' Color" and "Loadout By Category" OXP's installed does this:
Image
I'm going to flag this one as non-critical for the moment. Hopefully as we move through all the other localisation issues the cause for this will become clearer.