Introduction
This project is an expansion of the mod of the same name: http://spacesimcentral.com/ssc/topic/46 ... -info-mod/
With discussion I will edit this post to reflect the current aims and specifications of this project.
Ship Market Screen
To have in the Ship Market screen a More Info button to open the Ship Information screen, same as with the Crew Roster opening a crew members information screen. To leave the Ship Market screen as a summary of a ships specifications with a buy button.
Ship Information Screen
Have more detailed information of a ship.
Include the ship spinner.
Include silhouette graphic.
Include a Manufacturer field with logo.
Include prices and buy button.
Match the information with the wiki, for stock ships, using a template to ensure conformity.
Current headings used in the wiki for 17 ships:
Description (15)
Role (9)
Improvements and changes (7)
Other uses (6)
Notes (4)
Ship Name (1)
Known Issues (1)
History (1)
Proposal:
Use the fields of Description, Role, Improvments and changes, Other uses and/or Notes.
Use a market sales pitch, as in only the use of positive attributes, for the information. Any negative information to be provided by including a owner/pilot reviews section. Like you were buying the ship from Amazon.
Code Implementation
Make it mod friendly by making it so that to add a new ship one only needs to add the appropriate language file entries. To achieve this the ability to call a language entry with a variable is required, so as to remove the large 'if then else' function currently being employed. If this is already possible can somebody show me an example or else I will endeavor to write a language method in the source code.
The language file tokens generated by taking the ship name and replacing any spaces with underscores and suffixing with the field reference.
Code: Select all
AC33_DROPSTAR_DESCRIPTION
AC33_DROPSTAR_ROLE
AC33_DROPSTAR_REVIEW_1
AC33_DROPSTAR_REVIEW_2
In the language folder add a ships and manufacturers folder.
Future Project Spin Offs
A commodity information screen accessed by clicking the commodity in the Commodity Market. Description on one side and a slider control calibrated to available hold space/quantity in hold on the other to ease the buying/selling of multiple quantities.
An equipment information screen working in a similar fashion. Opens an avenue for 3D model enthusiasts to create equipment models for an equipment spinner.