Welcome Guest (23.22.181.15)! (Login - Register)
Your Ad Here
Home - FAQs - Forums - Join a Game - Game Index - Links

Generators (Topic #30175)

Main Forum (#13) > Site Questions, Suggestions, and Admin Requests (#931) > Site Feature Descriptions (#30486) > Generators

Roleplay Market



Subscription Options

You must be logged in to subscribe to this topic by e-mail or to add it to your favorites.



Support RPM through Kachingle or Flattr:


Post Reply
Body
zilonox
avatar
Honored Guide
1/25/2010 1:07:13 PM
PostID: 332798

So, to use the result from g2 as a tag for results from g3 and g4, the following should work then, no?


(set var (Index (Generate g2 nil 1) 0) (& (Index (Generate g3@var nil 1) 0) (Index (Generate g4@var nil 1) 0)))


Just want to make sure I'm barking up the right tree before I go and plant it. Er... or something like that. :)
 


These are the cries of the carrots, the cries of the carrots!
You see, Reverend Maynard, tomorrow is harvest day and to them it is the holocaust.
 

  This post last edited on 1/25/2010 1:14:31 PM   Like this post
BobTHJ

Owner of the Market
1/25/2010 1:42:56 PM
PostID: 332821
close....you have to lead the variable with a # sign and concatenate it together like this:

(set var (Index (Generate g2 nil 1) 0) (& (Index (Generate (& g3@ #var) nil 1) 0) (Index (Generate (& g4@ #var) nil 1) 0)))


A third option I thought of after writing the post above is to use the "_ongenerate" script for g3 and g4 to add the tag.

First, on g1 you would want to save the generated result of g2 using SetData like this:

(SetData #_topic result (Index (Generate g2 nil 1) 0))


Then, create a variable in the "Data" section of g3 and g4 with the name of "_ongenerate" and set the value to:
(GetData g1 result)


I started work on a Character Generator for generating character descriptions. It's not finished yet, but my intention was to use it to demo the various generator features. You're welcome to browse it for ideas.
   Like this post
zilonox
avatar
Honored Guide
1/25/2010 2:31:48 PM
PostID: 332835

LOL! I was going to start a 4E random npc (or quick pc) generator, but was trying to work out the logic of it before I jumped in. It was not going to be an in-depth generator, but rather would pick a class (and a feature), then chose a race and an ability score array (no powers, feats, equipment, etc). I was going to allow a purely random generation, or allow an optimized generation that would chose race and array based off the class. It's the optimized part that has me thinking about how to cary the results of one generator into others.

To be honest, I was shying away from the data elements because of their spotty performance when used in templates. (I know you have a re-working of templates on your list.)

I'll check out what you've done and see if we're on the same wavelength. If so, then I'll just let you continue and not step on your toes. :)
 


These are the cries of the carrots, the cries of the carrots!
You see, Reverend Maynard, tomorrow is harvest day and to them it is the holocaust.
 

  This post last edited on 1/25/2010 2:32:52 PM   Like this post
BobTHJ

Owner of the Market
1/25/2010 2:50:33 PM
PostID: 332842
The generator I am working on is simply to generate a character description (physical appearance, clothing, mannerisms). It does not generate stats or class for any system. However, the 4e generator you suggest could call my character generator to generate a physical description to parallel the 4e stats you generate. (the character generator allows you to specify the character's race, gender, area of strength, and area of weakness).

Data Templates are still a somewhat slow (I have a second update planned for them) but the "Data" variables for each topic can be accessed reasonably quickly (it's a separate system). Obviously, deeply nested generator calls and extensive IScript will slow you generated results some, but even my most complex generators so far only require a second or two of processing time.
   Like this post
zilonox
avatar
Honored Guide
1/27/2010 2:10:39 PM
PostID: 333310

The 4E Random Character Generator (beta) is ready.
 


These are the cries of the carrots, the cries of the carrots!
You see, Reverend Maynard, tomorrow is harvest day and to them it is the holocaust.
 

  This post last edited on 3/19/2010 8:24:18 PM   Like this post
zilonox
avatar
Honored Guide
3/19/2010 8:23:43 PM
PostID: 345030

I've just posted a 4C System Random Character Generator.

The 4C System (Four Color) was created to be a public domain derivative / clone of the old TSR Marvel system. Check out the How This Works folder in the generator for more info about where to find the 4C System.
 


These are the cries of the carrots, the cries of the carrots!
You see, Reverend Maynard, tomorrow is harvest day and to them it is the holocaust.
 

   Like this post
zilonox
avatar
Honored Guide
10/30/2010 9:07:31 PM
PostID: 382185

I've just posted a Swords & Wizardry Random Hireling Generator.

Swords and Wizardry was created to be a free derivative / clone of the old TSR Red Box Basic D&D game. Check out the How This Works folder in the generator for more info about where to find Swords & Wizardry.
 


These are the cries of the carrots, the cries of the carrots!
You see, Reverend Maynard, tomorrow is harvest day and to them it is the holocaust.
 

   Like this post
page  of 2 pages containing 27 items.Items per page:

Home - Control Panel - FAQs - Forums - Join a Game - Create a Game - Game Index - User Directory - Privacy Policy -
System Time: 6/18/2013 12:39:40 AM
RPG,D&D Library VigLink badge