[PLUGIN] Multi-Use Story Engine (Introduction)

Post and try out addons that are currently in development.

Post » Wed May 11, 2011 6:11 pm

Just pick a few consonants, and all the vowels, and switch em around to test.

[url:3ozztvjn]http://dl.dropbox.com/u/666516/Caveman.ini[/url:3ozztvjn]
Image Image
B
161
S
48
G
90
Posts: 7,350
Reputation: 66,755

Post » Wed May 11, 2011 11:26 pm

Quick poll. I'm implementing the time expressions for Muse (you input a time to the history generator). There are two possible options.

The first option is UnixTime. UnixTime is my real time option - where your world continues to evolve while the game isn't running. UnixTime returns the number of seconds since midnight, January 1, 1970. It constantly, reliably, moves up by one. Moving by one is good for this purpose, because that means the changes will subtly change over time rather than sudden radical changes. The problem with Unix Time is that due to memory constraints, in 2038, it will fail. I don't know why this bothers me so much, as by then Construct 5 will be pumping out much cooler games than this, but it bothers me enough that I'm implementing my own special version of UnixTime I'm calling MuseTime. In UnixTime, midnight - January 1, 1970 is referred to as the "epoch". MuseTime will be referred to as an expression, much like UnixTime, with one exception. You will be able to set your own epoch. That way, you can set it to whenever the game first begins, or whatever, and the player has a good solid 68 years before it loops back on itself. (Which would cause a sudden change of history within your game.) If players are playing your game for 68 years - I doubt you'll be worrying about this.

The second option is counting the number of seconds your game has been running, in which case the game will pause while you are not playing. This will come with "Punch In" and "Punch Out" actions to start and stop the clock. My question to you guys is that this is going to need to save data. Would you rather this data be serialized with Construct's native savegames, controlled via the "Save" action, or would you rather this data be saved in an external file. Personally I've never used Construct's save action and have no idea how and if it works, but, and I've always wanted to say this: modifying that external file WILL result in unexpected time travel. That's something you probably want to avoid.

Anyway what do you think?
B
5
S
2
G
5
Posts: 221
Reputation: 2,272

Post » Wed May 11, 2011 11:40 pm

definitely definitely a separate non construct native Save action, and also an expression to get any data that will be saved in case you want to integrate it with a different game save system.

Also, by 2 options, did you mean that the story engine will have both as an option? or that you're trying to decide which now, because I can definitely see how both would be useful
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Wed May 11, 2011 11:44 pm

It will have both as an option. Also by "story engine" I mean the procedural chronology stuff. You still set up your story and such. For instance, you can tell Muse that every 10-15 minutes the weather changes in your game, and that these are the weather options: rain, sun, snow. (Or make it geologically based, or whatever, so it snows more in the north). Regardless. Muse will tell you what it's doing right now when you pass it this time expression.

You can also ask Muse for a list of entities that are currently in an area at any given point in time.

So it doesn't really generate the story for you, but it gives the player a sense that things are happening. It's procedural chronology. I can also add some prose generators in later if you guys want, but they'll look pretty silly compared to this organic event based system.
B
5
S
2
G
5
Posts: 221
Reputation: 2,272

Post » Thu May 12, 2011 12:51 am

Yeah "Play time" with saves, and unix time, sounds good.
Unix time with Gridtree could make for some very interesting combination's.
You could basically have a game that plays itself.
Image Image
B
161
S
48
G
90
Posts: 7,350
Reputation: 66,755

Post » Thu May 12, 2011 12:03 pm

Will this let us load custom syllable set ini files or will they all be built into the plugin?

If they are all stored in the plugin maybe you could also have a lite version or something which just loads them for ini or a text etc instead, that would be quite useful and also good if you just wanted to make something simple.
B
2
S
2
G
1
Posts: 121
Reputation: 1,092

Post » Fri May 13, 2011 7:19 pm

Moving a bit slower with this one, some real life stuff going on. Right now I am working on the advanced word generator. It is an expression that accepts a rule to create a word from word "pieces". Not syllables but smaller parts.

For a good idea how this will work check out the advanced interface on the site I got the idea from: http://www.rinkworks.com/namegen/
B
5
S
2
G
5
Posts: 221
Reputation: 2,272

Post » Wed May 18, 2011 8:26 pm

This is juuuust about done. I just have one kink to work out, and the release of Terraria set me back a day.
B
5
S
2
G
5
Posts: 221
Reputation: 2,272

Post » Sun May 22, 2011 7:35 am

Yes, awesome game. Something that coulda been made in Construct.
B
2
S
1
G
1
Posts: 20
Reputation: 640

Post » Sun May 22, 2011 1:16 pm

Nice i can't wait to test this :)

By the way what is Terraria, is that a new game you have made?
B
2
S
2
G
1
Posts: 121
Reputation: 1,092

PreviousNext

Return to Work-in-progress addons

Who is online

Users browsing this forum: No registered users and 0 guests