Function to make prettier forms

These are tools and utilities that make it easier to run games. This includes Lib: macro tokens dropped into MapTool to manage the game, a conversion file for CharacterTool to allow use in MapTool, or just about anything else you can think of -- except graphics with macros and anything specific to a particular campaign framework. Those are already covered by the Tilesets subforum and the Links and External Resources forum.

Moderators: dorpond, trevor, Azhrei, giliath, Gamerdude, jay, Mr.Ice

Nildik
Cave Troll
Posts: 76
Joined: Mon Oct 31, 2011 7:32 pm

Function to make prettier forms

Post by Nildik »

Hello

I create a couple of simple functions that allow to make more attractive forms (take a look to the image).

Use: frameOpen(number from 0 to 4).... your form code .... frameClose(same number)

The function draws a resizable background to the form. At the moment there are only 5 styles, but you can add more by editing the image table.

Instalation: Copy the lib token to your campaign and import the table. Run onCampaignLoad.
You can tests it by running the example in the lib token.

UPDATE!! new lib token and tables for use with frame5 function. Is not fully tested:
Attachments
lib_frames-html5.rptok
(24.71 KiB) Downloaded 43 times
frame-html5.mttable
(2.04 MiB) Downloaded 41 times
screen capture.jpg
screen capture.jpg (490.81 KiB) Viewed 6784 times
lib_frames.rptok
(16.56 KiB) Downloaded 211 times
frames.mttable
(1.9 MiB) Downloaded 215 times
Last edited by Nildik on Wed May 26, 2021 8:15 pm, edited 2 times in total.

Lee
Dragon
Posts: 958
Joined: Wed Oct 19, 2011 2:07 am

Re: Function to make prettier forms

Post by Lee »

Nice work. The best place for this would be in the User Creations section where it would get the most light of day. Did you make the icons for the Campaign buttons yourself? I've been using Aion and WoW sets and have been looking around for a change of scene.

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Function to make prettier forms

Post by aliasmask »

Very nice. I will definitely be using this in the future. I've done something similar, but this looks much nicer. I like the implementation of your method as well instead of passing the output to the function, you just generate the opening and closing table information.

Question about the "Ankheg" form. Is the top part a part of frame0, or is that a different frame within a frame?

I think the best part is that you can adapt this to existing frames without a bunch of fuss. Just surround your output with your function calls.

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Function to make prettier forms

Post by wolph42 »

Nice!! I've never gone through the trouble of pimping my forms, but seeing this it can be a really good trade off, much yield for little effort, thanks for the contribution!

Nildik
Cave Troll
Posts: 76
Joined: Mon Oct 31, 2011 7:32 pm

Re: Function to make prettier forms

Post by Nildik »

Thanks for your interest!
Lee: For the icons of the campaign panel I use edited images from the web, and personal creations. I use as well modified buttons from mmorpgs. If you like, I can share them.
Aliasmask: the top part of frame is the same frame, not a frame within a frame. The function frameOpen can have two more args, for write a title into the top of every frame, but only fits ok in the frame 0 and the frame 1
[R: frameOpen(1,"EXAMPLES OF FRAMES (this is the frame number 1)","WHITE")]
the first arg is the style frame to use, the second is the title and the third arg is the color of the title.

User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Re: Function to make prettier forms

Post by JamzTheMan »

Wow, that is very nice looking! And that looks very simple to use! I can see a lot of frameworks incorporating that in soon(tm).

...Now off to add it myself :)
-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

Lee
Dragon
Posts: 958
Joined: Wed Oct 19, 2011 2:07 am

Re: Function to make prettier forms

Post by Lee »

Nildik wrote:Thanks for your interest!
Lee: For the icons of the campaign panel I use edited images from the web, and personal creations. I use as well modified buttons from mmorpgs. If you like, I can share them.
Sure :) One can't have too many image assets.

Nildik
Cave Troll
Posts: 76
Joined: Mon Oct 31, 2011 7:32 pm

Re: Function to make prettier forms

Post by Nildik »

I can see a lot of frameworks incorporating that in soon(tm).

...Now off to add it myself
This sounds cool!!!

-----

The assets from my campaign panel...
Attachments
campaign functions assets.zip
(99.42 KiB) Downloaded 125 times

User avatar
mfrizzell
Dragon
Posts: 762
Joined: Sat Feb 13, 2010 2:35 am
Location: California

Re: Function to make prettier forms

Post by mfrizzell »

This is way cool thanks for sharing.
DCI/RPGA# 7208328396 Skype ID mfrizzell77
Characters:
Strabor - Dwarf Avenger 5th Level
Tikkanan - Human Warlock 2nd Level
----------------------------------------------------
"People are more violently opposed to fur than leather because it's safer to harass rich women than motorcycle gangs."

Nildik
Cave Troll
Posts: 76
Joined: Mon Oct 31, 2011 7:32 pm

Re: Function to make prettier forms

Post by Nildik »

I add 4 frames to the function. Just download the table and import it. Nothing to change to lib token, the function works in the same way, buy now you can add 4 new numbers into the arguments of the function.
I would like to know if anybody has planned to use this function for their frameworks and creations.
Attachments
FRAMES2.jpg
FRAMES2.jpg (176 KiB) Viewed 6688 times
frames.mttable
(2.96 MiB) Downloaded 132 times

Lee
Dragon
Posts: 958
Joined: Wed Oct 19, 2011 2:07 am

Re: Function to make prettier forms

Post by Lee »

Again, nice work. I do plan to use this, though my framework's taken the back seat while I'm working on the actual MapTool source. Is there any chance you have an oriental flavored theme(s) on the pipe?

User avatar
mfrizzell
Dragon
Posts: 762
Joined: Sat Feb 13, 2010 2:35 am
Location: California

Re: Function to make prettier forms

Post by mfrizzell »

I plan to use it. Thanks
DCI/RPGA# 7208328396 Skype ID mfrizzell77
Characters:
Strabor - Dwarf Avenger 5th Level
Tikkanan - Human Warlock 2nd Level
----------------------------------------------------
"People are more violently opposed to fur than leather because it's safer to harass rich women than motorcycle gangs."

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Function to make prettier forms

Post by aliasmask »

I just restarted work (again) on my Spell Library and I plan to use it for that.

Nildik
Cave Troll
Posts: 76
Joined: Mon Oct 31, 2011 7:32 pm

Re: Function to make prettier forms

Post by Nildik »

Lee wrote:Is there any chance you have an oriental flavored theme(s) on the pipe?
Anything like that?

If you have images from a game or a webpage with oriental flavor send it to me. I can transform it in a new frame.
Attachments
example.jpg
example.jpg (118.88 KiB) Viewed 6664 times
frames2.mttable
(3.69 MiB) Downloaded 130 times


Post Reply

Return to “Drop-In Macro Resources”