![]() ![]() ![]() The boot program will wait until it somehow knows when the 1st stage has separated. All source code for the project is mirrored under Other\Source\CopyPath and can be duplicated, modified, redistributed, given away, or sold as long as myself, the sources I used to help for code, and any contributors mentioned in my changelog are included in the credits. What you will want to do is to add a boot program to your 1st stage CPU. Any edits that prove useful will be attributed to the individuals who requested it. If any features are requested and they are worthwhile, they will be added when I can. If any problems are found, I will fix them as necessary. NET 4.0 application so that must be installed on the computer it is used on. This is also in no way affiliated with Copy Path by Gangleri359 or CopyPath by WoLoSoft International and is not intended to infringe on their copyrights, if any apply.Äownload CopyPath Portable 0.0.2 Dev Test 1 (384KB download / 1.08MB installed (3.10MB with optional components)) Problem is the series was broadcast 2 years ago and since there has been updates since then some of the code no longer works. So I have been following along with a youtube series just to learn the basics of KOS. CopyPath was inspired by the Windows Explorer extension Path Copy Copy though it shares no code with it. Hey yall, looking for some help with COPYPATH function. This is the start of one of by boot files for a launch from kerbin just as an example IF NOT EXISTS("1:/lib/") //creates lib sub directory on local volumeĬOPYPATH("0:/lib/lib_file_util.ks","1:/lib/").ĬOPYPATH("0:/lib/lib_navball.ks","1:/lib/").ĬOPYPATH("0:/lib/lib_navball2.ks","1:/lib/").ĬOPYPATH("0:/lib/lib_rocket_utilities.ks","1:/lib").ĬOPYPATH("0:/lib/lib_land.ks","1:/lib/").ĬOPYPATH("0:/lib/lib_land_v2.ks","1:/lib/").CopyPath is a small application that allows a user to drag and drop a file onto the window and get various path formats for that file including DOS 8.3 and internet-style paths. Only the file listed as the boot file gets copied over if you set it in the VAB so part of your boot file will need to be copying the secondary files over from the archive to the local volumeįor dependency files i tend to store them in a separate folder in the archive called lib but so long as you point the copypath at where ever the lib is stored then you won't have a problem Prior to separation, have the upper stage script turn on power for the lower stage CPU (which has a set boot script) through the CPU partmodule event/action.Ĭome think of it, the easiest way is probably to just have the boot script check for ship:partstagged("someString"):length = 0 and add that nametag to one of the parts on the upper stage. rest of your program goes here, or use the run(script) command Hey y'all, looking for some help with COPYPATH function. ![]() If diff >= threshold set powerUp to true. IF If the expression is true, execute the statements in the curly braces, otherwise skip ahead to the end of the curly braces.start program if ship suddly has less than half of the original parts, alter as needed, or set to a fixed number Executes the commands in the curly braces in order of appearance, but is considered a single command. always good idea to have this at the start of a boot script. Here is an example of such a bootfile: wait until ship:loaded and ship:unpacked. Periodically checking if the vessel it is on has received a specific message (probably the most robust method, working across all vessel designs)Ĭomparing part count in intervals and activating the main script if partcount ( ship:parts:length) has decreased by more than a set threshold compared to the last value (fairly easy to set up, no need to alter the script on the upper stage in any way). What you will want to do is to add a boot program to your 1st stage CPU. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |