Journal task

Everything about development and the OpenMW source code.
User avatar
gus
Posts: 390
Joined: 11 Aug 2011, 15:41

Re: Journal task

Post by gus »

I have a problem: the journal is empty. Not very handy to test the journal GUI ^_^ . So how can I fill it?
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Journal task

Post by Zini »

Use the Journal command in the console. You can get the journal IDs either from the CS or from the UESP wiki (and also the syntax of the journal command, if you are unsure about that).
User avatar
gus
Posts: 390
Joined: 11 Aug 2011, 15:41

Re: Journal task

Post by gus »

Not sure about how to do it. If i take the exemples there: http://www.uesp.net/wiki/Tes3Mod:Journal

Code: Select all

Journal, "A2_4_MiloGone", 10
OpenMW says: "an exeption has been thrown: unknown journal index for topic a2_4_milogone"
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Journal task

Post by Zini »

Oops. Bug. Fixed in my journalfix branch.
User avatar
gus
Posts: 390
Joined: 11 Aug 2011, 15:41

Re: Journal task

Post by gus »

Great, it works now :D
User avatar
gus
Posts: 390
Joined: 11 Aug 2011, 15:41

Re: Journal task

Post by gus »

The journal is now in the center of the screen. So what's left to do is add a next/previous page button and use morrowind font.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Journal task

Post by Zini »

With lgro on his task again, it looks like we are going to release 0.12.0 not too far in the feature.

It seems you have a basic version of the journal working, more or less. I suggest once you are finished you let me know and I will merge your branch into master.
Then you can either continue with the rest of the journal GUI features or work on something else (I would create a separate task for the advanced journal GUI in this case).
User avatar
gus
Posts: 390
Joined: 11 Aug 2011, 15:41

Re: Journal task

Post by gus »

The journal is working now. What's missing is
*better text formating. For the moment it's pretty basic.
*change font? and text color
*add blue links. More or less done in dialogue window?

Is it Ok for you zini? If so, I will start the animation related task.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Journal task

Post by Zini »

Doesn't work for me. The journal is looking good, but it is empty, even if I add journal entries from the console. On the other hand I am getting plenty journal text on cout, which definitely needs to be removed before the release.
User avatar
gus
Posts: 390
Joined: 11 Aug 2011, 15:41

Re: Journal task

Post by gus »

Strange. Does it print "empty"? If so, then the journal is empty.
Post Reply