[RELEASE] ShipVersion OXP v1.23

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

Moderators: winston, another_commander

cag
Deadly
Deadly
Posts: 202
Joined: Fri Mar 17, 2017 1:49 am

Re: [RELEASE] ShipVersion OXP v1.23

Post by cag »

with ShipVersion installed but not HardShips: when docked, hit F3, F3, Enter

Code: Select all

Warning: mission.runScreen(): texture "start_choices_bg.png" could not be found.
    Active script: shipversion 1.24
    shipversion.js, line 290:
            function (choice) {
The reference is here:

Code: Select all

"D:\Oolite.org-oxzs\ShipVersion_1.24.oxz"
    in file: "Scripts/shipversion.js"
     288:              background: "start_choices_bg.png"
The missing file:

Code: Select all

"\Oolite.org-oxzs\HardShips_0.89.oxz"
    found in: "Images"
In ShipVersion, creating an Images folder and adding start_choices_bg.png from HardShips fixes the problem.
"Better to be thought a fool, boy, than to open your trap and remove all doubt." - Grandma [over time, just "Shut your trap... fool"]
"The only stupid questions are the ones you fail to ask." - Dad
How do I...? Nevermind.
Krager
Competent
Competent
Posts: 48
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: [RELEASE] ShipVersion OXP v1.23

Post by Krager »

Доброго времени суток! У меня вопрос по ShipVersion 1.24. Дополнение выводит информацию при покупке корабля на странице F3-F3. С троке где должна выводится информация об отсутствии лазера, выводится информация об его продаже. "Remove Laser". Можете поправить что было лазер отсутствует или просто слово НЕТ?
333.jpg
Ещё бы убрать вывод категорий из дополнения LoadoutByCategory. Но это наверно вопрос к автору этого дополнения.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5109
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: [RELEASE] ShipVersion OXP v1.23

Post by phkb »

Krager wrote: Sat May 31, 2025 11:16 am
Доброго времени суток! У меня вопрос по ShipVersion 1.24. Дополнение выводит информацию при покупке корабля на странице F3-F3. С троке где должна выводится информация об отсутствии лазера, выводится информация об его продаже. "Remove Laser". Можете поправить что было лазер отсутствует или просто слово НЕТ?
The "Remove Laser" is because the equipment item in an empty weapon position is "EQ_WEAPON_NONE", which in the equipment.plist file, has a description of "Remove Laser"

Code: Select all

	(
		3, 0, "Remove Laser",
		"EQ_WEAPON_NONE",
		"Remove laser weapon from selected mounting.",
		{
Basically, the original author of this mod (Norby) didn't do any additional translation to look for "EQ_WEAPON_NONE" and change the description shown on the screen to something more helpful than "Remove Laser".
Krager wrote: Sat May 31, 2025 11:16 am
Ещё бы убрать вывод категорий из дополнения LoadoutByCategory. Но это наверно вопрос к автору этого дополнения.
Yeah, I'm not sure how this would work with Loadout by Category. I don't normally use ShipVersion, so I'd have to pull it apart to see what's inside.
Post Reply