TH Ship More Info Mod
Posted: Mon Oct 06, 2014 10:30 am
TH Ship More Info ModAdds ship description to the Ship Market and your Ship Info screens.Avoids being cluttered by making allowance for small screen resolutions.A standard version and a version that is compatible with Scout Plus.ShipsAll the stock ships and many others have descriptions. More descriptions can be added by editing the files libsShipMoreInfo.lua and langship-more-info*.json. The ShipMoreInfo.lua file uses the name of the ship, found in the ship's definition file ships*.lua, to gain a reference to the description stored in the language files. Descriptions can be shared with multiple name variants of the same ship. To prevent a description from being truncated keep descriptions to a maximum length of around 750 characters. Test all is well by having a screen resolution of 1600 wide and viewing the ship in the Ship Market screen and edit your description as needed. If you wish to share your additional ship descriptions with the community then leave a reply to this post and I will then include them in the mod for all to use. Screen ResolutionIn the Ship Market screen the description is displayed along side the rotating ship image. If the screen width is less than 1600 pixels then a More Info button is displayed instead to present a message of the description. The default width setting can be changed in the file libsShipMoreInfo.lua. Download standard version: [attachment=2830:TH_Ship_More_Info_Mod_v1.0.zip]Download Scout Plus version: [attachment=2831:TH_Ship_More_Info_Mod_SP_v1.0.zip]