Jump to content
  • entries
    232
  • comments
    773
  • views
    173,375

PONG Event Chart


DocClox

1,681 views

blog-0632003001378293963.pngI thought I'd try and map out the event flow for an imprisonment cycle, and mark on it all the places where I needed a mod event to launch a scene of some sort.

 

Turns out there are quite a few of them.

 

I'll see about documenting what they all mean another time.

5 Comments


Recommended Comments

I guess you even missed a branch. In your flow you always have to pass from cells to pillory to get any of the random events. You're missing the minor crimes branch where the pc will be entertained in the cells itself and then be released. Unless the pillory is used for whatever crime now.

Link to comment

I guess you even missed a branch. In your flow you always have to pass from cells to pillory to get any of the random events. You're missing the minor crimes branch where the pc will be entertained in the cells itself and then be released. Unless the pillory is used for whatever crime now.

 

I confess, I didn't know that was possible in XPO. I knew there were minor crimes, but I thought that just meant you got to keep your clothes in the cell.

 

Though I must admit, I've not played XPO to any great extent. I tend not to play submissive types, I suppose :)

 

Still, the idea of using the pillory regardless is appealing. And probably lengthening the PC sentences for more serious crimes. More MCM options, I guess :)

Link to comment

This is mostly how it works today.... :)

 

If you check the scripts, you'll notice two functions:

 

Heartbeat and MiniHeartbeat (for lack of better names).

 

Each 15min a heartbeat is triggered, which checks what to do next. Typically it decides on "release", "move to cell", "move to pillory", "nothing". If it selects "nothing", it will trigger a state dependant mini heartbeat. Each of the major game states implements this.

 

Inside the mini heartbeat, a scene plays out. So if you already are in the pillory, then you get punished there according to whatever the pillory script state finds is needed.

 

Ofc, this only applies to the player, so you'd have to extend it to npcs to make it work.

 

Just some ideas ....

Link to comment

This is mostly how it works today.... :)

Yeah, I know :) The flow is straight out of XPO with maybe three or four extra event points added. The thing I want to do differently is to raise mod events at those points, and then give other mods or quests a chance to provide the scene.

 

Only I started gettng lost in all the possible events, so I drew up the diagram as a reminder.

 

Which isn't to say I'm not reinventing numerous other wheels that you've already got nicely round and I just haven't noticed, of course :)

 

If you check the scripts, you'll notice two functions:

 

Heartbeat and MiniHeartbeat (for lack of better names).

That's how you trigger the scenes! I've been looking for that :) There's still a lot of stuff in XPO I haven't really got to grips with yet, I'm afraid. (See previous comment about wheel reinvention... :))

 

Ofc, this only applies to the player, so you'd have to extend it to npcs to make it work.

Yeah. Ideally, I'll separate the sceheduler from the scenes. Then the PC based scenes from XPO become one set of clients, and the NPC ones from Mara become another set. That makes it easier for me to add NPCs and scenes incrementally, and as a happy side effect it allows other modders to add content of their own.

 

Link to comment
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use