Space Engineers

Space Engineers

Toggle Stargate Iris
29 kommentarer
Gwindalmir  [ophavsmand] 28. nov. 2019 kl. 2:56 
I just tested this out, apparently something in the game broke. Mods can no longer call PB scripts. It just fails silently.
The only workaround is to use a Timer block as an intermediary: Group the Timer block to the gate, then have the timer block call the PB with the "Incoming" or "Idle" argument to trigger it automatically again.
Scott Dark 17. mar. 2019 kl. 20:35 
@Phoenix, What would be required to get this script working again?
Bodyboarder2528 10. mar. 2019 kl. 5:16 
do you have to use a universal gate?
Spartan-118 30. maj 2018 kl. 2:37 
will this still work?
Gwindalmir  [ophavsmand] 22. jan. 2017 kl. 18:15 
I've updated the script. It now works with the most recent Stargate mod update.
DodoTheOldOne 18. dec. 2016 kl. 12:16 
i think its better to post here: since last big update, the script dont work for me.
Gwindalmir  [ophavsmand] 30. maj 2015 kl. 17:45 
@Badmoon, I can't reproduce it, would you mind sending your world file?
Gwindalmir  [ophavsmand] 30. maj 2015 kl. 15:04 
@Badmoon, ah, I misunderstood what you were saying, my apologies.
Hmm, I'll take a look, that is not supposed to happen.
Badmoon 30. maj 2015 kl. 13:00 
That's what is happening to me for some reason.
Badmoon 30. maj 2015 kl. 12:59 
But is it suppose to close the iris on outgoing wormholes about 5 seconds after activation?
Gwindalmir  [ophavsmand] 29. maj 2015 kl. 23:46 
@badmoon, It does not work on outgoing. The main description for the wormhole mod says it only triggers the programming block on an incoming wormhole. For outgoing you can use the programming block directly, or a timer block.
Badmoon 29. maj 2015 kl. 20:14 
anyone else having a problem with the iris engaging on outgoing wormholes. Works as expected for incoming.
bluedragnpc 6. maj 2015 kl. 10:00 
the iris problem i was having before on my large ship blocks "where they are taking damage from iris" was fixed for a few days. now its causing damage again i redownloaded mod and still receive the damage
Gwindalmir  [ophavsmand] 30. apr. 2015 kl. 17:57 
@cryptkeeper83, game update today broke it. Stand by.
bluedragnpc 30. apr. 2015 kl. 15:51 
redownloaded the stargate working mod after deleting mods and gates arent working at all for me now.
Gwindalmir  [ophavsmand] 30. apr. 2015 kl. 11:45 
Ok, the version you have isn't updated. Which mod are you specifically using (standard, hardcore)?
I assume you are connected and the latest version has downloaded.
You can always go to %APPDATA%\SpaceEngineers\Mods and delete all the .sbm files there. The game will redownload them when you load the world.
bluedragnpc 30. apr. 2015 kl. 10:06 
posted if i did it right like u wanted
Gwindalmir  [ophavsmand] 30. apr. 2015 kl. 9:26 
Can you enable physics debug draw (F11), then post a screenshot of it active?
bluedragnpc 30. apr. 2015 kl. 6:42 
my large ship block the gate sits on still take damage ive postted a couple images to show it
Gwindalmir  [ophavsmand] 29. apr. 2015 kl. 23:12 
@cryptkeeper83 An update has been posted for the Stargate mod, which should fix the IRIS damage issue.
bluedragnpc 23. apr. 2015 kl. 18:05 
no the ship doesnt move when gate is used it just damages the block with gate on it and slight damage on surrounding blocks
Gwindalmir  [ophavsmand] 23. apr. 2015 kl. 15:55 
@cryptkeeper83, is the ship moving? Moving ships while the gate is open is not recommended. The damage has to do with the collision mesh in of the IRIS colliding with the gate itself.
bluedragnpc 23. apr. 2015 kl. 14:56 
was wondering why the iris does damage on a large ship block when its activated but not on a staion block? i like using the gates iris in my world against my friends on survival since we pvp, i just ask cause i use a gate on my ships for quick travel with ore mining.
KellDarkes 17. apr. 2015 kl. 11:33 
@DERPY SMOOG
You don't need the timer block, your question piqued my interest so I decided to test it. You place your sensor where it will pick you up as you're walking through (I placed it directly above) and you put the Programable block in the first action space and set it to 'Run'. Then in your Programmable block put in a code like this:

void Main()
{
IMyDoor dhd = GridTerminalSystem.GetBlockWithName("Gate 2") as IMyDoor;

dhd.SetCustomName("DHD"); // sets the name of the DHD to DHD
}

Make sure to replace "Gate 2" with the name you are using on your DHD to Dial. Hope this helps as it is my first ever use of C#
Dracula420 14. apr. 2015 kl. 16:39 
i have no scripting or coding exp at all. i wish i did but i got severe ADD and have tried and failed many times to learn some form of coding. thank you for letteng me know it is possible tho. :)
Gwindalmir  [ophavsmand] 14. apr. 2015 kl. 14:25 
I don't see why not. All the pieces are in place, you just have to build the glue.
Dracula420 14. apr. 2015 kl. 0:29 
i was thinking a shourt range sensor just below the gate to sense when somebody walks over it. would that work to activate a timer to wipe the address?
Gwindalmir  [ophavsmand] 13. apr. 2015 kl. 20:07 
I believe you can, yes. However you'd have to make a workaround, since the gate doesn't activate the programmable block on outgoing wormholes.
You'd have to either have the programmable block activate the gate, or use a timer block and add the gate action and programmable block events to it. You could also just use two buttons, one to dial, one to trigger the programmable block to clear the name.
Dracula420 13. apr. 2015 kl. 0:22 
TY for the script. i only wish i could here the thump of somebody hitting that iris XD. i was wondering if there was a way to use a programable block, a timer and a sensor to make a DHD reset its address? i want to make a gate near the center of my server but when i use it i want the address to clear out so nobody outside my faction can gate to my station. if you decide to look into it. thanks in advance.