Jump to content

Home

Adding Tooltips to Ship Texts


Master Leffe

Recommended Posts

Posted

Recently, I created a brand new ship (I kind of borrowed the idea from a few others and turned the Home One into a real Rebel Battlecruiser (MC80)). However, I can't figure out how to input tooltip text. I've made a new file in the Master_Text.dat thing named that followed the model of other ships, but so far nothing shows up. The game just says missing... Any ideas?

Posted

Within your ships .xml file (spaceunitscapital.xml I suppose) should be a line which looks like this:

<Encyclopedia_Text> TEXT_TOOLTIP_MON_CALAMARI_CRUISER TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS</Encyclopedia_Text>

 

The text unit TEXT_TOOLTIP_MON_CALAMARI_CRUISER is the link to the master text file. You said "I've made a new file in the Master_Text.dat", so I suppose you already made a new entry to your master text file and named it. So if you named it say TEXT_TOOLTIP_MC80 you have to change the line I quoted above to:

<Encyclopedia_Text> TEXT_TOOLTIP_MC80 TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS</Encyclopedia_Text>

Posted
Within your ships .xml file (spaceunitscapital.xml I suppose) should be a line which looks like this:

<Encyclopedia_Text> TEXT_TOOLTIP_MON_CALAMARI_CRUISER TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS</Encyclopedia_Text>

 

The text unit TEXT_TOOLTIP_MON_CALAMARI_CRUISER is the link to the master text file. You said "I've made a new file in the Master_Text.dat", so I suppose you already made a new entry to your master text file and named it. So if you named it say TEXT_TOOLTIP_MC80 you have to change the line I quoted above to:

<Encyclopedia_Text> TEXT_TOOLTIP_MC80 TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS</Encyclopedia_Text>

 

what he's saying is you need to go into your Text Folder in \GameData\Data\Text and edit your MasterTextFile_ENGLISH.DAT file and add an entry for your new ship.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...