Macro programming reference?

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

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. :)
Post Reply
User avatar
Maccwar
Cave Troll
Posts: 94
Joined: Sun Oct 12, 2008 9:22 am

Macro programming reference?

Post by Maccwar »

Teach a man to fish ...

Is there any sort of macro programming reference that someone has created?

I can see the basics from some of the samples that people have posted and I think I'll be able to get started on some simple creations but I'd like to get an idea of what is possible.

User avatar
wrathchild
Dragon
Posts: 546
Joined: Thu May 24, 2007 9:44 am
Location: Copenhagen, Denmark
Contact:

Post by wrathchild »

Yes, there is a sticky in the Documentation forum that goes into a good part of it.

(Edit: Moderator's note. Keep reading this thread, as the documentation you're looking for may be elsewhere.)
Entering the Digital Age of Roleplaying.
Part of the Resident GURPS Lobby.
Calling for Halos to be Hexified.

User avatar
Maccwar
Cave Troll
Posts: 94
Joined: Sun Oct 12, 2008 9:22 am

Post by Maccwar »

Doh! Not enough caffeine this morning.

You would have thought I would have been able to spot somethign called "A (long) MapTool macro tutorial".

Thanks wrathchild.

User avatar
PyroMancer2k
Dragon
Posts: 925
Joined: Thu Sep 11, 2008 2:04 pm

Post by PyroMancer2k »

And when you ready for the "Advanced" stuff check out the thread input() and other new b42 macro functions which is also in the Documentation forum. Fair warning though it is some pretty complex stuff but also allows for some powerful features.

The documentation is also well known for not having all the commands together in one spot as such here are some other links to info on macro commands. Some of which are advanced stuff ;)

Token Init Commands: http://forums.rptools.net/viewtopic.php ... c&start=15
Math and Comparison Logic: http://rptools.net/doku.php?id=parser
HTML Formating: http://rptools.net/doku.php?id=maptoold ... formatting
Dice Rolling: http://rptools.net/doku.php?id=dicelib
B46 New Features: http://forums.rptools.net/viewtopic.php?p=69907#69907
B48 New Features: http://forums.rptools.net/viewtopic.php ... sc&start=0
B49 New Features & Json Objects: http://forums.rptools.net/viewtopic.php?f=12&t=6358
Dialog Tutorials: http://forums.rptools.net/viewtopic.php?t=6107
Google Docs: http://docs.google.com/View?docid=ddbg9zts_3c9kmm4cq
Wiki: http://lmwcs.com/maptool/index.php?title=Main_Page


(Edited by moderator to add the first link. Also marked this thread as sticky.)
Last edited by PyroMancer2k on Thu Jan 08, 2009 7:01 am, edited 5 times in total.

Craig
Great Wyrm
Posts: 2107
Joined: Sun Jun 22, 2008 7:53 pm
Location: Melbourne, Australia

Post by Craig »

If you want a reference and are comfortable with vi/vim editors then the vim maptool macro plug in has all of the functions documented in its help file, as well as examples for many of the functions that are not straight forward. If you are not comfortable with vim but have plenty of space on your machine I guess you could still install it just for the help file. As far as I know its the most up to date reference of all the functions without having to find and read a bunch of threads. Next time I update it I will see about converting the help file into something usable for those that don't want to use vim

You can get the plugin from the following thread.
http://forums.rptools.net/viewtopic.php?t=5764

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Post by Azhrei »

And the tutorials and lots of other information is available at RPToolsTutorials.Net although those are more for the user interface and less for macros in particular.

User avatar
Hawke
Great Wyrm
Posts: 2261
Joined: Sat Apr 21, 2007 12:12 am
Location: Albuquerque, NM

Post by Hawke »

Did anything ever come of a community wiki for MapTool features?

I'm seeing almost a screen of stickies in this forum and I'm also having trouble finding documentation about the Initiative Panel, some of the newer Macro features (though this sticky helped greatly), and how bars work exactly. I remember seeing some good explanations in either the idea-conception threads or in the build thread, but it's tougher to remember which is where.

I'm not complaining, just trying to figure out a way that we can help the community a bit better. It's easier for me since I know places to look, but if I just jumped on I'd likely have no idea about these new features. :-)

(And I love rptoolstutorials.net but for in-development features its not worth doing a screencast)

User avatar
PillBox
Dragon
Posts: 253
Joined: Thu May 17, 2007 4:07 pm
Location: London, England

Re: Macro programming reference?

Post by PillBox »

A lot of those links can be found in one document here : http://docs.google.com/Doc?docid=ddbg9z ... q&hl=en_GB
Image
Image

User avatar
Hawke
Great Wyrm
Posts: 2261
Joined: Sat Apr 21, 2007 12:12 am
Location: Albuquerque, NM

Re: Macro programming reference?

Post by Hawke »

PillBox wrote:A lot of those links can be found in one document here : http://docs.google.com/Doc?docid=ddbg9z ... q&hl=en_GB

That's awesome, I never thought a google doc would be the way to go for this. Good thinking! Do many people have write access?

User avatar
PillBox
Dragon
Posts: 253
Joined: Thu May 17, 2007 4:07 pm
Location: London, England

Re: Macro programming reference?

Post by PillBox »

myself and two others.

I have not been able to update lately due to time ... if you want access, PM me your email address and I can add you.
Image
Image

User avatar
Hawke
Great Wyrm
Posts: 2261
Joined: Sat Apr 21, 2007 12:12 am
Location: Albuquerque, NM

Re: Macro programming reference?

Post by Hawke »

I don't know enough to be useful at all, though I highly encourage others to jump on this! The more we can get something in a central location, the easier it will be to develop some really great macros and really push the system.


Post Reply

Return to “MapTool”