RPTools.net

Discussion and Support

Skip to content

It is currently Mon Jan 22, 2018 2:58 am 






Reply to topic  [ 82 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Great Wyrm
 
Joined: Fri Mar 28, 2008 11:30 pm
Posts: 1870
Location: Layfayette Hill, PA
 Post subject: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Tue Aug 04, 2009 6:10 pm 
I have been adding various elements to my D&D3.5/Pathfinder Framework that keep getting asked for without the framework bloat. So I pulled several of the generic (but useful) tools out and put them on a token that should be framework agnostic.

DOWNLOAD LINK: MT1.3.61_WhisperHandoutsMapMove01.zip UPDATED!

Attachment:
MT1.3.61_WhisperHandoutsMapMove01.zip [942.78 KiB]
Downloaded 192 times

The tools provided here are:

Start Map & Location -- Use the macro: setStartMap to identify a map name and x,y coordinate that will be loaded when the campaign is loaded (or players connect). You can easily get the x,y coordinates by mousing over your desired location and then read them from the MapTool lower right tool bar.

Whisper Frame -- A pop-up a frame that eases sending whispers to multiple players.
Image


Move Tokens to Map -- This provides a mechanism to store way points and then allows the GM to select tokens and move them (and their initiatives) to the desired way point.
Choosing which map to send the selected tokens too:
Image

Choosing the move-to point:
Image

The result after the move:
Image

GM configuring the move-to points for the campaign. NOTE: If you change field entries then hit any button other than Save, your field changes will be lost.
Image


TeleportPad -- This provides a mechanism to move tokens (and their initiatives) to the map & x,y location of the TeleportPad token. The GM places the TeleportPad token at the desired location and runs the SummonPlayers macro that is on the TeleportPad token. This will send a message to chat that has a link in it. The players then select their token(s) and click the link. This will move their token(s) to the map & x,y coordinates the GM specified. (Thanks DrVesuvius )

Token Handout -- This uses a tokens' images/notes as the data source and sends a link to chat that will pop up a dialog window with the desired info.
Define what info to send from the selected token:
Image

Choose which players are to receive the token-handout:
Image

A sample token-handout. The handout is the frame in the upper right corner. This was created by selecting the Hero token and choosing to send the token image and the GM Notes from that image:
Image


Global Handout System -- This uses a table to store your handout data, and restricts access at the token level.
Configuring the Handouts:
Here the GM specifies the various database elements of the handouts.
Image

Handout Access:
Granting access to specific handouts
Image
Image

Sample Handout:
This is a sample handout dialog that the players would see.
Image

If the handout has a background image, then this pre-fetch dialog will be presented before the handout dialog. This is an interim work around to deal with a current MapTools image loading bug.
Image

Sample Handouts Table:
Here you enter the text and images of your handouts. The table name can be changed for added player security. Rich HTML is allowed for the text.
Image


What is required:
  • The library token Lib:libLGMUtil must be on ONE map of the campaign, on the Hidden layer and must be "Visible to Players".
  • Once added to the campaign file, the file must be saved and reloaded (this loads the user defined functions).
  • A table to store handouts is necessary. By default the table name "Handouts" is used, but that is configurable.
  • A set of campaign macros are needed (which means the server setting to propagate them is required).
  • The TeleportPad token should be placed on each map in your campaign.
  • Launch MapTools with a 2M stack size.

Parts/Installation
  • MT1.3.59_WhisperHandoutsMapMove01.cmpgn -- a sample campaign file so you can see the tools in action
  • MT1.3.59_WhisperHandoutsMapMove_LibraryToken01.rptok -- The library token. Only one copy is allowed to be in your campaign file, and the token should be on the Hidden layer, have "Visible to Players" checked on (is the default), and must be named exactly: Lib:libLGMUtil
  • MT1.3.56_WhisperHandoutsMapMove_CampaignMacros02.mtmacset -- the Campaign Macros (right click on the Campaign Macros window and select "Import Macro Set" and import this set). Alternately you can drag these macros from the library token (I put a copy of them there too).
  • MT1.3.56_WhisperHandoutsMapMove_HandoutsTable01.mttable -- A sample handout table. (You can import this one, or create your own table.)
  • MT1.3.59_WhisperHandoutsMapMove_LibraryToken01.rptok -- The TeleportPad token.

Once you have added the library token, imported the campaign macros, and imported/created the table, you need to save and then reload your campaign (this runs the OnCampaignLoad macro and adds the user defined functions). When you start your server, you need to select
.
Image


Issues with other libraries:
The library token for this toolset defines user defined functions which could be an issue if you already have these functions defined in your framework/campaign file:
json.pset()
json.pget()
json.pappend()
json.paths()


Do not use this token with my framework, these tools are built into the framework.

B61_01
======
  • Start Map -- New functionality.
  • MoveTokensToMap & TeleportPad -- Now maintain the tokens initiative from map to map. Also, these move the player's view so they follow their token.
B59_01
======
  • Whisper Frame now clears the text box after Send.
  • MoveTokensToMap -- Now has a "scatter" option that will spread the tokens in a 3x3 grid.
  • TeleportPad -- New functionality.

_________________
D&D3.5 / Pathfinder Framework


Last edited by aliasmask on Sun Mar 23, 2014 12:39 pm, edited 21 times in total.
Added file as attachment 3-13-14


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Fri Mar 28, 2008 11:30 pm
Posts: 1870
Location: Layfayette Hill, PA
 Post subject: Re: Lindsay's Generic Tools
PostPosted: Tue Aug 04, 2009 6:11 pm 
Saved for future cause that seems to be the thing to do.

_________________
D&D3.5 / Pathfinder Framework


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Mar 31, 2009 6:44 pm
Posts: 263
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Tue Aug 04, 2009 7:13 pm 
Now that I've had a chance to use them, these are awesome. The move tokens to map feature was one I didn't realise I needed, but now see just how useful it is.

_________________
MapTools Forks: Thread


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Sat Oct 11, 2008 2:37 am
Posts: 739
Location: Limoges/Guéret, France
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Thu Aug 06, 2009 6:18 pm 
lmarkus001, this looks great !
Thanks for sharing.

_________________
ImageImageImageImage


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Sat Oct 11, 2008 2:37 am
Posts: 739
Location: Limoges/Guéret, France
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Aug 07, 2009 2:27 am 
Would you mind if I translated them into french and put them to download on my website ?

_________________
ImageImageImageImage


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Sun Jun 15, 2008 1:40 pm
Posts: 444
Location: Montréal, QC
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Aug 07, 2009 6:28 am 
Super-Duper. These are cool, and will most likely find a home in my custom franken-framework.

One question: how easy would it be to remove the name restriction on the token? Not that I'm really complaining about the name, but I thought with user-defined functions, "@this", and the fact that Wiki: getLibProperty() defaults to the libToken the macro is on, that the name of the Lib:token didn't have to be so important.

Thanks for sharing all your great work.

_________________
"The trouble with communicating is believing you have achieved it"
[ d20 StatBlock Importer ] [ Batch Edit Macros ] [ Canned Speech UI ] [ Lib: Math ]


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Fri Mar 28, 2008 11:30 pm
Posts: 1870
Location: Layfayette Hill, PA
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Aug 07, 2009 8:08 am 
Natha wrote:
Would you mind if I translated them into french and put them to download on my website ?


Of course not! Feel free to do whatever with these tools!

_________________
D&D3.5 / Pathfinder Framework


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Fri Mar 28, 2008 11:30 pm
Posts: 1870
Location: Layfayette Hill, PA
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Aug 07, 2009 8:10 am 
biodude wrote:
Super-Duper. These are cool, and will most likely find a home in my custom franken-framework.

One question: how easy would it be to remove the name restriction on the token? Not that I'm really complaining about the name, but I thought with user-defined functions, "@this", and the fact that Wiki: getLibProperty() defaults to the libToken the macro is on, that the name of the Lib:token didn't have to be so important.

Thanks for sharing all your great work.


Humm... good points. I just pulled the code out of my framework which has evolved as MapTools macro capability evolved... so when originally written @this ether did not exist or was a bit buggy. If I find myself bored on a rainy day I will see if I can remove the library name restriction.

_________________
D&D3.5 / Pathfinder Framework


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12107
Location: Tampa, FL
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Aug 07, 2009 11:24 am 
Lindsay, you might try using the onCampaignLoad to create user-defined functions that access "@this". Then the name of the Lib: token can change without ever affecting other code. :)

