Space Engineers

Space Engineers

62 ratings
Piston Head Attach & Detach Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
632.360 KB
12 Feb, 2022 @ 11:03am
15 Feb, 2022 @ 11:42am
3 Change Notes ( view )

Subscribe to download
Piston Head Attach & Detach Script

Description
PHAD - Piston Head Attach & Detach Script
Description:
This script allows you to attach and detach piston heads without mods, so you can summon CLANG more easily in vanilla worlds! You can use it to make piston jolts, speed exploits, very powerful clang stuff or other things.

Setup:
1) Place a programmable block
2) Go to edit > browse scripts > find the script > copy to editor > click ok
3) Setup is done!

Arguments:
1) Get the piston name

2) Go to programmable block custom data and choose what command you want to run

3) Now write in the argument section "Command Piston name"


Argument examples:
Attach Piston 5
Detach Piston 5
Detach Clangy piston 4
Attach Piston
Detach Piston

NOTICE!
1) When attaching piston head make sure that the new piston head aligns with the original one:

2) Make sure that the piston name is not default because after the new Warfare 2 update the game messes with default names when you reload the world or repaste the grid.

Customization:

You can change the attach, detach and force scan argument, the time for how long the script should try to execute the argument. You can also change the color of the LCD:


Tips:
The script scans the grid for pistons every 10 seconds. If you don’t want to wait, you can run the scan argument.
If you have 2 or more pistons with the same name, the script will control these pistons as one.

Don’ts:
I think you can figure out what will happen

Q&A
Q: Can I use this on my workshop creations?
A: Yes.
9 Comments
Spades 4 May, 2023 @ 10:18pm 
Could you make it work with group names as well?
WestWindsDemon 23 Jan, 2023 @ 4:12pm 
Your Clang driver is fucking evil... I love it!
mhwyoshi 13 Jun, 2022 @ 10:53am 
I love it!
Rusted Droid 21 Mar, 2022 @ 9:46am 
@76561198063449834 @LostNomad
Piston Clang Drive works by pushing piston moving part towards animated part of any door_block.
Tie animated part of door_block was killing player in 2014-2018 if ship was moving.
LostNomad 20 Feb, 2022 @ 5:52pm 
How does the Clang Drive work exactly? I'm relatively new to advanced piston functionality and I'm having trouble recreating it.
Whiplash141 13 Feb, 2022 @ 1:07pm 
> Yeah, it was very useful when I was making those sprites

Awesome, glad to hear it and happy to see I have a user in the wild :)
Zooblesnoops 13 Feb, 2022 @ 5:18am 
Great job, this is awesome! I hope keen add attach/detach piston head options as part of the base game someday :steamthumbsup:
T0pOxyg3n  [author] 12 Feb, 2022 @ 11:44pm 
Yeah, it was very useful when I was making those sprites
Whiplash141 12 Feb, 2022 @ 5:53pm 
Did you happen to use my sprite builder application for those cute running screens? :D