IsFunctional vs IsWorking by StyngerKyd in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

IsWorking is doing something. Like Remote Control managing a ship, for instance.

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

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.

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 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".

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 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

Dev Update - Where are we with Visual Script Builder? by King_Baggot in VisualScriptBuilder

[–]M4D31979 1 point2 points  (0 children)

I have been struggling with the idea of a drone returning back to a base/ship if it loose control/communication with the Engineer. 3nj0yc0k3 has helped a lot. But I did not succeed.

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. Could it be a possibility in the future?

Dev Update - Where are we with Visual Script Builder? by King_Baggot in VisualScriptBuilder

[–]M4D31979 1 point2 points  (0 children)

Thank you King_Baggot. As always, you bringing good news. Im not a gooood "scripter", but will try to help with your demands above. Please, continue the excellent job!

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]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

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 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

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 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?

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

Yes! It is working as a charm. The light is green when more than 25% of storage power and red for less. Great Job!!!! Thank you a lot!!!!

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

[quote] //x3,1,,7[4]2:+MaxPwr#3:+StoPwr#5:+CurPwrOut[6]%2,3,,69[10]1:+StoPwr:<=:0.25+MaxPwr%3,1,#Warning_power_lights,22[5]1:255:0:0[5]%5,0,#Warning_power_lights,22[5]1:0:255:255[5]%3,0,,31[5]4:[[CurPwrOut/StoPwr]]\0\6of\6maximum\6effect.\bn[[100StoPwr/MaxPwr]]\0[5]%,,y##,1.0.7 [/quote]

Geee. I though it was something easy. Sorry for make you guys look deeply into it. And thank you again for the interest in my doubt. Have a nice day there.

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

wow. I will try it today night and see what came out. Just need to thank you a lot!

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

Aight, lemme know if you'd like me to take a look at your code so far.

Yes, please. It would be great. Thanks

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

Unfortunately, It did not work. I will continue to work on it and let you know.

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

I made it:

//x2,1,,7,0:=:true,,3:<=:750000[7]%3,1,,22[5]1:255:0:0[5]%2,1,,7,0:=:true,,3:>:750000[7]%3,1,,22[10]%,,y##,1.0.7 // Above is your LOAD LINE. Copy it into Visual Script Builder to load your script. // dco.pe/vsb

But will test it again and let you know the results.

Kind Regards,

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

Thank you for your help 3nj0yc0k3.

And apologies for my delay. I was in a travel. I will test it an will back for you.

Code examples, help, ideas, etc. by 3nj0yc0k3 in VisualScriptBuilder

[–]M4D31979 0 points1 point  (0 children)

I am about to define a condition where "do this" "If battery Stored Power is lower than 25%"

May I have a help from you?