I'm having a bit of trouble with the Object VBL on a door when it opens and closes.
I change the alignment of the door in the Token window to be either right aligned or left aligned rather than center aligned so that it will swing on its hinges rather than from its center.
When I put the Object VBL layer on the door it's fine. But when I run the macro to Open the door (rotate it 90 degrees) the Object VBL is no longer on the door but where the door would be if it was aligned center on the tile rather than left or right. When I close the door it lines up again.
Does this make sense? I can include some images of the misaligned VBL if needed.
Tom
Object VBL on Non-Center Aligned Door
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
Re: Object VBL on Non-Center Aligned Door
yes some screenshots would really help!
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Object VBL on Non-Center Aligned Door
I found having a door image centered (from center to edge) is the best method. You then make the door large and it rotates around the center on the hinge.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Object VBL on Non-Center Aligned Door
Sounds like there may be an issue with the VBL and offset points? I'll test it locally when I get a chance but screen shots always welcomed. Just make sure to be on the VBL layer so we can see what's going on and take one of the token config as well (the tab with portrait and offset images).
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
Re: Object VBL on Non-Center Aligned Door
Is the door on the token or object layer? Also, did you move the image in the config tab? I can see this being your issue. I made a video on how I do VBL doors.
https://www.youtube.com/watch?v=XNaWERr ... e=youtu.be
https://www.youtube.com/watch?v=XNaWERr ... e=youtu.be
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Object VBL on Non-Center Aligned Door
Actually I watched your video before I tried it myself. They key, that I missed, is the image file itself has the door already centered for the swinging on the hinges. I used a full width door and manually moved it on the Config Tab which causes the issues.aliasmask wrote:Is the door on the token or object layer? Also, did you move the image in the config tab? I can see this being your issue. I made a video on how I do VBL doors.
https://www.youtube.com/watch?v=XNaWERr ... e=youtu.be
Thanks!
Tom
Re: Object VBL on Non-Center Aligned Door
Ideally, the VBL should take into account the layout of the token.
As is, you can't really use VBL on objects with an alternate layout.
As is, you can't really use VBL on objects with an alternate layout.
MT Framework: Call of Cthulhu 7th fork, D&D 5e Spell Library
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
Re: Object VBL on Non-Center Aligned Door
Of course you can. Just generate the VBL after you've repositioned the image and it works fine.