Isometric VBL-Token Bug
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.
Isometric VBL-Token Bug
We use Maptools in isometric style...
problem: the generated VBL seems to be "under" the token.
is that an handling error by me, or is it not supported yet?
problem: the generated VBL seems to be "under" the token.
is that an handling error by me, or is it not supported yet?
- Attachments
-
- picture for details
- maptool bug.jpg (99.68 KiB) Viewed 1273 times
Re: Isometric VBL-Token Bug
I know its not an answer to your question but...More screenshots please, that looks really cool!
How'd you get the floor texture to wrap so seamlessly with the walls?
When you say, "The VBL is under the token", I think its just wherever you draw it. Guess I'd need to see more screenshots showing the actual VBL drawn to give better advice.
How'd you get the floor texture to wrap so seamlessly with the walls?
When you say, "The VBL is under the token", I think its just wherever you draw it. Guess I'd need to see more screenshots showing the actual VBL drawn to give better advice.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Isometric VBL-Token Bug
Perhaps screenshot of the vbl layer?
-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: Isometric VBL-Token Bug
@xavram: All elements were build and rendered in blender. In this case the floor and the wall in the same element.
clarification: The VBL-Layer works really well, i mean the "new" Token-VBL function, so tokens can block the view of another token.
In this example the Token "Bordin_Iso" should not see the Mindflayer because the Fighter blocks the line of sight. But in this case the the line of sight is blocked one feld under the token and the shape seems to be smaller as it should.
Spoiler
Spoiler
In this example the Token "Bordin_Iso" should not see the Mindflayer because the Fighter blocks the line of sight. But in this case the the line of sight is blocked one feld under the token and the shape seems to be smaller as it should.
-
- Dragon
- Posts: 304
- Joined: Mon Mar 23, 2009 4:48 pm
Re: Isometric VBL-Token Bug
It looks right to me. Remember that the 3d aspect of the isometric view is an illusion, and the VBL works as if you are looking overhead. So the base of the one token is what is blocking the vision of the other token -- the rest of its body isn't in the way if you draw straight lines from one token to the other.
Re: Isometric VBL-Token Bug
for a better description:
from left to right:
1st: is a flat isometric square and works pretty well.
2nd: is the same isometric square but uses an image table with the bigger figure -so the figure is smaller as it should
3rd: is a flat square with the height and width of a Figure but you can see VBL is shiftet
4th: is advanced square but with an image table
all token are declared as "figure"
so how can i combine the flat square with the figure image without the scaling?
sorry, i don’t speak English very well^^
from left to right:
1st: is a flat isometric square and works pretty well.
2nd: is the same isometric square but uses an image table with the bigger figure -so the figure is smaller as it should
3rd: is a flat square with the height and width of a Figure but you can see VBL is shiftet
4th: is advanced square but with an image table
all token are declared as "figure"
Spoiler
sorry, i don’t speak English very well^^
Re: Isometric VBL-Token Bug
I see what you mean. Figures with VBL have their VBL shifted down below where the token is.
I do think it's unusual to have a figure with vbl though since the image doesn't really represent the true position of the token. For example, the head would block line of site for things that have line of site behind it.
I think the simple answer is that this feature isn't supported for figures and I wouldn't recommend using it that way.
I do think it's unusual to have a figure with vbl though since the image doesn't really represent the true position of the token. For example, the head would block line of site for things that have line of site behind it.
I think the simple answer is that this feature isn't supported for figures and I wouldn't recommend using it that way.
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: Isometric VBL-Token Bug
Ya, that's a funky one, like AM said, your "probably" would want it to interact that way? (but doors? maybe? I dunno)
There very well could be a bug and tokenVBL on isometric is going to be kinda unsupported at the moment. To much stuff on my plate!
For a work around, there IS a transferVBL function that can move the VBL from token to VBL Layer and vice versa. You can try transferring the "square" vbl from the layer to the token and see if that works? (Not sure if it's going to get screwy in "translation")
It could get wierd, IIRC the token VBL want to be in the token "bounds" and those bounds are a little different with isometric tokens...
There very well could be a bug and tokenVBL on isometric is going to be kinda unsupported at the moment. To much stuff on my plate!
For a work around, there IS a transferVBL function that can move the VBL from token to VBL Layer and vice versa. You can try transferring the "square" vbl from the layer to the token and see if that works? (Not sure if it's going to get screwy in "translation")
It could get wierd, IIRC the token VBL want to be in the token "bounds" and those bounds are a little different with isometric tokens...
-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: Isometric VBL-Token Bug
This is a pity,
i hoped there is a way to block the line of sight through the base of the token (not the head or body of course).
maybe in the far future with a standard square oder circle
uhhh... the transferVBL sounds good, but I fear i don't understand enough of the programstructure of maptools - i'm just an ordinary user^^ but i will try
i heard some interesting things about the "bag of tricks" but i didn't use it. -does anybody know if something like that is possible with that tool?
Thank you so much!
i hoped there is a way to block the line of sight through the base of the token (not the head or body of course).
maybe in the far future with a standard square oder circle
uhhh... the transferVBL sounds good, but I fear i don't understand enough of the programstructure of maptools - i'm just an ordinary user^^ but i will try
i heard some interesting things about the "bag of tricks" but i didn't use it. -does anybody know if something like that is possible with that tool?
Thank you so much!
Re: Isometric VBL-Token Bug
If you only want the base to block, then I have an idea. You can have a base image, do the vbl thing and then change the image to the one you want. It'll keep the old vbl but have the new image. I did something similar with a complicated cave image. I'm not sure if the vbl will be shifted down though once you switch to a figure token though. The problem with that may just be creating the vbl for a figure token. I would try creating it with a normal token, then switch to a figure token.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Isometric VBL-Token Bug
i tried so last night, and the new VBL has now the right size but when ich change to Figur-Token the VBL also is shifted down.
so i'm going to use this feature only for objects- this should be working.
so i'm going to use this feature only for objects- this should be working.
Re: Isometric VBL-Token Bug
I use a template to create my iso images. You could probably create your base higher than normal, do the vbl for token then change this image. For example the top ring from my template.
- Attachments
-
- iso template.png (94.97 KiB) Viewed 1125 times
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: Isometric VBL-Token Bug
re: transferring vbl, it's pretty simple and i recommend adding these to macros (I need to add them to the button menu I think...)
Select a token and bam, vbl is copied based on token footprint. I use this for, say, I I have a statue; create token VBL, transfer to map. It performs better as token doesn't move.
For your use case, create a square of VBL at the base, transfer to token. (you have to manually move the VBL from the VBL layer). Note; this is untested with ISO and suspect you may see some clipping as ISO token bounds may not == grid bounds?
Transfer Map VBL to Token
[r: transferVBL(0)]
Transfer Token VBL to Map
[r: transferVBL(1)]
<!-- This removes the vbl from the token -->
[r: finalVblData = "{'shape':'none'}"]
[r: setTokenVBL(finalVblData)]
<!-- This removes the vbl from the token -->
[r: finalVblData = "{'shape':'none'}"]
[r: setTokenVBL(finalVblData)]
For your use case, create a square of VBL at the base, transfer to token. (you have to manually move the VBL from the VBL layer). Note; this is untested with ISO and suspect you may see some clipping as ISO token bounds may not == grid bounds?
-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: Isometric VBL-Token Bug
I dont' recall having this implemented in the BoT, but its simple enough. I do have implemented the creation of vbl stamps, but those roughly got outdated as soon as the token vbl was introduced.
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