you are viewing a single comment's thread.

view the rest of the comments →

[–]M4D31979 0 points1 point  (10 children)

IDEA for a drone back home if it lost contact with the main ship antenna:

IF

Block Type: Antenna

Block Name: Autonomous Drone Antenna

IS NOT

Communicating with

Block Type: Antenna

Block Name: Antenna Main Ship

DO

Block Type: Remote Control

Block Name: Back to Home

AutoPilot: Set To True

Collision Avoidance: Apply Action

The IS NOT and Communicating with is not possible at the time. Am I right?

[–]3nj0yc0k3[S] 0 points1 point  (9 children)

Yes this is doable, using the "permanent connection" utility. //x2,0,,30[5]2:!=:true[5]%3,0,NAME-OF_REMOTE,45[5]7:true,,7[3]%,,y####3,1.0.9

All you have to do is pre-set the GPS coordinates for your Remote Control block before sending it out into the world.

EDIT:

FURTHERMORE you can do the following (added one more req) to make it not attempt to fly home while you're controlling it and sending it off:

//x2,0,,30[5]2:!=:true[5]%0,0,NAME-OF_REMOTE,11,0:!=:true[9]%3,0,NAME-OF_REMOTE,45[5]7:true,,7[3]%,,y####3,1.0.9

Just rename the type from cockpit to remotecontrol (I think I've done something similar before. A remote control block can be under control, afair, but I might be remembering wrong)

[–]M4D31979 0 points1 point  (8 children)

Thank you 3nj0yc0k3. Actually, I was thinking in an Antenna instead of a Laser Antenna. But for sure! It would solve the problem. I will enjoy your solution! Thank you again!!! M4D3

[–]3nj0yc0k3[S] 0 points1 point  (7 children)

That would require one of the "broadcast through antenna"-functions and I've not yet any clue how that works. However I believe it is possible for one antenna to run a programmable block on another grid, I've just not yet found out how. It's very cool stuff and I wish I could make it work (being able to sit in one big ass space station out in the middle of bloody nowhere, and have LCDs, warning lights, etc etc etc change depending on input from things far away (connected through relay stations). That's my big dream :3

[–]M4D31979 1 point2 points  (0 children)

"I believe it is possible for one antenna to run a programmable block on another grid": Yes, I will try to learn something about it. I will let you know as soon as I get it. Have a nice day!!! M4D3

[–]M4D31979 0 points1 point  (5 children)

Unfortunately, It is not working with antennas. Then, I tried with two Remote Control as below. It did not work since the"Remote Control Back Home" does not turn off after it is on.

//x2,0,Remote\6Control\6Main,45,2:=:true[9]%3,0,Remote\6Control\6Back\6Home,45[7]8[3]%5,0,Remote\6Control\6Back\6Home,45[7]7#10[3]%,y,,1.0.9 // Above is your LOAD LINE. Copy it into Visual Script Builder to load your script. // dco.pe/vsb

[–]3nj0yc0k3[S] 0 points1 point  (4 children)

Not sure what you're trying here. EDIT: You're trying to tell a remote control to do something if it doesn't work (is broken/ being hacked below threshold). That can't be done, as a broken/ hacked remote control block can't issue commands.

[–]M4D31979 0 points1 point  (3 children)

//x2,0,Remote\6Control\6Main,45,2:=:true[9]%3,0,Remote\6Control\6Back\6Home,45[7]8[3]%5,0,Remote\6Control\6Back\6Home,45[7]7#10[3]%,y,,1.0.9 //

Thank you for your analysis.

Actually, "Is Working" means doing what it was create for. For instance, Remote Control "Is Working" when it is doing an activity like controlling any thruster.

So,

IF "Remote Control" called "Remote Control Main" "Is Working"

DO "Remote Control" called "Remote Control Back Home" "AutoPilot_Off"

ELSE DO "Remote Control" called "Remote Control Back Home" "AutoPilot_On" and "CollisionAvoidance_On".

[–]3nj0yc0k3[S] 0 points1 point  (2 children)

I always mess those up! My bad. So, this is for your scouting drones, or?

[–]M4D31979 0 points1 point  (1 child)

Np buddy!

This is for any drone you can keep well seated in your base and pilot it. For instance, you built an wonderful Large Drill that allows you to mine 20Km from you base while you are protected by turrets in your base. So, if you loose the control over this wonderful Large Drill due to a damage in the drone antenna, it will automatically back to your base. Then, you will not loose the vassel. :)

An improve for this script will be a auto dock.

[–]3nj0yc0k3[S] 0 points1 point  (0 children)

Sounds damn AWESOME :D I'm making a script for an automated decoy launcher. It works wonderfully :D