I'm trying to understand the ufopedia mechanics for displaying different pages. I want one of my pages to show the topic with the engineer speaking from X-Com Files
I currently have a blank purple background for the scramjet research with the following code:
- id: STR_SCRAMJET
type_id: 8
section: STR_UFO_COMPONENTS
text: STR_SCRAMJET_UFOPEDIA
requires:
- STR_SCRAMJET
listOrder: 10140
I want it to look like the 'Grav Module' with the engineer profile, like this one:
- id: STR_GRAV_MODULE_CONSTRUCTION
type_id: 4
section: STR_UFO_COMPONENTS
text: STR_GRAV_MODULE_CONSTRUCTION_UFOPEDIA
requires:
- STR_GRAV_MODULE_CONSTRUCTION
listOrder: 61060
When I change the 'type_id' to 4 for the scramjet the game crashes when I open it up in the ufopedia. So I'm trying to find out what I'm missing in linking the right files and code.
Any help would be greatly appreciated. Thanks!