RPTools.net

Discussion and Support

Skip to content

It is currently Wed Feb 21, 2018 2:41 am 






Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  Next

Previous topic | Next topic 

  Print view

Author Message
 Offline
Cave Troll
 
Joined: Mon Oct 31, 2011 6:32 pm
Posts: 73
 Post subject: Function to make prettier forms
PostPosted: Sun Nov 11, 2012 10:01 pm 
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.


screen capture.jpg
screen capture.jpg [ 490.81 KiB | Viewed 2017 times ]
lib_frames.rptok [16.56 KiB]
Downloaded 134 times
frames.mttable [1.9 MiB]
Downloaded 139 times


Last edited by aliasmask on Mon Nov 12, 2012 3:14 am, edited 1 time in total.
Moved from MapTool to Drop-In Macro Resources
Top
 Profile  
 
 Offline
Dragon
 
Joined: Wed Oct 19, 2011 1:07 am
Posts: 958
 Post subject: Re: Function to make prettier forms
PostPosted: Sun Nov 11, 2012 10:52 pm 
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.

_________________
My stuff for the community:
Donate to the Mote Project
The Mote Project's G+ community
Mote on Facebook
Fully Customizable Calendar Drop-in


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 8009
Location: Bay Area
 Post subject: Re: Function to make prettier forms
PostPosted: Mon Nov 12, 2012 3:12 am 
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.

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9481
Location: Netherlands
 Post subject: Re: Function to make prettier forms
PostPosted: Mon Nov 12, 2012 3:18 am 
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!

_________________
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,onMouseOverEvent and
DPI.
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
Cave Troll
 
Joined: Mon Oct 31, 2011 6:32 pm
Posts: 73
 Post subject: Re: Function to make prettier forms
PostPosted: Mon Nov 12, 2012 7:11 am 
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.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1762
Location: Chicagoland
 Post subject: Re: Function to make prettier forms
PostPosted: Mon Nov 12, 2012 3:07 pm 
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


Top
 Profile  
 
 Offline
Dragon
 
Joined: Wed Oct 19, 2011 1:07 am
Posts: 958
 Post subject: Re: Function to make prettier forms
PostPosted: Mon Nov 12, 2012 8:30 pm 
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.

_________________
My stuff for the community:
Donate to the Mote Project
The Mote Project's G+ community
Mote on Facebook
Fully Customizable Calendar Drop-in


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Mon Oct 31, 2011 6:32 pm
Posts: 73
 Post subject: Re: Function to make prettier forms
PostPosted: Mon Nov 12, 2012 10:47 pm 
Quote:
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...


campaign functions assets.zip [99.42 KiB]
Downloaded 79 times
Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Sat Feb 13, 2010 2:35 am
Posts: 1001
Location: California
 Post subject: Re: Function to make prettier forms
PostPosted: Tue Nov 13, 2012 3:28 pm 
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."


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Mon Oct 31, 2011 6:32 pm
Posts: 73
 Post subject: Re: Function to make prettier forms
PostPosted: Sun Nov 18, 2012 11:21 pm 
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.


FRAMES2.jpg
FRAMES2.jpg [ 176 KiB | Viewed 1921 times ]
frames.mttable [2.96 MiB]
Downloaded 86 times
Top
 Profile  
 
 Offline
Dragon
 
Joined: Wed Oct 19, 2011 1:07 am
Posts: 958
 Post subject: Re: Function to make prettier forms
PostPosted: Sun Nov 18, 2012 11:28 pm 
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?

_________________
My stuff for the community:
Donate to the Mote Project
The Mote Project's G+ community
Mote on Facebook
Fully Customizable Calendar Drop-in


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Sat Feb 13, 2010 2:35 am
Posts: 1001
Location: California
 Post subject: Re: Function to make prettier forms
PostPosted: Mon Nov 19, 2012 12:31 am 
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."


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 8009
Location: Bay Area
 Post subject: Re: Function to make prettier forms
PostPosted: Mon Nov 19, 2012 1:40 am 
I just restarted work (again) on my Spell Library and I plan to use it for that.

_________________
Downloads:


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Mon Oct 31, 2011 6:32 pm
Posts: 73
 Post subject: Re: Function to make prettier forms
PostPosted: Tue Nov 20, 2012 8:34 pm 
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.


example.jpg
example.jpg [ 118.88 KiB | Viewed 1897 times ]
frames2.mttable [3.69 MiB]
Downloaded 84 times
Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9481
Location: Netherlands
 Post subject: Re: Function to make prettier forms
PostPosted: Wed Nov 21, 2012 7:19 am 
Awesomesauce! Do you happen to have some sci fi (or even better: steam punk) as well?

_________________
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,onMouseOverEvent and
DPI.
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  
 
Display posts from previous:  Sort by  
Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  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