O.G.R.E: Online Generic Randomizer Engine


log in or register to remove this ad

Janx

Hero
nice write up on how the syntax is working out.

Looks like it covers the bases of what we talked about, and I'm looking forward to seeing the working product.
 


Morrus

Well, that was fun
Staff member
nice write up on how the syntax is working out.

Looks like it covers the bases of what we talked about, and I'm looking forward to seeing the working product.

If you're interested in taking a look, Janx, feel free to play around here:

http://www.enworld.org/dnd_portal.php

Note that of the scripting functions, only the dice roll is coded at present. The other scripts will be added in v1.1.
 
Last edited:


Morrus

Well, that was fun
Staff member
Just a kind of idea of where it's at right now - this was quickly whipped up and could obviously be less formulaic with a bit more effort:

The planet Mindartis, a gargantuan icy interplanetary age world, known for its deposits of copper in the east, warring factions, and its many active volanoes orbits a tiny yellow star. This planet is fourth in its system, has a dense atmosphere, 2 moons and a population of hundreds of millions. Its flag is a red oval on a violet triangle. Vaccination against harbek dyloma is recommended before visiting; symptoms include joint aches and coma.


<HR>
The planet Paelias, a gargantuan jungle medieval world, known for its deposits of iron in the northwest, remarkably fast horses, and its lawlessness orbits a huge violet star. This planet is tenth in its system, has a standard atmosphere, 2 moons and a population of tens of millions. Its flag is a indigo star on a violet triangle. Vaccination against fargrim opia is recommended before visiting; symptoms include itchiness and blurred vision.


<HR>
The planet Arannis, a small mountainous stone-age world, known for its deposits of adamantium in the west, unusual alien race - the Rhogar - , and its exotic plantlife orbits a small yellow star. This planet is eighth in its system, has a thin atmosphere, 3 moons and a population of trillions. Its flag is a orange square on a red triangle. Vaccination against orsik sclerosis is recommended before visiting; symptoms include convulsions and pustules.


<HR>
The planet Hadarai, a huge mountainous late industrial world, known for its deposits of tin in the east, exotic plantlife, and its hospitality to visitors orbits a gargantuan red star. This planet is third in its system, has a very thin atmosphere, 2 moons and a population of a few hundred. Its flag is a red circle on a blue hexagon. Vaccination against rangrim mycosis is recommended before visiting; symptoms include paranoia and convulsions.


<HR>
The planet Aramil, a large desert late industrial world, known for its deposits of lead in the northwest, hospitality to visitors, and its unfriendly natives orbits a small yellow star. This planet is third in its system, has a standard atmosphere, 1 moons and a population of tens of millions. Its flag is a red star on a indigo circle. Vaccination against harbek dystrophy is recommended before visiting; symptoms include joint aches and headache.
 
Last edited:

Morrus

Well, that was fun
Staff member
So I think we've got most of the bugs; seems to be running fairly smoothly now. Time to start work on those scripting upgrades!
 

Kilmore

First Post
Random Grandma Generator

It's giving me a database error when I try to post my Random Grandma Generator. It previews fine though. Here's what I typed.

As a human (or other temporary person), you should have two grandmothers, one on your mother's side, and one on your father's side. Both are (or were) remarkable people.

Your maternal grandmother is {5d10+25} years older than you and is {Kilmore(Grandma Mortality)}. {Kilmore(Grandma Description)} She is remarkable in the following ways. {Kilmore(General Grandma)}

Also, if she is deceased, the following applies to her. {Kilmore(Dead Grandma)}

If she's still alive, this applies to her. {Kilmore(Living Grandma)}

Your paternal grandmother is {5d10+25} years older than you and is {Kilmore(Grandma Mortality)}. {Kilmore(Grandma Description)} She is remarkable in the following ways. {Kilmore(General Grandma)}

Also, if she is deceased, the following applies to her. {Kilmore(Dead Grandma)}

If she's still alive, this applies to her. {Kilmore(Living Grandma)}
 


Kilmore

First Post
Database error
The EN World: RPG News & Reviews database has encountered a problem.

