This new version of the Submenu mod allows you to creat submenus within your main menu's for ships. Readme seems a bit complex so read it carefully.
Sub Menu in Ship List Foundation Upgrade Readme V2 By MLeoDaalder First of all I would like to thank (and credit) Dasher42 for his Foundation! Contents: What is this mod/Upgrade? What does this mod/Upgrade do? How can I use this mod/Upgrade? Included in this zip file How to install this upgrade Credits Did I see this readme before? Licence What is this mod? This mod is an upgrade for the Foundation, to be more precise an upgrade to the Ship Selection menu in QB. And now it also upgrades the previous version. ;) What does this mod do? This mod upgrades the Foundation Ship Selection Menu in QB, it gives you the possibility to add a sub menu to it. And no also sub sub menu's (to any level). Let's say you have 30 ships of the same class (let's say Galaxy class), all with their own unique ID and HP (could be done with all diffrent models or with my Skinning and Damaging Tool). Now this might become a bit clutterd in the menu. Before this upgrade the only way to make it less clutterd is to create an all new menu (such as Galaxy Class Ships->Your Ships) for the Ship Selection Menu. Now, with this mod, you can create a sub menu (so Federation Ships->Galaxy Class->Your Ships). And now, after (another) upgrade you can take things as deep as you want! How can I use this mod? At the moment of writing this Read Me, it is only possible by changing the plugin file for your ships. You need to add a variable at the top of the file, below "species = " below this you add: SubMenu = "SubMenu Name" Where SubMenuName is whatever name you want to have on the menu. Then find: "'shipFile': shipFile" (not the "" signs). After this you add: , "SubMenu": SubMenu After that there is this: " })" (not the "" signs). Now how can you add sub sub menu's? There are 2 ways. One is compatible with the previous mod. The other is not but might be clearer. And if you combine the both you get a longer list... 1. You add the variable SubSubMenu with as contents for 1 sub menu like this = "SubSubMenu" or ["SubSubMene"]. If you wish to add more sub menu's, then you can do this: ["Sub 1", "Sub 2"] Or to any new level. Now it is similar to the normal SubMenu. You add before the }) this: , "SubSubMenu": SubSubMenu 2. You use the normal SubMenu variable, but in this fashion: ["Sub 1", "Sub 2"] or to any level. The rest is the same as the normal Sub Menu. If you are going to use this way, please say so in the readme that the plugin WILL NOT work with the previous version. That is the reason why I added the SubSubMenu variable. Please note, it is also possible to just use the SubSubMenu way to do all levels. Futher more, you only discribe the direct route. No side branches! Included in this zip file In this zip there are 3 files. 1. This readme 2. Dasher42's Foundation Readme 3. The Upgrade file (in scripts/Custom/Autoload) 4. An example (you will have to add this seperatly, just dump the contents of "Examples" in your main BC dir, now it also includes another example (same dir)) How to install this upgrade Simply drop the contents of this zip (apart of the Examples directory) in your main BC directory, all files should be placed correctly, there will be no overwrites if all is right. When you happen to look at the console when you start the game, then you will see: "Updating FoundationMenu.ShipMenuBuilderDef V2" This will notify you that the Upgrade is active. Credits: Dasher42 for his Foundation! Did I see this readme before? If you downloaded the previous mod, then you did (if all is well). I just modified it to suit my needs. Licence: You may include this mod with your own mod, but credit must be given (at least to Dasher42, since this is just a minor change to his Foundation)
There are no comments yet. Be the first!