Space Engineers

Space Engineers

Yeterli oy yok
Control Module - Example Tank
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
Type: Blueprint
Dosya Boyutu
Gönderilme
Güncellenme
809.221 KB
2 Nis 2016 @ 10:01
11 Mar 2019 @ 6:55
8 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
Control Module - Example Tank

Açıklama
An example for Control Module mod.

A basic tank base prefab that shows how to control rotor-wheels with WASD as well as have a turret controllable with mouse that requires a mouse button to control (hold right click).
31 Yorum
FinXzuOP 22 Ara 2019 @ 11:24 
I am very sorry it was only up to my own incompetence. Thanks for the fast response and sorry for wasting your time... I just loaded the wrong map where I had not the mod enabled... works just fine!!
Digi  [yaratıcı] 22 Ara 2019 @ 11:17 
Is the mod installed? Does the PB have errors? Are PBs even enabled?
FinXzuOP 22 Ara 2019 @ 11:10 
no errors in code but its simply not moving... neither the tank nor the turret. I dont know what I do wrong
NicoBlast 28 Kas 2019 @ 13:42 
Thx, i wanted the script for my land crawler to turn the 4 steering rotors, did it with pistons and rotors instead.
Digi  [yaratıcı] 28 Kas 2019 @ 6:30 
Oh also, you don't need a programmable block to use the mod, it supports timer blocks too for doing the actions from the timer's toolbar on certain input combination.
Digi  [yaratıcı] 28 Kas 2019 @ 5:59 
Works fine here.
Look at the PBs to see if they have any errors... if it says the mod not found then recompile them (edit then just save).
If it still can't find the mod, did you add the mod to the world?

You've already seen the tutorial, but it sounds like you're asking a tutorial for the game's PB, for that you should start with https://github.com/malware-dev/MDK-SE/wiki/Quick-Introduction-to-Space-Engineers-Ingame-Scripts and any questions you may have you should ask them in the Keen discord on the #programing-ingame channel.
NicoBlast 28 Kas 2019 @ 4:24 
i have tried the tank but it dosen't move, i would like to learn how to use script for more advance moving systems in my builds but i can't seem to wrap my head around how this works, could you make a tutorial on the script?
OverlordIcy 11 Mar 2019 @ 17:33 
@Digi Okay!! Update: I tried editing the Script with the block.Enable = true; and such and it threw another separate exception. Not going to bother posting it as you updated this script and I put it into the PB on my Rover and it's working properly again!!! ^.^!!! Thank you so much Digi, I greatly appreciate it, very very much so I do!! <3 I enjoy making my own Suspension and Wheels with Rotors and Hinges and this lovely script of yours makes it infinitely easier to control contraptions as such!! I do have one last quick question; is there a good resource to learn how to make scripts for SE or to learn to make custom scrips using your Control Module? Like I want to make a giant rover with Multiple Rotors and Hinges so each wheel has its own custom suspension and I'd love to learn how to use the Control Module to be able to control not only the wheel rotors turning, but the hinges to turn rather than wheel rotor speed. Again though, thank you SO VERY much again!! :]
OverlordIcy 11 Mar 2019 @ 12:55 
Well it works, yes, kinda. It still turns the rotors, but now it doesn't stop them when you let go of A or D. Before I'd tap A slightly and turn about 45ish degrees, now if I tap A I spin around in a circle about 30+ times. Have to hit spacebar to stop myself altogether making turning while driving almost entirely impossible. I'll try that out though as soon as I land back on Mars and see if it helps. Thanks for the quick response, I appreciate it!
Digi  [yaratıcı] 11 Mar 2019 @ 6:55 
This example still works fine, that warning doesn't really matter but you can just replace it with block.Enable = true; and such.

I've updated this bp to tweak the turret rotor to not clang on itself, and updated the script while at it too.