RPTools.net

Discussion and Support

Skip to content

It is currently Thu Mar 30, 2017 7:35 pm 




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



Reply to topic  [ 6 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Dragon
 
Joined: Sun Apr 29, 2007 8:28 pm
Posts: 330
 Post subject: Free size on tokens?
PostPosted: Tue Feb 28, 2017 6:53 am 
It doesn't look like this is an option. There's no way to free size our tokens is there? What I'm shooting for is sci-fi vehicles that are scaled to characters.

Alternately .. objects can have properties and macros still interact with them same as tokens, right? ie, my vehicle can be an object or a token for macros to update or read properties?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9163
Location: Netherlands
 Post subject: Re: Free size on tokens?
PostPosted: Tue Feb 28, 2017 8:28 am 
not sure what you're aiming at, but freesize is possible on the background layer. Next to that you can use macros to size tokens to your liking.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II and 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


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 509
 Post subject: Re: Free size on tokens?
PostPosted: Tue Feb 28, 2017 4:28 pm 
Yes, your vehicle can be on the Object layer but still have properties that can be get/set by macros. I have this all over the place in my current project. Players exists on the Token layer, hazards exist on the Object layer...and hazards all have their own set of properties which change via macros.


Top
 Profile  
 
 Offline
Dragon
 
Joined: Sun Apr 29, 2007 8:28 pm
Posts: 330
 Post subject: Re: Free size on tokens?
PostPosted: Tue Feb 28, 2017 6:14 pm 
Looks like the setSize() function only sets the token to a pre-defined size (large, medium, etc). I need to go way beyond Colossal. Free-sizing this vehicle as an object will work, but the disadvantage is having to switch between layers if combat is between characters and vehicles.

Another workaround: set the vehicle as an object, do free-size as desired, then change it back to a token. Any idea if this will cause problems with code that manipulates the token properties?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9163
Location: Netherlands
 Post subject: Re: Free size on tokens?
PostPosted: Tue Feb 28, 2017 6:20 pm 
what you are looking for is setTokenHeight and setTokenWidth

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II and 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


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1545
Location: Chicagoland
 Post subject: Re: Free size on tokens?
PostPosted: Wed Mar 01, 2017 2:59 pm 
Or, move token to object layer, freesize it, move back to the token layer.

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
More information here: MapTool Nerps! Fork | TokenTool Nerps! Fork
Custom TokenTool (version 1.0b33): TokenTool.exe


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 6 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman