Smart Doors - macro enhanced doors with Vision Blocking

Show off your RPG maps, campaigns, and tokens. Share your gaming experiences and stories under General Discussion and save this forum for things you've created that may help others run their own games. Use the subforums when appropriate.

Moderators: dorpond, trevor, Azhrei, Gamerdude

Post Reply
User avatar
bubblobill
Giant
Posts: 134
Joined: Sun Jan 24, 2010 3:07 pm

Smart Doors - macro enhanced doors with Vision Blocking

Post by bubblobill »

A set of door tokens that open and shut
Each door token contains its own vision blocking and macros.

Here is what they look like.
Doors Closed
Spoiler
Image
Doors Open
Spoiler
Image
There are currently three sets of doors; v1.4.2, v1.3.3 and v1.3.3_compatible.
v1.3.3_compatible can be operated by players and should be used on earlier versions of MT
v1.3.3 doors do more but will only work on MT 1.7+, may not be operable by players
v1.4.2 fancier, with more tricks, but can not be operated by players until MT 1.8.

There is an issue where Fog of War is reset when opening doors due to my misunderstanding of how exposePCOnlyArea() works. If you experience this, download the current versions from the links below.

The doors are set up for use in different languages but there is only one language until people contribute translations.

Smart Doors can be operate as Swing doors or Sliding doors and have settings that allow you to control the direction of swing and the opening arc.
Smart Doors can be locked and unlocked, peeked through, partially opened, or linked in pairs to act as a set of double doors.

Here is an example of a Smart Door's macros:
Spoiler
Image
which include simple instructions:
Spoiler
Image
Doors are available on GitHub
Smart_Doors_v1.4.2.zip MT 1.8
Smart_Doors_1.3.3.zip MT 1.7+ (GM only)
Smart_Doors_1.3.3_compatible.zip MT <1.7 <-- most reliable

Smart_Door_Trap_v1.3.3.rptok
Last edited by bubblobill on Tue Sep 01, 2020 8:58 pm, edited 9 times in total.
Bubblobill on the forum.
@Reverend on the MapTool Discord Server

Responsible for less atrocities than most... I do accept responsibility for these though: SmartDoors, Simple d20 Framework - barebones, Drop-in: All 3.5 SRD Monsters, Drop in: Simple Character Editor, Battletech Framework

User avatar
bubblobill
Giant
Posts: 134
Joined: Sun Jan 24, 2010 3:07 pm

Re: Smart Doors - macro enhanced doors with Vision Blocking

Post by bubblobill »

reserved
Bubblobill on the forum.
@Reverend on the MapTool Discord Server

Responsible for less atrocities than most... I do accept responsibility for these though: SmartDoors, Simple d20 Framework - barebones, Drop-in: All 3.5 SRD Monsters, Drop in: Simple Character Editor, Battletech Framework

User avatar
bubblobill
Giant
Posts: 134
Joined: Sun Jan 24, 2010 3:07 pm

Re: Smart Doors - macro enhanced doors with Vision Blocking

Post by bubblobill »

reserved
Bubblobill on the forum.
@Reverend on the MapTool Discord Server

Responsible for less atrocities than most... I do accept responsibility for these though: SmartDoors, Simple d20 Framework - barebones, Drop-in: All 3.5 SRD Monsters, Drop in: Simple Character Editor, Battletech Framework

User avatar
Full Bleed
Demigod
Posts: 4532
Joined: Sun Feb 25, 2007 11:53 am
Location: MD
Contact:

Re: Smart Doors - macro enhanced doors with Vision Blocking

Post by Full Bleed »

I'm finally getting around to incorporating this in my framework and I ran into an issue.

I don't give my players access to the Campaign Macro panel. In fact, I've removed all reliance on MTs macro buttons/windows and they do everything through their character sheet. But when I create a macrolink to the Door and Door* macros that I've placed in either the Campaign macros or on a Lib token when I click on the macrolinks from the player's character sheet I get an error that says, "You do not have permission to call the "broadcast" function."

Sample macrolinks:

[r: macroLink("Peek", "Door*@Lib:SmartDoors", "all", "", "selected")]
[r: macroLink("Open", "[email protected]", "all", "", "selected")]

I'm guessing it has something to do with running the macros from the target token through the campaign macro window? Not sure. I generally run everything through lib tokens. Is there some easy way to fix this issue?
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


User avatar
Full Bleed
Demigod
Posts: 4532
Joined: Sun Feb 25, 2007 11:53 am
Location: MD
Contact:

Re: Smart Doors - macro enhanced doors with Vision Blocking

Post by Full Bleed »

wolph42 wrote:
Tue Sep 01, 2020 4:00 am
turn off 'allow players to edit macro' in the macro panel
That's not on anywhere.

UPDATE: I went ahead and modified the drop-in to use a lib token and moved most of the action to a user defined function. Problem solved for my usecase.


Great drop-in!
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

moonmilk
Kobold
Posts: 5
Joined: Fri Sep 06, 2019 5:52 am

Re: Smart Doors - macro enhanced doors with Vision Blocking

Post by moonmilk »

Awesome macro! My players are really going to dig this! Thanks for developing it!

moonmilk
Kobold
Posts: 5
Joined: Fri Sep 06, 2019 5:52 am

Re: Smart Doors - macro enhanced doors with Vision Blocking

Post by moonmilk »

I do have question about the double doors feature though. Attached is a gif of what's happening.

I'm not too sure about the macro code behind the scenes but I'm wondering if this is working as intended? In this case, I want the right door to swing open from along the right wall/frame, instead of kind of floating in the middle of the doorway. Editing the "Label" field is doing something but I'm unsure what to change it to to get the door to open from the opposite wall. I'd appreciate any guidance.

Thanks for reading my post!
Attachments
smartdoor.gif
smartdoor.gif (121.89 KiB) Viewed 29 times

Post Reply

Return to “User Creations”