Starbound

Starbound

329 ratings
Automatic Doors
 
Rate  
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
0.043 MB
Jul 22, 2016 @ 3:12pm
Sep 18, 2016 @ 2:49am
27 Change Notes ( view )

Subscribe to download
Automatic Doors

Subscribed
Unsubscribe
Description
Makes all doors open and close automatically!

Last update: v3.5 -big code rewrite by bk3k, check the changelogs for details

You come home from a hard and hefty farming day, and then there is it. The door. Doesn't it bother you to ever press that E button open it? Fear no more, citizen, for convenience is here!

This mod makes all doors in the game (all that rely onto doors.lua actually) automatic. This means you'll be able to just walk straight forward against a door and it will open and close without your consent!
Though you should probably be careful when there are monsters at your door, as you will open the door now when you come too close...
It also open automatically ONLY for players, NPCs still have to use doors manually and monsters still can't open them.
Though NPCs also close the doors automatically behind them now, which means that you no longer have to worry that monsters might slip into your house! (Though it is not 100% foolproof if a monster stands right next to the door when the NPC opens it)
Doors should also behave as normal doors when they are locked or wired, wiring a door disables automatic mode while dewiring one enables it again.
If a door behaves funky after you downloaded a new version, walk through it and away from it once and see that the NPCs do the same, also be sure to reload your game!

In case of issues: If you are getting stuck, like in a mission, you can open the chat and type "/admin" followed by "/settileprotection 0 false". This allows you to destroy blocks. Set it to true again after you got through the faulty door so you don't lose the experience. And report the issue to me :)



Also if you recognize any bugs, or have any wishes or future ideas, please feel free to report them to me (us rather), I will try to fix them then.

Discuss the mod here: http://community.playstarbound.com/index.php?threads/automatic-doors.74792/

Credit: bigthanks to healthire for some minor help and especially to bk3k for updating it to 1.0 and greatly updating the code!

Our other mods:
Give me Cotton! - http://steamcommunity.com/sharedfiles/filedetails/?id=732096973
NPC Killer - http://steamcommunity.com/sharedfiles/filedetails/?id=761746889
No Heal and Fooditem Drop - http://steamcommunity.com/sharedfiles/filedetails/?id=764533110
Pipes flow - http://steamcommunity.com/sharedfiles/filedetails/?id=745399025
bk3k Blocks and Objects - http://steamcommunity.com/sharedfiles/filedetails/?id=757860462
Popular Discussions View All (2)
6
Sep 15, 2016 @ 10:13pm
PINNED: For modders - more than just automatic doors
bk3000
< >
190 Comments
kirbystarz05 Sep 29 @ 8:19am 
k
bk3000  [author] Aug 8 @ 8:37pm 
@Thachyo
Thanks for proving logs. Although those are incredibly long and full of errors. I can't find anything related to this mod but... well that could just mean I can FIND it. You have some sort of severely broken vehicle-type mod, and I think something affecting monsters too. The errors just keep coming!

I know "enemies aren't stupid" is well outdated(and is missed), and I'm not sure if any other NPC mods are broken - but I know the behavor system was changed completely in SB 1.3.
Johnny Rainbow Aug 8 @ 12:10pm 
doesn't seem to work for me either. here's the log though:

part 1: https://pastebin.com/eTbNFrBK

part 2: https://pastebin.com/PBbwJTHN
bk3000  [author] Aug 3 @ 7:09pm 
When you say it doesn't work... Could you be specific? And go into \starbound\storage\ starbound.log to put the contents on pastebin. Nothing's changed in our end or Starbound that would suddenly made it stop working so I'm going to need something to go off of.
Skyfry428 Aug 3 @ 5:35pm 
This worked when I first got it, now it doesn't work at all. Tried uninstalling and reinstalling, nothing worked
bk3000  [author] Jul 18 @ 3:34pm 
Pretty sure the server would need it.
call me daddy Farmskins.com Jul 18 @ 2:39pm 
is it client sided ?
Jul 14 @ 3:26pm 
works perfectly @v1.3.1
great mod (^.^)b
bk3000  [author] Jul 6 @ 4:18pm 
You can add it to individual doors, or edit the lua script in /objects/wired/door/door.lua

I suppose I should make an interface already that lets you change stuff like that and write it to world properties. That way people not inclined to tinker can adjust stuff too.
Nesano Jul 6 @ 3:21pm 
Lornlynx throwin' down on that gibberish. But anyway, where would I find queryOpenRadius?