OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Alpha Centauri Bear on December 12, 2023, 05:04:24 pm
-
Hello, everybody.
Any clue how to create new section in ufopaedia? I tried just to create an article with new section ID but it didn't pick up.
Is it allowed to create new sections? Will they fit in the screen?
Another question if the above is not possible. Is it possible to create sub articles in the list of articles within the section?
Another question if it is possible to create multi page article?
Thank you.
-
Answer to all questions is yes.
Well, I don't know what you mean by "sub articles", but if it's the same as "multi page articles", then yes.
-
Great! How to create multi page article? Any examples in wiki?
Never mind. Found "pages" option in ruleset.
-
Tried this pages option. It does create multiple pages. They look like a regular pages accessible with "next" button, though. There is no indication these pages are part of the same multi page article and there is no indication on main/first page that there are more pages in this article.
-
It should show something like this: https://openxcom.org/forum/index.php/topic,8091.msg132729.html#msg132729
-
Added this for test to the end of my ufopedia.rul:
- id: STR_TRITON1
type_id: 10
section: STR_XCOM_CRAFT_ARMAMENT
image_id: UP001.BDY
text: STR_TRITON_UFOPEDIA
pages:
- title: STR_GAUSS_PISTOL
text: STR_PISTOL_PISTOL_UFOPEDIA
- title: STR_GAUSS_RIFLE
text: STR_PISTOL_RIFLE_UFOPEDIA
Additional page is accessible by regular right/left navigation buttons and by keyboard right/left keys but no additional double arrows are added anywhere on the screen.
Reading through the link you posted it looks like this multi page feature is for weapon/ammo only? Should I set a specific article type (weapon) to make it appear?