Do not set over 1 if you are not sure what you do. For lower server performance like "Space Central Europe" 20 can be 1 script run per second.įloat SimSpeed=1f // Simulation Speed, can be lower then displayed.įloat GyroMult=1f // Gyro values multyplier. For UPS=60 (Simulation speed = 1) 60 means 1 run/second, 20 - 3 runs per second. Int Clock=20 // This is system clock var determining how frequently navigation script will be executed. String ShipName="Harvester5" // Ship Name, should be the same as beacon. There are some constants in the begining of "PBHrvNav" programmable block: Here comes alpha version of mining robot adopted for using on remote servers. Just need a bit more testing with system clock. In next update i will try to make it useful on remote servers. Took about 8 hours for 2 drones to do that. Some changes in script to make it more universal for use in upcoming 4 and 2 drills versions.ġ00 shafts mined in auto mode without stucks and crit damage. Large Thrusters replaced with small thrusters, cause they're more reliable.ģ. No more explosions while docking/undocking.Ģ. Just try to experiment and comment what you think.ġ. Recompile and launch "PBNavComp" programmable block. Include it in group "UThrusts", "DThrusts", "LThrusts", "RThrusts", accordingly to it's direction ("LThrusts" for thruster which moves ship left and so on)Ĥ. Try lock/unlock landing gears 2-3 times before remember connector to check If gears will or not blow up.ī) Using Large thrusters on sides of mining ship is not a really good idea, but I'm testing this drone on server with thruster limit per ship, so i can not use small thrusters. Include it in group "LandGears", so script can find it.ģ. I' put these landing gears to avoid connector crashing, but it seems, that exploding connector was replaced with exploding landing gears. Optimal trajectory and speed will come later.Ī )Landing gear exidetally explodes while undocking drone. If floating objects set to 256, sometimes floating stones block drone and it gets stuck. Of cause, this drone still needs many improvements, it has very "dirty & raw" scripting and does not handle most of exceptions. Maybe, in next update i'll fix most of issues and this will be useful for multiplayer too. You can also try to use it in multiplayer, but it won't work reliably. Important: Base or ship, to which drone drops off ore, must have some containers included in "BaseCargo" group. If you change ownership of drone, don't forget to recompile all programming blocks. You can copy/paste it to your own world, or make blueprint. Than you can go to second asteroid and set drone to auto-mining mode. You can bind it to any free connector on your base or even to connector of red ship, floating nearby. This function is called by bot navigation script, while mining. Pause can be called from cockpit "3" or by pressing button under ship connector.ĭ) Throw out stone. Get out of cockpit, drone will now do everything on its own.Ĭ) Pause - this function simply pauses drone auto mode and returns control to pilot. Drone starts aligning and mining automatically after that.ĥ. Align your ship in front of asteroid (stay approximately 50 m from asteroid surface), using camera "1" or external view.Ĥ. This function can be called from front remote control.ģ. Unlock and disconnect, now drone will return to this connector.ī) Set drilling grid - It sets entry point and angles for your mining. Use non-deforming blocks for this like glass orĥ. It means, base connector should be surrounded by some blocks to make landing gears lock possible. Base connector "sucking force" is high enough to brake small ship connector exidentally after every 5-10 dockings, to avoid this drone locks landing gears first and only than turns connector on. These gears are supposed to prevent permanent connector crashing while drone is docking. You must place your drone almost ideally coaxially to base connector to lock all 4 of them. This step can be tricky, because i've placed 4 landing gears around connector and they all should be locked before you connect. Dock to connector, using camera (pres "1") or external view ("V"). This function can be called from rear remote control.ģ. It is not for piloting actually, cause you see nothing from cockpit.Ī) Remember connector - You can set connector, you're docked to as your drone base connector, to which it will return to drop off ore. It still has merge block, which can be used for carrying drone with other ship. It is not more divided in drone and carrier, it's all in one ship, and this is much more easy to use. This version has some improvements, making it available for use in your own worlds. This is the third version of automated mining drone, programmed with ingame scripting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |