![]() It never appears in the normal GUI for the user to see, but it is used in places like Part.cfg files, the saved game persistence file, the ModuleManager mod, and so on. Part Name: A part’s name is the name it is given behind the scenes in KSP. Part Title: A part’s title is the name it has inside the GUI interface on the screen that you see as the user. This is probably the best naming convention to use because it lets you make up whatever name you like for the part and use it to pick the parts you want to deal with in your script. Part Tag: A part’s tag is whatever custom name you have given it using the nametag system described here. Accessing the parts by various naming systems ¶Īny time you have a vessel variable, you can use these suffixes to get lists of parts on it by their names using several different naming schemes: It’s the most useful one that covers all the other cases. If you only remember one technique, it should be using the Part:PARTSDUBBED method described down below. TODO: PUT LINKS POINTING TO A TUTORIAL WALKING THROUGH WHAT THIS IS TEACHING.Ī Tuturial made on an ONLY STOCK (other than kOS of course) install, using only STOCK parts to do something interesting.Ī Tutorial more complex showing that this can be used with mods too, probably the Leg Leveller example from the teaser video, but with the code updated to use the newer part query methods. ![]() If you prefer a methodical reference approach, skip the tutorials and read on, then come back to the tutorials afterward. If you prefer the tutorial approach to learning, the following links will walk you through a specific pair of tasks to introduce you to this system. ![]() In kOS, you can access the parts one of two ways: Tutorial ¶ In Kerbal Space Program, a Vessel is a collection of Parts arranged in a tree Structure. However, to understand how to use them it is necessary to first understand a little bit about the structure of parts in a vessel in Kerbal Space Program. KOS has the ability to access the functionality of Parts’ actions, and right-click context menus. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |