Super Simple Scripts - Visual Script Builder for Space Engineers

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 61

  • @jordanmunzlinger7709
    @jordanmunzlinger7709 7 років тому +9

    this is a auto battery charge when u connect and unconnect, i have tested it my self, For ur jetpack
    //x2,2,Connector-Dock,13,4:=:Connected[9]%3,1,[Charge]Battery,7[5]1:true[5]%2,2,Connector-Dock,13,3:=:false,4:unconnected[8]%3,1,[Charge]Battery,7[5]1:false#2:=:true[5]%569da[3]1.0.6

    • @EpikTek
      @EpikTek  7 років тому +1

      Nice, I'll have to try that out.

    • @jon_chis9187
      @jon_chis9187 6 років тому

      +Jordan Munzlinger just to let you know that you didn't have the "else if" for checking if the connector was undocked and was checking if it was at the same time so the programme was selecting and deselecting the recharge box at the same time so hears the fix version whit the self update part (which was added in the latest VSB update) added to the program, program Load Line: //x2,2,Connector-Dock,13,4:=:Connected[9]%3,1,[Charge]Battery,7[5]1:true[5]%4,2,Connector-Dock,13,3:=:false,4:unconnected[8]%3,1,[Charge]Battery,7[5]1:false#2:=:true[5]%569da,,####1,1.0.9

    • @jon_chis9187
      @jon_chis9187 6 років тому

      just to let you know

  • @BrotherNick1984
    @BrotherNick1984 7 років тому +4

    Space Engineers is about to get a whole lot more interesting for me!!

  • @ChozoSR388
    @ChozoSR388 7 років тому +3

    That is freakin' sweet! Looks like I'll finally be able to do a wee bit of scripting now.

  • @EvilNecroid
    @EvilNecroid 7 років тому

    i love when people make script builders

  • @Scorpio_79
    @Scorpio_79 7 років тому +3

    Very easy to understand much appreciated

  • @ethanbunch3274
    @ethanbunch3274 6 років тому

    I am getting into coding and I was hoping to use space engineers to help and wow this will be soooo helpful!! Thank you for the nice tutorial too!!

  • @Em.P14
    @Em.P14 5 років тому

    DAMN THIS THING IS GOING TO BE HANDY

  • @trouble6645
    @trouble6645 7 років тому +1

    simply legendary. cheers Epik.

  • @antirecor
    @antirecor 7 років тому +6

    This is going to be so helpfull....thx for the clear tutorial, you r epik Epik! :)

  • @M4D3ebf
    @M4D3ebf 7 років тому +1

    You are back!:D Great. thanks,

    • @EpikTek
      @EpikTek  7 років тому

      Was I gone?

    • @M4D3ebf
      @M4D3ebf 7 років тому +2

      No, of course. You are always in our hearts.
      Maybe I was gone. A little drunk due to my own beer, to be honest.
      By the way, do you know if is there a way (or command) making a Chunk related to a Ship Antenna loosing signal from a Station Antenna? I am thinking in a "self back" ship after loosing singal.

    • @EpikTek
      @EpikTek  7 років тому +2

      No, not in this script builder sadly.

    • @M4D3ebf
      @M4D3ebf 7 років тому

      EpikTek thank you Sir.

  • @klaustrophobie7824
    @klaustrophobie7824 Рік тому +1

    in case someone is still reading this:
    is there way to do it like the second script but with landing gear? So that locks when it detects "ReadyToLock" without the autolock function.
    I tried it with the Extra Field "Lock State" but didnt made work. Any helpers?
    Thx in advance

  • @rhilianis5811
    @rhilianis5811 7 років тому +7

    very nice tutorial :)

  • @orianalexander1671
    @orianalexander1671 7 років тому +3

    Great tutorial. this will be very helpfull for me and the scripts i am building to get starting with.

  • @asgardiumccx6216
    @asgardiumccx6216 7 років тому +5

    Many thank for this tutorial, it will be very helpfull.

  • @error55o
    @error55o 4 роки тому +4

    I've tested this with the latest update to SE, loads of error's, even with your one

  • @Zirankhasu
    @Zirankhasu 7 років тому

    thats pretty handy, didnt know about this, thanks

  • @R.U.Sirius23
    @R.U.Sirius23 6 років тому

    Quick question about your docking script, what's the point of the first few chunks about saving the variables of pvel and cstatus and displaying them on the LCD? I've been wanting to learn how to use the visual script builder and tried to reverse engineer/ understanding how your script works to help me learn and I understand all of it now except for that first bit. Any help there would be much appreciated! Cheers and thanks for all the great content!

  • @adamzackheim3193
    @adamzackheim3193 6 років тому

    Awesome! Thank you!

  • @RangedAssassin
    @RangedAssassin 7 років тому +1

    Awesome tutorial! Only question is how do you add a chunk to the script? example - If you wanted to now add a sound block that plays an alarm also. Where and how would that go in and can you do that or would you have to do a new script?

    • @EpikTek
      @EpikTek  7 років тому +3

      There are "Add new chunk" buttons between each chunk as well as at the top and bottom, so it's super easy to add in more stuff like that.

    • @RangedAssassin
      @RangedAssassin 7 років тому

      EpikTek perfect thanks!!!

  • @chasedean4032
    @chasedean4032 2 роки тому

    Hey could a script be used to aid in orbital bombarded by making a ship tilt in small incramets then show that movement on a grid
    Also mabe using GPS or something to make a set size grid that shows antena signals

  • @001sharpshot
    @001sharpshot 3 роки тому

    How would I program a mining drill to be automatic?

  • @Raggs89
    @Raggs89 5 років тому

    Dude, this was sooo helpful. Could you by chance cover other things in visual script builder? Just to give a more rounded perspective on how to use it? for example I'm trying to make a script that retracts a piston and engages welders when I hit a button aaaand, its a little perplexing to figure out the values and properties I need to set to make that happen :/

  • @xaviertyler2518
    @xaviertyler2518 5 років тому

    I know I'm late to this but could this script builder make drones more effective in battle? Like using strategies, flight formations, and things along those lines

  • @charlielighting1
    @charlielighting1 4 роки тому

    the edditor is broken
    when i use any of the scripts it gives me too many errors to count

  • @PI_4311
    @PI_4311 4 роки тому

    Hello, I know this video is old but does anybody know if it is still working with today's version of SE. I can not get it to work. Thanks!!

  • @EvilNecroid
    @EvilNecroid 7 років тому

    what if i want the red alert to only effect lights i had turned on at the time?

  • @capry02
    @capry02 5 років тому

    Does it always work with new patch? I got many error in your script of red alert

  • @pepemiura3884
    @pepemiura3884 6 років тому

    how do you do to order the script to do things with button panels
    ?

  • @arthemetisgaming5854
    @arthemetisgaming5854 7 років тому

    using the script builder is there a way to find the altitude of the ship?

  • @readmore7180
    @readmore7180 5 років тому

    Does this still work? I'm getting errors on everything I've tried when checking code?

  • @burffarms5957
    @burffarms5957 4 роки тому

    Is there a way to use this to increase rotor speed to 200rpm? if so can you make a vid showing how, cheers

  • @EvilNecroid
    @EvilNecroid 7 років тому

    so what does blink offset do?

  • @jonwinfield9428
    @jonwinfield9428 6 років тому

    Thanks, great tutorial. Does this feature still work in the game? I seem to be having some trouble with it.

  • @romanorose4591
    @romanorose4591 6 років тому

    nice tut.but im searching for a way to start that alert if any block or a ammor block was destroyed.could anyone help?

    • @mertmehmetaraz3119
      @mertmehmetaraz3119 6 років тому

      You have to add sound block to your station and set it name as " warnsound " . When one or more of your block have beeing attacked you gonna hear a sound. It must be work , let me know if cant setup or dont work m8.Also you can setup your sound block as you wish (sound,volume,range)
      //x3,0,warnsound,56[7]7[3]%2,2,,69,11:=:false[9]%,y,,1.0.9
      // Above is your LOAD LINE. Copy it into Visual Script Builder to load your script.
      // dco.pe/vsb
      void Main(string argument)
      {
      // block declarations
      string ERR_TXT = "";
      List l0 = new List();
      IMySoundBlock v0 = null;
      GridTerminalSystem.GetBlocksOfType(l0, filterThis);
      if(l0.Count == 0) {
      ERR_TXT += "no Sound Block blocks found
      ";
      }
      else {
      for(int i = 0; i < l0.Count; i++) {
      if(l0[i].CustomName == "warnsound") {
      v0 = (IMySoundBlock)l0[i];
      break;
      }
      }
      if(v0 == null) {
      ERR_TXT += "no Sound Block block named warnsound found
      ";
      }
      }
      List v1 = new List();
      GridTerminalSystem.GetBlocksOfType(v1, filterThis);
      if(v1.Count == 0) {
      ERR_TXT += "no Advanced Rotor blocks found
      ";
      }
      // display errors
      if(ERR_TXT != "") {
      Echo("Script Errors:
      "+ERR_TXT+"(make sure block ownership is set correctly)");
      return;
      }
      else {Echo("");}
      // logic
      v0.ApplyAction("PlaySound");
      bool result1v1 = false;
      for(int i = 0; i < v1.Count; i++) {
      if(((IMyMotorAdvancedStator)v1[i]).IsWorking == false) {
      result1v1 = true;
      break;
      }
      }
      if(result1v1) {
      }
      }
      bool filterThis(IMyTerminalBlock block) {
      return block.CubeGrid == Me.CubeGrid;
      }

  • @ShnoopsDogg
    @ShnoopsDogg 7 років тому

    damn very useful tutorial!!

  • @spynorbays
    @spynorbays 6 років тому

    I made a script that it reversing the piston when the sensor just detecs a station, but in game, when the sensor detects the station one time, pistons just reversing almost 100 times per second. so i only want to reverse for one time. what can i do?
    //x2,0,LD,48[5]12:=:true[5]%3,1,#LGP,40[7]3[3]%0,0,LD,48[7]2[3]%4,0,LD,48[5]12:=:false[5]%3,1,#LGP,40[7]3[3]%,y,,1.0.9

    • @jonathancarter8772
      @jonathancarter8772 6 років тому

      The most likely issue is that the sensor is constantly sensing the ship, so it's constantly reversing the piston! The best solution would probably be to set the script so that if the sensor senses the ship, then it extends the piston, but if it doesn't, then it retracts the piston

  • @spynorbays
    @spynorbays 6 років тому

    THANK YOU! U SAVED MY LIFE LOL

  • @_Fonzie
    @_Fonzie 6 років тому

    tnak you so much!

  • @lordanubis9783
    @lordanubis9783 7 років тому

    Cool Script but if I grind cargo Containers, that my ship is not going into red alert. and it is not working for small cargos too cause they have no definition as functional Blocks. I am frustated.

    • @EpikTek
      @EpikTek  7 років тому +1

      Hmm, that's odd. I didn't try grinding down a cargo block. Does it work with other blocks? I honestly just used that as an example to show off the Visual Script Builder. I didn't think anyone would actually try to use it.

    • @jonathancarter8772
      @jonathancarter8772 6 років тому

      You can probably just add a separate argument that checks to see if cargo blocks are functional, and if not, do the same red alert

  • @thewonderer1165
    @thewonderer1165 6 років тому

    Just watched this video and tried it out and it dont work... I have tried 3 times and nothing happens i hope this dont mean its out of date..

    • @EpikTek
      @EpikTek  6 років тому

      Can you be more specific? What exactly didn't work? It has been quite a while since this video came out too, so something might be broken, but I'd like to know if so.

  • @dethmettle9236
    @dethmettle9236 6 років тому

    I found this, but I don't know how to entirely use it, just used it a few moments before this comment. Need help...

    • @dethmettle9236
      @dethmettle9236 6 років тому

      Also, pls try sending more comments with load lines...

    • @dethmettle9236
      @dethmettle9236 6 років тому

      Also, can't get my LCDs to show power consumption, even with this script builder ;(

  • @spynorbays
    @spynorbays 6 років тому

    its not doing anything now

  • @iplaygames9509
    @iplaygames9509 7 років тому +2

    fk I was beaten to the first comment

  • @daddy0798
    @daddy0798 10 місяців тому

    Can you mess around with scripts already made from other authors and make it to you specific liking?