Starbound

Starbound

252 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 :)


It is highly recommended that you use the Enemies aren't stupid! mod: http://steamcommunity.com/sharedfiles/filedetails/?id=731644566
It revamps NPC AI so they can actually use horizontal doors without getting stuck in a loop. Most issues regarding NPC's can be solved by using this mod!


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
< >
163 Comments
thanks for the tile code now i can cheat my way though :D
Bee Movie Memes Apr 26 @ 4:29pm 
Aye cool cool, thanks for telling me!
lornlynx  [author] Apr 26 @ 8:38am 
@Bee Movie Memes There is, but it requires coding knowledge, check the other comments or the official forums.
Bee Movie Memes Apr 26 @ 1:34am 
Is there away to only make npcs close doors?
bk3000  [author] Apr 14 @ 4:16am 
@Fuyuno
Unsubscribe and resubscribe. Somehow it didn't load. Or you're playing on a server without this.

The Outpost doors are wired to sensors. They aren't actually automatic.
Fuyuno Apr 14 @ 1:04am 
hmm.. doesn't seem to be working o O except the doors at the outpost. every other door doesn't auto-open OR close
the.jowetts Apr 9 @ 6:47am 
Thank you
bk3000  [author] Mar 20 @ 12:59am 
It will close doors they've opened, yes.
Coked-Up Psychopath Mar 19 @ 11:28am 
Does this work for NPCs? 'Cause I have no problem opening/closing the doors myself. It's my idiot tenants who open the door during a thunderstorm and not close it, so my castle ends up flooded in the lower levels!
lornlynx  [author] Feb 28 @ 10:16am 
@bk3000 Feel free to make changes and additions, as long as they don't break anything I will add them. Personally I have no time at the moment working on it sadly.