[WIP] Ship's library OXP

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Krager
Above Average
Above Average
Posts: 17
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: [WIP] Ship's library OXP

Post by Krager »

Здравствуйте! В вашей библиотеке есть небольшой баг. Как в версии Ships_Library_v0.8.1 так и в версии RUS_Ships_Library_v0.9.
При переслистывании страниц вперёд потом перелистываем назад нормально. А вот если перед эти не просматривать, а зайти через оглавление, назад не перелистывает. Выдаёт по одной букве в верхнем левом углу и картинки. Посмотрите пожалуйста можно ли починить.

----
Hello! There is a small bug in your library. Both in version Ships_Library_v0.8.1 and in version RUS_Ships_Library_v0.9.
When flipping pages forward then flip back normally. But if you don't look through the table of contents but go through the table of contents, it doesn't flip back. Gives one letter in the upper left corner and pictures. Please see if it can be fixed.

Translit deepl.com.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5042
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: [WIP] Ship's library OXP

Post by phkb »

I can confirm the bug. I'll try to get a fix issued over the weekend.
Krager
Above Average
Above Average
Posts: 17
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: [WIP] Ship's library OXP

Post by Krager »

phkb wrote: Fri May 16, 2025 9:59 am
I can confirm the bug. I'll try to get a fix issued over the weekend.
Сделайте пожалуйста для обоих версий 1.9 и 1.91.
Подскажите, сейчас делаю на основе вашей библиотеки дополнение (справочник) не пойму как сделать отступы. Возможно можно ещё как то раскрасить текст? Или вставить в текст маленькие картинки?
Получилось только на фон картинку поставить.

---

Please make it for both versions 1.9 and 1.91.
Could you tell me, now I'm making an add-on (reference book) based on your library, I don't understand how to make indents. Perhaps it is possible to color the text in some other way? Or insert small pictures in the text?
I only managed to put a picture on the background.
Translit deepl.com
User avatar
Cholmondely
Archivist
Archivist
Posts: 5955
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: [WIP] Ship's library OXP

Post by Cholmondely »

Krager wrote: Fri May 16, 2025 2:03 pm
Сделайте пожалуйста для обоих версий 1.9 и 1.91.
Подскажите, сейчас делаю на основе вашей библиотеки дополнение (справочник) не пойму как сделать отступы. Возможно можно ещё как то раскрасить текст? Или вставить в текст маленькие картинки?
Получилось только на фон картинку поставить.
These may hopefully help...

*Columns in missionText (2015)
*Mission screen

I'm doubtful that there is any difference between 1.9 and 1.91 for Library... but Phkb will put me right if I'm wrong.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Krager
Above Average
Above Average
Posts: 17
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: [WIP] Ship's library OXP

Post by Krager »

phkb wrote: Fri May 16, 2025 9:59 am
I can confirm the bug. I'll try to get a fix issued over the weekend.
Ещё один момент, если в библиотеке находиться больше одной книги, во время полёта нет возможности выбора книги. Можно читать только первую в списке. Можно добавить возможность ручной сортировки книг на станции или выбор книги из устройства в полёте :)

---

One more thing, if there is more than one book in the library, there is no possibility to select a book during the flight. You can read only the first book in the list. It is possible to add the possibility of manual sorting of books at the station or selecting a book from the device in flight :).
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5042
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: [WIP] Ship's library OXP

Post by phkb »

Cholmondely wrote: Fri May 16, 2025 5:12 pm
I'm doubtful that there is any difference between 1.9 and 1.91 for Library... but Phkb will put me right if I'm wrong.
The big difference between 1.90 and 1.91 is the keyboard configuration, which has an impact on some of the keys you use in descriptions.plist to show them.

For example, here's a part of the missiontext.plist in the version for 1.90:

Code: Select all

"ingame-manual-ship-systems-lrc-text" = "...snip... Holding the 'Ctrl' key while pressing '[oolite_key_advanced_nav_array]' will instead highlight in cyan the quickest witchspace route. ...snip... available from high-tech shipyards.";
And here's the same bits from the 1.91 version:

Code: Select all

"ingame-manual-ship-systems-lrc-text" = "...snip... Holding the 'Ctrl' key while pressing '[oolite_key_advanced_nav_array_next]' will instead highlight in cyan the quickest witchspace route. ...snip... available from high-tech shipyards.";
That's the biggest difference when it comes to Ship's Library.
Krager wrote: Fri May 16, 2025 2:03 pm
Please make it for both versions 1.9 and 1.91.
Will do.
Krager wrote: Fri May 16, 2025 2:03 pm
Could you tell me, now I'm making an add-on (reference book) based on your library, I don't understand how to make indents. Perhaps it is possible to color the text in some other way? Or insert small pictures in the text?
I only managed to put a picture on the background.
You can't put images into the text directly. The only option, as you've noticed, is to set them as backgrounds. That is all we can do, I'm afraid!

You could design a page that has an image in a particular position, and then put indents to move the text around it. But that will be tricky to get right for both wide fonts (like Xolonium) and narrow fonts (like Dosis). You would be better off leaving whole-line gaps in your text, and arranging your backgrounds to fit into that gap.

On the good news front, I've found the bug, and fixed it. I'll update the manager shortly. I've also added a "Next book/Previous book" function to the MFD, and moved all text into missiontext.plist/descriptions.plist, so it should be easier to localise.
Krager
Above Average
Above Average
Posts: 17
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: [WIP] Ship's library OXP

Post by Krager »

Спасибо большое! Жду обновления.

---

Thank you so much! Looking forward to the update.
Post Reply