TH Ship More Info Mod

This forum area is to share and discuss modding projects, models, music and other modding activities of Pioneer. Please use the 'Alpha Mods' or 'Beta Mods' folders to upload your files in the Pioneer section in the download area.
Post Reply
TimothyHills
Posts: 4
Joined: Sun Aug 31, 2014 1:25 pm

TH Ship More Info Mod

Post by TimothyHills »

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]
nozmajner
Private
Posts: 302
Joined: Sat Nov 26, 2016 10:31 pm

RE: TH Ship More Info Mod

Post by nozmajner »

This looks very nice. Why don't you put it up ina PR on github, so it could find it's way into the game?We had some talk about this kind of feature a while ago, but it seems, everybody forgot about it. I remember there were some indecision, where to put the descriptions to make the thing mod and translation-friendly at the same time.
Post Reply

Return to “Pioneer Mods”