Oh, and make the UDF something like "lm.ChangeMap" or something so it doesn't collide with someone else's UDFs. :)


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Fri Mar 28, 2008 11:30 pm
Posts: 1870
Location: Layfayette Hill, PA
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Aug 07, 2009 4:18 pm 
Ok I did a small rework so the library name is no longer critical. I also added better messages when you move tokens. I changed the original link to the new version.

One CAUTION! If you already configured Handouts or Move-To points, you will need to copy-paste the properties on the token you originally used (setup the LGMUtil campaign property set so you can see the properties).

_________________
D&D3.5 / Pathfinder Framework


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Sun Jun 15, 2008 1:40 pm
Posts: 444
Location: Montréal, QC
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Aug 07, 2009 5:12 pm 
Wow, that was fast. Thanks for making even easier to use!
I can grasp the concepts at work in all these macro utilities and frameworks, but just never seem to be able to actually put them together into a useful tool as quickly as many of you.
Stoopid PhD... :wink:

_________________
"The trouble with communicating is believing you have achieved it"
[ d20 StatBlock Importer ] [ Batch Edit Macros ] [ Canned Speech UI ] [ Lib: Math ]


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Sat Nov 15, 2008 2:28 pm
Posts: 820
Location: The City of Roses, Oregon
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Tue Aug 11, 2009 5:39 am 
This is perfect.
And awesome.
And so creative.
Thank you.

_________________
I am a special snowflake!


Top
 Profile  
 
User avatar  Offline
RPTools Team
 
Joined: Thu Jun 01, 2006 1:05 pm
Posts: 5539
Location: Buffalo, NY
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Oct 02, 2009 11:04 am 
(Note: I originally posted an error but found out later that it was my issue - I needed to add -Xss512K in Eclipse. So as a result, I deleted the 3-4 posts in this thread so that the original posters awesome code doesn't look broken. :) )

_________________
How to use my bundled artwork (MT1.3B60+): http://forums.rptools.net/viewtopic.php?f=8&t=11759


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Fri Mar 28, 2008 11:30 pm
Posts: 1870
Location: Layfayette Hill, PA
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Thu Oct 15, 2009 12:59 pm 
Updated with a couple of minor tweaks and added the TeleportPad from DrVesuvius.

_________________
D&D3.5 / Pathfinder Framework


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Sat Jan 24, 2009 2:31 pm
Posts: 38
Location: Portland, OR
 Post subject: Re: Lindsay's Generic Tools (Whisper, Move Tokens, Handouts)
PostPosted: Fri Oct 16, 2009 9:43 am 
Lindsay,

FYI - I don't see the token scatter behavior in the latest release.

BTW - awesome tools! Thanks for sharing.

Pat.

_________________
A little nonsense, now and then, is relished by the wisest men. - Willy Wonka

Currently playing Savage Worlds in the home-brew world of Shadora.
We are looking for players! PM me if interested.


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 82 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

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 is 1 user online :: 0 registered, 0 hidden and 1 guest (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 1 guest





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

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman