Anyone know anything about journal entries?
I see there is a function to add / update a journal entry to a player, but what about creating the journal entry in the first place? Is the only way to use the Journal Editor?
The Journal data appears to be stored in .mod file, is there anyway to extract it or import it elsewhere?
I'll tell you what I want to do...
Have an event on joining the server that adds a journal entry which contains Avlis rules, FAQs, etc. Like they do on Rockhome (quite nice feature BTW). Anyway, this is actually quite simple to hard-code. But it would be nicer if there was a way to have the journal info was separate somehow. (It would be easier to update / maintain, easier to share with other servers, etc. etc.).
Can the journal info be extracted from the .mod file (so it could be edited / updated off-line) and the re-inserted into all .mods (e.g. as a server side override, or something????)
PS: Anyone know how they do it on Rockhome. I'm guessing its' hard-coded, but I could be wrong.
PS2: Whats the script function that creates an event when a player joins the server?
Journals
Moderator: Event DM
- Dirk Cutlass
- Elder Sage
- Posts: 4691
- Joined: Mon Jan 27, 2003 9:42 am
- Location: GMT
Re: Journals
Use the journal editor to make a journal entry and apply the correct tag. Use a script (Cannot remember the function name now, something like AddJournalEntry(PC, Tag) or something) or a conversation (in one of the tabs is a field where you can fill in the tag of the journal entry).Dirk Cutlass wrote:Anyone know anything about journal entries?
I see there is a function to add / update a journal entry to a player, but what about creating the journal entry in the first place? Is the only way to use the Journal Editor?
The Journal data appears to be stored in .mod file, is there anyway to extract it or import it elsewhere?
I'll tell you what I want to do...
Have an event on joining the server that adds a journal entry which contains Avlis rules, FAQs, etc. Like they do on Rockhome (quite nice feature BTW). Anyway, this is actually quite simple to hard-code. But it would be nicer if there was a way to have the journal info was separate somehow. (It would be easier to update / maintain, easier to share with other servers, etc. etc.).
Can the journal info be extracted from the .mod file (so it could be edited / updated off-line) and the re-inserted into all .mods (e.g. as a server side override, or something????)
Journal entries cannot be exported within an .erf AFAIK, but like everything else it can be added and edited in the toolset, just like areas and scripts. It's really easy, but because it has to be added every time you log on and the new journal entry icon keeps flashing, that can be a bit irritating if you log in 5 times a day.
Module Properties -> OnClientEnter I thinkDirk Cutlass wrote:PS2: Whats the script function that creates an event when a player joins the server?
Playing as: Sir Douglas Hope of Gorethar, old school paladin | Krator Blackfist, gold mage | Warren, half nymph barbarian
- Tissa
- Team Member; Retired with Honors
- Posts: 623
- Joined: Mon Sep 13, 2004 6:19 am
- Location: Southern California
- Contact:
Yes. A very simple tutorial on creating journal entriesDirk Cutlass wrote:I see there is a function to add / update a journal entry to a player, but what about creating the journal entry in the first place? Is the only way to use the Journal Editor?
the function isKrator wrote:(Cannot remember the function name now, something like AddJournalEntry(PC, Tag) or something)
Code: Select all
void AddJournalQuestEntry(
string sCategoryTag,
int nEntryID,
object oCreature,
int bAllPartyMembers = TRUE,
int bAllPlayers = FALSE,
int bAllowOverrideHigher = FALSE
);
The file is Module Data->module.jrlDirk Cutlass wrote:The Journal data appears to be stored in .mod file, is there anyway to extract it or import it elsewhere?
I will not kill or hurt any living creature needlessly, nor destroy any beautiful thing,
but will strive to save and comfort all gentle life, and guard and protect all natural beauty that surrounds me
but will strive to save and comfort all gentle life, and guard and protect all natural beauty that surrounds me
- Dirk Cutlass
- Elder Sage
- Posts: 4691
- Joined: Mon Jan 27, 2003 9:42 am
- Location: GMT
Thanks. How do you get this .jrl file? I can't see it anywhere!Tissa wrote:The file is Module Data->module.jrlDirk Cutlass wrote:The Journal data appears to be stored in .mod file, is there anyway to extract it or import it elsewhere?
PS: prototype code for this is working. Got all the info I needed from NWNlexicon. Just the bit about whether I can "store it" in an external file, or not that I need to do now.
- Tissa
- Team Member; Retired with Honors
- Posts: 623
- Joined: Mon Sep 13, 2004 6:19 am
- Location: Southern California
- Contact:
I can see it using "nwn explorer" under Module Data, you could export it using that tool. If you want to edit the file raw the format is given here.Dirk Cutlass wrote: Thanks. How do you get this .jrl file? I can't see it anywhere!
PS: prototype code for this is working. Got all the info I needed from NWNlexicon. Just the bit about whether I can "store it" in an external file, or not that I need to do now.
you also might want to look at something like this Persistent Journal System
Edit: you might want to read this thread as well http://nwn.bioware.com/forums/viewtopic ... 1&forum=46.
I will not kill or hurt any living creature needlessly, nor destroy any beautiful thing,
but will strive to save and comfort all gentle life, and guard and protect all natural beauty that surrounds me
but will strive to save and comfort all gentle life, and guard and protect all natural beauty that surrounds me