OpenXcom Forum

Modding => Work In Progress => Topic started by: MFive on March 23, 2014, 10:52:52 pm

Title: UFOpedia questions
Post by: MFive on March 23, 2014, 10:52:52 pm
I am working on my mod, and when i research my item, it crashes when i try to view the UFOpedia

UFOpedia part
Quote
ufopaedia:
  - id: STR_AI_Moduel
    type_id: 4
    section: STR_WEAPONS_AND_EQUIPMENT
    text: STR_AI_Moduel_UFOPEDIA
    requires:
      - STR_AI_Moduel

extraStrings part
Quote
extraStrings:
  - type: en-US
    strings:
      STR_AI_Moduel: AI Moduel
      STR_AI_Moduel_UFOPEDIA: Designed to be similer to the Mind Probe, the AI moduel allows the user to controle a device at the other end of the connection.

i know there are typos in the entry but i will fix that later

let me know if there is any other info that you want about the mod

any help would be great
Title: Re: UFOpedia questions
Post by: Dioxine on March 23, 2014, 11:23:53 pm
Do you have a bigob (picture) for the item? Is it properly declared in the ExtraSprites section? Missing sprites are the most common cause of Ufopedia crashes.
Title: Re: UFOpedia questions
Post by: MFive on March 24, 2014, 04:02:32 am
i had forgot that i needed a picture for the ufopedia, that will probably fix it, thanks