jimj316 Posted January 14, 2014 Share Posted January 14, 2014 (edited) A while ago I saw a request in the suggestions forum that was asking for a way to have the game generate ship names for the player. I realised that I'm always having trouble deciding on names, so I made this little plugin to help. Simply click the little button on the toolbar marked "CB" to open the menu, and poll the KSC workers what they think the ship would be named (please note, you may have to undergo some "workforce restructuring" before you get good suggestions).This plugin uses blizzy78′s ToolBar plugin, included in the download.Thanks to:- TaranisElsu, for his code examples- blizzy78, for developing the Toolbar plugin- AzziWeaver, for helping think up like half of the ship name words :3- codepoet, for working out how to actually change the ship name textbox!Source code is included, under \GameData\Champagne\Source\. Source code is free to edit and distribute without permission, provided you credit me if anything of mine gets published.Download from CurseEnjoy!Updated 04/02/2014: added ability to click to set the ship name directly (thanks to codepoet), support for user-made name patterns and word lists, and the option to keep ship names in their native Kerbal.Updated 25/06/2014: re-uploaded to Curse. Edited July 2, 2014 by jimj316 Link to comment Share on other sites More sharing options...
TimMartland Posted January 14, 2014 Share Posted January 14, 2014 Utterly weird.Utterly pointless.Utterly brilliant.This is just awesome Link to comment Share on other sites More sharing options...
jfull Posted January 14, 2014 Share Posted January 14, 2014 Very clever Link to comment Share on other sites More sharing options...
bulletrhli Posted January 14, 2014 Share Posted January 14, 2014 Maybe you could have a ship name generator dependant on the root part. Something like a probe or a capsule should have different sets of names for obvious reasons. Link to comment Share on other sites More sharing options...
Trueborn Posted January 14, 2014 Share Posted January 14, 2014 FlightGlobals.ActiveVessel.vesselName should allow you to assign any string to the active vessel's name. The next time it saves, it should be good. For unloaded shps, you'll need the ProtoVessel.vesselName property, but it should work the same way. Link to comment Share on other sites More sharing options...
jimj316 Posted January 14, 2014 Author Share Posted January 14, 2014 @TimMartland, jfull: thank you very much! ^^Maybe you could have a ship name generator dependant on the root part. Something like a probe or a capsule should have different sets of names for obvious reasons.I am considering doing this, but for now it simply draws words from the same file. Later I will add the ability to customise word patterns, and that would be a good oppurtunity to add a systam that can do that.FlightGlobals.ActiveVessel.vesselName should allow you to assign any string to the active vessel's name. The next time it saves, it should be good. For unloaded shps, you'll need the ProtoVessel.vesselName property, but it should work the same way.FlightGlobals.* only works when the vessel is in flight, and this plugin is meant to be used in the editor, but thanks anyway Link to comment Share on other sites More sharing options...
Col_Jessep Posted January 24, 2014 Share Posted January 24, 2014 I love this mod! Of course I'm working on a feline-inspired collection of word snipplets for my own enjoyment. Some of the names I generated so far:KSV Bastet's Dream, HMAC Light Whisker, KAC Basement Cat's Ascension, ISS Longcat's Ear, HMS Spectral Can Opener, KAC Swift Purrer, HMS Lost Ear, SSat Ceiling Cat's Opportunity, MSS Chairman Meow's Blade, HMRC Copy Cat's Claw, HMSC Hipster Kitty's Thunder, MSS Tacgnol's Night...Quick tutorial on how to change/add/replace word snipplets:1) install the mod2) open the Champagne folder in Game Data3) open the .txt files in Notepad++ or something4) edit awayThanks bunches for this mod! Link to comment Share on other sites More sharing options...
jimj316 Posted January 25, 2014 Author Share Posted January 25, 2014 Thank you! In case anyone is wondering, it is totally ok to edit the word lists as described above, and even distribute them for others to use (you don't need to attribute me since they'll already know who made the mod ). The program takes words from the four word lists (verbing.text is depreciated and is not used) and combined them in one of 5 name patterns:<class> <adjective> <noun><class> <adjective> <title><class> <title><class> <person>'s <noun><class> <noun>'s <noun>These are presently hardcoded into the program, but the next version will add an additional text file that will allow these to be edited (and will hopefully allow arbitrary word lists, allow custom ship classes, and remove the ASS class). Sadly, this will require a bit of a code restructure, and I don't currently have the time Link to comment Share on other sites More sharing options...
Col_Jessep Posted January 25, 2014 Share Posted January 25, 2014 That was some valuable info, thanks!I spend a bit of time on my version for cat lovers and it works pretty well now. Half of the suggested names should be cat related. Everybody who wants to try it: Champagne Bottle - Cat Edition. Use at your own risk, no warranties provided, feel free to edit and distribute. By downloading the files you agree to being kind to our fluffy feline overlords and not feeling offended by cat related words. =3Install by extracting the .txt files in the zip into the Champagne mod folder. Careful, this will overwrite the original word list from the mod! Backup your files first! Link to comment Share on other sites More sharing options...
codepoet Posted January 25, 2014 Share Posted January 25, 2014 FlightGlobals.ActiveVessel.vesselName should allow you to assign any string to the active vessel's name. The next time it saves, it should be good. For unloaded shps, you'll need the ProtoVessel.vesselName property, but it should work the same way.In the editor have you tried EditorLogic.fetch.shipNameField.Text="My WAcky new ship name"? Link to comment Share on other sites More sharing options...
Lord DarkRift Posted January 26, 2014 Share Posted January 26, 2014 Nice idea ! Link to comment Share on other sites More sharing options...
jimj316 Posted January 27, 2014 Author Share Posted January 27, 2014 In the editor have you tried EditorLogic.fetch.shipNameField.Text="My WAcky new ship name"?It worked! Thank you so much! Link to comment Share on other sites More sharing options...
codepoet Posted January 27, 2014 Share Posted January 27, 2014 It worked! Thank you so much! You're welcome. Link to comment Share on other sites More sharing options...
jimj316 Posted February 4, 2014 Author Share Posted February 4, 2014 Updated to v0.2, adding the ability to change word patterns, add user word lists, the ship chass now auto-detects the type of vessel you're building, and you can now get ship names in the "Kerbal language" :3Coming soon, the ability to set word patterns to only apply to a certain type of vessel, change the ship class letters, and mannually change the vessel type. Link to comment Share on other sites More sharing options...
Sgt. Cookie Posted February 28, 2014 Share Posted February 28, 2014 Neat! I'm always forgetting to name my ships, so this is a big help, thanks! Link to comment Share on other sites More sharing options...
Anister Posted June 4, 2014 Share Posted June 4, 2014 Can you reupload it since SpacePort is gone. Link to comment Share on other sites More sharing options...
jimj316 Posted June 25, 2014 Author Share Posted June 25, 2014 Re-uploaded to Curse, link here: http://www.curse.com/ksp-mods/kerbal/221765-champagne-bottle Link to comment Share on other sites More sharing options...
BudgetHedgehog Posted June 26, 2014 Share Posted June 26, 2014 I didn't know how much I wanted this until I saw it. Lovely stuff! Link to comment Share on other sites More sharing options...
amorymeltzer Posted May 14, 2015 Share Posted May 14, 2015 Bumping this in case anyone smarter than myself can throw this together for 1.0 compatibility. It was a great mod! Link to comment Share on other sites More sharing options...
Senshi Posted August 3, 2015 Share Posted August 3, 2015 Forked and updated it to 1.0.4 here:http://forum.kerbalspaceprogram.com/threads/130529-1-0-4-Champagne-Bottle-v1-Lafitte Link to comment Share on other sites More sharing options...
Night_Wing_Zero Posted December 29, 2016 Share Posted December 29, 2016 Perfect mod, honestly you are a genius! Link to comment Share on other sites More sharing options...
Val Posted January 9, 2017 Share Posted January 9, 2017 This thread is no longer current. Please continue discussion here: Link to comment Share on other sites More sharing options...
Recommended Posts