--------------------------------------------------------------------------------

Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.enworld.org home page, then try to open another page.
Click the Back button to try another link.

The www.enworld.org forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.
 

Fox Lee

Explorer
A few questions (which may be worth clarifying in the wiki text itself)

Tables can reference tables - does this include themselves? Like, could you implement the oft-seen "100) Roll twice" by giving your table its own name in position 100?

Can scripts be used in tables or only in generators? If they can be used in tables, do I put them before or after the body of the table, or can I use them between rows?

Is the example given the exact syntax for a table - i.e.:
1) Thing1
2) Thing 2
...etc.? Are the brackets, spaces and line breaks necessary for O.G.R.E to recognise the table items?And can one use leading zeroes (like, 01 instead of 1)?

Can you use a number range in the table, e.g. 01-05 as in the image example, or must you make multiple entries for a particular result if you want that one to be more probable than another?

(EDIT: Remembered that this thread is pretty old and I should probably mention [MENTION=1]Morrus[/MENTION] or something if I want a response ^^; Did I do that right?)
 
Last edited:

Morrus

Well, that was fun
Staff member
A few questions (which may be worth clarifying in the wiki text itself)

Tables can reference tables - does this include themselves? Like, could you implement the oft-seen "100) Roll twice" by giving your table its own name in position 100?

No, it won't let you create a possibly infinite loop.

Can scripts be used in tables or only in generators? If they can be used in tables, do I put them before or after the body of the table, or can I use them between rows?

Certainly some can be used in tables; I haven't tried them all. I don't understand the second half of your question.

Is the example given the exact syntax for a table - i.e.:
1) Thing1
2) Thing 2
...etc.? Are the brackets, spaces and line breaks necessary for O.G.R.E to recognise the table items?And can one use leading zeroes (like, 01 instead of 1)?

I'm not understanding the question again.

I'm guessing you haven't seen the system yet? It was active a while ago before the hack, and there's a beta version active now. When you see it, you'll see that tables are created in text box fields, not a blank canvass. Generators are creates on blank canvasses. So you can't insert things between table rows, and the brackets and spaces aren't actually part of the system. A quick look will totally clear all that up for you (I've put a link at the bottom of this post).

Can you use a number range in the table, e.g. 01-05 as in the image example, or must you make multiple entries for a particular result if you want that one to be more probable than another?

Yes.

It's probably easier for you to just play around with the system itself. Bear in mind it may be slightly buggy.
 

Fox Lee

Explorer
Nope, never seen the system. The information given in the wiki article was all I could find, so I assumed it was an example of how the system actually worked. I see it now! Thanks.
 

Morrus

Well, that was fun
Staff member
Nope, never seen the system. The information given in the wiki article was all I could find, so I assumed it was an example of how the system actually worked. I see it now! Thanks.

Feel free to try it out! The more the merrier!
 

coriolis

Explorer
Can we edit exisiting tables which we haven't built? There's a typo in the last sentence of the Sci Fi Corporation Generator that should be fixed ("It's main breakthrough is..." should be "Its main breakthrough is...")
 

Morrus

Well, that was fun
Staff member
Can we edit exisiting tables which we haven't built? There's a typo in the last sentence of the Sci Fi Corporation Generator that should be fixed ("It's main breakthrough is..." should be "Its main breakthrough is...")

No, you can't alter other people's tables; you can just reference them. Thanks for pointing that out though!
 

Hedrik

First Post
Error saving first test generator...

Just tried creating my first generator:

"This is a test of the {Mephos[Disease]} O.G.R.E system."


Unfortunately when I tried saving it, or even previewing it, I received the following error:

"An error occured in getting the block for Disease."


Note please that I did copy/paste the generator reference from the generator's description page (
id=270) as recommended, rather than typing it in by hand.

I do see that this generator has the category of "No category" - perhaps that is the issue? If so, I recommend not allowing saves without a category being selected...
:cool:
 

Morrus

Well, that was fun
Staff member
O.G.R.E.

Try using his table, rather than his generator. I get the same issue with his generator, but using his table works fine. His generator just prints the table.
 



Level Up!

An Advertisement

Advertisement4

Top