Discussion and information relevant to creating special missions, new ships, skins etc.
Moderators: another_commander, winston
-
phkb
- Impressively Grand Sub-Admiral

- Posts: 5587
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Post
by phkb »
Krager wrote: ↑Sun Jan 11, 2026 11:00 pm
Нашёл кусочек текста, не вынесенный в missiontext.plist.
Текст `Desc`
Файл `Lib_Config.js`
Строка `493`
Будете что нибудь менять и это тоже поменяйте пожалуйста.
Change line 493 to this:
Code: Select all
txt += "\n" + expandMissionText("[LIB_CONFIG_LINE_DESC]", { desc: "\n" + final }) + "\n";
And see if that fixes the issue. If so, I'll include it in the next release.
-
Krager
- Deadly

- Posts: 251
- Joined: Wed Dec 11, 2024 9:44 pm
- Location: Russian
Post
by Krager »
phkb wrote: ↑Mon Jan 12, 2026 1:42 am
Не работает. Выводит вместо описания слово `null`
Пока просто изменил в тексте.
Code: Select all
txt += "\nОПИСАНИЕ:\n" + final + "\n"; // was inf.toString().substr(0, 240) (ie only 240 characters)
-
phkb
- Impressively Grand Sub-Admiral

- Posts: 5587
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Post
by phkb »
Krager wrote: ↑Mon Jan 12, 2026 12:35 pm
Не работает. Выводит вместо описания слово `null`
Oops. My bad. Try this instead:
Code: Select all
txt += "\n" + expandMissionText("LIB_CONFIG_LINE_DESC", { desc: "\n" + final }) + "\n";
-
Krager
- Deadly

- Posts: 251
- Joined: Wed Dec 11, 2024 9:44 pm
- Location: Russian
Post
by Krager »
phkb wrote: ↑Tue Jan 13, 2026 5:16 am
Code: Select all
txt += "\n" + expandMissionText("LIB_CONFIG_LINE_DESC", { desc: "\n" + final }) + "\n";
Так работает, всё хорошо, благодарю!